Commit Graph

26 Commits

Author SHA1 Message Date
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
LU Jialin 8b465222b2
Use inferred format extension for the output path (#2166) 2023-09-18 14:27:38 +02:00
Laurenz f9feea3f29 Bump dependencies 2023-09-13 14:44:45 +02:00
frozolotl 14d28dbf4e
Gracefully handle error if field was not defined (#2110) 2023-09-12 11:26:35 +02:00
Laurenz 921b40cf9c Forward third-party errors
Better to know something even if it isn't always formatted in the prettiest way
2023-09-11 12:04:37 +02:00
Zicklag 6483d3035b
Support proxy and custom certificate configuration. (#2006) 2023-09-11 12:03:47 +02:00
jimvdl aea20670d8
Display download progress for self-updating and packages (#2031) 2023-08-31 10:02:53 +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
jimvdl 7bdf1f57b0
Let the CLI `typst update` itself without a package manager (#1887) 2023-08-26 20:44:58 +02:00
Matt Fellenz ff5dc9191e
Add format arg to CLI (#1985) 2023-08-23 22:44:03 +02:00
Laurenz afc95ed19d Virtual path type
Fixes #1937
2023-08-22 14:21:04 +02:00
Laurenz 8f19b49afa Fix some typos in CLI help 2023-08-22 01:09:19 +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
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
Luke Chambers 02d981ed1c
Search additional font paths before system/embedded (#1847) 2023-08-03 13:55:00 +02:00
Wenzhuo Liu 733c5c9913
fix(cli): include export in compile time (#1816) 2023-08-03 00:31:28 +02:00
Beiri22 77cc05b121
Fix datetime offset (#1845) 2023-08-01 23:54:37 +02:00
Laurenz 1c7105ba82 Change package search and caching path
Brings local packages in line with changes to the package repository. See also: https://github.com/typst/packages/issues/61
2023-08-01 00:59:40 +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
Trévis Morvany 0e8492eac1
Fix `typst watch` not working with some text editors (#1680) 2023-07-10 12:21:59 +02:00
Laurenz 5fdd62141f Reword CLI docs 2023-07-04 16:47:57 +02:00
Laurenz ebfdb1dafa Move everything into `crates/` directory 2023-07-02 20:07:43 +02:00