47 Commits

Author SHA1 Message Date
Laurenz
fd417da04f Improve value casting infrastructure 2023-06-06 22:06:16 +02:00
Laurenz
42afa410ae Better documentation outlines 2023-05-17 14:38:03 +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
jdierkes
249d5fe515
Fix grid-cell misalignment bug (#963) (#978)
Having a table span multiple pages can cause an alignment bug in the
table itself. If the first region in a cell in a grid row is empty, all
other cells in this row will skip the first region. A misalignment bug
can occur, since the calculation of all region sizes happen before the
skip. The overall size allocated for the content of a cell with multiple
regions and content in the first region thus is too little.
Fixes #963
2023-04-26 11:22:35 +02:00
Sébastien d'Herbais de Thun
561ff979d5
Add instrumentation (Part 1) (#761) 2023-04-23 14:33:56 +02:00
Marek Barvíř
5e5b1bba51
Needless clone, borrows, casts and lifetimes (#504) 2023-04-01 15:53:13 +02:00
Kian-Meng Ang
25acefeb5b
Fix typos (#115)
Found via `codespell -S target -L
crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant`
2023-03-22 09:02:51 +01:00
Laurenz
ab43bd802e Renaming and refactoring 2023-03-19 22:39:19 +01:00
Laurenz
312197b276 Counters 2023-03-17 11:45:57 +01:00
Laurenz
62f35602a8 New #[func] macro 2023-03-10 12:55:21 +01:00
Laurenz
c38d72383d Make all optional fields settable 2023-03-09 14:42:14 +01:00
Laurenz
d7a65fa26d Rework style chain access 2023-03-08 14:35:33 +01:00
Laurenz
e5eab73374 Streamline field names 2023-03-08 11:02:27 +01:00
Laurenz
25b5bd1175 Fully untyped model 2023-03-07 15:17:13 +01:00
Laurenz
448844d66c Allow multiple authors 2023-02-24 14:09:38 +01:00
Laurenz
b9c0fd87d3 Fix grid sizing 2023-02-14 12:34:16 +01:00
Laurenz
cc9b52ddd4 Better table lines 2023-02-14 12:08:05 +01:00
Laurenz
b1b4e52af9 Block sizing 2023-02-13 16:04:25 +01:00
Laurenz
db49b628f7 Remove dumb field functions 2023-02-13 11:00:11 +01:00
Laurenz
fd90736fb6 Support fractional width for box 2023-02-12 22:04:27 +01:00
Laurenz
f4856c18b9 Remove base width 2023-02-12 17:28:17 +01:00
Laurenz
ebbee6274c Fix square base 2023-02-12 16:38:18 +01:00
Laurenz
fea238921f Fast path for gutter-less grid 2023-02-12 13:04:46 +01:00
Laurenz
01a62a690b Make grid RTL aware 2023-02-12 12:57:40 +01:00
Laurenz
8951b1923a Skip grid region if one cell is empty 2023-02-12 12:57:35 +01:00
Laurenz
e873468ea7 Change grid base for auto columns 2023-02-12 11:38:42 +01:00
Laurenz
ea8edfa821 Make Rust happier about the inline documentation 2023-02-06 11:52:09 +01:00
Laurenz
31f904a2c4 Split up and document shapes 2022-12-21 16:19:46 +01:00
Martin Haug
959df6da3b Page function docs and more 2022-12-21 12:01:28 +01:00
Laurenz
ee732468c7 Document text category 2022-12-21 00:26:20 +01:00
Martin Haug
554a0c966a Some layout documentation 2022-12-20 23:05:45 +01:00
Laurenz
f5f7df7247 Documentation 2022-12-20 16:11:37 +01:00
Laurenz
b4b022940b Syntax and example sections 2022-12-19 01:16:35 +01:00
Laurenz
35b16e545b Document parameters in comment 2022-12-17 16:24:29 +01:00
Laurenz
b6202b646a Reflection for castables 2022-12-15 23:11:20 +01:00
Laurenz
9ba4d2c134 New macro setup 2022-12-14 10:09:44 +01:00
Laurenz
e6857f810e Copyable regions 2022-12-08 19:03:23 +01:00
Laurenz
5110a41de1 Introduce virtual typesetter 2022-12-02 13:21:36 +01:00
Laurenz
bdf06c9c61 Fix auto column shrinking behaviour 2022-11-30 14:49:55 +01:00
Laurenz
989d170dc7 Fragments 2022-11-28 12:40:16 +01:00
Laurenz
bf5edbbbbb Tidy up 2022-11-25 12:16:13 +01:00
Laurenz
8d3c68a1de Protect Vm 2022-11-24 17:41:41 +01:00
Laurenz
d9ce194fe7 Remove role applications 2022-11-09 22:49:25 +01:00
Laurenz
010cc2effc New block spacing model 2022-11-09 18:20:02 +01:00
Laurenz
eb951c008b Style changes 2022-11-04 11:38:09 +01:00
Laurenz
33928a00dc Tidy up library 2022-11-03 16:50:26 +01:00
Laurenz
37a7afddfa Split crates 2022-11-03 13:35:39 +01:00