Commit graph

348 commits

Author SHA1 Message Date
Alexander Wang
8f4f430382
add test 2025-01-20 14:54:07 -08: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
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
Alexander Wang
74f708a2ea
allow animated: true for shape 2024-12-14 19:35:18 -07:00
Alexander Wang
5b1122ca72
remove redundant test 2024-12-14 14:06:28 -07:00
Daniel Suh
e2be343198
Removed unneeded line 2024-12-14 13:58:51 -07:00
Daniel Suh
e2da1eac16
Fix changes 2024-12-14 13:58:50 -07:00
Daniel Suh
b4891900d1
fix logic 2024-12-14 13:58:46 -07:00
Daniel Suh
60c7c5d1f7
refactor 2024-12-14 13:58:46 -07:00
Daniel Suh
ae827b1651
link security + test 2024-12-14 13:58:46 -07:00
Daniel Suh
95d886b936
refactor code changes into compile.go 2024-12-14 13:58:45 -07:00
Daniel Suh
a5bf9c1b4d
fix requested changes 2024-12-14 13:58:45 -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
1ecadc576c
fix tests 2024-11-24 11:03:03 -08:00
Alexander Wang
7ea3aa2737
apply to edges 2024-11-24 10:45:06 -08:00
Alexander Wang
96288dd369
fix id/idval 2024-11-23 20:41:57 -08:00
Alexander Wang
b1a318631b
fix reserved casing 2024-11-23 19:14:00 -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
271662b546
tests 2024-11-21 19:45:59 -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
db83fb8d1a
fix double globs in multiple scenarios 2024-11-05 14:32:39 -07:00
Alexander Wang
2546618ebe
fix setting board label with primary 2024-10-30 12:06:39 -06:00
Alexander Wang
dc5c5e2a93
better detection of empty boards 2024-10-23 17:50:13 -06:00
Alexander Wang
1f9e1ea2cf
change to interface{} 2024-10-15 15:45:17 -07:00
Alexander Wang
32e3808856
pass arbitrary vars 2024-10-15 12:52:58 -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
de518f5c5e
d2fmt: lowercase reserved keywords 2024-09-15 10:46:47 -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
96b386a26d
globs: filter works with default values 2024-09-10 11:43:46 -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
32ece4a642
d2ir: fix glob applications to multiple scenarios 2024-07-27 10:01:21 -06:00