Commit graph

17 commits

Author SHA1 Message Date
Ashley Wulber
e10459fb37 wip rebase updates 2026-03-04 12:04:32 -05:00
Cheong Lau
1d6a43486e remove redundant clones, use mul_add on f32s 2025-10-22 04:30:57 +02:00
Michael Aaron Murphy
0aa518984e
chore: format for 2024 edition 2025-03-21 13:33:07 +01: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
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Adam Cosner
a64529af17 Changed cosmic::command module to cosmic::task and changed cosmic::Task to reexport cosmic::app::Task instead of iced::Task 2024-11-21 10:45:21 -05:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Michael Aaron Murphy
f12de010ec fix!(widget): rename button function to button::custom 2024-09-16 11:36:42 -06:00
bbb651 🇮🇱
1162011ff4
improv!(toaster): use stable IDs for toasts 2024-08-22 15:41:43 +02:00
Ashley Wulber
a5996b4e90 fix(toast): implement drag_destinations 2024-07-24 05:33:35 +02:00
Michael Aaron Murphy
3d22fb8fe2
improv(toaster): actions accept closures 2024-07-22 17:48:17 +02:00
Michael Aaron Murphy
ece6edac8d
improv(toaster): API consistency improvements 2024-07-22 15:34:26 +02:00
Michael Aaron Murphy
1e5828e01c
improv: get window control icons from icon theme 2024-07-22 07:24:07 +02:00
Jeremy Soller
a268a98311
fix(toast): match toast to design 2024-07-11 13:36:53 -06:00
Ashley Wulber
928b714d14 fix: toaster behind feature gate 2024-07-05 21:21:35 +02:00
wiiznokes
4da66f8cc0 fix: change message bound for toaster 2024-07-02 18:43:50 +02:00
wiiznokes
4449b29cc9
feat(widget): add toast widget 2024-07-02 17:55:38 +02:00