Commit graph

238 commits

Author SHA1 Message Date
Alexander Wang
f2021275ac
d2ir: fix deleting nested edge 2025-01-31 14:32:27 -07:00
Alexander Wang
c12a4f6db0
implement connected filter 2025-01-20 18:55:23 -08:00
Alexander Wang
8bfb5d73c8
implement leaf filter 2025-01-20 18:47:26 -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
3484619383
d2compiler: fix globs with board imports 2024-12-12 22:53:01 -07:00
Alexander Wang
69efd3a8e3
d2compiler: allow empty layers fix 2024-12-12 15:54:56 -07:00
Alexander Wang
024faad406
compiler: allow non-http scheme url links 2024-12-06 03:17:41 -08:00
Alexander Wang
7a4ea253a9
fix reserved casing 2024-11-24 10:57:03 -08:00
Alexander Wang
5f6ee27795
fix underscore in edges 2024-11-24 10:55:30 -08:00
Alexander Wang
7ea3aa2737
apply to edges 2024-11-24 10:45:06 -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
c84d433275
fix d2ir test 2024-11-23 18:52:12 -08:00
Alexander Wang
6f7a90d157
fix err msg 2024-11-23 18:51:48 -08:00
Alexander Wang
da0f3a5dea
fix vars nil check 2024-11-23 18:50:30 -08:00
Alexander Wang
bc4cfa5243
fix null checks for globs 2024-11-23 18:49:27 -08:00
Alexander Wang
8802676b3c
reserved keywords must be unquoted 2024-11-23 18:40:36 -08:00
Alexander Wang
7e6a3d8132
d2ir: replace substitutions in markdown 2024-11-18 07:02:45 -08:00
Alexander Wang
ef35bfb1fe
d2ir: fix icon substitutions 2024-11-10 18:56:07 -07:00
Alexander Wang
db83fb8d1a
fix double globs in multiple scenarios 2024-11-05 14:32:39 -07:00
Alexander Wang
9e60c10b84
d2lsp: fix nested board finding 2024-10-29 19:08:41 -06:00
Alexander Wang
65dddcaae6
set import ast more precisely 2024-10-19 09:21:32 -06:00
Alexander Wang
418e7b18ef
attach import ref 2024-10-18 23:58:12 -06:00
Alexander Wang
32e3808856
pass arbitrary vars 2024-10-15 12:52:58 -07:00
Alexander Wang
1e66afa2dd
support board path 2024-10-11 17:42:23 -07:00
Alexander Wang
b070ab6696
account for non-unix filepaths 2024-09-27 14:07:23 -06:00
Alexander Wang
5df045ca78
d2ir: allow absolute imports 2024-09-27 14:07:18 -06:00
Alexander Wang
28e1242aef
ta 2024-09-24 21:41:47 -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
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
cea2a79644
d2ir: extend icon links 2024-08-24 20:07:54 -06:00
Alexander Wang
de6eafa595
d2ir: spread vars in place 2024-08-17 14:36:33 +08:00
Alexander Wang
0fa89bd81c
d2ir: use current var stack 2024-08-07 02:44:41 +08:00
Alexander Wang
df0648a4d6
d2ir: fix edge glob edge case 2024-08-07 02:37:26 +08:00
Alexander Wang
e0d3938245
next 2024-07-27 10:04:15 -06:00
Alexander Wang
32ece4a642
d2ir: fix glob applications to multiple scenarios 2024-07-27 10:01:21 -06: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
30d74384ae
allow pattern globs in values 2024-07-18 16:05:49 -06:00
Alexander Wang
7f84242f71
implement not filter 2024-07-18 13:42:08 -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