Commit graph

1323 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
a6e64eac6f
Animate image fade in in markdown example 2025-02-04 19:57:51 +01:00
Héctor Ramón Jiménez
24cf355e96
Fix documentation of markdown and rich_text 2025-02-04 19:07:24 +01:00
Héctor Ramón Jiménez
5655998761
Draft Viewer trait for markdown 2025-02-04 07:53:56 +01:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update 2025-02-04 01:26:59 +01:00
Kitsu
6a584af141 Use working wasmtimer for time::every 2025-02-02 22:44:05 -03:00
Héctor Ramón Jiménez
569ef13ac9
Fix broken references when parsing markdown streams 2025-02-02 04:01:57 +01:00
Héctor Ramón Jiménez
e78d7f0e51
Add on_resize handler to pop widget 🎉 2025-02-02 01:48:42 +01:00
Héctor Ramón Jiménez
095859ed57
Add new constructor for markdown::Content 2025-01-31 20:50:07 +01:00
Héctor Ramón Jiménez
4b8fc23840
Implement markdown incremental code highlighting 2025-01-31 20:37:07 +01:00
Héctor Ramón Jiménez
128058ea94
Draft incremental markdown parsing
Specially useful when dealing with long Markdown
streams, like LLMs.
2025-01-31 17:35:38 +01: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
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