Commit graph

3101 commits

Author SHA1 Message Date
Anmol Sethi
10c6d2af71
d2parser: Fix bad import key panic 2023-06-06 14:01:32 -07:00
Anmol Sethi
f819e5395b
e2etests-cli: Add import test 2023-06-06 13:44:41 -07:00
Anmol Sethi
111759f6bd
d2cli: Pass path for imports correctly 2023-06-06 13:44:41 -07:00
Anmol Sethi
ad21f1fbea
d2ir: Add more import error tests 2023-06-06 13:17:29 -07:00
Anmol Sethi
42706f8b64
d2ir: More import tests 2023-06-06 13:07:30 -07:00
Alexander Wang
7d56c2dbb4
Merge pull request #1373 from alixander/dupe-img
cli img fetching optimizations
2023-06-06 11:41:46 -07:00
Alexander Wang
79e192f9c1
fmt 2023-06-06 11:33:00 -07:00
Alexander Wang
8123f8525a
changelog 2023-06-06 11:19:26 -07:00
Alexander Wang
afdc90f1f8
add test for cache 2023-06-06 11:17:02 -07:00
Alexander Wang
df7d6536e9
flag 2023-06-06 11:09:19 -07:00
Alexander Wang
b37b5571e1
logs 2023-06-06 10:56:44 -07:00
Alexander Wang
c40dc7ec34
img optimizations 2023-06-06 10:43:52 -07:00
Alexander Wang
b5f8a0223e
[ci-force] fix 2023-06-05 11:46:38 -07:00
Alexander Wang
69475c7896
Merge pull request #1372 from alixander/measure-constraint
constraint improvements
2023-06-05 11:43:10 -07:00
Alexander Wang
949de62f79
changelog 2023-06-05 11:36:36 -07:00
Alexander Wang
4147c4506c
tests 2023-06-05 11:33:34 -07:00
Anmol Sethi
9f0c24f5d7
fmt 2023-06-04 23:32:14 -07:00
Anmol Sethi
2fcc9ed140
d2ir: Compile imports
Works as so:

index.d2:
```d2
x: @x
```

x.d2:
```d2
label: meow
shape: circle
```

TODO:

- [ ] Correctly import into fields by handling the scenarios/steps overlay.
      - And links.
- [ ] Test every kind of import.
2023-06-04 23:31:18 -07:00
Anmol Sethi
f61409cb79
d2parser: Allow passing in ParseError for nicer error messages in imports 2023-06-04 23:31:18 -07:00
Alexander Wang
24f48ee438
Update next.md 2023-06-03 12:21:25 -07:00
Alexander Wang
d17ef8c970
Merge pull request #1245 from satoqz/master
sql_table: support multiple constraints via arrays
2023-06-03 12:20:21 -07:00
satoqz
0ee9ce4241
changelog entry 2023-06-03 14:11:52 +02:00
satoqz
665844db39
TA=1 2023-06-03 14:05:18 +02:00
satoqz
78995c38bd
Merge branch 'terrastruct:master' into master 2023-06-03 13:57:52 +02:00
satoqz
430ff4cab9
join constraints with comma 2023-06-03 13:54:06 +02:00
gavin-ts
ee28cd8a55
Merge pull request #1370 from gavin-ts/multiple-box-selection
fix: dagre connection with backwards segment
2023-06-02 16:06:07 -07:00
Gavin Nishizawa
171d5357df
changelog 2023-06-02 15:59:42 -07:00
Gavin Nishizawa
a2ccb6a3dc
also update ShiftDescendants 2023-06-02 15:52:06 -07:00
Gavin Nishizawa
2c0142abfd
update test 2023-06-02 15:52:06 -07:00
Gavin Nishizawa
4015a48664
fix dagre shifting connection start past 2nd point 2023-06-02 15:52:06 -07:00
Gavin Nishizawa
f6580b69df
add multiple_box_selection test 2023-06-02 15:52:06 -07:00
Bernard Xie
69b816c1b4
Merge pull request #1364 from berniexie/no-empty-block-strings
compile: no empty block strings
2023-06-02 11:30:08 -07:00
Bernard Xie
98c78c1f19
Update measured_test.go 2023-06-02 10:57:40 -07:00
Bernard Xie
9f581bd78a
Update regression_test.go 2023-06-02 10:50:58 -07:00
Bernard Xie
cd09aba54f
trim space 2023-06-02 10:42:44 -07:00
Alexander Wang
b3c98f14e2
Merge pull request #1365 from alixander/fix-renameiddelta
d2oracle: fix RenameIDDelta with generated conflict
2023-06-01 19:51:43 -07:00
Alexander Wang
e6750a99b6
fix renameiddelta 2023-06-01 19:42:40 -07:00
Bernard Xie
107a47e9e3
Update next.md 2023-06-01 18:49:02 -07:00
Bernard Xie
1a6b1a4084
add test 2023-06-01 18:48:37 -07:00
Bernard Xie
7d05c39593
Update next.md 2023-06-01 18:45:15 -07:00
Bernard Xie
3db70bb31d
Update compile.go 2023-06-01 18:42:43 -07:00
Alexander Wang
e40a65ae79
Merge pull request #1362 from alixander/classes-overriding
fix multiple classes modifying arrowheads
2023-06-01 17:21:26 -07:00
Alexander Wang
f6b1d751df
changelog 2023-06-01 17:13:00 -07:00
Alexander Wang
6d2b77170b
fix arrowhead overriding 2023-06-01 17:11:11 -07:00
Alexander Wang
3b52e1b8a0
Merge pull request #1358 from alixander/keyword-container-name
d2ir: prevent illegal non-tail keywords
2023-06-01 10:51:56 -07:00
Alexander Wang
8edf2987bc
test 2023-06-01 00:13:40 -07:00
Alexander Wang
25fd96c0fc
add testdata for urlenc 2023-06-01 00:07:57 -07:00
Alexander Wang
4d5d9e65ad
remove redundant keywords in compression dict 2023-05-31 23:32:22 -07:00
Alexander Wang
69f40ae9fb
fix 2023-05-31 23:28:33 -07:00
Alexander Wang
febd237f34
changelog 2023-05-31 23:06:13 -07:00