Commit Graph

1095 Commits

Author SHA1 Message Date
Laurenz eb2ea1d0ee Silence `typst-timing` warnings on WebAssembly 2024-11-13 10:21:40 +01:00
Laurenz 525154a730 Add support for raw range spans 2024-11-13 10:21:40 +01:00
Laurenz 5625914872 Simplify import handling 2024-11-13 10:21:40 +01:00
Laurenz 6c22ba1cbd Move a few things into separate files 2024-11-13 10:21:40 +01:00
Laurenz 366348b196 Figure body snippets 2024-11-13 10:21:40 +01:00
Laurenz 65bb1fbe6a Distinguish between more completion kinds 2024-11-13 10:21:40 +01:00
Laurenz c0dfe4aab7 Autocomplete file paths 2024-11-13 10:21:40 +01:00
Laurenz a5a4b0b72f Introduce `IdeWorld` trait 2024-11-13 10:21:40 +01:00
Laurenz 03ba5a0cb1 Do not complete existing positional parameters 2024-11-13 10:21:40 +01:00
Laurenz 0b143c7df9 Star import tooltip 2024-11-13 10:21:40 +01:00
Laurenz 3d1cad2bec Simplify tooltip tests 2024-11-13 10:21:40 +01:00
Laurenz 5d003fb1b2 Autocomplete different functions with different brackets 2024-11-13 10:21:40 +01:00
Laurenz c526f031cc Fix `#cite` autocompletion 2024-11-13 10:21:40 +01:00
Laurenz 6f294eac56 Simplify autocompletion tests
A

A
2024-11-13 10:21:40 +01:00
Max 8d4f01d284
Add support for page references through new `ref.form` property (#4729) 2024-11-12 12:54:25 +00:00
Pascal Quach dadc2176e2
Add `asymp` and `asymp.not` symbols (#5391) 2024-11-12 12:46:40 +00:00
Andrew Voynov cb8eaddf98
Removed deprecated `diff` symbol (#5388) 2024-11-12 12:44:45 +00:00
Yip Coekjan 19bde34876
Remove unused dependencies (#5379) 2024-11-07 08:47:27 +00:00
Johann Birnick 115b0a7ffd
Add `sym.eq.triple.not` (#5372) 2024-11-05 08:42:44 +00:00
wznmickey ada30cd5b1
Fix unstoppable empty footnote loop (#5354) (#5364) 2024-11-05 08:27:25 +00:00
Sébastien d'Herbais de Thun 692d846d25
Disable justification in `raw(block: true, ...)` (#4889)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-04 09:37:29 +00:00
Laurenz cb1aad3a0c
Refactor Parser (#5310) 2024-11-04 10:17:49 +01:00
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
Laurenz fac7583745
Basic feature flag mechanism (#5350) 2024-11-01 20:02:27 +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
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
frozolotl 753e59eaa0
Make `Vm` attributes more public (#5148)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 18:53:10 +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
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