Commit graph

241 commits

Author SHA1 Message Date
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
Michael Aaron Murphy
e1d1b0bad5 feat(widget): initial implementation of Grid widget 2023-10-02 17:32:39 +02:00
Ashley Wulber
7e286d0953 update iced 2023-10-02 10:24:43 -04:00
Ashley Wulber
70077ca985 feat: color picker 2023-10-02 10:24:43 -04:00
Ashley Wulber
647f249490 chore: update iced
should fix DnD issues
2023-09-25 11:29:15 -04:00
Victoria Brekenfeld
a40cf289bb chore: Update freedesktop-icons 2023-09-21 14:17:35 +02:00
Ashley Wulber
1a1614b329 chore: update iced 2023-09-20 11:06:47 -04:00
Eduardo Flores
69cd9a3bfa
fix(applet): button & icon API refactor w/ applet example 2023-09-18 02:35:50 +02:00
Michael Aaron Murphy
f2b14d18eb chore(examples): migrated cosmic-design-demo 2023-09-15 20:48:25 +02:00
Michael Aaron Murphy
c775c65304 fix(cargo): features winit_debug and winit_tokio now depend on winit feature 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
18debe546d chore: no default features 2023-09-14 01:38:56 +02:00
Ashley Wulber
69da283aeb update iced 2023-08-21 15:47:01 -04:00
Ian Douglas Scott
2086a0ee0e Don't require "a18y" for applet feature
Causing panic currently.
2023-08-18 16:47:10 -04:00
Ashley Wulber
c474b3e955 wip: add applet module 2023-08-18 16:47:10 -04:00
Michael Aaron Murphy
1705b6fe27 feat(dialog): XDG portal integrations for open and save dialogs 2023-08-16 16:59:15 +02:00
Ashley Wulber
fb2fb65af0 chore: use palette 0.7.3 2023-08-14 12:31:16 -04:00
Ashley Wulber
a618c1b94a wip: calculate theme using new method 2023-08-14 12:31:16 -04:00
Ashley Wulber
620c1adb74 wip: theme update & some cleanup 2023-08-14 12:31:16 -04:00
Michael Murphy
a223b60a0c
feat!: implement Application API 2023-08-02 11:54:07 +02:00
Ashley Wulber
ab88a5b59f feat: animated image widget 2023-07-26 18:11:19 -04:00
Ian Douglas Scott
f77bd443d7 Use same sctk commit as iced 2023-07-25 09:33:37 -07:00
Michael Aaron Murphy
b0db23a169 perf(flexrow): provide reusable vec for storing elements 2023-06-26 17:00:50 +02:00
Ashley Wulber
bf456a08ee feat: animated togglers in the cosmic_sctk example 2023-06-15 20:38:16 +02:00
Ashley Wulber
78a3a1f29a fix CI 2023-06-15 20:38:16 +02:00
Ashley Wulber
850968715c udpate iced to use latest rebase 2023-06-15 20:38:16 +02:00
Ashley Wulber
a8a2e4ad26 feat: theme helper methods 2023-06-12 12:16:31 -04:00
Brock
5765053ad7
Expose internal iced crates for cosmic-time (#110)
This allows cosmic-time to use all imports via libcosmic, so the
versions of iced will not collide.
2023-06-01 16:12:57 -06:00
Ashley Wulber
ce713d9da7 refactor: move applet helpers to cosmic-applets repo 2023-05-31 10:33:46 -04:00
Ashley Wulber
f06a81ccf9 chore: update deps 2023-05-30 14:39:22 -04:00
Ashley Wulber
e056e8c830
Cosmic advanced text (#103)
* wip: update to use cosmic-advanced-text

* use cosmic-advanced-text branch of iced

* fix: line height and spacing for segmented button and update to get svg fix

* fix: spin button styling & spacing

* update iced to fix segmented button border radius

* feat: example improvements

* feat: helper for loading fonts

* feat: add focus style to button

* fix: slider height and iced fixed

* feat: hash icon width and height

* cleanup

* update ci

* refactor: always use lazy feature of iced

* update iced

* update iced

* cleanup & update iced

* update iced: new slider & tiny-skia quad updates

* update iced: fixes for tiny-skia quad rendering with edge case border radius

* re-export iced_runtime & iced_widget

* merge master

* udpate iced

* update iced

* update iced

* update iced

* fix: make rectangle_tracker subscription only return update if there is some

* feat: derive macro for loading a cosmic-config

* feat (cosmic-config): iced subscription

* fix (example): update to rectangle tracker subscription

* fix (cosmic-config)

* refactor(cosmic-config-derive): add support for types with generic parameters

* fix (cosmic-config): feature gate updates for subscription helpers

* feat: support for custom & system themes + move cosmic-theme to libcosmic

* feat: sorta hacky way of creating header bars for libcosmic + update iced to get support for resizable windows in iced-sctk

* update iced

* update and reexport sctk

* fix: applet border radius

* feat (cosmic-theme): add id and name methods

* fix(cosmic-theme): reexport palette from cosmic-theme

* fix(cosmic-config-derive): allow use with reexported cosmic-config

* feat: update iced with fix and refactor applet env vars

* update iced
2023-05-30 12:03:15 -04:00
Ian Douglas Scott
c878e24465 Fix build on Windows/non-Unix
We'll need libcosmic to work on Windows and macOS if we want to use it
in the Keyboard Configurator.

`freedesktop-icons` doesn't seem to build on Windows, so only use it
on Unix systems. It does seem to build on macOS, so leave it as a
dependency there. A good solution for icon bundling on macOS/Windows will
need to be figured out at some point.
2023-04-25 06:20:20 -06:00
Ashley Wulber
c466790903 update sctk 2023-04-05 11:20:18 -04:00