Commit graph

1787 commits

Author SHA1 Message Date
Cheong Lau
bd438a8581 perf: reduce memory allocations
This also changes `widget::column::with_children` and
`widget::row::with_children` to take an `impl IntoIterator` instead
of a `Vec`, like the `iced` variants of these functions do.

This shouldn't be a breaking change since passing in a `Vec` will still
compile and function exactly as before.

(Using `iced::widget::Column::from_vec` or
`iced::widget::Row::from_vec` isn't possible, since the elements of the
`Vec` aren't checked, so the size of the resulting `Column` or `Row`
won't adapt to the size of its children. Perhaps a new function could
be added to mirror `iced`'s?)
2025-10-22 04:30:57 +02:00
Ashley Wulber
840ef21e4d fix(dnd_destination): Don't capture leave events 2025-10-22 04:29:04 +02:00
Ashley Wulber
2e87bd7c41 fix(segmented_button): ensure modifier state exact match for tab 2025-10-21 19:29:48 +02:00
Eduardo Flores
f2e965c76c fix: dialog body overflows 2025-10-20 13:53:58 -06:00
Ashley Wulber
529eeebaeb fix: avoid focus effects if already focused 2025-10-20 11:58:40 -04:00
Ian Douglas Scott
76c1897d4d Update iced for input_zone change
https://github.com/pop-os/iced/pull/241
2025-10-17 12:06:47 -07:00
Michael Aaron Murphy
f44d82a7e8
fix(spin_buttton): change text style to body 2025-10-14 16:28:43 +02:00
Hosted Weblate
cd3e9c1493 i18n: translation updates from weblate
Co-authored-by: Aleksandar Anžel <44969003+AAnzel@users.noreply.github.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: sicKat <giuseppecatillo2003@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/it/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/sr_Cyrl/
Translation: Pop OS/libcosmic
2025-10-14 06:56:10 -06:00
Hosted Weblate
483fb2cdd1 i18n: translation updates from weblate
Co-authored-by: Feike Donia <feikedonia@proton.me>
Co-authored-by: Guðmundur Erlingsson <gudmundure@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Stepan Denysenko <stepden04@gmail.com>
Co-authored-by: Ziad El-sayed <ziadelsayed1797@tutamail.com>
Co-authored-by: oddib <oddbjorn.mr@hotmail.no>
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/ar/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/is/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/nl/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/nn/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/uk/
Translation: Pop OS/libcosmic
2025-10-12 10:31:24 -06:00
Ian Douglas Scott
d82e6a167c Update iced
Update iced with https://github.com/pop-os/iced/pull/244.
2025-10-09 12:17:12 -07:00
Hosted Weblate
804250af64 i18n: translation updates from weblate
Co-authored-by: Feike Donia <feikedonia@proton.me>
Co-authored-by: Guðmundur Erlingsson <gudmundure@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Stepan Denysenko <stepden04@gmail.com>
Co-authored-by: oddib <oddbjorn.mr@hotmail.no>
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/is/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/nl/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/nn/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/uk/
Translation: Pop OS/libcosmic
2025-10-09 08:32:25 -06:00
Ashley Wulber
a929829521 fix(color picker): avoid 0 in color picker slider value 2025-10-09 05:28:10 +02:00
Ashley Wulber
f17cd2928a fix: forward events to trailing element regardless of cursor position 2025-10-09 05:28:10 +02:00
Weblate (bot)
2dda96c07f
i18n: translation update from Hosted Weblate (#1008)
* i18n: translation updates from weblate

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Aliaksandr Truš <evils.mail@gmail.com>
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Guðmundur Erlingsson <gudmundure@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ignacio Viggiani <ign.v@hotmail.com>
Co-authored-by: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org>
Co-authored-by: Yago Raña Gayoso <yago.rana.gayoso@gmail.com>
Co-authored-by: mikenu <mikenu-jp@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/be/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/es/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/et/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/ga/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/ja/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/ru/
Translation: Pop OS/libcosmic

* i18n: adding translation for Norwegian Nynorsk

---------

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Aliaksandr Truš <evils.mail@gmail.com>
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Guðmundur Erlingsson <gudmundure@gmail.com>
Co-authored-by: Ignacio Viggiani <ign.v@hotmail.com>
Co-authored-by: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org>
Co-authored-by: Yago Raña Gayoso <yago.rana.gayoso@gmail.com>
Co-authored-by: mikenu <mikenu-jp@users.noreply.hosted.weblate.org>
Co-authored-by: oddib <oddbjorn.mr@hotmail.no>
Co-authored-by: Jeremy Soller <jackpot51@gmail.com>
2025-10-07 15:30:29 -06:00
Ashley Wulber
d40e9fa4e4 fix: support NotShowIn 2025-10-07 21:59:45 +02:00
Ashley Wulber
dc4e0edd73 fix(input): drag threshold 2025-10-07 19:43:26 +02:00
Hosted Weblate
4d4f754318 i18n: translation updates from weblate
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Aliaksandr Truš <evils.mail@gmail.com>
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org>
Co-authored-by: Yago Raña Gayoso <yago.rana.gayoso@gmail.com>
Co-authored-by: mikenu <mikenu-jp@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/be/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/es/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/et/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/ga/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/ja/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/ru/
Translation: Pop OS/libcosmic
2025-10-07 17:17:54 +02:00
Ashley Wulber
4c4eddb50c fix: use is_maximized 2025-10-06 12:58:46 -06:00
Cheong Lau
a27bb5e05d chore: apply clippy suggestions 2025-10-05 04:40:51 +02:00
Ashley Wulber
34f55d6720 fix: surface cleanup 2025-10-03 18:02:44 -04:00
Vukašin Vojinović
ad1672b881 fix: window corner handling 2025-10-03 14:28:34 -04:00
Vukašin Vojinović
5cd7742413 chore(about): styling fixes
Also reduces code duplication a bit.
2025-10-03 18:18:16 +02:00
Ashley Wulber
0059fe182b refactor: set sharp corner window radius to 0 instead of unsetting 2025-10-03 18:15:27 +02:00
Hosted Weblate
6c5b799b34 i18n: translation updates from weblate
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/ga/
Translation: Pop OS/libcosmic
2025-10-02 10:27:06 -06:00
grant-wilson
cc8e5ebdea Fix typo in README dependencies section 2025-10-02 09:00:45 -06:00
Hosted Weblate
1c83be9d1c i18n: translation updates from weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org>
Co-authored-by: Walter William Beckerleg Bruckman <spayk.99@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/es_419/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/et/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/pt/
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/zh_Hans/
Translation: Pop OS/libcosmic
2025-10-01 14:20:33 -06:00
Walter William Beckerleg Bruckman
aeafe447e3 i18n: adding translation for Chinese (Simplified Han script) 2025-10-01 08:33:43 -06:00
Walter William Beckerleg Bruckman
5092d19861 i18n(es-419): update translations from Weblate
Currently translated at 100.0% (8 of 8 strings)

Translation: Pop OS/libcosmic
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/es_419/
2025-10-01 08:33:43 -06:00
Walter William Beckerleg Bruckman
511fe02624 i18n: adding translation for Spanish (Latin America) 2025-10-01 08:33:43 -06:00
Priit Jõerüüt
432e43d258 i18n(et): update translations from Weblate
Currently translated at 87.5% (7 of 8 strings)

Translation: Pop OS/libcosmic
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/et/
2025-10-01 08:33:43 -06: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
Priit Jõerüüt
ee84ad958f Added translation using Weblate (Estonian) 2025-09-30 16:15:17 -04:00
Mattias Eriksson
59e480a4c6 Translated using Weblate (Swedish)
Currently translated at 100.0% (8 of 8 strings)

Translation: Pop OS/libcosmic
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/sv/
2025-09-30 16:15:17 -04:00
Mattias Eriksson
f097b643b3 Added translation using Weblate (Swedish) 2025-09-30 16:15:17 -04:00
oddib
0ca7a99c9f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (8 of 8 strings)

Translation: Pop OS/libcosmic
Translate-URL: https://hosted.weblate.org/projects/pop-os/libcosmic/nb_NO/
2025-09-30 16:15:17 -04:00
oddib
00b4a8a9f5 Added translation using Weblate (Norwegian Bokmål) 2025-09-30 16:15:17 -04: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
03f07d2f1e fix: sharp corners & window state handling 2025-09-30 10:59:51 -04:00
Ashley Wulber
27f591e5aa fix(corner-radius): fix radius from array to match iced and better respect sharp corners 2025-09-30 10:59:51 -04:00
Ashley Wulber
ab41b83cd8 cargo fmt 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
rdsq
43314e3e6a add eo and uk 2025-09-29 12:36:20 -06:00
UchiWerfer
12014b683a i18n(de): add German translations 2025-09-29 12:35:19 -06:00
lorduskordus
ad70236a58 i18n(cs): Add Czech translation 2025-09-29 12:34:39 -06:00
twlvnn kraftwerk
9ccade723a i18n(bg): added bulgarian translation 2025-09-22 08:31:47 -06:00
VandaLHJ
47daaab610 Delete i18n/libcosmic.ftl PL
wrong location
2025-09-21 06:43:41 -06:00
VandaLHJ
f1998afff9 Create libcosmic.ftl PL initial translation
This time in correct location
2025-09-21 06:43:41 -06:00
VandaLHJ
4a29788199 Create libcosmic.ftl PL initial translation
Initial translation, i hope it's good enough.
2025-09-21 06:43:41 -06:00