Commit graph

202 commits

Author SHA1 Message Date
Alexander Wang
2cbc300eac
ta 2025-02-02 23:15:33 -07:00
Alexander Wang
af781f5e4d
ta 2025-01-08 16:52:26 -07:00
Alexander Wang
232c47d21a
set the ast range path 2025-01-08 16:42:44 -07:00
Alexander Wang
9e26318b42
ta 2024-12-14 23:25:06 -07:00
Alexander Wang
9de283cd38
d2compiler: validate that reserved keywords have values 2024-12-14 22:12:41 -07:00
Alexander Wang
e6cedef763
ta 2024-12-14 19:54:49 -07:00
Daniel Suh
e2da1eac16
Fix changes 2024-12-14 13:58:50 -07:00
Daniel Suh
ae827b1651
link security + test 2024-12-14 13:58:46 -07:00
Alexander Wang
3484619383
d2compiler: fix globs with board imports 2024-12-12 22:53:01 -07:00
Alexander Wang
024faad406
compiler: allow non-http scheme url links 2024-12-06 03:17:41 -08:00
Alexander Wang
5f6ee27795
fix underscore in edges 2024-11-24 10:55:30 -08:00
Alexander Wang
96288dd369
fix id/idval 2024-11-23 20:41:57 -08:00
Alexander Wang
062faa41b8
go through all errorfs 2024-11-23 18:56:18 -08:00
Alexander Wang
8802676b3c
reserved keywords must be unquoted 2024-11-23 18:40:36 -08:00
Alexander Wang
b4382a6793
markdown: sanitize links 2024-11-18 09:28:06 -08:00
Alexander Wang
7e6a3d8132
d2ir: replace substitutions in markdown 2024-11-18 07:02:45 -08:00
Alexander Wang
c3fbf873bf
add test 2024-11-17 21:13:06 -08:00
Alexander Wang
1545ddfbb1
d2compile: invalidate self-links 2024-11-08 14:28:33 -07:00
Alexander Wang
420fa3d184
d2compiler: disallow invalid board links 2024-09-25 10:06:42 -06:00
Alexander Wang
28e1242aef
ta 2024-09-24 21:41:47 -06:00
Alexander Wang
0eb465bdc5
d2compile: fix ordering substitutions 2024-09-24 21:17:05 -06:00
Alexander Wang
24f9150091
d2ir: fix importing scopes 2024-09-23 06:54:54 -06:00
Alexander Wang
61bd169026
d2ir: fix import url link 2024-09-17 13:44:49 -06:00
Alexander Wang
4e93f70db3
d2ir/imports: fix removing parent scope of nested import fields/edges 2024-09-11 11:26:33 -06:00
Alexander Wang
84ee4ef4a2
fix chained imports and underscore links 2024-09-06 14:58:29 -06:00
Alexander Wang
e93a60dea1
prevent oob 2024-08-26 21:27:56 -06:00
Alexander Wang
1d6adef94b
allow unfound boards 2024-08-26 17:22:25 -06:00
Alexander Wang
7363608615
fix importing icon.near field 2024-08-26 14:12:58 -06:00
Alexander Wang
a72126ae51
d2ir: enable linking beyond board root 2024-08-26 13:51:26 -06:00
Alexander Wang
9c40e420f2
d2compiler: allow children for sequence diagram image shapes 2024-08-17 09:04:01 +08:00
Alexander Wang
dc56649a9b
ta 2024-08-14 08:40:46 +08:00
Alexander Wang
b70f9783e2
d2compiler: newlines in sql_tables are made invalid 2024-08-13 22:36:56 +08:00
Alexander Wang
0fa89bd81c
d2ir: use current var stack 2024-08-07 02:44:41 +08:00
Alexander Wang
9e4742a41a
fix non-spread import links 2024-07-19 15:25:58 -06:00
Alexander Wang
cf81d7c033
d2ir: fix link panic 2024-07-19 15:09:05 -06:00
Alexander Wang
9857e92b40
fix import underscore links 2024-07-17 22:11:55 -06:00
Alexander Wang
bb99a16978
fix edge case 2024-07-15 15:06:25 -06:00
Alexander Wang
d608740b1c
d2compiler: fix underscore sibling edge case 2024-07-13 17:07:09 -06:00
Alexander Wang
26ded98f2e
d2compiler: fix underscore links 2024-07-13 08:39:35 -06:00
Alexander Wang
09efb7af19
fix importing nested boards 2024-07-13 08:02:21 -06:00
Alexander Wang
d2ec7cd19c
fix 2024-06-05 22:23:46 -06:00
Alexander Wang
31f2ca66b8
test 2024-06-05 15:11:07 -06:00
Alexander Wang
798182eb78
ta=1 2024-05-29 11:49:50 -06:00
Alexander Wang
26fd14455d
d2ir: fix substitutions in imports 2024-04-17 15:59:12 -07:00
Alexander Wang
676e7d2e18
add test 2024-04-17 14:49:47 -07:00
Alexander Wang
b0d27a1948
add 'none' to fill-pattern options 2024-03-25 14:41:15 -07:00
Alexander Wang
4ffe2409a7
validate position keywords 2024-03-15 15:26:00 -07:00
Alexander Wang
382f498688
add shape hierarchy 2024-03-15 10:00:40 -07:00
Alexander Wang
49a42edeec
prevent near special 2024-02-27 13:17:32 -08:00
Alexander Wang
a098ba80ec
validate 2023-12-14 11:35:49 -08:00