1493 Commits

Author SHA1 Message Date
figsoda
f453565ebf
Remove link to Option::contains, since it has been removed (#1399) 2023-06-02 22:43:03 +02:00
Peng Guanwen
e2bf2327b5
Use icu4x for linebreaking algorithm (#1355) 2023-05-30 17:53:10 +02:00
Laurenz
11714609b8 Skip empty ICC profiles
ICC profile decoding for PNGs is broken in the version of the `png` crate `image` currently depends on. The bugfix (4c5b0535f0) is released in `png`, but not yet in `image`. As a quick fix, we'll skip empty profiles, they are never valid anyway. Fixes #1333.
2023-05-30 17:41:09 +02:00
Laurenz
25e94cef03 Fix doc links 2023-05-30 14:50:43 +02:00
MALO
644bbf9914
Add fields method to content (#1340) 2023-05-30 10:13:27 +02:00
sandal
b6b6666efd
Add Danish (#1365) 2023-05-30 10:13:01 +02:00
Pg Biel
e4557f6639
Fix .at(default: ...) for strings and content (#1339) 2023-05-29 20:15:32 +02:00
Olle Månsson
eab267bef0
feat: Add Swedish (#1353) 2023-05-29 20:07:27 +02:00
Lynn
1e4dabb63a
Add Dutch LocalNames (#1357) 2023-05-29 12:23:51 +02:00
Laurenz
017027bf39 Rework delimiter errors
Fixes #572
2023-05-24 16:58:51 +02:00
Laurenz
363836a28e Fix layout panic in rounded rectangle
Fixes #1216 both by hardening the rounded rectangle against negative size and by ensuring that the negative size doesn't occur in the first place for this case.
2023-05-23 15:30:28 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling (#435) 2023-05-23 10:41:20 +02:00
Laurenz
f4fd6855e7 Fix and simplify reference supplements
- Fixes #873 by properly handling `none` supplement for`ref`.
- Fixes #523 by adding a `supplement` parameter to `math.equation`
- In the future, we can remove supplement functions in favor of show-set rules with fine-grained selectors. Currently, this is not possible because show-set + synthesis doesn't play well together
2023-05-22 20:56:30 +02:00
Laurenz
183997d5fe Don't hide introspection metadata
Fixes #622
2023-05-22 16:45:23 +02:00
Laurenz
a3227f4ef3 Fix PDF outline bugs
Fixes #1098
Fixes #1143
Fixes #1151
2023-05-22 16:05:13 +02:00
Laurenz
8aa0ae197d Fix field access on styled element
Fixes #1197
2023-05-22 13:49:09 +02:00
Laurenz
3d83960322 Fix removal order for dictionary
Switches to `shift_remove` for now. In the future, we should look into a more efficient implementation. Fixes #1258.
2023-05-22 13:10:48 +02:00
Laurenz
08870d4a4c Clearer error messages for failed comparisons
Fixes #1231
2023-05-22 13:06:33 +02:00
Rui
991777e3a8
Correct outdated comment (#1265) 2023-05-21 06:55:17 +02:00
Laurenz
1321862cd5 Footnotes 2023-05-20 21:36:24 +02:00
Laurenz
e32c6f8e8a Do not crash on invalid pattern
Fixes #1213
Fixes #1232
2023-05-19 14:48:48 +02:00
Laurenz
551ea99d05 Show default values in documentation
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz
46aace78ac Search keywords 2023-05-17 14:39:47 +02:00
Laurenz
d14d1e867f Fix figure detection 2023-05-17 12:55:25 +02:00
Kevin Stevens
156aef10c4
Switch from unicode_xid to unicode_ident (#1208) 2023-05-15 09:35:46 +02:00
sitandr
4b17c3f5c6
Show rules for symbols (fixes #1130) (#1175) 2023-05-12 12:26:26 +02:00
Pg Biel
b5ad2468ad
Improve alignment of text inside raw blocks (#1034) 2023-05-11 16:32:46 +02:00
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