1516 Commits

Author SHA1 Message Date
Alex Saveau
e472b0347f
Alternate between right/left alignment in equations (#936) 2023-05-11 14:56:17 +02:00
Laurenz
27771bc329 Let Document be Sync again
Fixes #930.
2023-05-11 14:21:43 +02:00
Laurenz
8ac7be95e6 Documentation fixes 2023-05-11 11:36:25 +02:00
Laurenz
998a3c44fd Remove tracing from cheap functions
Turns out that having tracing enabled on some functions that get called a lot distorts the traces so that their parent stack frames look much more expensive than they actually are.
2023-05-11 11:35:45 +02:00
Laurenz
2f0b5eeae0 More efficient introspection
Switches from a mutable locator to one based on tracked chains and optimizes query performance.
2023-05-11 11:27:00 +02:00
Laurenz
47dff3765d Remove 'static bound on World
Thanks to improvements in comemo, tracked types don't need to be 'static anymore. This means that the 'static bound on the `World` is now lifted and that the `Route` doesn't need to use unsafe code anymore to manage its lifetime.
2023-05-11 10:50:30 +02:00
Laurenz
d9ba84085e More efficient incremental parsing
If validation fails, we now do exponential fallback to a larger segment instead of giving up entirely.
2023-05-04 11:52:01 +02:00
Pg Biel
f88ef45ee6
Function scopes (#1032) 2023-05-03 14:20:53 +02:00
Marmare314
db6a710638
Parameter pattern bug (#1062) 2023-05-03 12:42:26 +02:00
Michael Lohr
ffad8516af
Implement default values for at() (#995) 2023-05-03 12:34:35 +02:00
Laurenz
519e8a7b4c Refactor string replacement 2023-05-03 11:44:08 +02:00
dvdvgt
be3c4d7876
[Feature] Allow function as argument for string.replace (#944) 2023-05-03 11:41:50 +02:00
Marmare314
edc0632d8c
Add shorthand for root operation (#929) 2023-05-03 11:16:38 +02:00
Laurenz
ad347632ab Make ligatures copyable and searchable
Fixes #479
Fixes #1040
2023-05-03 10:33:18 +02:00
Alberto Vilches
bcc014c4e1
fix: typos (#1074) 2023-05-02 20:45:18 +02:00
Martin Haug
17cef8dcee
Add ICC profiles to images in PDF and update usvg, svg2pdf (#822) 2023-05-02 13:53:20 +02:00
Szymon Bęczkowski
06501fd9ba
Refactor dash pattern (#983) 2023-04-28 18:54:28 +02:00
Marmare314
8fa1af8ac8
check index on placeholder (#1005) 2023-04-28 18:49:21 +02:00
Pg Biel
d5e68c731c
fix 0pt stroke for PDF export (#1020) 2023-04-28 10:02:51 +02:00
Laurenz
3680c854a2 Touch up docs 2023-04-26 15:37:21 +02:00
Marmare314
59957746e9
Pattern as parameter (#854) 2023-04-26 11:32:11 +02:00
HarmoGlace
7cb63d1aae
Fix overflows with operators (#904) 2023-04-26 11:30:16 +02:00
pan93412
a6df909a8d
Allow passing region to LocalName (#926) 2023-04-26 11:30:03 +02:00
Alex Saveau
1d42d6674c
Upgrade a bunch of deps and remove two unused ones (#968) 2023-04-26 11:22:43 +02:00
Leedehai
62361b4127
Support indices preceding the base symbol, revamping #699 (#825)
Breaking change: abbreviate attach() attachment params, top -> t, bottom -> b
2023-04-25 11:24:07 +02:00
Laurenz Stampfl
f38989358e
Add a zip method to arrays (#947) 2023-04-25 11:22:20 +02:00
Marmare314
d5d98b67a8
Destructuring assign (#703) 2023-04-25 11:22:12 +02:00
SekoiaTree
efad1e71fa
Add sum and product to arrays (#966) 2023-04-25 11:18:27 +02:00
Marmare314
12129f0170
hint for unknown variable containing dash (#924) 2023-04-24 19:08:07 +02:00
Laurenz
3cc0f1ef0d Disable stacker on WASM 2023-04-24 15:20:42 +02:00
Pg Biel
e9a0cf9741
Fix 0pt strokes (#923) 2023-04-23 14:38:12 +02:00
Alex Saveau
b75cad2d3b
Parallelize tests (#900) 2023-04-23 14:35:18 +02:00
Sébastien d'Herbais de Thun
561ff979d5
Add instrumentation (Part 1) (#761) 2023-04-23 14:33:56 +02:00
Pg Biel
a4075f8b9b
Implement math cancel function (#793) 2023-04-21 11:28:46 +02:00
Martin Haug
2a682f0008
Add alt text to image function and PDF (#823) 2023-04-20 11:23:03 +02:00
Marmare314
4524539c2b
forbid underscore as identifier closes #513 (#837) 2023-04-20 11:05:11 +02:00
Laurenz
f08ae95b9d Fix argument sinks
Fixes #886.
2023-04-19 17:51:33 +02:00
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