Commit graph

888 commits

Author SHA1 Message Date
36d66d7ef2 Merge remote-tracking branch 'upstream/master' into local/libcosmic-path-patch
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/menu.rs
#	src/text_box.rs
2026-08-19 21:59:53 +02:00
Jeremy Soller
0f725de5e6
Epoch 1.6.0 version update (#609)
Generated by cosmic-epoch scripts/version-update.sh
2026-08-18 15:25:10 -06:00
Jeremy Soller
1727fe3108 Epoch 1.6.0 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-08-18 14:14:57 -06:00
Jeremy Soller
98191e32c7
Better efficiency (fewer redraws) and context menu in input fields (#604)
Depends on 
- [x] https://github.com/pop-os/iced/pull/377
- [x] https://github.com/pop-os/libcosmic/pull/1382
- [x] https://github.com/pop-os/libcosmic/pull/1387
- [x] https://github.com/pop-os/cosmic-files/pull/1815



This pulls the changes in Iced and libcosmic that removes "redraw on any
message", which means moving the cursor doesn't automatically call a
redraw, widgets need to ask for it. I have found all places that
previously was working normally because we were redrawing almost
unconditionally. But it is possible that a custom widget somewhere still
isn't asking for a redraw explicitly when its state changes. So, for QA
I'd keep an eye on that.

For example I found that moving the cursor to middle of a word and
pressing delete doesn't redraw, because we only redraw if the cursor
changes position. Or pressing ctrl+a and then backspace doesn't redraw
for the same reason. Or double-click to select a text wasn't drawing the
selection. I have fixed those, but just examples for the QA team to
check.

Demo:


https://github.com/user-attachments/assets/5e5940a8-fd89-498a-8670-85d540fcaa72


___
- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
2026-08-18 14:14:43 -06:00
Hojjat
067e2e0441 chore: update libcosmic and cosmic-files 2026-08-18 07:26:03 -06:00
Michael Murphy
3f2c1af3fa
i18n: translation update from Hosted Weblate (#601) 2026-08-18 14:08:59 +02:00
Hosted Weblate
8b3cff1afd
i18n: translation updates from weblate
Co-authored-by: Andi Chandler <andi@gowling.com>
Co-authored-by: CodeBeats <nicholai67@hotmail.com>
Co-authored-by: Feike Donia <feikedonia@proton.me>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Co-authored-by: Martin Meizoso <martinmeizoso@gmail.com>
Co-authored-by: Michael Millet <mikevlet@protonmail.com>
Co-authored-by: Prasanta-Hembram <Prasantahembram720@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Sproston <ojspr2007@gmail.com>
Co-authored-by: Steen Rabol <steen@rabol.dev>
Co-authored-by: Walter William Beckerleg Bruckman <spayk.99@protonmail.com>
Co-authored-by: Wilbur Lindqvist <william@willmantrade.com>
Co-authored-by: lucamosca1 <luca.moscato@gmail.com>
Co-authored-by: sicKat <giuseppecatillo2003@gmail.com>
Co-authored-by: therealmate <hellogaming91@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/da/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/en_GB/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/fi/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/gl/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/it/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/oc/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/sat/
Translation: Pop OS/COSMIC Edit
2026-08-17 06:51:31 +00:00
Hojjat
aad6c21ab4 fix: request redraw when editor needs to redraw
chore: update libcosmic

fix: redraw when deleting text where cursor doesn't move

editor only redraws if the action causes the cursor to move.
ctrl+a+backspace or presseing delete doesn't move the cursor.
2026-08-10 10:26:54 -06:00
542d943211 chore: normalize the libcosmic-yoda dependency idiom
Key the local libcosmic fork as `cosmic` with `package =
"libcosmic-yoda"` rather than keying it by package name, so every repo
in the local stack declares it the same way. The extern name stays
`cosmic` either way, so no source change is needed; the feature strings
move with the key.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-31 12:14:30 +02:00
Jeremy Soller
4ac0da3af9
Epoch 1.5.0 version update (#600)
Generated by cosmic-epoch scripts/version-update.sh
2026-07-28 18:04:45 -06:00
Jeremy Soller
97d310a94c Epoch 1.5.0 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-07-28 09:14:00 -06:00
Michael Murphy
dec809369a
i18n: translation update from Hosted Weblate (#582)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Edit](https://hosted.weblate.org/projects/pop-os/cosmic-edit/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-edit/horizontal-auto.svg)
2026-07-28 16:46:09 +02:00
Hosted Weblate
94b1e6cfa9
i18n: translation updates from weblate
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Aman Alam <aalam@users.noreply.hosted.weblate.org>
Co-authored-by: Aman Shaw <shaw4m4n@netc.fr>
Co-authored-by: Arve Eriksson <arve.eriksson@startmail.com>
Co-authored-by: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
Co-authored-by: CYAXXX <85353920+CYAXXX@users.noreply.github.com>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jim Spentzos <jimspentzos2000@gmail.com>
Co-authored-by: Kartik Nayak <65574961+kodebarista@users.noreply.github.com>
Co-authored-by: Prasanta-Hembram <Prasantahembram720@gmail.com>
Co-authored-by: VandaL <vandalhj@gmail.com>
Co-authored-by: Vilius Paliokas <viliuspaliokas@gmail.com>
Co-authored-by: Zahid Rizky Fakhri <zahidrizkyfakhri@gmail.com>
Co-authored-by: jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>
Co-authored-by: lorduskordus <lorduskordus@gmail.com>
Co-authored-by: taijuin Lee <taijuin@gmail.com>
Co-authored-by: therealmate <hellogaming91@gmail.com>
Co-authored-by: Димко <Dymkovych@proton.me>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/ar/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/ca/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/cs/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/de/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/el/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/hi/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/kmr/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/lt/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/pa/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/pl/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/ru/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/sat/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/sv/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/zh_Hant/
Translation: Pop OS/COSMIC Edit
2026-07-28 06:02:06 +00:00
39a4e4beec chore: bump version to 1.3.0 2026-07-22 15:56:59 +02:00
Jeremy Soller
a3d4920285
Merge pull request #597 from pop-os/epoch-update
Epoch 1.4.0 version update
2026-07-20 18:07:47 -06:00
Jeremy Soller
e11896dac2 Epoch 1.4.0 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-07-20 14:35:58 -06:00
Jeremy Soller
60c38e818a Epoch 1.3.0 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-07-13 08:31:18 -06:00
Ashley Wulber
34eecb7dcd chore: update libcosmic 2026-07-10 01:29:44 +02:00
Jeremy Soller
2cbbf48e70
Merge pull request #590 from pop-os/theme-v2
Theme v2
2026-07-07 14:12:59 -06:00
Ashley Wulber
9c927e040d chore: update deps 2026-07-07 11:47:15 -04:00
Ashley Wulber
171de79535 chore: frosted glass 2026-07-06 09:34:42 -04:00
c3bd3782da yoda: unify cosmic-text via patch.crates-io + lockfile post-1.2.0 rebase
Leyoda 2026 – GPLv3
2026-07-03 15:11:11 +02:00
30b334693f fix: adapt to cosmic-theme background(transparent) accessor
Leyoda 2026 – GPLv3
2026-07-03 15:02:11 +02:00
00e4487038 chore: align about license metadata 2026-07-03 15:01:39 +02:00
cc2c274538 chore: align editor with local files stack 2026-07-03 15:01:21 +02:00
229b92c507 yoda: relocate local fork paths from ~/Devels to ~/Projets/COSMIC
Mise à jour des path= absolus (window_clipboard, dnd, mime, cosmic-text)
après consolidation des forks cosmic-* sous ~/Projets/COSMIC/.

Leyoda 2026 – GPLv3
2026-07-03 15:01:21 +02:00
cde36b1a5f yoda wayland-v5: redirect window_clipboard + cosmic-text to local forks
Propagates the [patch] blocks added in cosmic-yoterm v5 to keep the
whole yoda app family on a single Wayland-only stack. Without these,
iced_winit fails to select a window_clipboard version because our
fork exposes a `wayland` feature that upstream doesn't.

- window_clipboard → /home/lionel/Devels/window_clipboard (x11 gated
  behind opt-in feature)
- cosmic-text → /home/lionel/Devels/cosmic-text (EAW terminal_cells +
  upstream PR#503 applied)
2026-07-03 15:01:21 +02:00
6effc415e1 yoda: rewire onto libcosmic-yoda + leyoda/cosmic-files paths
- libcosmic git dep replaced by libcosmic-yoda = { path = ../libcosmic }
- cosmic-files git dep replaced by path = ../cosmic-files (leyoda fork)
- winit feature dropped from libcosmic-yoda deps, wayland added
- feature refs libcosmic/* -> libcosmic-yoda/*
- [patch] block for pop-os/libcosmic removed

Installed at /usr/bin/cosmic-edit. Pre-yoda binary kept as
/usr/bin/cosmic-edit.pre-yoda-fork.
2026-07-03 15:01:21 +02:00
Votre Nom
2600c6d38a Cargo.toml: patch libcosmic via local path for dev builds
Activates the [patch.'https://github.com/pop-os/libcosmic'] override
pointing at ../libcosmic, enabling local development against a
patched libcosmic checkout (e.g. to pick up
WindowControlsPosition / macOS-style window controls).

This branch is intentionally dev-local: do NOT merge upstream.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-07-03 15:01:06 +02:00
Nathan Rowe
dfcef22632 Save file to recents on save 2026-06-30 15:58:35 -04:00
Jeremy Soller
495f52cd5b Epoch 1.2.0 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-06-30 13:37:33 -06:00
Hojjat
eae9127fbe fix: add alt_clipboard bindings 2026-06-25 14:06:11 +02:00
Jeremy Soller
6ce200c84b Epoch 1.1.0 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-06-23 10:24:19 -06:00
Michael Aaron Murphy
b6627523f9 fix: add application/x-zerosize mime type association 2026-06-17 19:08:10 -04:00
Jeremy Soller
00a76ee709 Epoch 1.0.16 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-06-09 11:29:30 -06:00
Jeremy Soller
bf217ab250 Epoch 1.0.15 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-06-02 11:46:28 -06:00
Hojjat Abdollahi
a56297f855
fix(libcosmic): fix item highlight in wayland context menu 2026-05-28 23:11:52 +02:00
Ashley Wulber
2db1c80078 fix: update cosmic-files 2026-05-26 13:48:13 -06:00
Jeremy Soller
4edfc6aa8e
Merge pull request #573 from pop-os/epoch-update
Epoch 1.0.14 version update
2026-05-26 13:07:40 -06:00
Ashley Wulber
12cee06253 fix: libcosmic updates 2026-05-26 14:15:00 -04:00
Jeremy Soller
4b231042e7
Merge pull request #572 from weblate/weblate-pop-os-cosmic-edit
i18n: translation update from Hosted Weblate
2026-05-26 09:12:36 -06:00
Jeremy Soller
aadff7540e Epoch 1.0.14 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-05-26 08:30:47 -06:00
Hosted Weblate
2efddc1833
i18n: translation updates from weblate
Co-authored-by: therealmate <hellogaming91@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/hu/
Translation: Pop OS/COSMIC Edit
2026-05-26 01:11:34 +02:00
Jeremy Soller
7bbe82ec3f Epoch 1.0.13 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-05-12 12:09:43 -06:00
Jeremy Soller
448da77cd5
Merge pull request #565 from weblate/weblate-pop-os-cosmic-edit
i18n: translation update from Hosted Weblate
2026-05-12 09:41:41 -06:00
Levi Portenier
d123bc0a51
Merge pull request #566 from pop-os/epoch-update
Epoch 1.0.12 version update
2026-05-05 14:57:43 -06:00
Jeremy Soller
2a60283f14 Epoch 1.0.12 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-05-05 13:21:26 -06:00
Hosted Weblate
7de9ba756c
i18n: translation updates from weblate
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: BoneNI <bounkirdni@gmail.com>
Co-authored-by: Feike Donia <feikedonia@proton.me>
Co-authored-by: Filippos Papadopoulos <filippospap.developer@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jim Spentzos <jimspentzos2000@gmail.com>
Co-authored-by: Konstantinos <kostas.lampropoulos94@gmail.com>
Co-authored-by: Nara Díaz Viñolas <nara.diaz.vinolas@gmail.com>
Co-authored-by: Tadas Misiūnas <tadujo@gmail.com>
Co-authored-by: Vilius Paliokas <viliuspaliokas@gmail.com>
Co-authored-by: Марко М. Костић <marko.m.kostic@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/ca/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/el/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/lt/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-edit/sr/
Translation: Pop OS/COSMIC Edit
2026-05-03 01:52:13 +02:00
KENZ
4c53d607f7
feat(ime): minimal IME support for the text_box widget (#539)
* Support CJK input method

* Fix the input method window occasionally jumps around

Use the previous caret(text cursor) position to place the input method
window when the position is not available

* refactor: Omit calling request_input_method() if doesn't focus

- iced UserInterface.update() starts with InputMethod::Disabled state,
  and merges any input_method_request() which is InputMethod::Enabled in
  widgets tree traversal.
- We don't enable the input method feature if the widget doesn't have
  focus, we can safely omit request_input_method() call itself.
2026-04-27 16:05:22 -06:00
Jeremy Soller
5f96f6191b Epoch 1.0.11 version update
Generated by cosmic-epoch scripts/version-update.sh
2026-04-14 15:44:08 -06:00