Commit Graph

43 Commits

Author SHA1 Message Date
Laurenz dacd6acd5e
More flexible and efficient `Bytes` representation (#5670) 2025-01-08 10:57:56 +00:00
Laurenz 79a7a6bf77
Live reloading HTTP server for `typst watch` and HTML export (#5524) 2024-12-05 09:59:26 +00:00
Laurenz 4f3ba7f8ca
Rename `--feature` to `--features` and support `TYPST_FEATURES` env var (#5523) 2024-12-04 17:42:59 +00:00
Laurenz bf1c7db6fc
Clean up CLI argument parsing (#5521) 2024-12-04 13:17:38 +00:00
Laurenz 2b8dc9b14d Add HTML feature flag 2024-12-04 10:12:07 +01:00
Laurenz fac7583745
Basic feature flag mechanism (#5350) 2024-11-01 20:02:27 +00:00
Abdul-Rahman Sibahi b969c01b28
Replace `once_cell`'s `Lazy` as much as possible (#4617)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 11:52:11 +00:00
Laurenz be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Sébastien d'Herbais de Thun 8d38bd4066
Single thread support (#4988) 2024-09-26 09:02:44 +00:00
Laurenz 831062a588
Fix system font loading (#4714) 2024-08-09 14:44:18 +00:00
tingerrr 672f6e5f97
Add typst-kit crate (#4540) 2024-08-05 18:49:02 +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
Laurenz 7fa86eed0e
Basic multi-threading (#4366) 2024-06-10 13:28:40 +00:00
LuizAugustoPapa cc3e9c8602
Add more environment control parameters to CLI (#4227)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Tulio Martins <tulioml240@gmail.com>
Co-authored-by: PepinhoJp <pepinho.jp@gmail.com>
2024-06-06 17:22:54 +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
Laurenz 020294fca9
Better test runner (#3922) 2024-04-13 08:39:45 +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 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
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
spore 70b354e887
Support reading input from stdin (#3339) 2024-02-05 13:05:26 +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
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
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
Laurenz bb59f0e2b2 Incremental parsing in CLI
Reparses files in the CLI incrementally and also uses the file modification timestamp to completely skip reparsing if possible.
2023-09-19 15:19:12 +02:00
Laurenz afc95ed19d Virtual path type
Fixes #1937
2023-08-22 14:21:04 +02:00
Beiri22 357bce56f5
Query-System for metadata (#1812)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-08-06 23:49:04 +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
Beiri22 77cc05b121
Fix datetime offset (#1845) 2023-08-01 23:54:37 +02:00
Laurenz f5953887c9 Extract syntax module into typst-syntax crate 2023-07-18 21:04:46 +02:00
Laurenz ebfdb1dafa Move everything into `crates/` directory 2023-07-02 20:07:43 +02:00