Commit Graph

147 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
Laurenz f15b81e9a7 Bump svg2pdf 2023-09-14 14:43:11 +02:00
Laurenz 360cc9b957 Version bump 2023-09-13 16:57:27 +02:00
Laurenz Stampfl a5e39d814c
Update to usvg 0.35 (#2113) 2023-09-13 16:41:45 +02:00
Laurenz f9feea3f29 Bump dependencies 2023-09-13 14:44:45 +02:00
Laurenz e77d935014 Bump oxipng
The released version of oxipng has a deadlock issue with rayon. So we switch to a git dependency for now.
2023-09-13 13:46:01 +02:00
Laurenz 3a979e88da Docs generation for types 2023-09-11 15:53:20 +02:00
Laurenz b471ac7d59 First-class types
Makes types first-class values.
2023-09-11 14:40:22 +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
Laurenz 87c0a5171a Bump hayagriva 2023-09-05 12:17:30 +02:00
Laurenz 68a25f497e Bump hypher 2023-09-04 13:23:14 +02:00
Laurenz c0b332a4c0 Font embedding fixes
- Subset prefix based on hash instead of hardcoded
- Fix base font name of Type0 font
- Embed CFF directly as standalone font

Co-Authored-By: Martin Haug <mhaug@live.de>
2023-09-01 13:56:45 +02:00
Beiri22 d3ca2ff4ec
Support CBOR binary serialization / deserialization (#2000) 2023-08-30 17:11:21 +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
dependabot[bot] a4ad407a79
Bump rustls-webpki from 0.100.1 to 0.100.2 (#1980)
Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.100.1 to 0.100.2.
- [Release notes](https://github.com/rustls/webpki/releases)
- [Commits](https://github.com/rustls/webpki/compare/v/0.100.1...v/0.100.2)

---
updated-dependencies:
- dependency-name: rustls-webpki
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 22:03:12 +02:00
Laurenz afc95ed19d Virtual path type
Fixes #1937
2023-08-22 14:21:04 +02:00
Laurenz 522708b9df Set new minimum serde version
1.0.184 does not ship with a precompiled binary anymore
2023-08-21 21:49:14 +02:00
astrale-sharp 99ddbafc09
Wasm plugin system (#1555) 2023-08-21 15:17:16 +02:00
Wenzhuo Liu 61e4ad6bba
Add SVG export (#1729) 2023-08-08 12:54:13 +02:00
Laurenz da8367e189 Version bump 2023-08-07 17:19:41 +02:00
Laurenz ea834d9d1d Bump pdf-writer and svg2pdf 2023-08-07 16:59:15 +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 53a896f049 Bump hypher 2023-08-03 16:21:01 +02:00
Laurenz Stampfl 8e200c356c
Enable feature raster images to resvg (#1786) 2023-07-24 22:17:49 +02:00
Laurenz b2e58f7207 Bump svg2pdf
Co-Authored-By: Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com>
2023-07-21 23:58:00 +02:00
Laurenz f5953887c9 Extract syntax module into typst-syntax crate 2023-07-18 21:04:46 +02:00
Myriad-Dreamin 9b72ee4d22
Load theme for raw code (#1675) 2023-07-17 16:43:33 +02:00
Sébastien d'Herbais de Thun 07553cbe71
Raw syntax definition loading (#1655) 2023-07-06 13:51:28 +02:00
Lynn 9a9da80665
Color mixing function (#1332)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-07-05 11:26:50 +02:00
LingMan 224e1df8e5
Disable `binary` feature of `oxipng` (#1640)
The `oxipng` crate contains a binary target in addition to the library target. Said binary has
additional dependencies which are not needed by users of the library. Since Cargo unfortunately
doesn't currently offer a good way to express such binary-only dependencies, they are enabled by
default via the `binary` feature. Avoid downloading and building these unnecessary crates by disabling the `binary` feature.
2023-07-04 15:51:18 +02:00
Laurenz ebfdb1dafa Move everything into `crates/` directory 2023-07-02 20:07:43 +02:00
Laurenz 2dfd44fedd Version bump 2023-06-30 16:21:57 +02:00
Laurenz d1a7a6dbab Non-Typst highlighting in documentation 2023-06-30 16:17:52 +02:00
Laurenz 7b92bd7c34 Basic package management 2023-06-27 18:40:17 +02:00
Laurenz 3a8b9cce47 Version bump 2023-06-09 16:24:34 +02:00
Laurenz 58ca0e8db5 Replace atty with std 2023-06-09 14:46:35 +02:00
Laurenz fd417da04f Improve value casting infrastructure 2023-06-06 22:06:16 +02:00
Peng Guanwen e2bf2327b5
Use icu4x for linebreaking algorithm (#1355) 2023-05-30 17:53:10 +02:00
Laurenz Stampfl 6af94be34a
Use chrono instead of time in the CLI (#1300) 2023-05-24 12:14:43 +02:00
Laurenz Stampfl 752817ae74
Add support for date & time handling (#435) 2023-05-23 10:41:20 +02:00
Laurenz f692a5efc6 Version bump 2023-05-20 22:05:55 +02:00
Laurenz 10fac14341 Bump dependencies 2023-05-19 17:21:02 +02:00
Johannes Wolf 42f1586880
cli: Emit escape codes only if output is a tty (#1188) 2023-05-19 16:47:25 +02:00
Laurenz 42afa410ae Better documentation outlines 2023-05-17 14:38:03 +02:00
Laurenz 8971588486 Externalize contributor fetching 2023-05-17 14:31:55 +02:00
Laurenz 88cb8c2626 Bump comemo 2023-05-16 16:43:35 +02:00
Kevin Stevens 156aef10c4
Switch from unicode_xid to unicode_ident (#1208) 2023-05-15 09:35:46 +02:00
Laurenz 47dff3765d Remove 'static bound on `World`
Thanks to improvements in comemo, tracked types don't need to be 'static anymore. This means that the 'static bound on the `World` is now lifted and that the `Route` doesn't need to use unsafe code anymore to manage its lifetime.
2023-05-11 10:50:30 +02:00