Commit graph

506 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
eab723866e
Replace with function with Function trait 2025-02-11 10:36:45 +01:00
Héctor Ramón Jiménez
0c528be2ea
Introduce with helper and use sipper in gallery example 2025-02-11 03:41:29 +01:00
Héctor Ramón Jiménez
9f21eae152
Introduce Task::map_with 2025-02-11 02:34:10 +01:00
Héctor Ramón Jiménez
f37d068af5
Rewrite websocket example using sipper 2025-02-11 01:27:51 +01:00
Héctor Ramón Jiménez
54ffbbf043
Export sipper types in task module 2025-02-11 00:55:59 +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
a56c2f3d81
Enable animation module for Wasm target 2025-01-29 04:55:51 +01:00
Héctor Ramón Jiménez
8fd87f94eb
Make animation module only available in native 2025-01-27 05:32:18 +01:00
Héctor Ramón Jiménez
bf600a0811
Draft basic Animation API in iced_core 2025-01-27 02:50:51 +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
3a07c631ad
Implement time::repeat and simplify Subscription::run_with 2025-01-24 16:45:18 +01:00
Jos Ahrens
8078f5b08c
Bump image from 0.24 to 0.25 2025-01-14 11:45:19 +00: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
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
d09d5d45ae
Draft iced_test crate and test todos example 2024-12-10 04:51:08 +01: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
ddbb8445bf
Merge pull request #2587 from iced-rs/improve-api-reference
Add widget examples to API reference and update `README`
2024-09-19 06:59:05 +02:00
Héctor Ramón Jiménez
1ada297b08
Explain Action pattern a bit in The Pocket Guide 2024-09-18 22:08:43 +02:00
Héctor Ramón Jiménez
9e5afc54ce
Show Action pattern in The Pocket Guide 2024-09-18 22:00:40 +02:00
Héctor Ramón Jiménez
7f4a73e185
Implement executor method for Daemon 2024-09-18 21:47:36 +02:00
Héctor Ramón Jiménez
9306883618
Fix order of Program::theme implementation 2024-09-18 21:19:33 +02:00
Héctor Ramón Jiménez
d20ce8d82c
Import Executor directly from crate 2024-09-18 21:19:18 +02:00
mtkennerly
f9ee3229c1
Allow specifying a custom executor 2024-09-18 01:27:35 -04:00
Héctor Ramón Jiménez
8f33575719
Expose additional subscription types in advanced 2024-07-30 22:22:28 +02:00
Héctor Ramón Jiménez
f0036400a1
Remove unnecessary derive in "Scaling Applications" docs 2024-07-16 16:15:43 +02:00
Héctor Ramón Jiménez
964182e4b8
Fix grammar in "Passive Subscriptions" docs 2024-07-16 16:12:41 +02:00
Héctor Ramón Jiménez
eb6673bf00
Finish "The Pocket Guide" 2024-07-16 15:41:28 +02:00
Héctor Ramón Jiménez
143f4c86ca
Draft "The Pocket Guide" for the API reference 2024-07-16 01:14:26 +02:00
Héctor Ramón Jiménez
bdf0430880
Make run_with take a FnOnce 2024-07-15 13:34:22 +02:00
Héctor Ramón Jiménez
950bfc07d4
Export operate constructor in advanced::widget 2024-07-14 23:00:11 +02:00
Héctor Ramón Jiménez
fd0abe18d0
Implement application::Update for () 2024-07-14 22:51:52 +02:00
Héctor Ramón Jiménez
7c3341760d
Improve Padding ergonomics
We expose free functions for creating a `Padding`
and methods with the same name to modify its fields.
2024-07-12 18:43:25 +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
47f9554a82
Introduce Task::abortable 🎉 2024-07-10 14:44:54 +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
c9e0ed7ca4
Expose from_recipe and into_recipes in advanced::subscription 2024-07-05 02:22:56 +02:00
Héctor Ramón Jiménez
8bc49cd886
Hide Subscription internals
.. and introduce `stream::channel` helper
2024-07-05 02:16:45 +02:00
Héctor Ramón Jiménez
cbeda38f0d
Inline documentation for application and daemon functions 2024-06-20 18:50:03 +02:00
Héctor Ramón Jiménez
0785b334e7
Add window method to Application 2024-06-20 18:35:10 +02:00
ryankopf
3334cf670b feat: Add methods for window settings in Application
This commit adds new methods to the `Application` struct for setting various window settings such as resizable, decorations, position, and level. These methods allow for more customization and control over the appearance and behavior of the application window.
2024-06-20 00:40:37 -05: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
5d7dcf417c
Introduce subscription::Event
... and remove `PlatformSpecific` from `Event`
2024-06-11 19:41:05 +02:00
Héctor Ramón Jiménez
2645524f88
Update winit to 0.30 2024-05-07 16:07:56 +02:00
Héctor Ramón Jiménez
a57313b23e
Simplify image rotation API and its internals 2024-05-02 17:28:28 +02:00
Héctor Ramón Jiménez
09a6bcfffc
Add Image rotation support
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
2024-05-02 17:27:45 +02:00
JL710
f6c698b2dd
add missing derive(Debug) in lib.rs docs 2024-04-30 10:28:06 +02:00
saihaze
f3a2255f83 Fix typo 2024-04-19 14:53:38 +08:00