86 Commits

Author SHA1 Message Date
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
Laurenz
219f14355b Rename into_u16 to as_u16 2023-06-06 19:06:56 +02:00
Eric Biedert
ff903674f9
Fix tests on windows (#1222) 2023-05-23 12:36:54 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling (#435) 2023-05-23 10:41:20 +02:00
Laurenz
551ea99d05 Show default values in documentation
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz
ad347632ab Make ligatures copyable and searchable
Fixes #479
Fixes #1040
2023-05-03 10:33:18 +02:00
Alex Saveau
f740c0b03f
Support picking the last subtest by using a random big number (#970) 2023-04-26 10:02:17 +02:00
Alex Saveau
b75cad2d3b
Parallelize tests (#900) 2023-04-23 14:35:18 +02:00
astrale-sharp
4cea7007d0
use clap for parsing tests. (#876) 2023-04-21 11:16:32 +02:00
Alex Saveau
c505a0f5dc
Add UPDATE_EXPECT envvar to update tests (#748) 2023-04-20 10:47:31 +02:00
Laurenz
d10b53df0b Clippy 2023-04-18 19:16:13 +02:00
Johannes Wolf
4d9c6b28d0
cli: Allow reading every path not of type dir (#414) 2023-03-30 00:36:22 +02:00