Commit graph

788 commits

Author SHA1 Message Date
Michael Aaron Murphy
ba98038801
more refactoring and clippy fixes 2025-03-10 15:19:51 -04:00
Michael Aaron Murphy
ed59fe8fb3
fix: conditional features and tests 2025-03-10 15:19:50 -04:00
Michael Aaron Murphy
adb08f9daf
refactor!: improve surface action handling and adjust libcosmic API 2025-03-10 15:19:49 -04:00
Ashley Wulber
2c10e4362a
cleanup 2025-03-10 15:19:48 -04:00
Ashley Wulber
cbb070b80c
update iced 2025-03-10 15:19:47 -04:00
Ashley Wulber
e14c560c87
fix: apply default width to all applet popups 2025-03-10 15:19:46 -04:00
Ashley Wulber
cb11a0f872
fix(dropdown): overlay should show unless a popup is configured 2025-03-10 15:19:45 -04:00
Ashley Wulber
f26880180e
refactor: avoid adding new trait bounds 2025-03-10 15:19:44 -04:00
Ashley Wulber
b53f6566bc
refactor: add support for tooltip delays 2025-03-10 15:19:44 -04:00
Ashley Wulber
b10a81cbcd
fix: subsurface settings 2025-03-10 15:19:43 -04:00
Ashley Wulber
e9e01af77d
cargo fmt 2025-03-10 15:19:42 -04:00
Ashley Wulber
76930d8624
clippy 2025-03-10 15:19:41 -04:00
Ashley Wulber
0ce914b57a
fix(tooltip): mouse interaction 2025-03-10 15:19:40 -04:00
Ashley Wulber
8b5d5ee45c
feat: avoid tooltip creation if there is an existing popup 2025-03-10 15:19:39 -04:00
Ashley Wulber
40748c3037
fix: tooltip destruction 2025-03-10 15:19:38 -04:00
Ashley Wulber
66322b1e90
refactor: popup for tooltip
this conflicts with autopopup switching. Either I need to drop autopopup switching, disable tooltips if autopopup switching is enabled, or I need to change how autohopopup switching is implemented to use dbus or wayland protocols instead of simulating a click.
2025-03-10 15:19:37 -04:00
Ashley Wulber
6f643d1d3a
refactor: better tooltips and helper methods for managing subsurfaces/popups 2025-03-10 15:19:36 -04:00
Ashley Wulber
17ad618fae
refactor: make SurfaceMessage handling opt in 2025-03-10 15:19:34 -04:00
Ashley Wulber
9352c0241e
refactor: remove SurfaceMessageHandler 2025-03-10 15:19:33 -04:00
Ashley Wulber
2b232065ff
refactor(text_input): make on_input optional
this prevents a redraw of every surface in an application whenever the input changes.
2025-03-10 15:19:32 -04:00
Ashley Wulber
354b4866ec
fix: explicit lifetimes for view closures 2025-03-10 15:19:31 -04:00
Ashley Wulber
1fe79b727b
refactor: better usage of menu::Item 2025-03-10 15:19:29 -04:00
Ashley Wulber
ffa67981a8
fix: button styling 2025-03-10 15:19:28 -04:00
Ashley Wulber
dc10c77b41
refactor: menu bar buttons 2025-03-10 15:19:27 -04:00
Ashley Wulber
56bbc3f289
refactor: SurfaceMessage 2025-03-10 15:19:26 -04:00
Ashley Wulber
c6ca33457f
refactor: use RcWrapper 2025-03-10 15:19:26 -04:00
Ashley Wulber
5a5670eda5
refactor: remove menu tree changes 2025-03-10 15:19:23 -04:00
Ashley Wulber
93e3d4fd42
wip: menus 2025-03-10 15:18:32 -04:00
Ashley Wulber
a406859e65
better surface messages 2025-03-10 15:14:49 -04:00
Ashley Wulber
bd36d6bb8c
wip: tooltips 2025-03-10 15:14:48 -04:00
Ashley Wulber
f91369bdbb
wip: subsurfaces 2025-03-10 15:14:44 -04:00
Vadim Khitrin
64ddcb3bf2 fix: Support Spawning Processes on macOS
Allow using pipe on macOS when attempting to spawn a process.
2025-03-10 16:22:23 +01:00
ellieplayswow
a234a45ea6
fix(segmented_button): ignore button release / finger lifted events when dragged out of target 2025-03-10 16:21:34 +01:00
Ashley Wulber
508753ae69 feat: high contrast theme updates 2025-03-10 16:10:32 +01:00
Ashley Wulber
238603640c fix: filter out tab events with control modifier 2025-03-04 23:03:55 +01:00
Michael Aaron Murphy
1f826e38b9
improv: call malloc_trim after view and update calls 2025-02-19 18:13:24 +01:00
Michael Aaron Murphy
76348bb985
chore: handle more sources of excess cosmic-config logs 2025-02-19 16:57:28 +01:00
Michael Aaron Murphy
ab6de5304b
chore(theme): avoid logging errors for unset config parameters 2025-02-19 15:37:59 +01:00
Michael Aaron Murphy
7d84d21129 improv: switch to Open Sans and Noto Sans Mono, with tweaked text styles 2025-02-18 23:57:58 +01:00
Tony4dev
0b7e23444a
feat(segmented_button): add len method 2025-02-13 16:22:42 +01:00
Michael Aaron Murphy
f59eb77252 perf: set static mmap threshold on gnu target env by default 2025-02-12 10:59:46 -07:00
ellieplayswow
900fc34444
feat(icon): add rotation property 2025-01-20 11:08:36 +01:00
Tony4dev
def11c6c96
improv(calendar): make visible public 2025-01-19 15:37:07 +01:00
Eduardo Flores
00a4042c40
chore(calendar): add derive attributes 2025-01-19 12:58:57 +01:00
Michael Aaron Murphy
1914006cdd
fix(text_input): compiler errors after Cow change 2025-01-16 06:38:08 +01:00
Tony4dev
8211fb68bd
improv!(calendar): do not select date when navigating prev/next months 2025-01-16 06:30:21 +01:00
Soso
90c5c84cce
improv(text_input): use Cow<str> for label, helper, and error text 2025-01-16 06:29:03 +01:00
Dryadxon
bd8347f7fc fix: impl combo_box::Catalog 2025-01-13 15:45:27 -07:00
Ian Douglas Scott
af9e353f50 dnd_source: Add suppport for surface offset
The `drag_icon` callback is passed the offset of the cursor within the
widget at the start of the drag, and can return an offset the drag
surface should be placed relative to the cursor.
2025-01-13 10:44:33 -07:00
Jason Rodney Hansen
aaa2ba3ad4 Fix entering text with compose key
Previously entering text in text inputs with the compose key would insert one
or more NUL bytes before the inserted character.
2025-01-05 17:51:44 -07:00