Commit graph

149 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
bef4992058
Remove MaybeSync bound in Subscription::filter_map 2025-11-29 00:57:48 +01:00
Craig Watson
24218c5106
Add filter_map method to Subscription 2025-11-29 00:54:04 +01:00
Héctor Ramón Jiménez
7c3bdcce4e
Nest Map and With inside Subscription methods 2025-11-29 00:50:46 +01:00
Héctor Ramón Jiménez
4ed6d18339
Replace drain with into_iter in Subscription 2025-11-29 00:40:22 +01:00
Héctor Ramón Jiménez
a064241a6b
Replace doc_auto_cfg with doc_cfg
See https://github.com/rust-lang/rust/pull/138907
2025-10-08 04:37:13 +02:00
Héctor Ramón Jiménez
e2df674aa5
Merge branch 'master' into feature/test-recorder 2025-09-19 18:23:28 +02:00
Héctor Ramón Jiménez
a052ce58b0
Merge branch 'master' into feature/test-recorder 2025-09-11 04:57:17 +02:00
Leigh
c49bce9de6
Fix typo in documentation comment for filter_map 2025-09-08 18:52:47 +01:00
Héctor Ramón Jiménez
09c604c92d
Add theme and theme_changes functions to system 2025-09-08 14:32:24 +02:00
Héctor Ramón Jiménez
ed528c9c53
Plug Emulator into devtools 🎉 2025-05-31 05:50:25 +02:00
Héctor Ramón Jiménez
d5d4479a53
Draft time-travel debugging feature 2025-04-17 03:24:17 +02:00
Héctor Ramón Jiménez
1b22d7d5fc
Fix Compositor concurrent initialization
It seems that initializing the compositor in a
different thread can cause issues in some environments.
2025-04-02 20:39:14 +02:00
Héctor Ramón Jiménez
5d1de9dc95
Enable async-await feature in iced_futures 2025-04-02 11:50:27 +02:00
Héctor Ramón Jiménez
91996372cb
Remove async-std support (RIP) 2025-04-02 11:10:23 +02:00
Héctor Ramón Jiménez
57cb14ce38
Remove Executor::block_on and simplify Compositor creation 2025-04-02 11:01:11 +02:00
edwloef
baadcc150f
don't use futures-executor when it's not the default executor 2025-04-02 10:48:11 +02:00
Héctor Ramón Jiménez
0f9934b1a7
Leverage new AsyncFn traits in stream module 2025-02-21 01:48:09 +01:00
Héctor Ramón Jiménez
c12beecd38
Remove unnecessary Future imports 2025-02-21 01:41:56 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt 2025-02-21 01:37:13 +01:00
Héctor
d7563ee94a
Merge pull request #2780 from l4l/forked-wasmtimer
Use working wasmtimer for time::every
2025-02-16 22:40:57 +01:00
Héctor Ramón Jiménez
ba996f4b01
Fix outdated id mention in Subscription docs 2025-02-14 19:52:17 +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
Kitsu
6a584af141 Use working wasmtimer for time::every 2025-02-02 22:44:05 -03: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