49 Commits

Author SHA1 Message Date
Alex Saveau
1d42d6674c
Upgrade a bunch of deps and remove two unused ones (#968) 2023-04-26 11:22:43 +02:00
Sébastien d'Herbais de Thun
561ff979d5
Add instrumentation (Part 1) (#761) 2023-04-23 14:33:56 +02:00
Daniel Csillag
d0afba959d
Change SipHash2-4 -> SipHash1-3 (#780)
This seems to significantly improves performance. Inspired by https://github.com/rust-lang/rust/pull/107925
2023-04-19 13:16:03 +02:00
Laurenz
b51cb131bd Bump comemo 2023-04-17 19:59:45 +02:00
Laurenz
89cf4054d6 Reduce amount of hashing 2023-04-13 14:23:46 +02:00
Laurenz
f2732bb7b2 Include embedded fonts in listing 2023-04-13 11:28:07 +02:00
Michael Lohr
8300f75f22
Read font path from environment variables (#649) 2023-04-12 19:03:12 +02:00
Laurenz
fe2640c552 Version bump 2023-04-11 22:34:25 +02:00
Timme Bethe
ef50f1b011
Fixes CLI blocking upon opening pdf viewer (#706)
Fixes issue typst/typst#704 by making opening a pdf viewer non-blocking.
This does remove error reporting when the pdf viewer fails to be
opened. This error reporting is difficult to regain since the error
happens on a different thread.
2023-04-11 14:06:38 +02:00
figsoda
1c324765e9
Add shell completions and man pages (#582) 2023-04-06 20:14:01 +02:00
Charlie Moog
623db8c0c4
embed New Computer Modern into binary (#340) 2023-04-06 15:40:11 +02:00
Laurenz
b3faef4b80 Bump version 2023-04-05 01:41:15 +02:00
Sébastien d'Herbais de Thun
2d1598e51d
CLI: open flag (#480) 2023-04-04 14:12:19 +02:00
figsoda
b2ba061fbb
Add aliases for subcommands (#485) 2023-04-01 15:54:05 +02:00
Marek Barvíř
5e5b1bba51
Needless clone, borrows, casts and lifetimes (#504) 2023-04-01 15:53:13 +02:00
Chris Ohk
418bd89ba4
Correct minor typos (#474) 2023-03-31 16:51:12 +02:00
Sébastien d'Herbais de Thun
9414d56f97
Rewrite of CLI using clap (#468) 2023-03-30 21:59:28 +02:00
Johannes Wolf
4d9c6b28d0
cli: Allow reading every path not of type dir (#414) 2023-03-30 00:36:22 +02:00
Alexander Korn
f04b6ebc1a
Fix file watching when only file name is given (#433)
Fixes #300
2023-03-29 22:57:12 +02:00
Laurenz
628e589bcd Watch root directory instead of current one 2023-03-28 14:54:44 +02:00
Laurenz
6fa33fda6e Return with non-zero status code in case of error 2023-03-28 14:54:23 +02:00
Laurenz
e84df1a036 Fix tests on Windows
Fixes #386.
2023-03-28 14:30:21 +02:00
Laurenz
dfbd3503d9 Also embed oblique monospace fonts 2023-03-28 09:32:04 +02:00
Laurenz
d71c933cca Bump dependencies 2023-03-27 15:49:04 +02:00
Laurenz
2a088e876e Cache eviction helps
Fixes #334.
2023-03-26 14:06:15 +02:00
figsoda
e70ec5f3c0
Don't let the build script overwrite TYPST_VERSION (#154) 2023-03-25 15:38:34 +01:00
7sDream
a4a915cc5c
Add custom font search path support for typst cli (#270) 2023-03-25 15:04:56 +01:00
figsoda
ec3f7004ca
Fix index out of bounds error in build script (#173) 2023-03-24 09:22:48 +01:00
Dave L
2f8802a412
Changed "ColorChoice::Always" to "ColorChoice::Auto" to honour user setting of TERM / NO_COLOR (#230) 2023-03-24 09:14:32 +01:00
Felix Obenhuber
26f4321a5e
Fix build if not on a git checkout (#119)
Check the exit status of the `git` invocation before parsing the output.
If there's no `.git` the output may look like:

```
fatal: not a git repository (or any of the parent directories): .git
```

and the version shall be set to unknown.
2023-03-22 09:02:16 +01:00
Laurenz
9fc432a41d Switch to Buffer::from_static for embedded fonts 2023-03-21 23:43:22 +01:00
Laurenz
a6b63b96f9 Fail gracefully if git does not exist 2023-03-21 23:39:40 +01:00
Laurenz
b934a2fd83 Embed standard fonts in binary 2023-03-21 23:18:56 +01:00
Laurenz
b48b0d650c Release action 2023-03-21 01:48:40 +01:00
Laurenz
af7fe4d760 Hover and autocomplete in show rules 2023-03-17 18:18:47 +01:00
Laurenz
6ab7760822 Split up model module 2023-03-01 16:33:28 +01:00
Laurenz
7d28e6499e Set Typst versions to 0.0.0 2023-02-06 11:53:49 +01:00
Laurenz
b4b022940b Syntax and example sections 2022-12-19 01:16:35 +01:00
Laurenz
5110a41de1 Introduce virtual typesetter 2022-12-02 13:21:36 +01:00
Laurenz
0efe669278 Reorganize library and tests 2022-11-29 14:18:13 +01:00
Laurenz
7caf98fe42 Switch StrResult to EcoString 2022-11-27 01:00:57 +01:00
Laurenz
6bafc63910 Document metadata 2022-11-26 23:52:01 +01:00
Laurenz
96f72eee6c Separate typesetting and compilation 2022-11-24 17:51:07 +01:00
Laurenz
5ae81971f2 Introduce Library 2022-11-23 16:07:54 +01:00
Laurenz
b2a3d3f235 More general evaluation interface 2022-11-23 12:00:06 +01:00
Laurenz
eb951c008b Style changes 2022-11-04 11:38:09 +01:00
Laurenz
33928a00dc Tidy up library 2022-11-03 16:50:26 +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