Commit graph

792 commits

Author SHA1 Message Date
Adam Cosner
cad96c5ae5 Added item contexts and changed the context menu functions to take builder functions 2025-03-20 13:37:33 -07:00
Adam Cosner
7c2f2de4c4 Added category context menus 2025-03-20 13:36:36 -07:00
Adam Cosner
343bff9e9a Made compact and standard table view into separate widgets 2025-03-20 13:36:13 -07:00
Adam Cosner
0e29b6b226 Revert "Added custom widget version of table"
This reverts commit 825792e367.
2025-03-20 13:34:41 -07:00
Adam Cosner
6958a4cc36 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-03-20 13:34:24 -07:00
Adam Cosner
9bd8f011b7 Compact view implemented 2025-03-20 13:33:22 -07:00
Adam Cosner
0502b63531 Implemented rudimentary table widget, currently not interactible 2025-03-20 13:33:08 -07:00
Jeremy Soller
f12992337a Fix compilation with process feature on other Unixes 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
bb117d4619 fix(text_input): fixing multiple issues 2025-03-20 13:31:10 -07:00
Ashley Wulber
834d54de44 feat: Tooltips and Better Surface Management 2025-03-20 13:31:10 -07:00
Ashley Wulber
f6c65f67a3 cargo fmt 2025-03-20 13:31:10 -07:00
Ashley Wulber
1f76b41b0e chore: update fde 2025-03-20 13:31:10 -07:00
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
aa0eb85eef fix: filter out tab events with control modifier 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
Tony4dev
0acb3becf2 feat(segmented_button): add len method 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
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
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
Adam Cosner
5c96696f9c
Merge branch 'pop-os:master' into master 2025-01-01 16:08:19 -05:00
Jason Hansen
51ede4bce6
fix(segmented_button): close context menu when clicked outside 2025-01-01 00:37:04 +01:00