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
f8966f9e86
Fix realize in math
2023-04-19 11:06:52 +02:00
Laurenz
d10b53df0b
Clippy
2023-04-18 19:16:13 +02:00
Laurenz
35302d2004
Handle SVG with text
2023-04-18 19:04:46 +02:00
Laurenz
bce83d330f
Remove intermediate strings in error message
2023-04-18 14:31:32 +02:00
Laurenz
4613739748
Merge file and image asset directories
2023-04-18 11:33:11 +02:00
Marek Barvíř
dd5e9723e0
clippy::wrong_self_convention ( #857 )
2023-04-18 11:19:16 +02:00
Marek Barvíř
56673bcdf5
Clippy fixes ( #856 )
2023-04-18 11:19:09 +02:00
Greg Shuflin
2135027219
Improve error message in lexer ( #242 )
...
In the error message for an invalid character, print which character
triggered the error.
2023-04-18 11:14:18 +02:00
Laurenz
b51cb131bd
Bump comemo
2023-04-17 19:59:45 +02:00
Peng Guanwen
480ad7670b
More Chinese punctuation adjustment ( #836 )
...
and also general linebreak improvements
2023-04-17 18:20:59 +02:00
Laurenz
9bdc4a7de0
Write PDF outline
2023-04-17 13:26:49 +02:00
Marmare314
428c55b6ee
refactor SyntaxKind::Pattern ( #831 )
2023-04-16 14:34:57 +02:00
Ryan Pitasky
d2784f6f90
Add algebra symbols ( #320 )
2023-04-16 11:11:38 +02:00
Marek Barvíř
ee32e7ad1c
Clippy fixes ( #581 )
2023-04-16 11:10:35 +02:00
Thiago Trannin
261b96da68
Fix typo in ParElem
documentation ( #810 )
2023-04-15 15:36:37 +02:00
Pg Biel
1e948f7fa2
bump chinese-numbers version ( #797 )
2023-04-14 09:56:39 +02:00
Alex Saveau
e5f942172d
Add comment at end of line test ( #783 )
2023-04-13 21:22:34 +02:00
HarmoGlace
29b36d4876
Fix pow
overflow ( #784 )
2023-04-13 21:08:54 +02:00
Alex Saveau
6d596da72b
Make math punctuation tests more complete ( #782 )
2023-04-13 21:03:00 +02:00
Marmare314
0105eb7382
Fix function sinks ( #638 )
2023-04-13 16:07:58 +02:00
Birk Tjelmeland
d1cd814ef8
Add support for more complex strokes ( #505 )
2023-04-13 16:05:56 +02:00
Laurenz
46ce9c94e3
Fix linebreak after inline objects with metadata
2023-04-13 15:52:20 +02:00
Laurenz
9025ecb2ee
Better error spans in calc
2023-04-13 15:13:31 +02:00
HarmoGlace
e11bd2a193
Add factorial, permutation and binomial to calculation functions ( #639 )
2023-04-13 14:38:51 +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
Peng Guanwen
ff16f3fb37
Refine linebreak algorithm for better Chinese justification ( #701 )
2023-04-13 10:44:39 +02:00
Alex Saveau
03d2ec9f81
Strip trailing line breaks in math equations ( #750 )
2023-04-13 10:42:03 +02:00
Chen
a066a3d283
More flexible capability to control showing reference ( #646 )
2023-04-13 10:41:42 +02:00
Michael Lohr
8300f75f22
Read font path from environment variables ( #649 )
2023-04-12 19:03:12 +02:00
Alexander Seiler
e4fda4176e
Correct some typos ( #746 )
2023-04-12 15:13:36 +02:00
Sébastien d'Herbais de Thun
1198e0cd38
Selector rework ( #640 )
2023-04-12 12:47:51 +02:00
Laurenz
fe2640c552
Version bump
2023-04-11 22:34:25 +02:00
Laurenz
2cfbf3e823
Update changelog
2023-04-11 22:01:51 +02:00
Laurenz
12be8fe070
Let dictionaries respect insertion order
2023-04-11 21:59:02 +02:00
Laurenz
6dcb65e3a3
Improve documentation
2023-04-11 21:54:13 +02:00
Laurenz
db24996161
Add support for more ratio multiplications
2023-04-11 21:40:39 +02:00
Laurenz
42be51609b
Remove support for number / ratio
...
If `1 * 40%` and `1 / 40%` both work, then I would expect `1cm * 40%` and `1cm / 40%` to work, too.
So the result of both multiplication and division is always the left type. Same with `100% * 40%`. But `100% / 40%` does not return a ratio, it returns a float. This breaks the consistency. For this reason, I am removing support for just the new divisions for now, but we can revisit this.
2023-04-11 21:39:46 +02:00
Daniel Csillag
5bc73be90f
Optimization to Introspector::extract
( #734 )
2023-04-11 19:11:44 +02:00
Marmare314
72d8785abe
fix parenthesized binding ( #707 )
2023-04-11 18:44:17 +02:00
Laurenz
9984e73ff3
Fix highlighting of identifiers before brackets
2023-04-11 17:26:00 +02:00
Laurenz
2606034ac7
Fix heading supplement
...
Fixes #730
2023-04-11 16:59:38 +02:00
Laurenz
9720424884
Fix duplicate error message for destructuring
2023-04-11 16:50:26 +02:00
Laurenz
58e4bdb1b9
Remove enumeration support from map
2023-04-11 16:41:04 +02:00
Laurenz
74fce3fc78
Fix square sizing
...
Fixes #85 .
2023-04-11 16:26:26 +02:00
classabbyamp
022b945fb3
add sinc
operator ( #720 )
...
this is for the sinc function (https://en.wikipedia.org/wiki/Sinc_function )
2023-04-11 14:13:34 +02:00
Eric Biedert
c7db709da5
Allow treating ratios as floats ( #681 )
2023-04-11 14:13:01 +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
Radim Sückr
6f625fc73c
Add Czech translation ( #683 )
2023-04-11 14:04:44 +02:00