126 Commits

Author SHA1 Message Date
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
Sébastien d'Herbais de Thun
163c2e1aa2
Gradient Part 1 - Color rework (#2171) 2023-09-19 15:48:33 +02:00
Laurenz
305524d005 Update tests for type system changes 2023-09-11 14:42:43 +02:00
Laurenz
2f672b4e2e Allow packages to specify their minimum compiler version 2023-09-04 16:29:57 +02:00
Laurenz
0e5c48ad0d Add a bit more docs to compile 2023-08-29 18:01:18 +02:00
Laurenz
a71a2057f2 More type safety for spans 2023-08-29 17:35:35 +02:00
Laurenz
afc95ed19d Virtual path type
Fixes #1937
2023-08-22 14:21:04 +02:00
Laurenz
2ea451b83b Refactor SVG export a bit 2023-08-08 13:00:47 +02:00
Wenzhuo Liu
61e4ad6bba
Add SVG export (#1729) 2023-08-08 12:54:13 +02:00
Laurenz
b8b0137504 Bytes type
- Moves `Bytes` from `util` to `eval` module
- Accepts bytes in `str` function for bytes -> str conversion
- Adds `bytes` function for str | array -> bytes conversion
- Adds `array` function for bytes -> array conversion
- Adds `len`, `at`, and `slice` methods for bytes
- Adds `encoding` parameter to `read` function
2023-08-04 15:46:46 +02:00
bluebear94
3c94e05ced
Warn if layout doesn't stabilize (#1684) 2023-08-03 00:24:25 +02:00
lolstork
b37c1e2731
Add infrastructure for compiler warnings (#1731) 2023-07-19 12:52:47 +02:00