Commit graph

197 commits

Author SHA1 Message Date
Ian Douglas Scott
3e35237f22 Update rfd and ashpd
No longer depend on two different versions of ashpd here, and on zbus
4.x as a dependency of ashpd.
2025-05-22 16:45:38 -07:00
Ian Douglas Scott
25322e0263
feat!: update zbus from 4.x to 5.x 2025-05-23 00:02:23 +02:00
Michael Aaron Murphy
6763abec41
chore(cargo): update fde to 0.7.11 2025-04-30 17:13:59 +02:00
Juniper
e5802b535b
chore: add highlighter feature for iced 2025-04-24 17:26:33 +02:00
Michael Aaron Murphy
f7d22446c1
fix: update imports for fde and fd-icons 2025-04-04 02:37:35 +02:00
Michael Aaron Murphy
9b9600a5d6
fix(desktop): matching the wrong desktop enrties and not getting icons 2025-04-04 01:56:19 +02:00
Michael Aaron Murphy
92b2756e26
chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +01:00
Michael Aaron Murphy
77c3a8ed90
feat(task): add stream function 2025-03-21 13:20:45 +01:00
Ashley Wulber
202684d021
chore: update fde and iced 2025-03-19 20:46:12 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Ashley Wulber
26ea70a6bd chore: update fde 2025-03-12 23:40:31 +01:00
Ian Douglas Scott
cba28b1372 Update cctk and iced 2025-02-13 06:59:27 -08:00
Ian Douglas Scott
9426a985c6 Update iced and cctk 2025-02-04 11:04:12 -08:00
netraptor
b244970a18
fix: disable async-std default dependency in rfd dependency when using tokio 2025-01-16 06:28:20 +01:00
Michael Aaron Murphy
4a97b3ddd2
chore: enable image/gif when using animated-image feature 2025-01-14 21:45:10 +01:00
Michael Aaron Murphy
99b729faff
chore: update image-rs and set defaults to only png + jpeg 2025-01-14 21:41:16 +01: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
Michael Aaron Murphy
43e7213b70 fix: switch to cosmic fork of freedesktop-icons
Switch to a fork that we maintain, which containss a few fixes
that haven't been merged upstream yet.
2024-12-05 14:41:16 +01:00
Ashley Wulber
b524ccb0a4 chore: update cctk 2024-12-03 05:35:56 +01:00
Bryan Hyland
b14fde9033 feat!(spin_button): refactor and support vertical widget variant 2024-11-20 05:03:29 +01:00
Ashley Wulber
2ecef3c7b2 feat: better a11y support 2024-11-11 15:02:04 -07:00
Jeremy Soller
be4c0a0848 Move about widget to new about feature 2024-11-11 11:17:02 -07:00
Eduardo Flores
d8357d0ea3
refactor: about page as a widget 2024-11-10 02:42:16 +01:00
wiiznokes
568ff097d6 feat: export markdown iced feature 2024-11-07 01:22:32 +01:00
Eduardo Flores
8d4afb90da
feat(app): add context view method for creating About views 2024-11-06 03:36:33 +01:00
Ashley Wulber
d84447aaad fix: apply App::Executor to multi-window instance 2024-10-29 13:32:08 -06:00
Ashley Wulber
3414f62367 refactor: allow a11y to be disabled with applet feature 2024-10-23 21:52:35 -06:00
Ashley Wulber
45f3999f9c refactor: include winit in the applet feature 2024-10-18 14:04:39 -04:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Jeremy Soller
9c62f19e4b Make use of systemd scopes optional 2024-10-16 16:10:37 -06:00
Michael Aaron Murphy
9e064e7fa0 feat: configurable fonts 2024-10-05 01:47:37 +02:00
Vukašin Vojinović
0a34660a80 fix: move density to cosmic_theme 2024-09-23 12:40:22 -04:00
Michael Mc Donnell
914d989049
chore: remove deprecated design-demo example 2024-09-13 01:07:34 +02:00
wiiznokes
fe63f6f3cd feat: add qr_code feature 2024-08-28 23:00:48 +02:00
Victoria Brekenfeld
c9f8f48537 Revert "fix: new matching algorithm for desktop entries"
This reverts commit 9519b86ec9.
2024-08-13 09:12:50 -06:00
Victoria Brekenfeld
1ad6877cb1 chore: Update MSRV 2024-08-02 20:36:15 +02:00
Ian Douglas Scott
732c7aef5c Add smol implementation for spawn
Although this is used in apps that use `tokio`, if we're going to
support `smol`, this seems suboptimal to require.

This assumes the function will be called by a tokio executor if the
`tokio` feature is used. Otherwise it can be spawned from any executor.
That should be consistent with everything else.

This fails to compile without either the `tokio` or `smol` feature. This
seems reasonable, since `zbus` also fails to compile in that case.
2024-07-26 12:01:40 -07:00
Ian Douglas Scott
8c00bf3d8b Update ashpd and fraction 2024-07-26 12:01:40 -07:00
Ian Douglas Scott
621de17cad Call systemd StartTransientUnit what starting app
This is needed for things like `xdg-desktop-portal` to get the app ID
from a pid, in unsandboxed apps.

https://systemd.io/DESKTOP_ENVIRONMENTS documents this, and this sets
things similarly to how Gnome does. Which should be good for now.

Making `spawn_desktop_exec` an `async` function is reasonable given it
is called in `async` functions in
`cosmic-app-list`/`cosmic-launcher`/`cosmic-applibrary`.
2024-07-26 12:01:40 -07:00
Ian Douglas Scott
fe035e37b0 Use rustix/libc instead of nix; use pipe to capture double-fork pid
`rustix` and `libc` are already in the dependency tree, and `rustix`
follows IO safety rules, so use those.

We can use a pipe to get the PID of the double-forked process.
2024-07-26 12:01:40 -07:00
Ashley Wulber
42cb83a6bb fix: expose clipboard functionality as feature 2024-06-13 14:18:46 -04:00
Ian Douglas Scott
cbf9252b9d Update iced and cctk 2024-06-12 08:50:12 -07:00
wiiznokes
9519b86ec9
fix: new matching algorithm for desktop entries 2024-05-31 05:05:36 +02:00
Michael Aaron Murphy
6720b8277c feat: CosmicTk::header_size density config 2024-05-29 06:25:15 -06:00
Ashley Wulber
78a137214d chore: update zbus 2024-05-17 00:00:24 +02:00
Ashley Wulber
6a97435263 fix(cosmic-config): attempt to reconnect to the settings daemon 2024-05-12 21:27:22 +02:00
Ashley Wulber
d54af65a2a refactor: update applet icon sizes 2024-04-15 18:29:57 -04:00
Ian Douglas Scott
23dc7810c6 Update cctk
Updated to use same sctk version as iced.
2024-04-01 15:37:39 -07:00
Ian Douglas Scott
8afd6490da Update cosmic-client-toolkit 2024-03-25 09:44:01 -07:00
Ashley Wulber
d6b87a0222 chore: update gtk4-output for the theme to set adwaita named colors
This is still a bit incomplete, and some apps use their own custom variables as well, for example the text editor.
2024-03-18 14:49:40 -06:00