Commit graph

90 commits

Author SHA1 Message Date
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
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
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