Commit graph

5660 commits

Author SHA1 Message Date
Héctor
892ac1ce72
Merge pull request #2849 from iced-rs/pre-present-notify
Notify `window` before presentation
2025-03-18 18:40:13 +01:00
Héctor Ramón Jiménez
31b98ee3eb
Notify window before presentation 2025-03-18 18:29:19 +01:00
Héctor Ramón Jiménez
363b0e903a
Fix markdown code blocks when highlighter is disabled 2025-03-18 00:04:08 +01:00
Héctor
68b992962c
Merge pull request #2845 from edwloef/mouse-area-request-redraw
request redraw on mouse area hover change
2025-03-16 17:48:41 +01:00
edwloef
836507eca0
request redraw on mouse area hover change 2025-03-16 17:18:59 +01:00
Héctor
fd5ed0d0a6
Merge pull request #2836 from iced-rs/feature/justified-text
Introduce `text::Alignment` with `Justified` support
2025-03-11 03:05:11 +01:00
Héctor Ramón Jiménez
0253d9bee0
Remove open dependency for tour on Wasm 2025-03-11 02:51:05 +01:00
Héctor Ramón Jiménez
23cff08e46
Stop mentioning dodrio in tour example 2025-03-11 02:41:45 +01:00
Héctor Ramón Jiménez
1654c17808
Shorten some variable names in wgpu::text 2025-03-11 02:30:54 +01:00
Héctor Ramón Jiménez
0e4a392731
Introduce text::Alignment with Justified support 2025-03-11 02:30:50 +01:00
Héctor
e45d4b5cb6
Merge pull request #2835 from iced-rs/fix/text-alignment
Fix horizontal text alignment
2025-03-11 01:11:14 +01:00
Héctor Ramón Jiménez
2eb5770b1d
Add TODO to align function in text::paragraph 2025-03-11 00:58:15 +01:00
Héctor Ramón Jiménez
179a34d37b
Fix horizontal text alignment 2025-03-11 00:43:51 +01:00
Héctor
35c0e14452
Merge pull request #2834 from iced-rs/cosmic-text-0.13
Update `cosmic-text` to `0.13`
2025-03-10 21:21:26 +01:00
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