Commit graph

19 commits

Author SHA1 Message Date
Michael Aaron Murphy
6a0c06a368 chore: update taffy crate to crates.io release 2025-09-30 22:31:43 +02:00
Michael Aaron Murphy
8cf372c9b9
perf: inline public getters/setters, and use non-generic inner functions
To reduce compile-times and avoid some overhead to binary size, this will modify some of our
generic functions to use non-generic inner functions where possible. The inner functions are
marked carefully with `#[inline(never)]` to prevent being inlined by LLVM at their callsites

While looking for generic functions to optimize, I have also taken the opportunity to annotate
public non-generic getters and setters with `#[inline]` to ensure that LLVM will inline them
across crate boundaries. By default, only generic functions are automatically inlined, and
only when enabling fat LTO are constant functions reliably inlined across crate boundaries.
2025-03-21 13:31:34 +01:00
Ashley Wulber
a3525ef56e refactor: track virtual offset in the layout 2025-03-21 03:45:30 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Vukašin Vojinović
de0c1921f7 fix(list_column): match padding/spacing to designs 2024-12-02 17:43:19 +01:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Ashley Wulber
173ddca60f fix: refactor dnd impl to support responsive widget 2024-05-31 19:14:58 -04:00
Michael Aaron Murphy
cb6bc86e1e feat(flex-row): align_items, justify_items, justify_content, and min_item_width 2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
7a6421a3e2 feat(flex-row): add justify_content method 2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
1bc3012165 improv(flex-row): add spacing method to set row and column spacing 2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
4d8c906c56 improv(flex-row): rewrite layout with taffy 2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
f4936344f0
chore(doc): add documentation for a handful of widgets 2024-05-20 20:01:47 +02:00
Ashley Wulber
745cba1c2c feat: add drag_destinations for container widgets 2024-04-01 22:14:42 +02:00
Ashley Wulber
f4ad098647 wip: update to use latest iced 2024-02-06 11:28:27 -05:00
Michael Aaron Murphy
d53f693a37 fix(flex-row): awkward breakpoint after first row 2023-12-14 00:17:06 +01:00
Ashley Wulber
17bc373990 clippy fixes 2023-12-04 17:53:24 -05:00
Ashley Wulber
9202383596 chore: update to 0.12 2023-12-04 17:53:24 -05:00
Michael Aaron Murphy
35fea09344 fix(flex_row): missing child nodes in layout 2023-12-04 08:33:59 -07:00
Michael Aaron Murphy
d973dafba7 feat(widget): Reimplement FlexRow as iced::Widget 2023-09-20 16:43:52 +02:00