Commit graph

122 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
3f67044977
Merge branch 'master' into beacon 2025-04-05 18:20:31 +02:00
Héctor Ramón Jiménez
15530cd57d
Enable fs feature for tokio in todos example 2025-04-02 11:53:48 +02:00
Héctor Ramón Jiménez
91996372cb
Remove async-std support (RIP) 2025-04-02 11:10:23 +02:00
Héctor Ramón Jiménez
e060129951
Merge branch 'master' into beacon 2025-04-01 02:18:20 +02:00
Héctor Ramón Jiménez
5e5c7c85ad
Append renderer name to iced_test snapshots 2025-03-24 20:22:17 +01:00
Héctor Ramón Jiménez
576dd22733
Split local state from Engine in iced_wgpu 2025-03-24 20:22:15 +01:00
Héctor Ramón Jiménez
fd1101bd5f
Unify Program definition in iced_program subcrate 2025-03-12 02:10:42 +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 Ramón Jiménez
873311558f
Darken background of Dark theme 2025-02-22 02:29:57 +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
91af1c5ed6
Update all examples to Rust 2024 2025-02-21 01:37: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 Ramón Jiménez
eab723866e
Replace with function with Function trait 2025-02-11 10:36:45 +01:00
Kitsu
6a584af141 Use working wasmtimer for time::every 2025-02-02 22:44:05 -03:00
rhysd
f51ce47f37 Replace unmaintained directories-next crate with directories crate
[`directories-next`][1] crate is no longer maintained and
[`directories`][2] crate is still maintained. `directories-next`
had been forked from `directories` but it died because the original
`directories` crate revived the maintenance.

[1]: https://crates.io/crates/directories-next
[2]: https://crates.io/crates/directories
2025-01-29 00:45:14 +09:00
Héctor Ramón Jiménez
f8337b8da7
Add helper functions for alignment to widget module 2025-01-24 15:55:24 +01:00
Héctor Ramón Jiménez
5b70754809
Rename window::change_* tasks to set_* 2025-01-06 23:25:57 +01:00
Héctor Ramón Jiménez
5220a064c5
Write documentation for iced_test 2024-12-17 04:13:19 +01:00
Héctor Ramón Jiménez
41a822c6fb
Use proper hash for creates_a_new_task snapshot 2024-12-17 03:03:07 +01:00
Héctor Ramón Jiménez
2f98a7e203
Append env::consts::OS to snapshot filenames 2024-12-17 02:17:07 +01:00
Héctor Ramón Jiménez
0ad40d0338
Reduce size of Simulator in todos test 2024-12-17 01:53:39 +01:00
Héctor Ramón Jiménez
869b44db4e
Implement Simulator::simulate and polish naming 2024-12-17 01:37:00 +01:00
Héctor Ramón Jiménez
2cf4abf25b
Support custom renderers in iced_test through renderer::Headless trait 2024-12-14 03:49:24 +01:00
Héctor Ramón Jiménez
6572909ab5
Embed and use Fira Sans as default font when testing 2024-12-12 03:15:32 +01:00
Héctor Ramón Jiménez
7683bd201f
Stop tracking todos snapshot hash file
Font selection is platform-dependent.
2024-12-10 05:10:04 +01:00
Héctor Ramón Jiménez
9bc29e5347
Add explicit 'static in todos for Rust 1.80 2024-12-10 05:01:11 +01:00
Héctor Ramón Jiménez
1713ac49f2
Decouple iced_test from iced crate 2024-12-10 04:56:37 +01:00
Héctor Ramón Jiménez
1aeb317f2d
Add image and hash snapshot-based testing to iced_test 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
8e3636d769
Return Result in todos test 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
d09d5d45ae
Draft iced_test crate and test todos example 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
1448c5bfa5
Implement some From traits for text_input::Id 2024-09-18 20:30:14 +02:00
Shan
6c741923c6
Implement align_x for TextInput
Co-authored-by: Shan <shankern@protonmail.com>
2024-08-24 02:36:18 +02:00
Héctor Ramón Jiménez
76737351ea
Re-export variants of Length and alignment types 2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets 2024-07-12 15:14:43 +02:00
Héctor Ramón Jiménez
e86920be5b
Remove load method from application and daemon
If you need to run a `Task` during boot, use
`run_with` instead!
2024-07-09 00:28:40 +02:00
Héctor Ramón Jiménez
c5f4bebeda
Remove window::Id::MAIN constant 2024-06-20 01:13:42 +02:00
Héctor Ramón Jiménez
341c9a3c12
Introduce daemon API and unify shell runtimes 2024-06-19 01:53:40 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support 2024-06-14 01:47:39 +02:00
Héctor Ramón Jiménez
d8ba6b0673
Merge branch 'master' into feat/text-macro 2024-05-23 13:29:45 +02:00
Héctor Ramón Jiménez
05f69f495e
Ask for explicit Length in center_* methods 2024-05-13 17:56:02 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.

This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00
Richard Custodio
bf9bbf4a3e
refactor: replace text(format!( with text macro 2024-03-18 17:08:56 -03:00
Héctor Ramón Jiménez
c4be7efce5
Use Program API in game_of_life example 2024-03-17 18:06:37 +01:00
Héctor Ramón Jiménez
2eb3333623
Remove unnecessary Command::batch in todos example 2024-03-17 17:58:52 +01:00
Héctor Ramón Jiménez
784fa80c0d
Use Program API in todos example 2024-03-17 17:57:24 +01:00
Héctor Ramón Jiménez
44f002f64a
Rename positive and destructive to success and danger in button 2024-03-07 15:21:42 +01:00
Héctor Ramón Jiménez
87d16a090b
Reduce default size of checkbox to 15.0 2024-03-05 22:03:10 +01:00
Héctor Ramón Jiménez
f4a4845ddb
Simplify theming for Button widget 2024-03-04 20:42:37 +01:00
Héctor Ramón Jiménez
4130ae4be9
Simplify theming for Text widget 2024-03-04 19:32:13 +01:00
Héctor Ramón Jiménez
e14e8e2e9a
Fix new beta toolchain warnings 2024-02-05 00:51:51 +01:00