Laurenz
95cd6adf24
Factor out typst-utils
crate ( #4125 )
2024-05-13 15:25:43 +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
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
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
Laurenz
f5953887c9
Extract syntax module into typst-syntax crate
2023-07-18 21:04:46 +02:00
Laurenz
04bffc4f12
Reintroduce --root
2023-06-28 10:36:53 +02:00
Laurenz
7b92bd7c34
Basic package management
2023-06-27 18:40:17 +02:00
Laurenz
f1025071ed
Tidy up
2023-06-24 15:05:59 +02:00
Mathias Fischler
2e03fb34cb
Add infrastructure to enrich errors with hints ( #1486 )
2023-06-24 14:18:21 +02:00
Luis David Licea Torres
3284e7fac7
Support for inside and outside margins ( #1308 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-12 12:46:34 +02:00
Yang Hau
0dc1776202
refactor: Replace once_cell to std lib ( #1402 )
2023-06-07 14:42:58 +02:00
Laurenz
fd417da04f
Improve value casting infrastructure
2023-06-06 22:06:16 +02:00