Commit graph

1294 commits

Author SHA1 Message Date
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
Héctor
4a080e27ab
Merge pull request #2606 from tvolk131/qr_code_fixed_size
feat: set total size of QRCode
2024-10-02 17:23:33 +02:00
Héctor Ramón Jiménez
a1e2bd22ec
Simplify total size logic in qr_code example 2024-10-02 17:14:00 +02:00
Tommy Volk
8028a0ddce fix: circular progress no longer skips 2024-09-29 22:17:30 -05:00
Tommy Volk
a949e59f3e feat: set total size of QRCode 2024-09-24 20:57:53 -05:00
Héctor Ramón Jiménez
1383c6a4f7
Fix flex layout of Fill elements in a Shrink cross axis
Instead of collapsing, the `Fill` elements will fill the
cross space allocated by the other `Shrink` elements present
in the container.
2024-09-21 21:14:54 +02:00
Héctor Ramón Jiménez
91c00e4abf
Move wgpu re-export to root module
This seems to fix a `cargo doc` performance issue;
and it makes more sense anyways.
2024-09-20 18:37:17 +02:00
Héctor Ramón Jiménez
a5e69cfb5f
Update wgpu to 22.0 2024-09-20 00:14:47 +02:00
Héctor Ramón Jiménez
aed9a03e3c
Update wgpu to 0.20.1 2024-09-20 00:14:46 +02:00
Héctor Ramón Jiménez
1448c5bfa5
Implement some From traits for text_input::Id 2024-09-18 20:30:14 +02:00
Héctor Ramón Jiménez
7f5b6261c6
Fix unnecessary to_string call in changelog tool 2024-09-18 02:32:05 +02:00
Héctor Ramón Jiménez
0f2cd1108b
Enable image feature in custom_shader example 2024-09-18 02:26:30 +02:00
Héctor Ramón Jiménez
ce5834979c
Fix deserialization of PullRequest with empty body in changelog tool 2024-09-18 02:26:01 +02:00
Héctor Ramón Jiménez
e36e042093
Fix Changed entries considered as Added in changelog tool 2024-09-18 02:24:56 +02:00
Héctor Ramón Jiménez
b3a365f9ca
Fix Changelog::parse when multiple # present in entry 2024-09-18 02:24:22 +02:00
Héctor Ramón Jiménez
ddcf9262f5
Fix duplicated contributions in changelog tool 2024-09-18 02:22:52 +02:00
Héctor Ramón Jiménez
4c9223c1cb
Add tracing-subscriber to changelog tool 2024-09-18 02:22:09 +02:00