Commit graph

127 commits

Author SHA1 Message Date
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
3a07c631ad
Implement time::repeat and simplify Subscription::run_with 2025-01-24 16:45:18 +01: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
ad74e4c69d
Improve imports of Subscription::run doc example 2024-09-18 22:13: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
555ee3e9c6
Fix lints for Rust 1.80 2024-07-26 11:01:33 +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
4ce2a207a6
Introduce stream::try_channel helper 2024-07-11 04:08:40 +02:00
Héctor Ramón Jiménez
23d9497e7f
Allow future in stream::channel to return 2024-07-08 01:13:22 +02:00
Héctor Ramón Jiménez
0cf096273a
Fix wasm_bindgen backend in iced_futures 2024-07-05 02:19:17 +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
2b19471d1c
Simplify subscription::channel example 2024-07-02 19:01:40 +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
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
e400f972c1
Introduce window::Id to Event subscriptions
And remove `window::Id` from `Event` altogether.
2024-06-10 22:03:46 +02:00
Héctor Ramón Jiménez
e8ec6b94b6
Use Skip as the MissedTickBehavior for tokio futures backend 2024-04-16 20:22:57 +02:00
Héctor Ramón Jiménez
5cd98f069d
Use built-in [lints] table in Cargo.toml 2024-04-07 12:42:12 +02:00
Héctor Ramón Jiménez
b40db569a2
Fix wasm_bindgen backend in iced_futures 2024-04-01 12:02:14 +02:00
Héctor Ramón Jiménez
f5bcfec821
Use rustc-hash for most of our HashMap and HashSet instances 2024-04-01 12:00:15 +02:00
Héctor Ramón Jiménez
ecf42b97df
Fix block_on in iced_wgpu hanging Wasm builds 2024-03-07 23:25:24 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch 2024-02-15 03:22:53 +01:00
Héctor Ramón Jiménez
2fb271a976
Remove redundant id field in subscription::Map 2024-02-05 21:39:03 +01:00
Héctor Ramón Jiménez
2470a3fb40
Assert closure provided to Subscription::map is non-capturing 2024-02-05 21:34:35 +01:00
Héctor Ramón Jiménez
f39a5fd895
Use TypeId to identify subscription::Map 2024-02-05 00:52:16 +01:00
Héctor Ramón Jiménez
bdb8f4966e
Fix grammar in iced_futures::maybe module 2024-01-18 11:22:06 +01:00
Héctor Ramón Jiménez
cba56ea768
Fix typo Send -> Sync 2024-01-18 11:02:53 +01:00
Héctor Ramón Jiménez
8bf2386972
Remove Compositor window generic
And update `glyphon` and `window_clipboard`
2024-01-18 09:55:27 +01:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location 2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
e819c2390b
Update winit to 0.29.4 2023-12-15 13:39:00 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support 2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
3b7d479534
Implement Command::run for executing a Stream to completion 2023-11-29 00:12:48 +01:00
Héctor Ramón Jiménez
f137d71e8f
Centralize clippy lints in .cargo/config.toml 2023-09-20 16:40:03 +02:00
Héctor Ramón
2ee2c65894
Merge pull request #2091 from nyurik/docs
Chore: Apply clippy docs keyword quoting
2023-09-19 13:26:52 +02:00
Yuri Astrakhan
c6554d9907 Chore: Apply clippy docs keyword quoting
Add quotes a number of doc strings like `sRGB`
2023-09-19 01:50:05 -04:00
Yuri Astrakhan
3d6b9637c3 Chore: Inline format args for ease of reading
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-19 01:32:56 -04:00
Héctor Ramón Jiménez
f60884f6f8
Deny broken_intradoc_links and verify documentation in CI 2023-09-09 20:58:45 +02:00
Matthias Vogelgesang
89d9f1d7d2 Fix majority of unresolved documentation links 2023-09-09 18:59:17 +02:00
Héctor Ramón
d1822ad811
Merge pull request #2069 from iced-rs/use-workspace-dependencies
Use workspace dependencies and package inheritance
2023-09-07 03:30:35 +02:00
Héctor Ramón Jiménez
d21f0698b5
Add hotkey support for stopwatch example 2023-09-07 02:58:43 +02:00
Héctor Ramón Jiménez
08a031cbe5
Introduce keyboard::on_key_press and on_key_release
Also rename `subscription::events*` to `event::listen*`.
2023-09-07 02:45:15 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉 2023-07-28 19:48:39 +02:00
Bingus
d53ccc857d
refactored window storage;
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Jonathan Lindsey
fcf9062679 Make the subscription::channel function take a FnOnce closure instead of a Fn closure and remove Sync as a requirement for its output. 2023-06-10 21:52:26 -05:00
Héctor Ramón Jiménez
cf434236e7
Enable doc_auto_cfg when generating documentation 2023-05-11 17:28:51 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00
Héctor Ramón Jiménez
8af69be47e
Converge Command types from iced_futures and iced_native 2023-03-05 06:23:40 +01:00