Tobias Schmitz
2fc89b8e5f
chore: more meaningful error message
2025-06-10 13:47:42 +02:00
Tobias Schmitz
602d831ffa
docs: update doc comment mentioning LoadedWithin
2025-06-10 13:47:42 +02:00
Tobias Schmitz
0ed6b31b70
refactor: implement TryFrom<&Bytes> for Lines
...
- remove Bytes::load_str and impl From<Utf8Error> for LoadError
2025-06-10 13:47:41 +02:00
Tobias Schmitz
3bde9cf52d
chore: remove todo
2025-06-10 13:47:41 +02:00
Tobias Schmitz
a6ab61e3c7
refactor: rename Lines::str
to text
2025-06-10 13:47:41 +02:00
Tobias Schmitz
37c5e0cdce
refactor: format code
2025-06-10 13:47:41 +02:00
Tobias Schmitz
2d3e883d2b
refactor: apply some suggestions
...
- rename Loaded::bytes to data
- change `let data = source.load()` to `let loaded`
- only expose a single `within` method for the LoadedWithin trait
- invalid utf-8 data is a rare edge case
- only store one EcoString inside LoadError
- mutate it when using `LoadedWithin::within` method
2025-06-10 13:47:41 +02:00
Tobias Schmitz
1c08683248
feat: print path of external file if it isn't valid utf-8
2025-06-10 13:47:41 +02:00
Tobias Schmitz
8e9e8a753c
docs: update some comments
2025-06-10 13:47:41 +02:00
Tobias Schmitz
7dc3bcd8eb
refactor: move impl blocks
2025-06-10 13:47:41 +02:00
Tobias Schmitz
80491a459c
docs: update some comments
2025-06-10 13:47:41 +02:00
Tobias Schmitz
0e8c2e080d
refactor: fix some clippy warnings
2025-06-10 13:47:41 +02:00
Tobias Schmitz
65e72a39e0
test: update test runner code to lookup spans
2025-06-10 13:47:41 +02:00
Tobias Schmitz
fc9697fd46
perf: reduce size of LoadError
2025-06-10 13:47:41 +02:00
Tobias Schmitz
1c4eea8353
feat: use LoadError to avoid polluting memoization with callsite spans and file ids
2025-06-10 13:47:41 +02:00
Tobias Schmitz
23f1c86b84
feat: try to report line and column in files that contain invalid utf-8
2025-06-10 13:47:41 +02:00
Tobias Schmitz
e5d8f02554
refactor: factor out a general Lines struct from Source
2025-06-10 13:47:41 +02:00
Tobias Schmitz
2e2f646f2a
refactor: Loaded err_at to err_in_text
2025-06-10 13:47:41 +02:00
Tobias Schmitz
3879d0826a
experiment with utf8_iter
2025-06-10 13:47:41 +02:00
Tobias Schmitz
a79120b668
refactor: rename Data to Loaded
2025-06-10 13:47:41 +02:00
Tobias Schmitz
7e6c3b4159
feat: show external error messages in csv, json, toml, xml, yaml, and syntax/theme files
2025-06-10 13:47:41 +02:00
Tobias Schmitz
9e820f883e
fix: silent hayagriva bibliography parsing error due very lenient biblatex parser
...
Fixes #6030
2025-06-10 13:47:41 +02:00
Tobias Schmitz
a5f410a76d
feat: show bibliography errors in bibtex/hayagriva files
2025-06-10 13:47:41 +02:00
Ian Wrzesinski
82da96ed95
Improve number lexing ( #5969 )
2025-06-10 09:11:27 +00:00
Andrew Voynov
2a3746c51d
Update docs for gradient.repeat ( #6385 )
2025-06-09 14:25:33 +00:00
cAttte
df4c08f852
Autocomplete fixes for math mode ( #6415 )
2025-06-09 14:16:47 +00:00
Ian Wrzesinski
832fab58b3
Clean up some parser comments ( #6398 )
2025-06-09 13:48:55 +00:00
PgBiel
6725061841
Pin colspan and rowspan for blank cells ( #6401 )
2025-06-09 13:46:29 +00:00
Sam Ireson
494e6a6422
Numbering implementation refactor ( #6122 )
2025-06-04 13:31:06 +00:00
Max
aee99408e1
Apply short fall consistently in math when stretching ( #6377 )
2025-06-04 10:14:24 +00:00
Linus Unnebäck
1de2095f67
Add support for WebP images ( #6311 )
2025-06-04 09:54:03 +00:00
Max
128c40d839
Apply script-style to numbers consistently in math ( #6320 )
2025-06-04 08:20:54 +00:00
Nazar Serhiichuk
4a8367e90a
Fix Ukrainian secondary smart quotes ( #6372 )
2025-06-04 08:13:39 +00:00
Andrew Voynov
f7f163a8fa
Change Russian secondary smart quotes & remove alternatives ( #6331 )
2025-06-03 14:42:22 +00:00
Max
dd95f7d594
Fix bottom accent positioning in math ( #6187 )
2025-06-03 14:08:18 +00:00
Kristofers Solo
ff0dc5ab66
Add Latvian translations ( #6348 )
2025-06-03 12:38:21 +00:00
Laurenz
664d33a681
Be a bit lazier in function call evaluation ( #6368 )
2025-06-02 16:53:35 +00:00
Laurenz
e023db5f1d
Bump Rust to 1.87 in CI ( #6367 )
2025-06-02 16:44:43 +00:00
Andrew Voynov
fd08c4bb3f
Fix typo in layout docs, change "size" to "height" ( #6344 )
2025-06-02 13:12:42 +00:00
Malo
4329a15a1c
Improve calc.round
documentation ( #6345 )
2025-06-02 13:04:49 +00:00
Andrew Voynov
83e249dd33
Fix Greek numbering docs ( #6360 )
2025-06-02 13:03:03 +00:00
Malo
61dee554ba
Add an example of show-set place.clearance
for figures in the doc ( #6208 )
2025-06-02 13:02:01 +00:00
Mikołaj
3e7a39e968
Fix stroking of glyphs in math mode ( #6243 )
2025-05-28 17:29:40 +00:00
Andrew Voynov
82e869023c
Add remaining height example for layout ( #6266 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-05-28 14:14:29 +00:00
Ian Wrzesinski
9a95966302
Remove line break opportunity when math operator precededes a closing paren ( #6216 )
2025-05-28 13:44:44 +00:00
Igor Khanin
9ac21b8524
Fix tracing of most field call expressions ( #6234 )
2025-05-28 13:41:35 +00:00
Shunsuke KIMURA
9bbfa5ae05
Clarify localization of reference labels based on lang setting ( #6249 )
...
Signed-off-by: Shunsuke Kimura <kimushun1101@gmail.com>
2025-05-28 13:29:45 +00:00
Igor Khanin
6e0f48e192
More precise math font autocomplete suggestions ( #6316 )
2025-05-28 13:05:10 +00:00
Tobias Schmitz
2a258a0c38
Remove unused Marginal type ( #6321 )
2025-05-23 07:31:26 +00:00
Malo
df89a0e85b
Use the right multiplication symbol in expression tooltip ( #6163 )
2025-05-20 16:27:14 +00:00