summaryrefslogtreecommitdiffstats
path: root/runtime/src/command.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-06-14Replace `Command` with a new `Task` API with chain supportLibravatar Héctor Ramón Jiménez1-147/+0
2024-03-16Remove `sandbox` by making `application` more generic :tada:Libravatar Héctor Ramón Jiménez1-0/+6
2023-11-29Implement `command::channel` helperLibravatar Héctor Ramón Jiménez1-0/+21
It is analogous to `subscription::channel`.
2023-11-29Implement `Command::run` for executing a `Stream` to completionLibravatar Héctor Ramón Jiménez1-1/+13
2023-10-18Fix `Command<T>::perform` to return a `Command<T>`Libravatar Ian Douglas Scott1-3/+3
This seems like clearly the correct thing to do here. If the type bound on `Command` isn't specified, it makes no difference, since the generic is inferred in a way that works with either definition. But this is important if `Command<T>` is aliased with a concrete type.
2023-03-05Rename `iced_native` to `iced_runtime`Libravatar Héctor Ramón Jiménez1-0/+0
2023-03-05Converge `Command` types from `iced_futures` and `iced_native`Libravatar Héctor Ramón Jiménez1-19/+40
2023-03-04Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez1-1/+3
2023-01-26Annotate `Command` and `Subscription` with `#[must_use]`Libravatar Ian Douglas Scott1-0/+1
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.
2022-08-17Use `FnOnce` in `Command::perform`Libravatar Héctor Ramón Jiménez1-1/+1
... and revert `FnMut` usage.
2022-08-12Relax `Fn` trait bounds in `Command` & `Action`Libravatar 无限UCW1-2/+2
2022-07-28Draft widget operationsLibravatar Héctor Ramón Jiménez1-0/+10
2022-01-28Use `MaybeSend` in `perform` and `map` for `Command`Libravatar Héctor Ramón Jiménez1-3/+5
2021-09-13Write missing docs and `Debug` implementations for `native`Libravatar Héctor Ramón Jiménez1-0/+10
2021-09-02Hide implementation details of `Command` in `iced_futures`Libravatar Héctor Ramón Jiménez1-40/+25
2021-09-02Make `Command` implementations platform-specificLibravatar Héctor Ramón Jiménez1-0/+77
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!)