Commit Graph

137 Commits

Author SHA1 Message Date
Laurenz 788ae10a07
PDF export diagnostics (#5073) 2024-09-30 12:43:29 +00:00
Laurenz e25389a85e
New flow layout, with multi-column floats (#5017) 2024-09-25 08:26:41 +00:00
Laurenz 16e67f8bea
Shrink tests (#4967) 2024-09-16 14:41:18 +00:00
Laurenz a452fc94bb
Terminate tests when stuck for 10s (#4905) 2024-09-05 19:59:00 +00:00
Laurenz cf05284a0c
Small improvements to the test runner (#4838) 2024-08-26 11:40:37 +00:00
Max cefca7a7d8
Fix typos (#4784) 2024-08-20 15:12:12 +00:00
Laurenz 986d624b3a
Share allocations for singletons (#4794) 2024-08-20 10:56:54 +00:00
Laurenz d97d71948e
Fix document set rules (#4768) 2024-08-16 10:53:12 +00:00
Laurenz 0c37a2c233
Support transparent page fill (#4586)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-07-20 12:51:24 +00:00
Myriad-Dreamin a3f3a1a833
Change the signature of `World::main` (#4531)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 13:14:21 +00:00
Leedehai ab5cebc57c
Let test error hide line number if it's zero (#4535) 2024-07-11 14:43:16 +00:00
Laurenz a68a241570
Remove `Tracer` (#4365) 2024-06-10 09:00:54 +00:00
Laurenz a52987a8c2
Refactor frame metadata into tags (#4212) 2024-05-22 09:26:03 +00:00
Laurenz 2d32ac73b6
Replace all `Prehashed` with `LazyHash` (#4127) 2024-05-13 17:54:34 +00:00
Laurenz 95cd6adf24
Factor out `typst-utils` crate (#4125) 2024-05-13 15:25:43 +00:00
PgBiel 7905de67bc
Add parameter to select pages to be exported by CLI (#4039) 2024-05-10 14:47:02 +00:00
Laurenz be12762d94
Run PDF and SVG export in CI (#4097) 2024-05-08 11:01:08 +00:00
Leedehai 1b091d628d
Enhance the test runner: regex, --list, --path (#3945) 2024-04-18 12:20:42 +00:00
Laurenz 020294fca9
Better test runner (#3922) 2024-04-13 08:39:45 +00:00
Laurenz 82617a6a3c
Generate PDF ID automatically unless we really have a stable ID (#3591) 2024-03-09 11:55:03 +00:00
Laurenz 5dc6ce0022
Remove unmaintained benchmarks (#3569) 2024-03-07 09:50:03 +00:00
Laurenz a558fd232b
Add `typst init` command (#3544) 2024-03-06 11:33:35 +00:00
Laurenz 8d63b0479c
Make use of `is_some_and` where applicable (#3523) 2024-02-28 14:24:50 +00:00
Laurenz e16d3f5a67
Externalize assets (#3515) 2024-02-28 10:06:54 +00:00
Laurenz 145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Laurenz be49935753
Destructuring improvements (#3463) 2024-02-21 08:38:47 +00:00
Laurenz 36d588ae5d
Run tests roughly in order (#3402) 2024-02-12 10:02:11 +00:00
Laurenz 6ac71eeaf7 Add `Page` struct
To get rid of the Meta hack where numbering and things like that are stored in the frame.
2024-01-17 21:53:20 +01:00
astrale-sharp c20b6ec6e1
Test autocomplete (#2912)
Co-authored-by: oliver <151407407+kwfn@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-01-09 09:05:57 +00:00
PgBiel c361566cb2
Show which reference image was updated (#3008) 2023-12-19 10:19:20 +01:00
Laurenz 22ba6825db
Key/Value data from CLI (#2894) 2023-12-18 12:18:41 +01:00
Laurenz cf6ce9fd53 Make `World` thread-safe 2023-12-14 22:58:56 +01:00
Leedehai 9a62b21a25
Let test.rs --exact also accept file path of a typ file (#2817) 2023-12-06 11:02:27 +01:00
Leedehai d1835b418f
Use a rotating test progress printer (#2872) 2023-12-06 11:02:08 +01:00
Laurenz 8a2ef9ea01 Enable workspace lints for tests 2023-12-04 14:58:11 +01:00
Laurenz 3b9acf5563 Bump dependencies 2023-11-27 17:16:42 +01: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 35d6a891bc Rename typeset function to layout 2023-11-19 18:17:06 +01:00
Laurenz e0d6526a53
Watching fixes (#2706) 2023-11-19 12:31:42 +01:00
Laurenz 7f0fcda376 Move some things out of `util` 2023-11-08 23:42:45 +01:00
Laurenz 46846a337e Extract `typst-pdf` crate 2023-11-08 15:09:55 +01:00
Laurenz 80b4ca4c04 Extract `typst-svg` crate 2023-11-08 13:21:47 +01:00
Laurenz ec04c3de2f Extract `typst-render` crate 2023-11-08 13:16:13 +01:00
Martin Haug f78a8f5d48
Add IDs and creation date to PDFs (#2374) 2023-10-27 18:33:23 +02:00
Sébastien d'Herbais de Thun c0dbb900e8
Cached export for incremental (#2400) 2023-10-17 20:53:01 +02:00
Sébastien d'Herbais de Thun 37a988af83
Replace `Vec` with `EcoVec`, removed `Box` (#2420) 2023-10-17 20:50:36 +02:00
Laurenz 2a19e7f4dc Bump ecow 2023-10-09 15:00:07 +02:00
MALO 333e4037fc
Add `Repr` trait (#2269) 2023-10-04 12:08:56 +02:00
Laurenz 7a46a85d3e Improve span stability after incremental parsing 2023-09-19 16:53:59 +02:00