Commit graph

1406 commits

Author SHA1 Message Date
Vukašin Vojinović
b4a9f3a3fc improv(app): visually align window corners to content 2025-03-20 13:31:10 -07:00
Jeremy Soller
0b284e3e0f Remove unused cctk import from autosize widget 2025-03-20 13:31:10 -07:00
Vadim Khitrin
a8c5ca164b fix: Support Spawning Processes on macOS
Allow using pipe on macOS when attempting to spawn a process.
2025-03-20 13:31:10 -07:00
ellieplayswow
551ec29a98 fix(segmented_button): ignore button release / finger lifted events when dragged out of target 2025-03-20 13:31:10 -07:00
Ashley Wulber
c0fd254df1 feat: high contrast theme updates 2025-03-20 13:31:10 -07:00
Ashley Wulber
ea999e2960 fix: include config id in subscription id 2025-03-20 13:31:10 -07:00
Tyler Hardin
3fe1e81ec5 fixup README 2025-03-20 13:31:10 -07:00
Ashley Wulber
aa0eb85eef fix: filter out tab events with control modifier 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
043a23a1c1 perf(iced): improve window resize performance 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
f5e454be3a improv: call malloc_trim after view and update calls 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
65af9180cf chore: handle more sources of excess cosmic-config logs 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
6683527cb3 chore(theme): avoid logging errors for unset config parameters 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
626ee929e4 improv: switch to Open Sans and Noto Sans Mono, with tweaked text styles 2025-03-20 13:31:10 -07:00
Ashley Wulber
ed844b90d0 refactor: small widget container colors 2025-03-20 13:31:10 -07:00
Ashley Wulber
17bf7f9b4c feat: improve accent_text for low contrast accent colors. 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
5459f0b12a fix(cosmic_config): is_err method conditions reversed 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
c91742c982 fix(cosmic_config): treat errors getting key_path in get_local as NotFound 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
c84d933f00 feat(cosmic_config): add ConfigGet::get_{local,system_default}
Required by https://github.com/pop-os/cosmic-settings/pull/975 to a modify a config
containing a HashMap which is used to partially-override the system default config
in the compositor.
2025-03-20 13:31:10 -07:00
Tony4dev
0acb3becf2 feat(segmented_button): add len method 2025-03-20 13:31:10 -07:00
Ian Douglas Scott
2afd00a4b2 Update cctk and iced 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
2499ef9959 perf: set static mmap threshold on gnu target env by default 2025-03-20 13:31:10 -07:00
Ian Douglas Scott
50e79ee02d Update iced and cctk 2025-03-20 13:31:10 -07:00
Victoria Brekenfeld
fb562884a7 chore: Update ron to 0.9 2025-03-20 13:31:10 -07:00
ellieplayswow
8203a11da4 feat(icon): add rotation property 2025-03-20 13:31:10 -07:00
Tony4dev
732e6ec3ff improv(calendar): make visible public 2025-03-20 13:31:10 -07:00
Eduardo Flores
3a9aff13d6 chore(calendar): add derive attributes 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
a6ffeb2abe fix(text_input): compiler errors after Cow change 2025-03-20 13:31:10 -07:00
Tony4dev
e62e184431 improv!(calendar): do not select date when navigating prev/next months 2025-03-20 13:31:10 -07:00
Soso
4604e57b13 improv(text_input): use Cow<str> for label, helper, and error text 2025-03-20 13:31:10 -07:00
netraptor
c2f3e51b43 fix: disable async-std default dependency in rfd dependency when using tokio 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
02b392c877 chore: enable image/gif when using animated-image feature 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
c37946f8f4 chore: update image-rs and set defaults to only png + jpeg 2025-03-20 13:31:10 -07:00
Dryadxon
4bc6caef43 fix: impl combo_box::Catalog 2025-03-20 13:31:10 -07:00
Ian Douglas Scott
2c319554da 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-03-20 13:31:10 -07:00
Adam Cosner
160070c1b5 Added more mouse interaction options 2025-01-11 15:46:05 -08:00
Adam Cosner
d4bce76213 Fixed warnings 2025-01-10 22:50:05 -08:00
Adam Cosner
1e28f39771 Ran cargo fmt 2025-01-10 22:46:20 -08:00
Adam Cosner
ea4e6c6cde Added item contexts and changed the context menu functions to take builder functions 2025-01-10 22:44:42 -08:00
Adam Cosner
0b0e143fe4 Merge branch 'master' of https://github.com/Adam-Cosner/libcosmic 2025-01-10 22:37:40 -08:00
Adam Cosner
9f2e554847
Merge branch 'pop-os:master' into master 2025-01-10 22:36:24 -08:00
Adam Cosner
68fdd8fbe4 Added category context menus 2025-01-06 12:15:44 -08: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
Adam Cosner
4111fcbd05 Added doc inline to widget 2025-01-05 15:56:35 -08:00
Adam Cosner
91c35e88ad Made compact and standard table view into separate widgets 2025-01-04 12:42:34 -08:00
Adam Cosner
2305e25fa8 Use derive_setters for TableView 2025-01-04 12:16:08 -08:00
Adam Cosner
2401c2a4ec Added table function for generic table view creation 2025-01-04 11:57:33 -08:00
Michael Aaron Murphy
e162c59160
perf: reduce memory usage by dropping ustr dependency
The string cache used by ustr pre-allocates 12 MB, even if we're
only using it for a few font family names. We can therefore
manage our own set of leaked strings to reduce memory usage by 12 MB.
2025-01-03 21:58:04 +01:00
Adam Cosner
dd9d1c0c2f Revert "Added custom widget version of table"
This reverts commit 825792e367.
2025-01-02 22:29:00 -08:00
Michael Aaron Murphy
fdefc5860b
perf: avoid duplicate Ustr for default font names 2025-01-03 01:18:47 +01:00
Adam Cosner
825792e367 Added custom widget version of table
Currently does not have mouse interaction, in the demo the normal one is right and custom is left
2025-01-01 18:04:12 -08:00