Commit graph

1523 commits

Author SHA1 Message Date
Anmol Sethi
09dc9fd12f
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-02-02 10:33:31 -08:00
Anmol Sethi
8f58e4ca54
d2ir: Review fixes #714 2023-02-02 10:31:09 -08:00
Anmol Sethi
da500a8437
d2ir: Review fixes #714 2023-02-02 10:31:07 -08:00
Alexander Wang
bb264df5ca
[ci-base] correct maven plugin link 2023-02-01 23:29:18 -08:00
Alexander Wang
5dbcf8dbc3
Merge pull request #745 from alixander/add-plugins
add 3 new plugins
2023-02-01 15:14:54 -08:00
Alexander Wang
c6f312b4e0
add 3 new plugins 2023-02-01 15:12:28 -08:00
Alexander Wang
4b72b65380
Merge pull request #741 from alixander/bold-tests
update code fonts
2023-01-29 14:24:08 -08:00
Alexander Wang
dc1679b872
changelog 2023-01-29 14:21:01 -08:00
Alexander Wang
8b141d37f0
use bold and italic for code snippets 2023-01-29 14:17:34 -08:00
Alexander Wang
629845fcb0
Merge branch 'terrastruct:master' into master 2023-01-29 14:14:18 -08:00
Alexander Wang
b05ec48843
Merge pull request #710 from kevin-david/fonts
render: fonts: add bold + italic styles for Source Code Pro
2023-01-29 14:13:31 -08:00
Alexander Wang
ea5db1d424
[ci-base] add icons to readme 2023-01-29 12:19:48 -08:00
Anmol Sethi
291f2fdfe3
d2ir: Review fixes #714 2023-01-27 23:45:04 -08:00
Anmol Sethi
3ace33fd01
d2ir: Review fixes #714 2023-01-27 23:28:44 -08:00
Anmol Sethi
30b5b64cad
d2ir: Review fixes #714 2023-01-27 23:19:50 -08:00
Anmol Sethi
654475f286
Fix e2etests report generation and update testdata 2023-01-27 22:20:10 -08:00
Anmol Sethi
192cb10a61
d2ir: Review fixes #714 2023-01-27 17:19:55 -08:00
Anmol Sethi
f056700152
d2ir: Review fixes #714 2023-01-27 17:19:12 -08:00
Anmol Sethi
dce4385644
d2ir: Review fixes #714 2023-01-27 12:37:08 -08:00
Anmol Sethi
dffcb274cd
next.md: Document layers/scenarios/steps 2023-01-27 11:06:35 -08:00
Anmol Sethi
d80b2d3842
cli: Output layers under subdirectory 2023-01-27 11:01:16 -08:00
Alexander Wang
2d129437cf
Merge branch 'terrastruct:master' into master 2023-01-27 10:59:57 -08:00
Anmol Sethi
2d36513e2c
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-27 10:51:33 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
gavin-ts
9cdce24122
Merge pull request #728 from gavin-ts/seq-diagram-group-with-self-edge
sequence diagram: group overlap with self edge
2023-01-27 10:21:11 -08:00
Gavin Nishizawa
fd72e10dbc
rename lastGroup to prevGroup 2023-01-27 10:09:38 -08:00
Alexander Wang
256ce2d51e
Merge branch 'terrastruct:master' into master 2023-01-27 08:01:06 -08:00
Anmol Sethi
38fcaa1aa3
Merge pull request #733 from nhooyr/fmt-many-44a0
fmt: Accept multiple files to be formatted
2023-01-27 07:38:33 -08:00
Anmol Sethi
0507946672
fmt: Accept multiple files to be formatted
Closes #718
2023-01-27 07:31:12 -08:00
Gavin Nishizawa
c4efe2812f
check message ref is group 2023-01-26 18:39:33 -08:00
Gavin Nishizawa
22231aa8e4
changelog 2023-01-26 18:08:37 -08:00
Gavin Nishizawa
a54a0324c3
update test 2023-01-26 18:02:33 -08:00
Gavin Nishizawa
74b0ed2064
only add message offset after loops in another group 2023-01-26 18:02:32 -08:00
Gavin Nishizawa
576c8df2c8
update message offset for self messages 2023-01-26 18:02:32 -08:00
Gavin Nishizawa
46f3b31742
add sequence_diagram_self_edge_group_overlap regression test 2023-01-26 18:02:32 -08:00
Alexander Wang
12ee7ae278
[ci-base] double-circle -> double-border 2023-01-26 16:42:41 -08:00
Alexander Wang
9b0f942c05
[ci-base] update 2023-01-26 16:35:22 -08:00
Alexander Wang
6f1b674537
Merge branch 'terrastruct:master' into master 2023-01-26 16:30:32 -08:00
Alexander Wang
bea8a47ece
Merge pull request #565 from OneRain233/master
Implement the `double_circle` shape including basic shape and the sketch.
2023-01-26 16:30:17 -08:00
OneRain2333
6aef38a55c Delete .idea 2023-01-26 09:33:53 +08:00
Kevin David
9ba1d85d21
d2graph: check that font family is entirely loaded before using it
I tested this by removing the changes I added in `d2fonts`, which led to:
```
[21:23:54] info: compiling GetUniqueColumnName-fix.d2...
[21:23:54] err: failed to compile: ruler does not have entire font family SourceCodePro loaded, is a style missing?
```

The error was also rendered in the UI.
2023-01-24 21:25:01 -05:00
Kevin David
500e3e179e
SourceCodePro bold/italic: use .woff for encoded fonts instead of .ttf
Sourced from: https://github.com/adobe-fonts/source-code-pro/releases/tag/2.038R-ro%2F1.058R-it%2F1.018R-VAR

Translated with the following commands:
```
base64 -i ~/Downloads/WOFF-source-code-pro-2.038R-ro-1.058R-it/TTF/SourceCodePro-It.ttf.woff -o ./d2renderers/d2fonts/encoded/SourceCodePro-Italic.txt
base64 -i ~/Downloads/WOFF-source-code-pro-2.038R-ro-1.058R-it/TTF/SourceCodePro-Bold.ttf.woff -o ./d2renderers/d2fonts/encoded/SourceCodePro-Bold.txt
```

I used the `.ttf.woff` files because that seemed "closer" to the original `.ttf` files included, but I'm not sure if that's correct.
2023-01-24 21:20:16 -05:00
Anmol Sethi
310afcdf86
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-24 15:29:38 -08:00
Anmol Sethi
335d925b7c
deps: update [ci-force] 2023-01-24 15:27:12 -08:00
Anmol Sethi
c77b4acc4e
deps: update [ci-force] 2023-01-24 15:25:18 -08:00
Anmol Sethi
afd2768880
docs/flow.d2: Update [ci-base] 2023-01-24 15:14:53 -08:00
Anmol Sethi
46ccb5de87
ci: Update [ci-force] 2023-01-24 15:07:42 -08:00
Anmol Sethi
73c6e57998
deps: update [ci-force] 2023-01-24 15:00:25 -08:00
Alexander Wang
5a1cf0270c
Merge branch 'terrastruct:master' into master 2023-01-24 15:00:17 -08:00
Anmol Sethi
ca84d9e152
install.sh: Regen [ci-force] 2023-01-24 14:59:43 -08:00