Commit Graph

3525 Commits

Author SHA1 Message Date
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
Martin Haug ee15ae9c65
Use `set page(columns: n)` in tutorial (#5228)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-18 08:36:21 +00:00
Niklas Eicker ebb60001d8
Update directories in architecture docs (#5214) 2024-10-18 07:55:19 +00:00
Laurenz e0d809680a
Bump hayagriva (#5211) 2024-10-15 13:55:17 +00:00
Laurenz 240b917399
Docs and changelog improvements (#5147)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
Co-authored-by: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com>
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Jeremie Knuesel <knuesel@gmail.com>
Co-authored-by: +merlan #flirora <2975203+bluebear94@users.noreply.github.com>
Co-authored-by: Anselm Schüler <mail@anselmschueler.com>
2024-10-15 12:54:16 +00:00
Laurenz 89cecb188d
Greet users who run `typst` for the first time (#5210) 2024-10-15 11:55:55 +00:00
PgBiel 382787d799
(Re-)implement rounding with negative digits (#5198)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-14 16:14:06 +00:00
Laurenz 03a766444a
Put floats back above footnotes instead of below (#5204) 2024-10-14 15:36:29 +00:00
Laurenz 6a8e29b2e5
Fix tag order with `place` and fr block bugs (#5203) 2024-10-14 14:18:25 +00:00