Commit graph

46 commits

Author SHA1 Message Date
Victoria Brekenfeld
bf0508816b libcosmic: Add desktop-file helpers 2024-01-31 15:10:32 +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
9202383596 chore: update to 0.12 2023-12-04 17:53:24 -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
Victoria Brekenfeld
f91287dec2
chore: Update calloop (#173)
* chore: Update calloop

* chore: Allow compiling without windowing system

* CI: Add test without any features
2023-10-02 17:51:33 +02:00
Michael Aaron Murphy
8f7b400143
refactor(applet): move applet module to crate root 2023-09-18 07:45:11 +02:00
Michael Aaron Murphy
48fd076cc8 fix(segmented-button): disappearance of icons from bad layout values 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
52bc409a1a chore: re-export theme::style to style 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
18debe546d chore: no default features 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
796fe3c1a9 chore: add Apply to prelude 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
2ab760e66d chore: add prelude module 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
caf07e8288 chore: re-export iced::Command 2023-08-28 18:11:19 +02:00
Michael Aaron Murphy
1705b6fe27 feat(dialog): XDG portal integrations for open and save dialogs 2023-08-16 16:59:15 +02:00
Michael Murphy
a223b60a0c
feat!: implement Application API 2023-08-02 11:54:07 +02: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
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
Ashley Wulber
13aa5f88cb feat(theme): export cosmic-theme & add CosmicContainers to example 2023-02-28 12:26:38 -07:00
Ian Douglas Scott
2dde95ee42
Add _with_flags() variants to settings helpers (#85) 2023-02-20 14:26:31 -08:00
Michael Aaron Murphy
cc21b9baa1 feat(executor): add cosmic::executor::Default 2023-01-30 21:57:24 +01:00
Ian Douglas Scott
cd19bbf37a Re-export iced_sctk when build with wayland feature 2023-01-18 16:59:10 -07:00
Ian Douglas Scott
db2e6c236d When built with tokio, provide a SingleThreadExecutor
An application can (optionally) use this to spawn a single tokio thread
instead of one per processor thread.
2023-01-18 16:59:10 -07:00
Michael Aaron Murphy
f441a364a6 feat: add keyboard_nav module with unfocus support 2023-01-10 20:49:49 +01:00
Michael Aaron Murphy
7d018a2139 feat(settings): global setting for icon theme 2023-01-05 16:57:02 +01:00
Victoria Brekenfeld
75687acf2f chore: apply cargo fmt 2023-01-04 05:46:24 +01:00
Michael Aaron Murphy
dcbde3b1f2
chore: Apply clippy lints 2022-12-23 15:10:13 +01:00
Michael Aaron Murphy
d13415713c
fix: Remove static-rc due to debug assertions 2022-12-06 23:11:59 +01:00
Ashley Wulber
9796fa9f15
Merge branch 'cosmic-design-system' into sctk-cosmic-design-system 2022-12-06 17:03:31 -05:00
Michael Aaron Murphy
37f978d1b3
wip: Various refactorings and improvements 2022-12-06 16:14:39 +01:00
Ashley Wulber
33779b8652
wip: popup helpers 2022-11-15 23:11:48 +01:00
Ashley Wulber
49f0f34270
dependencies 2022-11-14 00:38:57 +01:00
Ashley Wulber
9260ee87e1
helpers 2022-11-12 01:55:37 +01:00
Ian Douglas Scott
947532413a Include Cosmic theme in libcosmic, instead of in Iced fork
I think it's best to only include things in the Iced fork that can't be
done without forking Iced, and/or are expected to be merged upstream.
The theme doesn't seem to be either, so it fits more appropriately in
libcosmic.

That should make it easier to keep up with upstream, and it may help to
have all the Cosmic parts in one place.

Based on https://github.com/pop-os/iced commit ad9026e.
2022-10-29 11:14:49 -06:00
Jeremy Soller
621febe95d
Expose iced_native and iced_style 2022-10-18 10:07:32 -06:00
Michael Aaron Murphy
b848931920
feat: Add HeaderBar widget 2022-10-07 05:20:43 +02:00
Jeremy Soller
a6bf04ea33
Responsive nav bar 2022-09-30 12:26:14 -06:00
Jeremy Soller
5ad54bd3b1
Move implementations from example to libcosmic 2022-09-30 09:35:55 -06:00
Jeremy Soller
699e474427
Add iced cosmic example 2022-09-30 08:55:37 -06:00
Ashley Wulber
167b92f084
refactor: make x & layer-shell features not default 2022-09-07 17:44:45 -04:00
Ashley Wulber
e2b4990591
cleanup 2022-08-22 16:31:22 -04:00
Ashley Wulber
aaffa76b98
feat: load & watch cosmic.css 2022-08-17 19:20:05 -04:00
Ashley Wulber
8485b82e9e
cleanup 2022-08-16 12:33:24 -04:00
Ashley Wulber
6589eed954
feat: init function, & refactor for features 2022-08-16 12:32:21 -04:00
Lucy
6ec9e8037c
LabeledItem widget 2022-02-24 14:03:01 -05:00
Ian Douglas Scott
6195ab2db9 Add Wayland layer-shell wrapper, behind layer-shell feature
Requires patched GTK4 from
https://github.com/pop-os/gtk4/tree/layer-shell_impish.
2022-01-05 13:28:49 -08:00
Jeremy Soller
38cb195351
WIP 2021-11-16 09:36:54 -07:00