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
Michael Aaron Murphy
d68488de47
feat(widget): add calendar widget
2024-03-15 13:40:31 +01:00
Ryan Brue
b4ad96066b
chore: bump freedesktop-desktop-entry
2024-03-12 02:24:42 +01:00
Ashley Wulber
801c502c36
chore: update iced and enable clipboard for iced_sctk by default
2024-03-05 14:03:10 -05:00
Ashley Wulber
c390b2614d
wip: support desktop portal color-scheme, and accent variables
2024-03-01 21:30:24 -05:00
Jeremy Soller
0a7327c91a
Add mime types to desktop entry data
2024-03-01 11:53:26 -07:00
Michael Aaron Murphy
a09e76e729
chore: enabled iced/web-colors by default to improve font rendering
2024-02-27 21:56:22 +01:00
Michael Aaron Murphy
552077bd8e
chore: add web-colors feature from iced
2024-02-26 19:17:49 +01:00
Victoria Brekenfeld
bf0508816b
libcosmic: Add desktop-file helpers
2024-01-31 15:10:32 +01:00
Jeremy Soller
1291a48d4d
Set MSRV to 1.71
2024-01-29 09:43:06 -07:00
Ashley Wulber
912e8b0a44
chore: update freedesktop-icons
2024-01-24 17:31:13 +01:00
Michael Aaron Murphy
0bef593ba4
feat!(dialog): refactor and support rfd as file_chooser provider
2024-01-23 22:08:21 +01:00
Ashley Wulber
6a952e9350
chore: update cosmic-protocols
2024-01-17 09:50:26 -07:00
Ashley Wulber
06c33dcf06
refactor: optional config subscriptions using dbus
2024-01-02 15:12:14 +01:00
Ian Douglas Scott
83fbde77ab
Update dependencies ( #239 )
...
Testing this I noticed building with the `animated-image` feature is
currently failing. But that's unrelated to the changes here.
2023-12-11 14:02:17 -08:00
Ashley Wulber
493bf6c47a
fix: avoid accidentally triggering vendoring of iced_winit when not used ( #238 )
2023-12-11 12:59:13 -05:00
Ashley Wulber
c66e4aafd0
update to support winit multi-window
2023-12-08 10:06:13 -05:00
Ashley Wulber
9202383596
chore: update to 0.12
2023-12-04 17:53:24 -05:00
Jeremy Soller
ebcfa5f2d0
Make ashpd optional when using tokio feature
2023-11-28 11:54:13 -07:00
Ian Douglas Scott
d1537b4c39
fix: compilation with latest taffy commit
...
Also adds `rev =` to `Cargo.toml` specifying the latest commit.
A library like `libcosmic` shouldn't use git dependencies without
specifying a commit or tag.
2023-11-22 20:12:59 +01:00
Ashley Wulber
c38dc6da94
refactor: rename single-instance feature
2023-11-17 19:29:11 -05:00
Ashley Wulber
ef5b6fb44a
feat: add helpers for getting and using activation tokens in applets
...
refactor(applet): connect to privileged socket if available
cleanup
2023-11-17 19:29:11 -05:00
Ashley Wulber
c9554a8740
wip: dbus activation & single instance support
...
refactor: activation action with new trait for subcommand and args
refactor: libcosmic can handle sending the activation request
cleanup
2023-11-17 19:29:11 -05:00
Jeremy Soller
ac2860f86f
Enable serde feature of iced_core
2023-11-16 08:06:07 -07:00
Ashley Wulber
6c7a080209
chore: add feature for enabling serializing keycodes
2023-11-10 23:15:23 -05:00
Michael Aaron Murphy
7ee1f545e1
chore(iced): enable advanced feature
2023-10-12 16:37:38 +02:00