Commit Graph

274 Commits

Author SHA1 Message Date
Laurenz 95cd6adf24
Factor out `typst-utils` crate (#4125) 2024-05-13 15:25:43 +00:00
Leedehai 1b091d628d
Enhance the test runner: regex, --list, --path (#3945) 2024-04-18 12:20:42 +00:00
Ana Gelez 21c78abd6e
Emojis in PDF (#3853) 2024-04-17 15:11:20 +00:00
Laurenz 020294fca9
Better test runner (#3922) 2024-04-13 08:39:45 +00:00
Ana Gelez 105d7156f8
Better handle large numbers from external data files (#3791)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-03-25 16:51:35 +00:00
frozolotl a33d8bf322
Escape path and entrypoint in `typst init` output (#3753) 2024-03-23 11:54:50 +00:00
Laurenz 2bf9f95dd8 Version bump 2024-03-15 16:03:45 +01:00
Martin Haug 9bd1451452
Add a guide for the new tables (#3655)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-03-15 14:02:56 +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 aace521b56
Bump our crates (#3573) 2024-03-07 16:37:22 +00:00
Laurenz 1d32145319
DPI-based natural sizing for images (#3571) 2024-03-07 15:05:52 +00:00
Laurenz a483321aa0
Remove dependency on unicode_names2 (#3570) 2024-03-07 09:56:37 +00:00
Laurenz 5dc6ce0022
Remove unmaintained benchmarks (#3569) 2024-03-07 09:50:03 +00:00
Laurenz cf2f789c07
Bump assets (#3560) 2024-03-06 14:33:30 +00:00
Laurenz a558fd232b
Add `typst init` command (#3544) 2024-03-06 11:33:35 +00:00
Laurenz 824859108b
Bump dependencies (#3553) 2024-03-05 13:07:04 +00:00
Laurenz 668a79f9f9
Add Windows to CI (#3548) 2024-03-04 17:46:57 +01:00
Laurenz a518e2dd4d
Move docs generation code (#3519) 2024-02-28 10:37:52 +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
Laurenz 145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Jacob Hummer 7ed257a3c7
Add basic typst-docs CLI that spits out json (#3429)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-26 15:56:19 +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 b89348b92a
Read EXIF data and apply image rotation (#3413) 2024-02-14 14:12:28 +00:00
Laurenz 52571dd9ef
Fix named destinations (#3411) 2024-02-14 11:39:55 +00:00
Laurenz 40099e32e1 Format Cargo.lock 2024-02-13 09:30:42 +01:00
Martin Haug 9f1e0390c1
Add color-managed CMYK to RGB conversion (#3288) 2024-02-12 13:03:36 +00:00
Heinenen f776f0a75f
Named destinations (#2954) 2024-02-12 12:57:31 +00:00
Peng Guanwen 464a15bdca
Introduce override list to FontInfo (#3228) 2024-02-01 13:45:33 +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 Stampfl afc28264e8
Bump resvg + svg2pdf and add support for filters (#3254) 2024-01-25 15:42:04 +00:00
astrale-sharp c20b6ec6e1
Test autocomplete (#2912)
Co-authored-by: oliver <151407407+kwfn@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-01-09 09:05:57 +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
Laurenz 84597b46a4 Bump dependencies 2023-12-18 14:25:25 +01:00
Laurenz 2f2dd17938
Bump svg2pdf and related crates (#2992) 2023-12-18 14:15:22 +01:00
CosmicHorror 56159997b7
Switch to `two-face` for extra syntect syntaxes (#2937) 2023-12-18 13:17:47 +01:00
Sébastien d'Herbais de Thun 08225e42d8
Parallel export (#2989) 2023-12-18 12:32:53 +01:00
Sébastien d'Herbais de Thun 41c0dae209
Switch to parallel comemo using Git dependency (#2973) 2023-12-15 12:25:54 +01:00
dependabot[bot] ab29c669e6
Bump zerocopy from 0.7.26 to 0.7.31 (#2969)
Bumps [zerocopy](https://github.com/google/zerocopy) from 0.7.26 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases)
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/zerocopy/compare/v0.7.26...v0.7.31)

---
updated-dependencies:
- dependency-name: zerocopy
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 10:04:58 +01:00
Nathaniel Brough 9aadb18186
Add simple fuzz testing (#2581) 2023-12-05 19:26:58 +01:00
Laurenz 70ca0d257b Version bump 2023-12-04 15:09:47 +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
Laurenz 63c19a194c Bump hayagriva 2023-11-29 18:40:47 +01:00
Laurenz 3bd7318ec7 Bump svg2pdf 2023-11-29 16:28:50 +01:00
Laurenz 3b9acf5563 Bump dependencies 2023-11-27 17:16:42 +01:00
Laurenz 18a5e2eb12 Bump comemo and siphasher 2023-11-27 16:44:52 +01:00
Martin Haug 2f795b5c07 Bump Hayagriva
Fix #2572
2023-11-24 16:38:03 +01:00
Laurenz 7eebafa783 Merge `typst` and `typst-library` 2023-11-24 12:30:02 +01:00
Albert Dong 2b2bc62716
Upgrade open package to v5.0.1 (#2752) 2023-11-24 11:38:35 +01:00
Laurenz 18cb3becb3 Disable default features of `zip` crate 2023-11-19 13:04:48 +01:00
Laurenz e0d6526a53
Watching fixes (#2706) 2023-11-19 12:31:42 +01:00
Sébastien d'Herbais de Thun f5b3af3c1b
Parallel image encoding (#2693) 2023-11-17 19:42:49 +01:00
Peng Guanwen f4a81091f7
Lexer change: Allow emphasis in CJK text without spaces (#2648) 2023-11-15 15:01:15 +01:00
Laurenz 46846a337e Extract `typst-pdf` crate 2023-11-08 15:09:55 +01:00
Laurenz 80b4ca4c04 Extract `typst-svg` crate 2023-11-08 13:21:47 +01:00
Laurenz ec04c3de2f Extract `typst-render` crate 2023-11-08 13:16:13 +01:00
Laurenz c12a19a075 Switch to crates.io version of self-replace 2023-11-08 12:59:52 +01:00
Laurenz 51a8d26a12 Pin iai version 2023-11-08 12:59:48 +01:00
Sébastien d'Herbais de Thun c0f6d2004a
Content rework 2 - Electric Boogaloo (#2504) 2023-11-06 21:37:50 +01:00
Charlie Moog b716700b61
Derive PDF instance id from content hash (#2552) 2023-11-02 11:12:07 +01:00
Laurenz 7bb4f6df44 Version bump 2023-10-31 01:36:21 +01:00
Laurenz ab5dd2a1cb CSL support 2023-10-31 01:33:06 +01:00
Laurenz 55296a9196 Say which label occurs never or multiple times in error message 2023-10-30 23:00:40 +01:00
7sDream b80382b216
Use fontdb to search fonts, with basic fontconfig support (#2472) 2023-10-25 18:38:08 +02:00
Laurenz e686a11ae7 Bump dependencies 2023-10-25 17:39:40 +02:00
Laurenz a7fbe5151e Bump pdf-writer
Fixes #2397
2023-10-24 15:23:04 +02:00
SekoiaTree 7f185f21e0
Add date to document (#2371) 2023-10-22 13:29:48 +02:00
dependabot[bot] e800b08f1a
Bump rustix from 0.38.13 to 0.38.19 (#2429)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.13 to 0.38.19.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.13...v0.38.19)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
2023-10-19 10:13:19 +02:00
Laurenz 2a19e7f4dc Bump ecow 2023-10-09 15:00:07 +02:00
Laurenz 1819a0b266 Bump hypher 2023-10-08 14:20:40 +02:00
Laurenz 7dc74b7281 Bump pdf-writer and svg2pdf 2023-10-04 14:40:28 +02:00
Sébastien d'Herbais de Thun a4e357fb37
Gradient Part 2 - Linear gradients (#2279) 2023-10-03 19:31:02 +02:00
Laurenz d7928a8ea3 Extract IDE crate 2023-09-26 17:12:18 +02:00
Sébastien d'Herbais de Thun 163c2e1aa2
Gradient Part 1 - Color rework (#2171) 2023-09-19 15:48:33 +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 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