summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement `pin` widgetLibravatar Héctor Ramón Jiménez2024-11-224-2/+333
|
* Use `Task::run` in `download_progress` exampleLibravatar Héctor Ramón Jiménez2024-11-222-43/+44
|
* Merge pull request #2672 from ids1024/screenshotLibravatar Héctor2024-11-225-32/+22
|\ | | | | Remove `surface` argument of `Compositor::screenshot`
| * Remove `surface` argument of `Compositor::screenshot`Libravatar Ian Douglas Scott2024-11-215-32/+22
| | | | | | | | | | | | | | | | 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.
* | Honor clones of `task::Handle` with `abort_on_drop`Libravatar Héctor Ramón Jiménez2024-11-221-21/+42
|/
* Merge pull request #2668 from edwloef/masterLibravatar Héctor2024-11-131-2/+2
|\ | | | | Fix docs of `Scrollable::with_direction` and `Scrollable::direction`
| * Fix docs of `Scrollable::with_direction` and `Scrollable::direction`Libravatar edwloef2024-11-111-2/+2
| |
* | Merge pull request #2662 from iced-rs/reactive-renderingLibravatar Héctor2024-11-1360-1771/+2180
|\ \ | |/ |/| Reactive Rendering
| * Fix cross-axis compression in `layout::flex`Libravatar Héctor Ramón Jiménez2024-11-081-1/+52
| |
| * Fix event capturing order in `pane_grid`Libravatar Héctor Ramón Jiménez2024-11-061-38/+41
| |
| * Rename `Overlay::on_event` to `update`Libravatar Héctor Ramón Jiménez2024-11-0614-26/+25
| |
| * Fix `pick_list` not requesting a redraw when openLibravatar Héctor Ramón Jiménez2024-11-051-8/+15
| |
| * Fix `text_editor` capturing mouse release eventsLibravatar Héctor Ramón Jiménez2024-11-051-2/+4
| |
| * Implement `reactive-rendering` for `text_editor`Libravatar Héctor Ramón Jiménez2024-11-051-147/+170
| |
| * Fix `hover` widget not redrawing when hoveredLibravatar Héctor Ramón Jiménez2024-11-051-1/+9
| |
| * Unify `shader::Program` API with `canvas::Program`Libravatar Héctor Ramón Jiménez2024-11-053-57/+34
| |
| * Replace `reactive-rendering` feature with `unconditional-rendering`Libravatar Héctor Ramón Jiménez2024-11-053-6/+8
| |
| * Fix deferred layout on resize after drawingLibravatar Héctor Ramón Jiménez2024-11-053-73/+49
| |
| * Implement `reactive-rendering` for `pane_grid`Libravatar Héctor Ramón Jiménez2024-11-052-35/+105
| |
| * Implement `reactive-rendering` for `canvas`Libravatar Héctor Ramón Jiménez2024-11-059-142/+244
| |
| * Implement `reactive-rendering` for `combo_box`Libravatar Héctor Ramón Jiménez2024-11-051-3/+17
| |
| * Rename `Widget::on_event` to `update`Libravatar Héctor Ramón Jiménez2024-11-0537-67/+67
| |
| * Replace `event::Status` in `Widget::on_event` with `Shell::capture_event`Libravatar Héctor Ramón Jiménez2024-11-0544-705/+556
| |
| * Split `Shell::request_redraw` into two different methodsLibravatar Héctor Ramón Jiménez2024-11-0515-114/+89
| |
| * Implement `reactive-rendering` for `scrollable`Libravatar Héctor Ramón Jiménez2024-11-051-294/+331
| |
| * Implement `reactive-rendering` for `menu`Libravatar Héctor Ramón Jiménez2024-11-051-6/+37
| |
| * Implement `reactive-rendering` for `pick_list`Libravatar Héctor Ramón Jiménez2024-11-051-23/+34
| |
| * 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 `toggler`Libravatar Héctor Ramón Jiménez2024-11-051-17/+32
| |
| * Implement `reactive-rendering` for `radio`Libravatar Héctor Ramón Jiménez2024-11-051-11/+32
| |
| * Implement `reactive-rendering` for `checkbox`Libravatar Héctor Ramón Jiménez2024-11-051-14/+35
| |
| * Fix `WindowManager::is_idle` in `iced_winit`Libravatar Héctor Ramón Jiménez2024-11-051-1/+1
| |
| * Implement `reactive-rendering` for `text_input`Libravatar Héctor Ramón Jiménez2024-11-054-89/+202
| | | | | | | | ... and fix the redraw queue logic in `iced_winit`.
| * Implement `reactive-rendering` for `slider`Libravatar Héctor Ramón Jiménez2024-11-052-132/+160
| |
| * 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-056-86/+156
|/
* Merge pull request #2663 from iced-rs/update-wgpu-to-23.0Libravatar Héctor2024-11-059-22/+22
|\ | | | | Update `wgpu` to `23.0`
| * Update `wgpu` to `23.0`Libravatar Héctor Ramón Jiménez2024-11-059-22/+22
|/
* Merge pull request #2651 from rhogenson/total-cmpLibravatar Héctor2024-10-281-4/+1
|\ | | | | Use float total_cmp instead of partial_cmp to get a total order.
| * Use float total_cmp instead of partial_cmp to get a total order.Libravatar Rose Hogenson2024-10-261-4/+1
|/ | | | | | | Since Rust version 1.81, sort_by will panic if the provided comparison function does not implement a total order. See https://github.com/rust/lang/rust/issues/129561 for more details. The simplest fix seems to be to use total_cmp instead of partial_cmp.
* Merge pull request #2649 from kosayoda/window-focus-fixLibravatar Héctor2024-10-251-0/+2
|\ | | | | Prevent unintended keyboard input during focus.
| * Prevent unintended keyboard input during focus.Libravatar kosayoda2024-10-241-0/+2
|/
* Merge pull request #2628 from tarkah/fix/pane-grid-continuityLibravatar Héctor2024-10-243-151/+194
|\ | | | | Fix/pane grid continuity
| * Add `relabel` helper to `pane_grid::State`Libravatar Héctor Ramón Jiménez2024-10-241-14/+15
| |
| * Rename `state::Widget` to `pane_grid::Memory`Libravatar Héctor Ramón Jiménez2024-10-242-16/+15
| |
| * Fix `responsive` diffing when `Tree` is emptied by ancestorsLibravatar Héctor Ramón Jiménez2024-10-241-1/+4
| |
| * Remove duplicated `maximized` state in `pane_grid`Libravatar Héctor Ramón Jiménez2024-10-242-45/+59
| |
| * Keep `Pane` associated to state / layout after swapLibravatar Cory Forsstrom2024-10-241-2/+18
| | | | | | | | | | | | | | State continuity is dependent on keeping a node associated to it's original `Pane` id. When splitting -> swapping nodes, we need to assign it back to the original `Pane` to enforce continuity.
| * Retain widget state against incoming panesLibravatar Cory Forsstrom2024-10-242-125/+135
| | | | | | | | | | | | | | | | | | | | We can associate each state with a `Pane` and compare that against the new panes to remove states w/ respective panes which no longer exist. Because we always increment `Pane`, new states are always added to the end, so this retain + add new state approach will ensure continuity when panes are added & removed
| * Use BTreeMap for Ord iteration of panesLibravatar Cory Forsstrom2024-10-241-4/+4
|/ | | | | This ensures continuity in how panes are iterated on when building widget state