Commit Graph

1429 Commits

Author SHA1 Message Date
Leedehai dc3017955a
Give more specific error messages (#881) 2023-04-19 13:26:55 +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 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
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 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
Marek Barvíř ee32e7ad1c
Clippy fixes (#581) 2023-04-16 11:10:35 +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 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
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 12be8fe070 Let dictionaries respect insertion order 2023-04-11 21:59:02 +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 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
Eric Biedert c7db709da5
Allow treating ratios as floats (#681) 2023-04-11 14:13:01 +02:00
Radim Sückr 6f625fc73c
Add Czech translation (#683) 2023-04-11 14:04:44 +02:00
Abdul Rahman Sibahi 9046678610
Added Arabic translations (#688) 2023-04-11 14:04:29 +02:00
ichxorya 31eb3b571e
Add Vietnamese Translation (#684) 2023-04-11 14:04:13 +02:00
Daniel Csillag a8087a9dbb
Array sorting by key (#584) 2023-04-11 12:48:17 +02:00
Marmare314 0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
jakobrs cca85a572a
Add Norwegian language support (#628) 2023-04-06 14:56:11 +02:00
zymon 6f13a3f8b9
add support for polish language (#623) 2023-04-06 14:53:18 +02:00
Vid Drobnič a3055a7a71
add support for slovenian language (#621) 2023-04-06 14:52:25 +02:00
astrale-sharp 085282c138
Appends a hint if length is expected but hint provided. (#580) 2023-04-05 16:47:12 +02:00
Sébastien d'Herbais de Thun 70a909b8ba
Fixed page numbering (#594) 2023-04-05 15:04:31 +02:00
felipeacsi df7160f5b2
Spanish support (#548) 2023-04-05 12:17:07 +02:00
Nazar Serhiichuk 69ba8884f7
Add support for ukrainian lang (#578) 2023-04-05 12:13:25 +02:00
Laurenz 715f9fb0a5 Locatable selectors 2023-04-04 23:43:34 +02:00
Laurenz 23715e813e Refactor and document figures 2023-04-04 23:15:03 +02:00
Sébastien d'Herbais de Thun f347ed4314
Improved figure numbering, labelling and referencing (#491) 2023-04-04 19:21:25 +02:00
Laurenz 5637a1693c Allow labels and reference with ',' and '.' 2023-04-04 18:19:17 +02:00
Laurenz 8284db9000 Fix autocompletion after non-hashtag expression 2023-04-04 18:18:10 +02:00
Marek Barvíř 1a36ce7fa8
Disable clippy for specific lines (#503) 2023-04-04 17:10:06 +02:00
Marek Barvíř cfc671d824
clippy::match_like_matches_macro (#502) 2023-04-04 17:09:53 +02:00
Laurenz 570c528b3e Integers with different bases 2023-04-04 15:46:09 +02:00
Laurenz c2d88989a7 Format code 2023-04-04 14:36:25 +02:00
Mateus Felipe C. C. Pinto 2dbbeaeb60
Provide support for portuguese language (#525) 2023-04-03 12:59:13 +02:00
Birk Tjelmeland ed79ecbb44
Add support for cliping content in `block` and `box` (#431) 2023-04-01 16:04:38 +02:00