Commit Graph

91 Commits

Author SHA1 Message Date
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
Karthik Nishanth b9457421de
CLI: Support more page number templates in output file name (#3933) 2024-04-19 14:32:06 +00:00
Laurenz 020294fca9
Better test runner (#3922) 2024-04-13 08:39:45 +00:00
Matthew Toohey 72dd792106
Add --make-deps CLI argument (#2877) (#3890) 2024-04-09 11:50:41 +00:00
frozolotl ffc9570c64
Remove SOURCE_DATE_EPOCH CLI argument (#3859) 2024-04-04 15:00:02 +00:00
frozolotl d4b3ae0925
Read `SOURCE_DATE_EPOCH` for better reproducibility (#3809) 2024-04-03 10:34:17 +00:00
Laurenz b3615ccd49
A few CI and crate config changes (#3852) 2024-04-02 14:16:44 +00:00
Ilia e91baaca82
Support writing document to stdout (#3632) 2024-04-01 19:36:21 +00:00
frozolotl a33d8bf322
Escape path and entrypoint in `typst init` output (#3753) 2024-03-23 11:54:50 +00:00
frozolotl 0a917aba98
Fix warnings introduced by rust 1.77 (#3754) 2024-03-22 12:35:02 +00:00
Laurenz faca50a240
Final touches (#3678) 2024-03-15 14:47:41 +00:00
Laurenz 9e507cd9fd
Revert use of alternate screen (#3648) 2024-03-14 09:20:31 +00:00
Leedehai c29db5f27e
Clean up unused dependency (#3600) 2024-03-11 10:24:16 +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 aace521b56
Bump our crates (#3573) 2024-03-07 16:37:22 +00:00
Laurenz a558fd232b
Add `typst init` command (#3544) 2024-03-06 11:33:35 +00:00
Laurenz e16d3f5a67
Externalize assets (#3515) 2024-02-28 10:06:54 +00:00
Laurenz 6dab30238a
Add `vendor-openssl` feature flag (#3510) 2024-02-28 08:04:03 +00:00
Sébastien d'Herbais de Thun d0dd81cddf
Added `LazyHash` (#3451)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-21 08:40:13 +00:00
Laurenz 0fb2a67484
Introduce `SyntaxSet` (#3450) 2024-02-18 13:28:00 +00:00
frozolotl fcf64d0ee0
Fix typo (#3412) 2024-02-14 12:21:17 +00:00
frozolotl 8a2527788c
Fix watches on moves and removes (#3371)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-14 11:50:40 +00:00
frozolotl e2e8159bb2
Do not enter alternate screen if colors are disabled (#3366) 2024-02-08 09:29:36 +00:00
spore 70b354e887
Support reading input from stdin (#3339) 2024-02-05 13:05:26 +00:00
tingerrr a8f764ab48
Fix error swallowing (#3338) 2024-02-04 11:23:29 +00:00
frozolotl 6999be9ab0
Use alternate screen and refactor terminal output. (#2665) 2024-01-31 09:19:07 +00:00
Laurenz 6207b3d9b0
Configure ureq to use sytem-native TLS (#3258) 2024-01-26 09:50:43 +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
didier amyot d52ae4bd48
fix: removed typo from http client user agent. (#3134) 2024-01-05 18:07:55 +00:00
tingerrr 4bf16d7acb
Add a `--color` flag (#3060)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-01-02 09:03:01 +00:00
Sébastien d'Herbais de Thun c4d9b0c3d8
New performance timings (#3096)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-30 12:36:15 +00:00
Sébastien d'Herbais de Thun 08225e42d8
Parallel export (#2989) 2023-12-18 12:32:53 +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
Laurenz 2dc0478ffe Less interior mutability in system world 2023-12-08 19:02:09 +01:00
Laurenz 3b104e2ba8 Move export cache 2023-12-08 19:02:09 +01:00
Laurenz f16a9ea9ad Drop dependency on `DashMap`
DashMap doesn't work in multi-threaded WebAssembly in Safari: https://bugs.webkit.org/show_bug.cgi?id=265581
2023-11-30 18:31:56 +01:00
Sébastien d'Herbais de Thun 5bdec9e1d8
Optimized labels & introspector (#2801)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-11-30 12:57:04 +01:00
He Li 3ea2ad6cae
Don't exit watcher on invalid utf-8 (#2795) 2023-11-29 19:57:57 +01:00
Laurenz 713cde1136 Make workspace inheriting consistent 2023-11-27 16:54:55 +01:00
danieleades e36a18b991
Use clippy workspace lints and inline format args (#2771) 2023-11-27 11:34:14 +01:00
danieleades 3c2b61ee7d
Run clippy on all features (#2767) 2023-11-27 11:18:48 +01:00
Laurenz 7eebafa783 Merge `typst` and `typst-library` 2023-11-24 12:30:02 +01:00
frozolotl 76e173b78b
Allow multiple font paths in `TYPST_FONT_PATHS` (#2746) 2023-11-24 11:42:02 +01:00
Laurenz 36c7301608 Tidy up some imports 2023-11-21 15:20:49 +01:00
Laurenz 2da619e17c Streamline imports 2023-11-19 16:34:38 +01:00
Laurenz 18cb3becb3 Disable default features of `zip` crate 2023-11-19 13:04:48 +01:00
Laurenz fa43b4bf5d Use proxy for fetching release metadata 2023-11-19 12:49:08 +01:00