summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update `directories` dependency in `todos` exampleLibravatar Héctor Ramón Jiménez2020-11-101-1/+1
|
* Update `env_logger` in `tour` and `integration` examplesLibravatar Héctor Ramón Jiménez2020-11-102-2/+2
|
* Merge pull request #598 from oknozor/input-text-focusLibravatar Héctor Ramón2020-11-091-0/+14
|\ | | | | Add textinput focus method
| * Split `focus` and `unfocus` methods in `text_input`Libravatar Héctor Ramón Jiménez2020-11-091-6/+14
| |
| * Add textinput focus methodLibravatar Paul Delafosse2020-11-091-0/+6
|/
* Merge pull request #597 from hecrj/improvement/reuse-view-in-event-loopLibravatar Héctor Ramón2020-11-085-390/+709
|\ | | | | Rebuild widget tree only after an application update
| * Write missing documentation in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-064-3/+72
| |
| * Remove a bit of code duplication in both shellsLibravatar Héctor Ramón Jiménez2020-11-052-97/+77
| |
| * Drop `UserInterface` manually after exit requestLibravatar Héctor Ramón Jiménez2020-11-052-0/+6
| |
| * Update `iced_glutin` with new event loop logicLibravatar Héctor Ramón Jiménez2020-11-052-165/+217
| |
| * Relayout `UserInterface` on resize in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-053-17/+59
| |
| * Handle event loop `ControlFlow` in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-051-32/+24
| |
| * Introduce `application::State` in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-055-161/+201
| |
| * Initialize runtime values in `application::run`Libravatar Héctor Ramón Jiménez2020-11-051-45/+47
| |
| * Use static noop `Waker` in `application::run`Libravatar Héctor Ramón Jiménez2020-11-052-4/+14
| |
| * Draft strategy to reuse `view` result in event loopLibravatar Héctor Ramón Jiménez2020-11-052-152/+278
| |
* | Merge pull request #600 from aentity/update_guillotiereLibravatar Héctor Ramón2020-11-061-1/+1
|\ \ | |/ |/| update guillotiere to 0.6
| * update guillotiere to 0.6Libravatar aentity2020-11-061-1/+1
|/
* Merge pull request #590 from Limeth/masterLibravatar Héctor Ramón2020-11-021-1/+1
|\ | | | | Fix lifetimes in `Layout::children`
| * Take `self` by value in `Layout::children`Libravatar Jakub Hlusička2020-11-021-1/+1
| |
| * Fix lifetimes in `Layout::children`Libravatar Jakub Hlusička2020-10-311-1/+1
| |
* | Merge pull request #592 from sum-elier/fix-window-icon-dimensionsmismatch-errorLibravatar Héctor Ramón2020-11-021-1/+1
|\ \ | | | | | | Fixes #591 DimensionsMismatch error message
| * | Fix DimensionsMismatch error messageLibravatar sum-elier2020-11-011-1/+1
|/ / | | | | | | | | | | The values passed to write! were shifted 1 to the left. Fixes #591
* | Merge pull request #586 from hecrj/fix/subscription-mapLibravatar Héctor Ramón2020-10-301-14/+5
|\ \ | | | | | | Accept a function pointer in `Subscription::map`
| * | Accept a function pointer in `Subscription::map`Libravatar Héctor Ramón Jiménez2020-10-291-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of a closure, a function pointer can be hashed and used to uniquely identify a particular `Subscription`. This should fix a bug where two different instances of `Subscription` producing the same output were not treated differently by the runtime, causing one of them to be ignored.
* | | Merge pull request #583 from Limeth/masterLibravatar Héctor Ramón2020-10-292-0/+31
|\ \ \ | | |/ | |/| Add conversion functions to Size and Vector
| * | Apply suggestionsLibravatar Jakub Hlusička2020-10-292-9/+7
| | |
| * | Add conversion functions to Size and VectorLibravatar Jakub Hlusička2020-10-282-0/+33
| | |
* | | Merge pull request #533 from Kaiden42/gitignoreLibravatar Héctor Ramón2020-10-291-1/+1
|\ \ \ | |_|/ |/| | Fix: ignoring all `target` directories
| * | Fix ignoring all target directoriesLibravatar Kaiden422020-09-181-1/+1
| | |
* | | Merge pull request #584 from hecrj/improvement/viewport-aware-drawingLibravatar Héctor Ramón2020-10-2933-38/+138
|\ \ \ | | | | | | | | Viewport aware drawing
| * | | Fix `Widget::draw` for `Rule`Libravatar Héctor Ramón Jiménez2020-10-281-0/+1
| | | |
| * | | Draw only visible options in `overlay::Menu`Libravatar Héctor Ramón Jiménez2020-10-282-4/+15
| | | |
| * | | Introduce `viewport` to `Widget::draw`Libravatar Héctor Ramón Jiménez2020-10-2831-35/+123
|/ / / | | | | | | | | | | | | This should eventually allow us to only generate primitives that are visible.
* | | Merge pull request #575 from clarkmoody/scrollable-widthLibravatar Héctor Ramón2020-10-2710-19/+491
|\ \ \ | |_|/ |/| | Custom Scrollbar Width
| * | Update screenshot of `scrollable` exampleLibravatar Héctor Ramón Jiménez2020-10-241-0/+0
| | |
| * | Reduce contrast of dark theme in `scrollable` exampleLibravatar Héctor Ramón Jiménez2020-10-241-39/+37
| | |
| * | Improve minor details in `scrollable` exampleLibravatar Héctor Ramón Jiménez2020-10-242-249/+260
| | | | | | | | | | | | | | | | | | | | | - Rename `Config` to `Variant` - Include `State` in `Variant` to avoid `zip` - Break long string literal - Split `style` module into its own file
| * | Add scrollable example programLibravatar Clark Moody2020-10-226-0/+391
| | |
| * | Update scrollbar logic and introduce outer_boundsLibravatar Clark Moody2020-10-222-16/+30
| | |
| * | Replace hard-coded params with struct membersLibravatar Clark Moody2020-10-223-11/+69
| | |
* | | Introduce `Eq` requirement to build a `PickList`Libravatar Héctor Ramón Jiménez2020-10-241-1/+1
|/ /
* | Merge pull request #545 from MonliH/masterLibravatar Héctor Ramón2020-10-172-8/+0
|\ \ | | | | | | Remove outdated `Fill` comment for `Column` and `Row`
| * | Remove entirelyLibravatar Jonathan Li2020-10-172-10/+0
| | |
| * | Document betterLibravatar Jonathan Li2020-10-022-3/+5
| | |
| * | Satify documented behaviourLibravatar Jonathan Li2020-10-011-1/+1
| | |
* | | Merge pull request #569 from hecrj/improvement/hide-null-executorLibravatar Héctor Ramón2020-10-173-4/+3
|\ \ \ | | | | | | | | Remove `executor::Null` from the root public API
| * | | Remove `executor::Null` from the root public APILibravatar Héctor Ramón Jiménez2020-10-173-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Using an `Application` with `executor::Null` does not make sense, as the whole purpose of an `Application` is to allow executing async actions. When async actions are not needed, `Sandbox` should be used instead.
* | | | Merge pull request #568 from hecrj/improvement/early-clone-message-boundsLibravatar Héctor Ramón2020-10-176-11/+21
|\ \ \ \ | |/ / / |/| | | Require `Clone` for `Message` early when needed
| * | | Require `Clone` for `Message` early when neededLibravatar Héctor Ramón Jiménez2020-10-176-11/+21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, the widgets that needed a `Clone` bound on `Message` to implement the `Widget` trait could be created with a non-cloneable `Message`. As a consequence, the compiler complained only when actually trying to use the `Widget` trait. Normally, this happens when trying to `push` the widget in a container or turn it into an `Element`. Furthermore, the compiler error in this case does not mention `Message` nor the `Clone` bound, but instead complains about a missing `From` implementation. Thus, it can easily cause confusion! This change introduces `Clone` bounds in the main implementation of the widgets that need it to properly implement the `Widget` trait. As a result, the compiler complains early when trying to create one of these widgets with a non-cloneable `Message` and explicitly mentions that the `Message` needs to implement `Clone`.