16 Commits

Author SHA1 Message Date
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
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
bluebear94
1fff04f582
Improve macro docs (+ Native*Data docs) (#4240) 2024-05-25 15:33:37 +00:00
Laurenz
e3bd39c9d1
Add support for shortcut links in docs (#3547) 2024-03-04 14:51:22 +00:00
Laurenz
145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Laurenz
85b1d1d4dd Rework Vt into Engine
- Moves as much data out of the `Vm`
- Removes duplication with call_vm and call_vt flavours
- Uses tracked chain instead of fixed int for determining max nesting depth
- This means that nesting checks now generalizes to layout and realization, to detect crashing show rules and overly nested layouts
2023-11-26 19:03:21 +01:00
Laurenz
7eebafa783 Merge typst and typst-library 2023-11-24 12:30:02 +01:00
Laurenz
2da619e17c Streamline imports 2023-11-19 16:34:38 +01:00
Fritz Rehde
c3114fa380
Fixed typos (#2524) 2023-10-30 23:25:28 +01:00
Laurenz
24a0bd8cfb Fix error priority for function arguments
Errors about superfluous arguments are now thrown before errors of the function execution itself.

Fixes #1367
2023-10-27 15:38:08 +02:00
Laurenz
cbfd9884a9 Fix argument parsing bug
Things like `luma(1, key: "val")` didn't produce an error before because `args.finish()?` wasn't called. This changes `args: Args` to `args: &mut Args` to make it impossible for that to happen.
2023-10-27 13:25:15 +02:00
Laurenz
8f36fca684 Better proc macros 2023-09-11 14:38:54 +02:00
Beiri22
ea469c2df6
calm down clippy even more (#1997) 2023-08-25 14:27:50 +02:00
Laurenz
07c80e9a81 Touch up docs 2023-08-07 15:58:16 +02:00
damaxwell
c72952b512
Center delimiters vertically about the axis (#1756) 2023-07-20 12:50:12 +02:00
Laurenz
ebfdb1dafa Move everything into crates/ directory 2023-07-02 20:07:43 +02:00