summaryrefslogtreecommitdiffstats
path: root/winit/src/program.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace `reactive-rendering` feature with `unconditional-rendering`Libravatar Héctor Ramón Jiménez2024-11-051-2/+4
|
* Fix deferred layout on resize after drawingLibravatar Héctor Ramón Jiménez2024-11-051-59/+33
|
* Request a redraw when a window is resizedLibravatar Héctor Ramón Jiménez2024-11-051-0/+7
| | | | | | | | If we do not request it, macOS does not get any `RedrawRequested` events. Shouldn't `winit` [take care of this]? Probably a bug. [take care of this]: https://docs.rs/winit/0.30.5/winit/event/enum.WindowEvent.html#variant.RedrawRequested
* Implement `reactive-rendering` for `text_input`Libravatar Héctor Ramón Jiménez2024-11-051-30/+18
| | | | ... and fix the redraw queue logic in `iced_winit`.
* Implement `reactive-rendering` for `slider`Libravatar Héctor Ramón Jiménez2024-11-051-0/+2
|
* Remove `TODO` about reactive rendering in `iced_winit`Libravatar Héctor Ramón Jiménez2024-11-051-5/+0
|
* Draft `reactive-rendering` feature for `button`Libravatar Héctor Ramón Jiménez2024-11-051-26/+69
|
* Disable `drag_and_drop` attribute for boot windowLibravatar Jindřich Moravec2024-09-141-8/+16
|
* Fix `wasm32` deployments not displaying anything (#2574)Libravatar Richard2024-09-131-26/+41
| | | | | | | | | | | | | | | * reuse `canvas` element generated by dummy window * fix formatting * set `control_flow` to `Poll` in `resumed` this is mostly a fix for Chrome * Avoid blowing up memory when booting up on Wasm --------- Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
* Enter `Runtime` when calling `Program::subscription`Libravatar Héctor Ramón Jiménez2024-09-131-2/+2
|
* Add mouse passthrough tasks to `window` moduleLibravatar Héctor Ramón Jiménez2024-09-051-0/+10
| | | | Co-authored-by: Jose Quesada <jquesada2016@fau.edu>
* Reconnect `Clipboard` on window closeLibravatar Héctor Ramón Jiménez2024-09-031-21/+33
| | | | Fixes #2564
* Add `get_scale_factor` task to `window` moduleLibravatar Héctor Ramón Jiménez2024-08-301-1/+8
|
* Produce `window::Event::Closed` only if window existsLibravatar Héctor Ramón Jiménez2024-08-151-5/+7
|
* Fix crash when application boots from a URL event in macOSLibravatar Héctor Ramón Jiménez2024-08-151-3/+14
|
* Revert `window::close` producing a `window::Id`Libravatar Héctor Ramón Jiménez2024-08-121-2/+1
| | | | | | Instead, subscribing to `window::close_events` is preferable; since most use cases will want to react to the user closing a window as well.
* Produce `window::Event::Closed` on `window::close`Libravatar Héctor Ramón Jiménez2024-08-121-1/+7
|
* Make `window::close` return and introduce `Task::discard`Libravatar Héctor Ramón Jiménez2024-08-121-1/+3
|
* iced_winit: drop Clipboard before WindowLibravatar Maja Kądziołka2024-08-111-1/+1
| | | | Fixes #2482, avoids nasal daemons
* Plug `received_url` in `winit::program`Libravatar Héctor Ramón Jiménez2024-08-011-0/+17
|
* Return `window::Id` in `window::open`Libravatar Héctor Ramón Jiménez2024-07-301-2/+3
|
* Avoid exiting when a window is being openedLibravatar Héctor Ramón Jiménez2024-07-301-9/+12
| | | | Fixes #2532
* Fix macOS race condition when closing windowLibravatar Héctor Ramón Jiménez2024-07-241-9/+11
|
* Exit runtime with `control_sender` instead of `break`Libravatar Héctor Ramón Jiménez2024-07-241-2/+6
|
* Finish `window::open` only when window fully opensLibravatar Héctor Ramón Jiménez2024-07-111-25/+22
| | | | | ... and run initial `Task` after `window::open` for applications. This fixes certain race conditions.
* Make window visible after surface creation in `iced_winit`Libravatar Héctor Ramón Jiménez2024-07-111-1/+11
|
* Hide `Subscription` internalsLibravatar Héctor Ramón Jiménez2024-07-051-2/+4
| | | | .. and introduce `stream::channel` helper
* Hide internal `Task` constructorsLibravatar Héctor Ramón Jiménez2024-07-051-2/+2
|
* Fix fonts not being loaded at startupLibravatar Héctor Ramón Jiménez2024-06-211-1/+9
|
* Fix `application` sometimes exiting at startupLibravatar Héctor Ramón Jiménez2024-06-201-0/+4
|
* Add `get_latest` and `get_oldest` tasks in `window`Libravatar Héctor Ramón Jiménez2024-06-201-6/+18
|
* Fix initialization race conditions in WebAssemblyLibravatar Héctor Ramón Jiménez2024-06-191-58/+42
| | | | WebGL is still broken, but oh well... Time to move on.
* Fix WebAssembly compilationLibravatar Héctor Ramón Jiménez2024-06-191-7/+105
| | | | Rendering seems to still not work, however.
* Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez2024-06-191-0/+1356