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
Héctor Ramón Jiménez
43414bbdfb
Fix wasm-bindgen backend in iced_futures
2023-03-05 05:37:23 +01:00
Héctor Ramón Jiménez
f4cf488e0b
Remove generic Hasher and Event from subscription::Recipe
2023-03-05 04:15:10 +01:00
Héctor Ramón Jiménez
0d1656937b
Bump versions 🎉
2023-02-18 12:04:40 +01:00
13r0ck
0ff1061d52
Fix: Clippy lint 'let_underscore_future'
2023-01-27 13:50:36 -07:00
Ian Douglas Scott
2e4aefa7fc
Annotate Command and Subscription with #[must_use]
...
Calling a function returning one of these types without using it is
almost certainly a mistake. Luckily Rust's `#[must_use]` can help warn
about this.
2023-01-26 16:10:45 -08:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉
2023-01-14 01:10:28 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉
2022-12-07 04:44:20 +01:00
Héctor Ramón Jiménez
23299a555f
Bump versions 🎉
2022-11-10 18:15:10 +01:00
Héctor Ramón Jiménez
a6298ba12c
Fix outdated links in documentation
2022-11-10 18:14:40 +01:00
Héctor Ramón Jiménez
b0e8bafb6c
Bump versions 🎉
2022-11-10 01:20:11 +01:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
...
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Poly
15f794b7a8
Address Clippy lints
2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
cb712f3b84
Bump versions 🎉
2022-05-31 05:42:43 +02:00
Héctor Ramón Jiménez
ecd00cf02b
Fix Subscription cancelation when never awaiting
...
`StreamExt::forward` will keep polling a ready `Stream` in a loop. If the
`Stream` is always ready, the `poll` method of `Forward` effectively
blocks (see https://github.com/rust-lang/futures-rs/issues/2552 ).
The fix consists in manually implementing a simpler version of `Forward`.
2022-05-27 19:54:58 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉
2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
68e9eb0a9b
Fix broken intra-doc links in documentation
2022-04-30 14:20:52 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation
2022-04-30 13:54:07 +02:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉
2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
d95889aca9
Fix default backend in iced_futures
...
Fixes #1228 .
2022-02-01 11:40:58 +07:00
Héctor Ramón Jiménez
e730d97f61
Implement time module for wasm-bindgen backend in iced_futures
2022-01-28 21:37:17 +07:00
Héctor Ramón Jiménez
167be45a7d
Split iced_futures into different backend implementations
2022-01-28 21:37:17 +07:00
Héctor Ramón Jiménez
5dab5a327e
Introduce MaybeSend trait in iced_futures
...
It allows to clean up all the `trait_aliases` modules!
2022-01-28 21:37:17 +07:00
Vladyslav Nikonov
bdca20fc4a
Experimental wgpu WebGL backend support
...
- Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target
- Added WebGL support to `integratio_wgpu` example
- Fixed test.yml CI workflow
- Removed spir-v shader in `integration_wgpu`; Fixed formatting
- Removed redundant `BoxStream` typedef
2022-01-28 21:37:14 +07:00
Héctor Ramón Jiménez
67f878b890
Remove support for old tokio crate
2022-01-12 20:03:18 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files
2022-01-03 11:36:13 +07:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url
2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs
2021-12-09 15:05:41 +07:00
Tanner Rogalsky
55eaeceec8
Collect the platform-specific concrete future implementations into mods.
2021-11-14 11:03:15 -05:00
Héctor Ramón Jiménez
6fce35393f
Hide implementation details of Command in iced_futures
2021-09-02 15:50:32 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
...
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.
Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Yusuf Bera Ertan
83d19689c8
docs: update all 0.2 github links to 0.3
2021-06-14 21:01:37 +03:00
Héctor Ramón Jiménez
0864e63bde
Bump versions 🎉
2021-03-31 20:07:17 +02:00
Héctor Ramón Jiménez
6759a5c56f
Log event subscription error as a warning
2021-02-23 02:16:12 +01:00
Héctor Ramón Jiménez
9da0a3de54
Use smol::Timer::interval for time::Every
2021-01-15 21:07:37 +01:00
Héctor Ramón Jiménez
fd2c96c8e3
Fix time::Every implementation for smol runtime
2021-01-15 18:52:12 +01:00
Jayce Fayne
b2415eee61
Add smol async runtime
2021-01-14 12:28:02 +01:00
Héctor Ramón Jiménez
09ea73bd2a
Use Instant::into_std in futures::time
2021-01-04 23:20:40 +01:00
Yusuf Bera Ertan
50452e62b4
Update tokio to 1.0
2021-01-04 23:20:21 +01:00
Héctor Ramón Jiménez
f78108a514
Bump versions 🎉
2020-11-26 16:47:41 +01:00
Héctor Ramón Jiménez
745aa49025
Update example links to point to 0.2 branch
2020-11-26 16:37:33 +01:00
Héctor Ramón Jiménez
11798dcc03
Update graphs in crate docs
2020-11-26 07:22:03 +01:00
Héctor Ramón Jiménez
01322f69a4
Use recently stabilized intra-doc links
...
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
782dd2f522
Introduce tokio_old feature
...
This feature allows users to rely on the `0.2` version of `tokio` while
the async ecosystem upgrades to the latest version.
2020-11-25 03:06:24 +01:00
valbendan
eacb2e913f
upgrade tokio to latest version(v0.3)
2020-11-05 11:36:23 +08:00
Héctor Ramón Jiménez
dd1b1cac0a
Accept a function pointer in Subscription::map
...
Instead of a closure, a function pointer can be hashed and used to
uniquely identify a particular `Subscription`.
This should fix a bug where two different instances of `Subscription`
producing the same output were not treated differently by the runtime,
causing one of them to be ignored.
2020-10-29 10:27:18 +01:00
Héctor Ramón Jiménez
1501a93915
Disable time module on Wasm for now
2020-04-30 05:51:41 +02:00
Héctor Ramón Jiménez
e2076612cb
Implement time::every in iced_futures
2020-04-30 05:37:44 +02:00