Commit graph

145 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
7ba2e39133
Update sipper and relax Send requirements 2025-02-09 21:05:42 +01:00
Héctor Ramón Jiménez
c8981d0096
Implement sipper support through Task::sip 🎉 2025-02-09 11:14:02 +01:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update 2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
db990b77e4
Add neutral None variant to InputMethod 2025-02-02 21:06:50 +01:00
Héctor Ramón Jiménez
ae10adda74
Refactor and simplify input_method API 2025-02-02 20:45:29 +01:00
KENZ
7db5256b72
Draft input_method support 2025-02-02 17:44:13 +01:00
Héctor Ramón Jiménez
61d4423015
Use simple quote in runtime::window docs 2025-01-16 11:21:11 +00:00
tsuza
e3f149d932
feat: add a window drag resize task 2025-01-16 11:17:00 +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
82ac0e7bf9
Rename window::resizable to window::set_resizable 2025-01-06 23:24:01 +01:00
Héctor Ramón Jiménez
91fd6d395f
Remove window::change_title since it's redundant
Applications can change title declaratively.
2025-01-06 23:20:51 +01:00
JL710
00b60d819b
window task for setting resize increments 2025-01-06 23:20:51 +01:00
JL710
f5f075e5cd
window resizable task 2025-01-06 23:20:51 +01:00
JL710
8ebbfa9767
window tasks for setting min and max size 2025-01-06 23:20:51 +01:00
JL710
ca8aaf9b8d
add Task and Action for changing a window title 2025-01-06 23:20:51 +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
6d50c62bc7
Honor clones of task::Handle with abort_on_drop 2024-11-22 01:51:00 +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
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
89c6654810
Fix Task::chain when chained task is Task::none 2024-10-04 16:48:46 +02:00
bbb651
7a86900a45 Fix various typos
Using https://github.com/crate-ci/typos
2024-09-29 16:37:35 +03:00
Tommy Volk
e9aa276a93 Fix documentation for open_events() 2024-09-20 15:57:09 -05:00
Héctor Ramón Jiménez
114f7dfa14
Add must_use attribute to Task 2024-09-19 23:17:09 +02:00
Héctor Ramón Jiménez
40ea3dabff
Bump version to 0.13.0 🎉 2024-09-18 02:38:49 +02:00
Héctor Ramón Jiménez
64ec099a9b
Add mouse passthrough tasks to window module
Co-authored-by: Jose Quesada <jquesada2016@fau.edu>
2024-09-05 11:13:37 +02:00
Héctor Ramón Jiménez
0dcec519be
Add get_scale_factor task to window module 2024-08-30 13:02:49 +02:00
Héctor Ramón Jiménez
8b45d620d0
Revert window::close producing a window::Id
Instead, subscribing to `window::close_events` is
preferable; since most use cases will want to react
to the user closing a window as well.
2024-08-12 05:50:22 +02:00
Héctor Ramón Jiménez
01aa84e41a
Make window::close return and introduce Task::discard 2024-08-12 05:12:42 +02:00
Héctor Ramón Jiménez
422568dee4
Introduce black_box and chain in widget::operation 2024-08-08 01:25:00 +02:00
Héctor Ramón Jiménez
fd593f8fb0
Return window::Id in window::open 2024-07-30 22:26:55 +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
a108b2eebe
Add resize_events subscription to window module 2024-07-13 12:53:06 +02:00
Héctor Ramón Jiménez
c1c9789720
Add abort_on_drop to task::Handle
You may not want to worry about aborting tasks manually.
2024-07-12 13:02:19 +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
8efe161e3d
Move docs of future and stream in Task 2024-07-10 14:24:52 +02:00
Héctor Ramón Jiménez
88611d7653
Hide internal Task constructors 2024-07-05 01:13:28 +02:00
Héctor Ramón Jiménez
2ac80f8e9c
Fix window::open_events subscribing to closed events
Fixes #2481.
2024-06-28 23:24:29 +02:00
Héctor Ramón Jiménez
b9eb86199a
Remove unnecessary Send bound in runtime::Action
This may fix compilation errors in older versions of Rust.
2024-06-21 21:30:23 +02:00
Héctor Ramón Jiménez
92e08c8f07
Add get_latest and get_oldest tasks in window 2024-06-20 01:13:09 +02:00
Héctor Ramón Jiménez
bdd30f7ab8
Introduce and_then methods for fallible Tasks 2024-06-20 01:11:21 +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
b5c5a016c4
Rename window::closings to window::close_events 2024-06-16 20:15:55 +02:00
Héctor Ramón Jiménez
ad2e4c535a
Fix Task::collect not producing the collected outputs 2024-06-15 01:16:26 +02:00
Héctor Ramón Jiménez
43033c7f83
Implement Task::collect 2024-06-15 00:43:51 +02:00
Héctor Ramón Jiménez
88b9384402
Use Task chaining to simplify multi_window example 2024-06-14 03:05:58 +02:00
Héctor Ramón Jiménez
4e7cbbf98a
Move Maybe* traits back to iced_futures 2024-06-14 01:57:49 +02:00
Héctor Ramón Jiménez
b328da2c71
Fix Send requirements for Wasm targets 2024-06-14 01:52:30 +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
e400f972c1
Introduce window::Id to Event subscriptions
And remove `window::Id` from `Event` altogether.
2024-06-10 22:03:46 +02:00