Commit graph

5646 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
201245a85d
Update cosmic-text to 0.13 2025-03-10 19:54:04 +01:00
Héctor
bae25b74f6
Merge pull request #2832 from codewing/feature/wgpu-24
Update `wgpu` to `24` and use `cryoglyph` fork
2025-03-09 01:57:25 +01:00
Héctor Ramón Jiménez
fb2544021a
Update wgpu to 24 and use cryoglyph fork
Co-authored-by: Winfried Baumann <codewing@web.de>
2025-03-09 01:38:34 +01:00
Héctor Ramón Jiménez
86e8494bfa
Reuse wgpu device in all benchmarks 2025-03-09 01:29:36 +01:00
Héctor Ramón Jiménez
f369bc86e2
Update Cargo.lock 2025-03-09 01:28:27 +01:00
Héctor
7e0d6a13fa
Merge pull request #2827 from ryco117/master
Relax Task::perform from Fn to more general FnOnce
2025-03-05 12:09:43 +01:00
Ryan Andersen
b9ebf45a03 Relax perform from Fn to more general FnOnce 2025-03-04 22:39:38 -08:00
Héctor Ramón Jiménez
beddf49c76
Improve contrast of light deviation in palette 2025-02-26 13:31:13 +01:00
Héctor Ramón Jiménez
cf2b28fd74
Free proxy slots unconditionally in AboutToWait 2025-02-26 13:28:03 +01:00
Héctor
34314b3f57
Merge pull request #2812 from andymandias/text_input-is_focused
`operation::focusable::is_focused` & `text_input::is_focused`
2025-02-23 07:34:30 +01:00
Héctor
fd1cfc05ea
Merge pull request #2811 from iced-rs/palette-tweaks
Tweak `Palette` Generation
2025-02-23 07:10:39 +01:00
Andrew Baldwin
7916a9c227 Nit fixes. 2025-02-21 20:39:59 -08:00
Andrew Baldwin
9cba92f57f Add is_focused function that produces an Operation to get the focused state of a focusable by ID.
Add `is_focused` function that produces a `Task` to get the focused state of a `text_input` by ID.
2025-02-21 18:56:41 -08:00
Héctor Ramón Jiménez
873311558f
Darken background of Dark theme 2025-02-22 02:29:57 +01:00
Héctor Ramón Jiménez
a216a0a04e
Improve readable fallback strategy in palette 2025-02-22 02:20:24 +01:00
Héctor Ramón Jiménez
9b79aa567a
Recreate todos snapshot test 2025-02-22 01:03:04 +01:00
Héctor Ramón Jiménez
412dfe0e60
Tweak colors of Light and Dark themes 2025-02-22 00:58:06 +01:00
Héctor Ramón Jiménez
954f49d4d7
Add weakest and strongest to Background palette
... and tweak background shade generation logic.
2025-02-22 00:34:55 +01:00
Héctor
f1ed99cb47
Merge pull request #2809 from iced-rs/rust-2024
Update to Rust 2024
2025-02-21 19:21:10 +01:00
Héctor Ramón Jiménez
800a73ddd7
Use new async || closure syntax 🎉 2025-02-21 02:01:42 +01:00
Héctor Ramón Jiménez
0f9934b1a7
Leverage new AsyncFn traits in stream module 2025-02-21 01:48:09 +01:00
Héctor Ramón Jiménez
c12beecd38
Remove unnecessary Future imports 2025-02-21 01:41:56 +01:00
Héctor Ramón Jiménez
33a39bc83a
Bump MSRV to 1.85 2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
7ca4e7c5ba
Simplify imports of clock example 2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
91af1c5ed6
Update all examples to Rust 2024 2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
28caeccf22
Fix new clippy lints 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
67e489e382
Update to Rust 2024 and fix compiler errors 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
81ca3d2a22
Fix broken links in Pop::delay documentation 2025-02-20 04:03:14 +01:00
Héctor Ramón Jiménez
ffc412d6b7
Implement delay for pop widget 🎉 2025-02-19 07:23:50 +01:00
Héctor Ramón Jiménez
42f6018487
Remove lifetime bound for Text in markdown::paragraph 2025-02-19 07:03:08 +01:00
Héctor Ramón Jiménez
51e44e036a
Add bounds argument to Component::operate 2025-02-18 04:50:08 +01:00
Héctor Ramón Jiménez
e594346544
Fix markdown compilation when highlighter feature is disabled 2025-02-18 04:42:14 +01:00
Héctor
d7563ee94a
Merge pull request #2780 from l4l/forked-wasmtimer
Use working wasmtimer for time::every
2025-02-16 22:40:57 +01:00
Héctor
d6848977bc
Merge pull request #2797 from AMS21/fix_2794
Fix system informations `cpu_brand` always being empty
2025-02-15 14:15:43 +01:00
Héctor Ramón Jiménez
8694eeb5c5
Use SI metrics for memory in system_information example 2025-02-15 14:06:10 +01:00
Héctor Ramón Jiménez
edb5a66c53
Update sysinfo to 0.33 2025-02-15 14:00:36 +01:00
Héctor Ramón Jiménez
7c54bdef10
Fix physical_bounds shadowing in wgpu render 2025-02-14 23:14:13 +01:00
Héctor Ramón Jiménez
7526d73ad3
Fix Component not diffing when its state is recreated 2025-02-14 19:53:11 +01:00
Héctor Ramón Jiménez
ba996f4b01
Fix outdated id mention in Subscription docs 2025-02-14 19:52:17 +01:00
Héctor Ramón Jiménez
cc8b326dfc
Fix priority of redraw requests in winit shell 2025-02-14 19:34:11 +01:00
Héctor
a2b36e6551
Merge pull request #2806 from rhysd/cache-preedit-spans
Fix updating spans cache for pre-edit content in window manager
2025-02-14 13:22:25 +01:00
rhysd
3fcc173c8e Fix updating spans cache for pre-edit content in window manager 2025-02-14 19:13:55 +09:00
Héctor
f889008e21
Merge pull request #2793 from rhysd/issue-2792
Fix the initial candidate window position
2025-02-13 05:19:32 +01:00
rhysd
89a4dc2ac2 Clear pre-edit window state when pre-edit content is None 2025-02-13 13:10:07 +09:00
Héctor Ramón Jiménez
88ffba4a3a
Simplify preedit overlay creation 2025-02-13 01:50:27 +01:00
Héctor Ramón Jiménez
f625297475
Fix request_input_method call in text_input 2025-02-12 23:17:48 +01:00
Héctor Ramón Jiménez
7979125ed7
Simplify InputMethod API with only two states
Co-authored-by: rhysd <lin90162@yahoo.co.jp>
Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
2025-02-12 08:46:35 +01:00
Héctor Ramón Jiménez
97f1db3783
Fix unneeded re-shaping during layout on text_input edit 2025-02-12 08:43:14 +01:00
Héctor
7c1123d6c9
Merge pull request #2790 from rhysd/adjust-preedit-size
Set correct text size for preedit window
2025-02-12 07:36:48 +01:00