Commit graph

241 commits

Author SHA1 Message Date
f7bdd84ae4 chore: use local graphics dependencies 2026-05-25 19:36:38 +02:00
d4d421511a chore: use local COSMIC support crates 2026-05-25 18:09:50 +02:00
f3db54342c fix: drop iced_winit/single-instance feature ref
Upstream dc84488c "fix(iced): double IME commit on GNOME desktop" wires
the libcosmic single-instance feature through iced_winit/single-instance,
but our pinned iced fork (yoda-wayland-only @ 81639935) does not carry
that feature yet. Drop the ref so libcosmic-yoda compiles after rebase;
the GNOME IME fix needs to be ported separately into the iced submodule
before this can be reinstated.

Leyoda 2026 – GPLv3
2026-05-25 13:13:30 +02:00
6722f1e581 yoda: use local dbus settings bindings 2026-05-25 13:10:12 +02:00
7a191cf086 yoda: warning cleanup sweep (dead code + clippy --fix) (squashed)
Squash of 4 yoda commits:
- 84437e21 yoda: libcosmic-yoda dead-code purge (14->0 warnings)
- 999db0a4 yoda: cosmic-theme cleanup (4->0 warnings) — workspace at 0 warnings total
- 4743bb8e yoda: cargo clippy --fix on libcosmic-yoda (115->33 warnings)
- 675f3b59 chore: reduce local stack warnings
2026-05-25 13:07:48 +02:00
e3dcdf1fce yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed)
Squash of 7 yoda commits forming the fork pivot:
- 255cf7cc rename: libcosmic -> libcosmic-yoda (fork 0.1.0-yoda)
- 8701aa31 feat(yoda): Wayland-only cut — drop winit and x11 features
- 6736a596 yoda: soft-fork pivot — keep Cargo name 'libcosmic' for dep unification
- 3e23d087 yoda: re-apply hard rename — libcosmic -> libcosmic-yoda (0.1.0-yoda)
- aec3eb61 yoda: ungate remaining winit+wayland combined cfgs
- 8ab7b158 yoda-v2: color_picker Theme ref + context_menu/menu ungate winit
- 8d1d8739 yoda: drop x11 defaults on iced_winit + iced_tiny_skia
2026-05-25 13:05:05 +02:00
Michael Aaron Murphy
2f022280f2
docs: fix cargo doc generation 2026-05-20 17:04:07 +02:00
Vukašin Vojinović
9abc4d483b chore: update dependencies 2026-05-04 11:55:17 -04:00
Michael Aaron Murphy
58b7532849
chore: update MSRV to Rust 1.93 2026-04-27 14:37:22 +02:00
KENZ
dc84488cd8
fix(iced): double IME commit on GNOME desktop 2026-04-19 17:03:20 +02:00
Hojjat
3d8d8915be chore: enable ico and xpm image support for desktop feature 2026-04-15 13:10:25 +02:00
Ian Douglas Scott
46d9f0c344 widget/icon: Bundle icons on macOS, not just Windows 2026-04-14 21:46:05 +02:00
Hojjat
ab3eedd0f2 chore: update iced
This pulls in the fix in cosmic-text to fallback to the default
SansSerif if there are missing glyphs in basic shaping.

Also removes advanced-shaping from the default features list.
2026-04-06 15:15:30 -04:00
Ashley Wulber
34219d1fd4 chore: wgpu cctk feature for wayland 2026-04-03 20:15:31 +02:00
Ashley Wulber
b0f4e931f2 fix: font issues
some fonts are not falling back when a glyph is missing for a selected font and weight
2026-04-03 16:17:44 +02:00
Ashley Wulber
413e63f62a chore: update features and feature gates 2026-03-30 22:25:27 -04:00
Vukašin Vojinović
54bcb9ec12
chore: update dependencies and examples 2026-03-18 15:54:07 +01:00
Ashley Wulber
0bfda2e28c chore: update deps and test fixes 2026-03-04 12:04:33 -05:00
Ashley Wulber
e8d53b14ea chore: various fixes and some cleanup 2026-03-04 12:04:32 -05:00
Ashley Wulber
e10459fb37 wip rebase updates 2026-03-04 12:04:32 -05:00
Vukašin Vojinović
990e2e291b refactor(calendar): use jiff instead of chrono
This refactors the calendar widget to use `jiff` instead of `chrono`.
Also mostly matches the design of the widget to the time applet.
2026-02-17 21:18:55 +01:00
Vukašin Vojinović
cf19ac665f chore: update dependencies 2026-01-27 18:07:35 -07:00
Michael Aaron Murphy
03c440b97a
chore(cargo): update all crate dependencies 2026-01-14 18:46:53 +01:00
Michael Aaron Murphy
e9bb5ed97d
chore: update freedesktop-desktop-entry 2026-01-06 02:25:11 +01:00
Kyle Scheuing
80875d5962
fix: compiling on windows requires cosmic-icons in project root
* fix: compiling on windows requires cosmic-icons in project root

crabtime provides crabtime::WORKSPACE_PATH to refer to the
CARGO_MANIFEST_DIR of the top level crate being built, which means when
building libcosmic directly, crabtime::WORKSPACE_PATH will work, but
when building it as a dependency of another crate,
crabtime::WORKSPACE_PATH will no longer refer to the path to libcosmic.

I don't think there's a good workaround, since when in the context of
crabtime, CARGO_MANIFEST_DIR refers to the path to the crate generated
by crabtime rather than to libcosmic.

This replaces crabtime with a simple build.rs script that generates a
file in OUT_DIR.

* fix: do not generate icon bundle for unix targets

---------

Co-authored-by: Michael Aaron Murphy <michael@mmurphy.dev>
2025-12-04 17:31:47 +01:00
Michael Aaron Murphy
639326fcc3 feat(icon): optimize & bundle icons with crabtime for non-unix platforms 2025-11-21 18:37:49 +01:00
Stephan Buys
7f321cb0a3 segmented button: support tab drag + drop 2025-11-20 22:33:13 +01:00
Stephan Buys
690f1d331d
feat(desktop): add DesktopEntryCache and unit tests for known problematic entries 2025-11-13 16:02:12 +01:00
Ashley Wulber
2296e8e94d
feat(applets): configurable applet overlap and padding increases 2025-11-11 21:04:09 +01:00
Michael Aaron Murphy
6a0c06a368 chore: update taffy crate to crates.io release 2025-09-30 22:31:43 +02:00
Michael Aaron Murphy
df9df40963 chore(about): drop license dependency
Not needed since the application can already give URLs to their license
2025-09-30 22:31:32 +02:00
Ashley Wulber
4a71189d34 chore: update cosmic-protocols 2025-09-30 11:41:36 -04:00
Ashley Wulber
7015b8ace4 chore: update iced 2025-09-30 10:59:51 -04:00
Ashley Wulber
9815d4d981 feat(wayland): corner-radius protocol support 2025-09-30 10:59:51 -04:00
Vukašin Vojinović
e568122083 fix(context_drawer): title alignment
Something caused text alignment to break, so this gets around it by wrapping the text in a container.
2025-09-11 10:49:26 -04:00
Vukašin Vojinović
066999586b
feat: add i18n support for libcosmic widgets 2025-09-05 18:50:25 +02:00
Vukašin Vojinović
ea349aca82 chore: use std::syncLazyLock
Also migrates workspace members to Rust 2024.
2025-09-03 21:54:46 +02:00
Vukašin Vojinović
b72b15d719 chore: update dependencies 2025-09-03 21:54:46 +02:00
Ashley Wulber
f5f7c14f03 chore: update cctk 2025-09-03 19:33:34 +02:00
Michael Aaron Murphy
e7b7c3a126 improv: enable dbus-config by default, but only for Linux targets 2025-08-20 17:31:26 +02:00
Friedrich
562e885872 Make ashpd optional for async-std feature 2025-08-06 09:15:00 -06:00
wiiznokes
5e136f9499
fix!(windows): remove desktop dependency for the about feature
BREAKING CHANGE: Icon must be provided as a handle instead of a string.
2025-07-28 16:33:22 +02:00
Ashley Wulber
00ba16fe01 refactor(menu): fallback behavior for non wayland windowing system 2025-06-12 10:21:45 -06:00
Michael Aaron Murphy
8edbbec1e8
fix!(desktop): support launching terminal-based desktop entries 2025-06-11 09:26:18 +02:00
Ian Douglas Scott
b61a7ebd5f
chore: update rfd and ashpd 2025-05-23 01:48:57 +02: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