917 Commits

Author SHA1 Message Date
PgBiel
46e4fbfac7 initial improvements to allow multiline annotations
- Improve tree search
- Improve annotation argument loop
2024-07-23 19:06:16 -03:00
PgBiel
e105cd1956 improve errors in annotations 2024-07-23 13:31:10 -03:00
PgBiel
bab391a580
Merge branch 'main' into warn-suppression 2024-07-23 12:05:34 -03:00
PgBiel
c8994d0488 initial changes towards simpler syntax 2024-07-22 15:32:00 -03:00
PgBiel
b866e58926 add deprecated id for deprecations
cf https://github.com/typst/typst/pull/4562
2024-07-22 13:04:21 -03:00
PgBiel
5d60e48057 use picostr for identifiers 2024-07-22 13:01:16 -03:00
Florent Michel
c4dd6fa062
Adjust the number of color components written to the pdf according to the color space (#4568) 2024-07-22 15:05:22 +00:00
PgBiel
c4c7cfc714
Merge branch 'main' into warn-suppression 2024-07-22 11:56:12 -03:00
HydroH
1d74c8e8bf
Add non-zero and even-odd fill rules to path and polygon (#4580)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-22 14:24:29 +00:00
Yip Coekjan
684efa2e0e
Raise error when failing to load & parse the specified certificate (#4554) 2024-07-22 13:37:33 +00:00
Jiří Cihelka
b037c19ccb
Explanation of void return in the functions documentation (#4590)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-22 13:37:13 +00:00
chico ferreira
bd72b95d9e
Conversion from int to bytes and back (#4490)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-22 12:10:59 +00:00
Y.D.X.
9b001e2112
Use texts of the first occurrences for /ToUnicode CMap (#4585) 2024-07-20 14:13:06 +00:00
Laurenz
46ef8e1dfa
Deprecate some things (#4562) 2024-07-20 12:52:17 +00:00
Leedehai
96d456e267
Move matrix layout logic's early exit upward (#4583) 2024-07-20 12:51:51 +00:00
Laurenz
0c37a2c233
Support transparent page fill (#4586)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-07-20 12:51:24 +00:00
shinyfelix
3aa18beacf
Fix approximated size of reflow: true transformations (#4462)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-20 12:26:57 +00:00
Laurenz
3ef0991fbb
Tune hyphenation (#4584) 2024-07-19 11:47:51 +00:00
Laurenz
4275447788
Fix panic in link linebreaking (#4579) 2024-07-18 08:49:08 +00:00
+merlan #flirora
df56a2d20d
Allow absolute lengths in scale (#4271)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-17 08:27:46 +00:00
Leedehai
993e7a45a9
Move the early exit inside stretch_glyph() upward (#4570)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-17 08:19:08 +00:00
PgBiel
457892cd7f improve some var names 2024-07-16 20:00:51 -03:00
PgBiel
a5d36d6931 fix annotation syntax in comments 2024-07-16 17:03:45 -03:00
PgBiel
fb77128423 decorator -> annotation 2024-07-16 17:02:08 -03:00
PgBiel
c1bb41dc9c new decorator syntax: '// @' 2024-07-16 16:49:03 -03:00
PgBiel
2b442eae5e remove inner node 'capped_newlines' field 2024-07-15 18:23:36 -03:00
Laurenz
09e0464e87
Fix duplicate completions (#4563) 2024-07-15 18:01:51 +00:00
PgBiel
629375a981 move around some sink functions 2024-07-15 13:55:04 -03:00
PgBiel
70d7e46400 improve warning suppression check 2024-07-15 12:42:47 -03:00
PgBiel
19f3047cf3 improve comments and formatting 2024-07-15 12:39:00 -03:00
PgBiel
5b05e2df15
Merge branch 'main' into warn-suppression 2024-07-15 11:55:30 -03:00
PgBiel
a74bbd8e8b current_kind -> current 2024-07-15 11:54:28 -03:00
Leedehai
f3863f14af
Remove an unnecessary mutable specifier (#4557) 2024-07-15 10:00:37 +00:00
Leedehai
f0407d4949
Wrapping with parens should not push superscripts higher (#4545)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-15 09:54:54 +00:00
Eric Biedert
ac322e342b
Save and restore graphics state for every frame (#4496)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 14:02:50 +00:00
+merlan #flirora
17ee3df1ba
Wrap outline entry body in LRE/RLE + make smart quotes ignore directional control characters (#4491)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 13:48:40 +00:00
Myriad-Dreamin
a3f3a1a833
Change the signature of World::main (#4531)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 13:14:21 +00:00
Yip Coekjan
4d8976b619
Fix lexer behavior on non-whitespace before ref (#4553) 2024-07-14 12:54:51 +00:00
Leedehai
98d98a4bfd
Short-circuit on None's when laying out AttachElem (#4546) 2024-07-14 09:55:23 +00:00
Matthias Vogelgesang
5c71ad7fe7
Do not conflate Archivo Narrow and Archivo (Black) fonts (#4478) 2024-07-14 09:53:32 +00:00
Laurenz
be516867c8
Spans for cross-file go-to-definition (#4539) 2024-07-11 14:24:28 +00:00
Laurenz
36042ff222
Remove place.flush from global scope (#4537) 2024-07-11 09:30:06 +00:00
tingerrr
3c22902d6c
Add missing keys to manifest types (#4494) 2024-07-10 09:44:13 +00:00
Yip Coekjan
3b382cbd45
Refactor impl Eval for ast::FuncCall<'_> (#4435)
Co-authored-by: Ian Wrzesinski <133046678+wrzian@users.noreply.github.com>
2024-07-10 09:43:46 +00:00
Myriad-Dreamin
46ab4edea6
Basic Definition Finder for IDE (#4309)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-09 15:46:38 +00:00
Leedehai
79b77d5669
Mark synthesized prime symbol frame text-like (#4525) 2024-07-09 15:23:44 +00:00
shinyfelix
b1219395b1
Fix suggestions for '.' after code mode has exited. (#4470) 2024-07-09 15:22:08 +00:00
Laurenz
34990f7f0e
Bump dependencies (#4523) 2024-07-08 20:41:38 +00:00
Leedehai
d1c7d08893
Primes should not further raise next superscript's position (#4492)
Co-authored-by: Ian Wrzesinski <133046678+wrzian@users.noreply.github.com>
2024-07-08 19:32:58 +00:00
T0mstone
86af5b5f61
Allow non-utf8 values for input and output (#4517) 2024-07-08 19:32:35 +00:00