3433 Commits

Author SHA1 Message Date
Ian Wrzesinski
2c9728f53b 18. Restore list indent behavior 2024-11-03 22:04:06 -05:00
Ian Wrzesinski
9d9a1b1e33 17. Replace while loop closures and Parser::end() to use SyntaxSet 2024-11-03 20:28:49 -05:00
Ian Wrzesinski
86ce443806 16. Compress with_mode and with_nl_mode to reduce rightward drift 2024-11-03 20:28:49 -05:00
Ian Wrzesinski
26c61be1dc 15. Convert Markup mode to use newline modes
(And break out Newline info into separate struct)
2024-11-03 20:28:49 -05:00
Yip Coekjan
6b636167ef
Allow triggering the release workflow manually (#5349) 2024-11-01 20:04:04 +00:00
Laurenz
fac7583745
Basic feature flag mechanism (#5350) 2024-11-01 20:02:27 +00:00
Yip Coekjan
b357de3c48
Bump rust in release.yml (#5340) 2024-11-01 10:03:34 +00:00
Ian Wrzesinski
a70b8a56ef
Disallow space between ident and paren in set rule (#5269) 2024-11-01 09:45:08 +00:00
LU Jialin
23313b0af0
Support Greek Numbering (#4273)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-01 09:20:10 +00:00
Max
3eb74319cc
Bump Rust in Nix flake to 1.82 (#5345) 2024-11-01 08:23:12 +00:00
Ian Wrzesinski
4ce0b069f6 14. Update 'maybe_wrap_in_math' to remove 'wrap_within' and 'post_process'! 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
97229d24e4 13. Reorder functions to avoid jumping around when reading code. No actual changes. 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
91b384ad7b 12. Add the Token type and replace lex/skip/save methods 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
c466080fb2 11. Add Parser::finish_into 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
2ae1e1627f 10. Change parser modes using closures instead of manual stacks 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
88d86714a1 9. Parse math field access in the lexer 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
09975d1133 8. Create Raw nodes entirely within the lexer 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
1cecae0333 7. Return SyntaxNodes from the Lexer 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
01186779cd 6. Reduce size of memoization map state 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
16cc7eb472 5. Refactor parser memoization to localize functionality 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
54eadb65a9 4. Rename convert to convert_and_eat 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
a764aa4192 3. Add typst-syntax README and parser comments 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
a2761ab75a 2. Allow compiling test-runner with only typst_syntax 2024-10-31 18:26:12 -04:00
Ian Wrzesinski
da83f33c4c 1. Add test-runner option to compare parser output 2024-10-31 18:26:12 -04:00
frozolotl
753e59eaa0
Make Vm attributes more public (#5148)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 18:53:10 +00:00
Garmelon
1261d176b0
Bump bumpalo lower bound to version 3.15.4 (#5343) 2024-10-31 15:55:15 +00:00
Adrian Freund
36f8cdf91b
Fix dockerfile not cross compiling correctly (#5294) 2024-10-31 15:54:35 +00:00
Josh Soref
b88ec6016e
Upload artifacts on CI failure (#5021)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 12:57:20 +00:00
HydroH
066e9349f9
Add calc.norm() function to compute euclidean norms (#4581)
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Yip Coekjan <69834864+Coekjan@users.noreply.github.com>
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 12:41:50 +00:00
Andrew Voynov
30427ac842
Added Numero Sign № (U+2116) (#5326) 2024-10-31 11:56:37 +00:00
Yip Coekjan
f0d7f54cbf
More consistent self-update assets determination (#5333) 2024-10-31 11:55:37 +00:00
Ian Wrzesinski
dcb130bd71
Add a warning for is to anticipate using it as a keyword (#5229)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2024-10-31 11:55:31 +00:00
Abdul-Rahman Sibahi
b969c01b28
Replace once_cell's Lazy as much as possible (#4617)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 11:52:11 +00:00
Laurenz
644ed252dd
Bump MSRV to 1.80 and Rust in CI to 1.82 (#5339) 2024-10-31 11:21:26 +00:00
Malo
070e3144b3
Make math.bold compatible with Greek digamma (#5316) 2024-10-30 17:31:03 +00:00
Max
902088a237
Guard against font bug in math glyph assembly code (#5288) 2024-10-30 15:32:11 +00:00
Max
f85faf957f
Add math.accent support for flac and dtls OpenType features (#5202) 2024-10-30 15:29:15 +00:00
Laurenz
2634a8402c
Fix type of plugin (#5321) 2024-10-29 13:59:22 +00:00
Kevin K.
33a035ee0d
Fix wrong Greek and Ukrainian language codes (#5261)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:42:25 +00:00
Eric Biedert
45377f25ec
Fix clipping with outset (#5295)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:31:00 +00:00
lucaslugao
6dd05cc17a
Add explicit notice about unicode minus sign in the str function (#5301)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:26:32 +00:00
Giacomo Stevanato
83927686d9
Fix wrong drop order for self-referential struct (#5306)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:23:43 +00:00
Chad Skeeters
ead6c03a98
Corrects link to wasi-stub in plugin documentation (#5308)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:21:11 +00:00
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Ian Wrzesinski
b8034a3438
Syntax set macro (#5138)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-22 13:25:52 +00:00
Andrew Voynov
33b9d1c7db
Improved docs for par.line.numbering-scope (#5250)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2024-10-22 13:09:51 +00:00
Laurenz
838dabc84c
Bump version on main (#5246) 2024-10-19 08:08:42 +00:00
Laurenz
15a26c6c45
Split changelog (#5237) 2024-10-18 14:11:49 +00:00
Laurenz
711a2d8807
Fix optimized linebreaks without justification (#5236) 2024-10-18 13:10:22 +00:00
Laurenz
6057df7c4d
Fix path in NOTICE file (#5232) 2024-10-18 09:22:23 +00:00