Laurenz
04bffc4f12
Reintroduce --root
2023-06-28 10:36:53 +02:00
Laurenz
7b92bd7c34
Basic package management
2023-06-27 18:40:17 +02:00
Laurenz
f1025071ed
Tidy up
2023-06-24 15:05:59 +02:00
Joseph Wilson
48c25f4da0
Display compilation time in status message ( #1564 )
2023-06-24 14:32:38 +02:00
Mathieu David
e1d76960eb
Watch dependencies that are outside of root ( #1523 )
2023-06-24 14:24:43 +02:00
Mathias Fischler
2e03fb34cb
Add infrastructure to enrich errors with hints ( #1486 )
2023-06-24 14:18:21 +02:00
Laurenz
d3b4d7da9a
More bail!
usage
2023-06-12 16:47:46 +02:00
Alex Saveau
7049a45634
Fix a bunch of typos + broken link ( #1453 )
2023-06-12 12:44:03 +02:00
Laurenz
e923d0e4da
Touch up docs
2023-06-09 16:00:39 +02:00
Laurenz
58ca0e8db5
Replace atty with std
2023-06-09 14:46:35 +02:00
Laurenz
4e5cc61599
Watch root and parent directory
...
Fixes #1436
2023-06-08 10:16:58 +02:00
Yang Hau
0dc1776202
refactor: Replace once_cell to std lib ( #1402 )
2023-06-07 14:42:58 +02:00
Laurenz
219f14355b
Rename into_u16
to as_u16
2023-06-06 19:06:56 +02:00
Naim A
6db4c39cd9
ignore utf-8 bom ( #1317 )
2023-05-29 20:13:11 +02:00
Laurenz Stampfl
6af94be34a
Use chrono instead of time in the CLI ( #1300 )
2023-05-24 12:14:43 +02:00
erikwastaken
2cbeeae5da
CLI option for emitting diagnostics in a unix-style short format ( #1176 )
2023-05-23 12:34:12 +02:00
Lino Le Van
5400570efa
feat(cli): export as png ( #1159 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-05-23 12:20:12 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling ( #435 )
2023-05-23 10:41:20 +02:00
Laurenz
ef1bf742f6
Don't emit color codes if stderr isn't a TTY
...
Fixes #521
2023-05-22 15:28:30 +02:00
Laurenz
0214569f3a
Set exit code for CLI errors
...
Fixes #1241
2023-05-22 15:18:47 +02:00
Laurenz
88553fe3c0
Tidy up CLI
2023-05-22 15:13:51 +02:00
Johannes Wolf
42f1586880
cli: Emit escape codes only if output is a tty ( #1188 )
2023-05-19 16:47:25 +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
f2732bb7b2
Include embedded fonts in listing
2023-04-13 11:28:07 +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
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
2a088e876e
Cache eviction helps
...
Fixes #334 .
2023-03-26 14:06:15 +02:00
7sDream
a4a915cc5c
Add custom font search path support for typst cli ( #270 )
2023-03-25 15:04:56 +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
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
b4b022940b
Syntax and example sections
2022-12-19 01:16:35 +01:00
Laurenz
0efe669278
Reorganize library and tests
2022-11-29 14:18:13 +01:00