Commit Graph

297 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
Martin Haug ca8462642a Update `svg2pdf`
Potentially helps with #368
2023-05-03 11:45:00 +02:00
Laurenz ad347632ab Make ligatures copyable and searchable
Fixes #479
Fixes #1040
2023-05-03 10:33:18 +02:00
Laurenz c7f17bf25a Update dependencies 2023-05-02 14:08:23 +02:00
Martin Haug 17cef8dcee
Add ICC profiles to images in PDF and update `usvg`, `svg2pdf` (#822) 2023-05-02 13:53:20 +02:00
Laurenz b1e0de0078 Version bump 2023-04-26 15:54:05 +02:00
HarmoGlace 6134e3f4ee
Add toml support (#807) 2023-04-26 11:31:32 +02:00
Alex Saveau 1d42d6674c
Upgrade a bunch of deps and remove two unused ones (#968) 2023-04-26 11:22:43 +02:00
Alex Saveau b75cad2d3b
Parallelize tests (#900) 2023-04-23 14:35:18 +02:00
Sébastien d'Herbais de Thun 561ff979d5
Add instrumentation (Part 1) (#761) 2023-04-23 14:33:56 +02:00
astrale-sharp 4cea7007d0
use clap for parsing tests. (#876) 2023-04-21 11:16:32 +02:00
Laurenz c117e2dc27 List contributors in changelog
Co-Authored-By: Martin Haug <mhaug@live.de>
2023-04-20 14:23:36 +02:00
Alex Saveau c505a0f5dc
Add UPDATE_EXPECT envvar to update tests (#748) 2023-04-20 10:47:31 +02:00
Laurenz 35302d2004 Handle SVG with text 2023-04-18 19:04:46 +02:00
Laurenz b51cb131bd Bump comemo 2023-04-17 19:59:45 +02:00
Pg Biel 1e948f7fa2
bump chinese-numbers version (#797) 2023-04-14 09:56:39 +02:00
Laurenz 89cf4054d6 Reduce amount of hashing 2023-04-13 14:23:46 +02:00
Laurenz fe2640c552 Version bump 2023-04-11 22:34:25 +02:00
Daniel Csillag 5bc73be90f
Optimization to `Introspector::extract` (#734) 2023-04-11 19:11:44 +02:00
figsoda 1c324765e9
Add shell completions and man pages (#582) 2023-04-06 20:14:01 +02:00
SteamedFish ebb995feca
Add Chinese numbering (#565) 2023-04-06 15:50:15 +02:00
Laurenz b3faef4b80 Bump version 2023-04-05 01:41:15 +02:00
Laurenz bfec777542 Bump hayagriva
Fixes #287
Fixes #304
Fixes #459
Fixes #506
2023-04-04 18:21:09 +02:00
Sébastien d'Herbais de Thun 2d1598e51d
CLI: open flag (#480) 2023-04-04 14:12:19 +02:00
P-Andersson 387bcc3879
add support for loading data from yaml files (#447) 2023-04-01 14:33:42 +02:00
Sébastien d'Herbais de Thun 9414d56f97
Rewrite of CLI using clap (#468) 2023-03-30 21:59:28 +02:00
Laurenz a0249d2309 Switch to crates.io version of `lipsum` 2023-03-28 11:36:26 +02:00
Laurenz d71c933cca Bump dependencies 2023-03-27 15:49:04 +02:00
Laurenz 1336219690 Fix numeric bibliography ordering 2023-03-27 15:21:18 +02:00
Laurenz a14eb1952d Bump dependencies 2023-03-21 10:05:46 +01:00
Laurenz d6aaae0cea Fix font embedding bugs 2023-03-19 20:58:03 +01:00
Laurenz 312197b276 Counters 2023-03-17 11:45:57 +01:00
Laurenz ecb5543985 Node links 2023-03-15 12:33:38 +01:00
Laurenz 89f44f220d Bibliography and citations 2023-03-14 22:53:54 +01:00
Laurenz 880b1847bd Derive `Cast` for enums 2023-03-13 21:40:06 +01:00
Laurenz ab841188e3 Bump `ecow` 2023-03-01 11:27:10 +01:00
Laurenz a1d47695a2 Switch to ecow 2023-02-23 12:20:47 +01:00
Laurenz 310c229c61 Changelog 2023-02-15 23:22:00 +01:00
Martin Haug 58adf1d025 Add XMP 2023-02-12 23:32:14 +01:00
Laurenz 7d28e6499e Set Typst versions to `0.0.0` 2023-02-06 11:53:49 +01:00
Laurenz d4d702017c Documentation provider 2023-02-06 11:52:31 +01:00
Laurenz 137d2ab317 Always apply math italics corrections 2023-02-01 13:32:46 +01:00
Laurenz 1de53730bc Symbol values and modules 2023-01-27 12:04:36 +01:00
Laurenz 33585d9a3f Small fixes 2023-01-27 11:38:04 +01:00
Laurenz 760936af49 Remove ReX 2023-01-22 13:19:48 +01:00
Martin Haug 54962e6dcd Update `svg2pdf` 2022-12-31 11:00:01 +01:00
Martin Haug 4119e46a6e Change read display name, update symmie 2022-12-29 18:46:05 +01:00
Laurenz fd3d3b10ce Update symmie 2022-12-26 15:11:07 +01:00
Laurenz 35b16e545b Document parameters in comment 2022-12-17 16:24:29 +01:00
Laurenz f3980c7045 Basic autocompletion 2022-12-14 10:10:26 +01:00
Laurenz 4c73456fc1 Move highlighting into new IDE module 2022-12-14 10:02:19 +01:00
Laurenz 11c7ceb29e Extend math library 2022-12-07 14:01:20 +01:00
Laurenz e1c0cda6c8 Bump deps 2022-12-07 11:33:35 +01:00
Laurenz 5a0053c729 Vectors and cases 2022-12-07 11:30:17 +01:00
Laurenz 3ecb0c754b More math syntax 2022-12-06 12:37:08 +01:00
Laurenz c2e458a133 Symbol notation 2022-12-05 12:25:37 +01:00
Laurenz 56923ee472 Multi-part numbering patterns 2022-12-02 15:47:25 +01:00
Laurenz 5110a41de1 Introduce virtual typesetter 2022-12-02 13:21:36 +01:00
Laurenz 9db6e533cd Make content a bit more compact 2022-11-26 15:34:02 +01:00
Laurenz 46921a8c28 Separate test crate
This removes the not-really-cyclic dependency that confuses rust-analyzer. See also: https://github.com/rust-lang/rust-analyzer/issues/2414
2022-11-03 16:13:35 +01:00
Laurenz 37a7afddfa Split crates 2022-11-03 13:35:39 +01:00
Laurenz e218226655 Merge some modules 2022-10-17 20:04:22 +02:00
Laurenz 54b38c4790 Bump dependencies 2022-10-15 17:37:01 +02:00
Laurenz 5a8534a395 Parse basic math syntax 2022-10-04 13:45:16 +02:00
Laurenz 7ef6cb31df Bump ttf-parser 2022-09-30 11:23:09 +02:00
Laurenz 8b4210669b Add `comemo` as git dependency 2022-09-25 19:43:26 +02:00
Laurenz fffb55f79a JSON reading 2022-09-25 17:37:16 +02:00
Laurenz ddd3b6a82b Tracked memoization 2022-09-21 20:25:57 +02:00
Laurenz 757a701c1a A New World 2022-09-20 16:37:15 +02:00
Laurenz e29f55bb29 Remove font store 2022-09-19 17:44:40 +02:00
Laurenz a2e25d2dad Bump deps 2022-09-19 10:55:22 +02:00
Laurenz 9362c279de CSV reading 2022-07-27 00:09:15 +02:00
Laurenz 891af17260 Bump lipsum 2022-06-13 19:44:57 +02:00
Laurenz ed6550fdb0 Bump dependencies 2022-06-10 23:54:16 +02:00
Laurenz 806d9f0d9a Pure functions! 2022-05-26 17:14:44 +02:00
Laurenz a5a6c2d83f Bump dependencies 2022-05-19 13:14:15 +02:00
Laurenz 5a7c901f21 Switch to New Computer Modern Math 2022-05-19 12:59:39 +02:00
Laurenz 3965e10281 Hack in ReX for now 2022-05-18 19:09:57 +02:00
Laurenz 507c5fc925 Text replacement show rules 2022-05-04 00:14:31 +02:00
Martin Haug 649c101f07 Add blind text function 2022-04-25 14:20:47 +02:00
Laurenz c5b3f8ee98 Switch to `unscanny` 2022-04-16 22:23:57 +02:00
Laurenz c3a387b8f7 Segment by script 2022-04-12 22:23:08 +02:00
Laurenz beca01c826 Methods 2022-03-18 23:43:58 +01:00
Laurenz b71113d37a Hyphenation 2022-03-08 19:49:26 +01:00
Laurenz 4f85fc3acd Remove dependency on itertools 2022-02-26 00:13:44 +01:00
Laurenz 2bf32c51bc Remove layout cache 2022-02-22 12:42:02 +01:00
Laurenz 43556a74aa Fix alphabetic numbering 2022-02-18 17:45:25 +01:00
Laurenz 61d1e1a683 Remove layout-cache feature 2022-02-18 17:33:13 +01:00
Laurenz 05ec0f993b Headers and footers 2022-02-18 01:07:50 +01:00
Laurenz 68503b9a07 Redesigned template layout 2022-02-07 20:00:21 +01:00
Laurenz a3f151df82 Fix filename 2022-02-02 10:40:26 +01:00
Martin Haug 9a9c6f22c4 Add evasion of glyph shape for under- and overlines 2022-02-04 00:30:23 +01:00
Laurenz aeb036f4dc Fix that templates don't create a scope 2022-01-29 22:32:57 +01:00
Martin Haug 4f66907d08 Add Code Block syntax highlighting 2022-01-27 22:04:45 +01:00
Laurenz 3739ab7720 Export into rendered images 2022-01-24 17:39:49 +01:00
Laurenz db158719d6 Simplify CLI 2022-01-24 16:44:52 +01:00
Laurenz 43e30717ab Bump deps 2022-01-17 16:01:50 +01:00
Laurenz 5d5d8a21cf Bump and lock dependencies 2022-01-01 12:23:00 +01:00