summaryrefslogtreecommitdiffstats
path: root/winit/src/program.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Free proxy slots unconditionally in `AboutToWait`Libravatar Héctor Ramón Jiménez2025-02-261-5/+5
|
* Run `cargo fmt`Libravatar Héctor Ramón Jiménez2025-02-211-3/+5
|
* Fix priority of redraw requests in `winit` shellLibravatar Héctor Ramón Jiménez2025-02-141-1/+1
|
* Fulfill `InputMethod` requests only during `RedrawRequested`Libravatar Héctor Ramón Jiménez2025-02-031-4/+4
|
* Refactor and simplify `input_method` APILibravatar Héctor Ramón Jiménez2025-02-021-148/+8
|
* Draft `input_method` supportLibravatar KENZ2025-02-021-15/+147
|
* Fix infinite runtime loop when queue redraws at a specific timeLibravatar Héctor Ramón Jiménez2025-02-021-0/+13
|
* feat: add a window drag resize taskLibravatar tsuza2025-01-161-0/+7
|
* Merge pull request #2722 from iced-rs/fix/lazy-compositor-initializationLibravatar Héctor2025-01-141-143/+133
|\ | | | | Initialize `Compositor` lazily in `winit` shell
| * Panic instead of erroring when compositor channel unexpectedly closesLibravatar Héctor Ramón Jiménez2025-01-141-12/+5
| |
| * Simplify type annotations in `winit::program`Libravatar Héctor Ramón Jiménez2025-01-061-6/+2
| |
| * Initialize `Compositor` lazily in `winit` shellLibravatar Héctor Ramón Jiménez2025-01-061-143/+144
| | | | | | | | ... and get rid of the ghost boot window!
* | Rename `window::change_*` tasks to `set_*`Libravatar Héctor Ramón Jiménez2025-01-061-3/+3
| |
* | Fix unintuitive variable name in `winit::program`Libravatar Héctor Ramón Jiménez2025-01-061-9/+9
| |
* | Remove `window::change_title` since it's redundantLibravatar Héctor Ramón Jiménez2025-01-061-5/+0
| | | | | | | | Applications can change title declaratively.
* | window task for setting resize incrementsLibravatar JL7102025-01-061-0/+10
| |
* | window resizable taskLibravatar JL7102025-01-061-0/+5
| |
* | window tasks for setting min and max sizeLibravatar JL7102025-01-061-0/+20
| |
* | add Task and Action for changing a window titleLibravatar JL7102025-01-061-0/+5
|/
* Use "outer" positions in all window-related operationsLibravatar Héctor Ramón Jiménez2025-01-061-1/+16
|
* Add image and hash snapshot-based testing to `iced_test`Libravatar Héctor Ramón Jiménez2024-12-101-42/+12
|
* Remove `surface` argument of `Compositor::screenshot`Libravatar Ian Douglas Scott2024-11-211-1/+0
| | | | | | | | This argument was completely ignored by the wgpu renderer, and used only for the `clip_mask` by the `tiny_skia` renderer. I believe creating a new clip mask is correct. This way it's possible to render offscreen without needing a surface.
* 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
|