Commit graph

1260 commits

Author SHA1 Message Date
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
87165ccd29
Introduce LineEnding to editor and fix inconsistencies 2025-01-28 06:23:38 +01:00
Héctor Ramón Jiménez
cd445f758f
Display grid placeholder when loading gallery example 2025-01-28 03:25:18 +01:00
Héctor Ramón Jiménez
23d42d2827
Rename Animation::in_progress to is_animating 2025-01-28 03:04:31 +01:00
Héctor Ramón Jiménez
086b06553b
Remove unnecessary endpoint function in gallery example 2025-01-27 20:47:59 +01:00
Héctor Ramón Jiménez
e1ad0910f0
Change period to Week in gallery example 2025-01-27 20:46:47 +01:00
Héctor Ramón Jiménez
e2c52c9728
Implement AI gallery example 🎉
It displays the most popular daily images of Civitai!
2025-01-27 05:01:43 +01:00
Héctor Ramón Jiménez
ce07acf6fe
Make all Color constructors const 🎉 2025-01-27 01:09:16 +01:00
Héctor Ramón Jiménez
a22d96aae9
Implement support for vertical ProgressBar
Co-authored-by: MG_REX <49415741+ThisIsRex@users.noreply.github.com>
2025-01-24 21:41:18 +01:00
Héctor
5eedf5798c
Merge pull request #2747 from iced-rs/time-repeat-subscription
Implement `time::repeat` and simplify `Subscription::run_with`
2025-01-24 18:59:44 +01:00
Héctor Ramón Jiménez
3d893ae01b
Add Duration helpers to time module 2025-01-24 18:47:34 +01:00
Héctor Ramón Jiménez
f8337b8da7
Add helper functions for alignment to widget module 2025-01-24 15:55:24 +01:00
Will Lynas
31f53ecd69 Remove a useless cast 2025-01-16 15:49:35 +00:00
Héctor
2b920235b5
Merge pull request #2644 from kgday/master
Modified clock example to make the clock more readable.
2025-01-16 12:28:39 +00:00
Héctor Ramón Jiménez
d9a732994f
Simplify tick drawing logic in clock example 2025-01-16 12:18:23 +00:00
Héctor Ramón Jiménez
10e5362c04
Make numbers bigger and draw ticks in clock example 2025-01-16 12:07:41 +00: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
2b8b3fd413
Fix consistency of import ordering 2025-01-06 23:00:21 +01:00
Tommy Volk
0e8c3fe30f
chore: remove once_cell dependency 2025-01-06 22:56:48 +01:00
Héctor Ramón Jiménez
8fc57628a0
Showcase different button styles in styling example 2025-01-06 21:05:29 +01:00
Héctor Ramón Jiménez
e01fb00d3b
Fix missing warning field in color_palette example 2025-01-06 20:36:44 +01:00
Héctor Ramón Jiménez
e5545aaa57
Avoid dropping results in counter test 2024-12-17 04:35:28 +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
1e5c1ad2cb
Avoid using Message to drive logic in system_information example 2024-12-03 01:28:03 +01:00
Osma S. Rautila
334f5baa10
fix: add run_with(Example::new)
The example was not running the `update` method and was stuck on the loading screen (at least on macos). This fixes is on my system.
2024-12-03 01:28:03 +01:00
Héctor Ramón Jiménez
602661372c
Fix new clippy lints 2024-12-02 19:56:27 +01:00
Héctor Ramón Jiménez
a805177b25
Make pin widget Fill parent by default 2024-11-22 04:13:38 +01:00
Héctor Ramón Jiménez
5be1d545d0
Implement pin widget 2024-11-22 04:06:52 +01:00
Héctor Ramón Jiménez
6ccc828607
Use Task::run in download_progress example 2024-11-22 02:14:56 +01:00
Héctor Ramón Jiménez
e5f1e31a5c
Rename Overlay::on_event to update 2024-11-06 00:02:46 +01:00
Héctor Ramón Jiménez
920596ed6f
Implement reactive-rendering for canvas 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
f02bfc3f68
Rename Widget::on_event to update 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
dcc184b01b
Replace event::Status in Widget::on_event with Shell::capture_event 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
752403d70c
Split Shell::request_redraw into two different methods 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
5c33ce18ed
Draft reactive-rendering feature for button 2024-11-05 23:52:56 +01:00
Héctor Ramón Jiménez
ebc4e17ba8
Update wgpu to 23.0 2024-11-05 13:32:14 +01:00
Héctor Ramón Jiménez
f4d03870dd
Dismiss large-enum-variant lint 2024-10-22 03:01:24 +02:00
Kevin Day
ad34f03df4 Modified clock example to make the clock more readable. Added numbers on the clock face and took the portion of the hour passed into consideration for the hour hand. It now looks like a reasonable clock. 2024-10-19 16:12:38 +10:00