summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update src/executor.rs Libravatar dabaichi2020-11-061-2/+1
| | | | | fix executor other than tokio Co-authored-by: Héctor Ramón <hector0193@gmail.com>
* upgrade tokio to latest version(v0.3)Libravatar valbendan2020-11-054-5/+7
|
* 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`.
* | | Merge pull request #563 from Limeth/masterLibravatar Héctor Ramón2020-10-142-1/+2
|\ \ \ | | | | | | | | Fix typo in `Row`'s and `Column`'s `hash_layout`
| * | | Fix typo in Row's and Column's hash_layoutLibravatar Jakub Hlusička2020-10-132-1/+2
|/ / /
* | | Merge pull request #558 from Azorlogh/masterLibravatar Héctor Ramón2020-10-082-0/+12
|\ \ \ | | | | | | | | Adds From<Point> and From<Size> for [f32; 2]
| * | | add From<Point> and From<Size> for [f32; 2]Libravatar Azorlogh2020-10-082-0/+12
|/ / /
* | | Merge pull request #542 from aentity/winit_023Libravatar Héctor Ramón2020-10-085-25/+32
|\ \ \ | |/ / |/| | update to winit 0.23 api
| * | Keep `KeyCode` names synchronized with `winit`Libravatar Héctor Ramón Jiménez2020-10-082-23/+27
| | |
| * | update to winit 0.23 apiLibravatar aentity2020-10-035-10/+13
| |/
* | Merge pull request #543 from twitchyliquid64/masterLibravatar Héctor Ramón2020-09-302-2/+12
|\ \ | |/ |/| Fixes #539: Allow windows to be set always_on_top
| * Fixes #539: Allow windows to be set always_on_topLibravatar Tom2020-09-282-2/+12
|/
* Move `version` from `Grid` to `GameOfLife` structLibravatar Héctor Ramón Jiménez2020-09-121-15/+20
|
* Merge pull request #514 from hecrj/feature/error-handlingLibravatar Héctor Ramón2020-09-0840-58/+166
|\ | | | | Error propagation
| * Make `Application` and `Sandbox` return a `Result`Libravatar Héctor Ramón Jiménez2020-09-0840-58/+166
|/
* Merge pull request #513 from hecrj/fix/custom-radio-sizeLibravatar Héctor Ramón2020-09-061-10/+10
|\ | | | | Fix `Radio` border radius when using custom size
| * Fix `Radio` border radius when using custom sizeLibravatar Héctor Ramón Jiménez2020-09-061-10/+10
|/
* Merge pull request #500 from hecrj/update-wgpuLibravatar Héctor Ramón2020-08-3112-377/+505
|\ | | | | Update `wgpu` to `0.6` in `iced_wgpu`
| * Add labels to `iced_wgpu` internalsLibravatar Héctor Ramón Jiménez2020-08-316-38/+46
| |