Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update src/executor.rs | 2020-11-06 | 1 | -2/+1 | |
| | | | | | fix executor other than tokio Co-authored-by: Héctor Ramón <hector0193@gmail.com> | ||||
* | upgrade tokio to latest version(v0.3) | 2020-11-05 | 4 | -5/+7 | |
| | |||||
* | Merge pull request #590 from Limeth/master | 2020-11-02 | 1 | -1/+1 | |
|\ | | | | | Fix lifetimes in `Layout::children` | ||||
| * | Take `self` by value in `Layout::children` | 2020-11-02 | 1 | -1/+1 | |
| | | |||||
| * | Fix lifetimes in `Layout::children` | 2020-10-31 | 1 | -1/+1 | |
| | | |||||
* | | Merge pull request #592 from sum-elier/fix-window-icon-dimensionsmismatch-error | 2020-11-02 | 1 | -1/+1 | |
|\ \ | | | | | | | Fixes #591 DimensionsMismatch error message | ||||
| * | | Fix DimensionsMismatch error message | 2020-11-01 | 1 | -1/+1 | |
|/ / | | | | | | | | | | | The values passed to write! were shifted 1 to the left. Fixes #591 | ||||
* | | Merge pull request #586 from hecrj/fix/subscription-map | 2020-10-30 | 1 | -14/+5 | |
|\ \ | | | | | | | Accept a function pointer in `Subscription::map` | ||||
| * | | Accept a function pointer in `Subscription::map` | 2020-10-29 | 1 | -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/master | 2020-10-29 | 2 | -0/+31 | |
|\ \ \ | | |/ | |/| | Add conversion functions to Size and Vector | ||||
| * | | Apply suggestions | 2020-10-29 | 2 | -9/+7 | |
| | | | |||||
| * | | Add conversion functions to Size and Vector | 2020-10-28 | 2 | -0/+33 | |
| | | | |||||
* | | | Merge pull request #533 from Kaiden42/gitignore | 2020-10-29 | 1 | -1/+1 | |
|\ \ \ | |_|/ |/| | | Fix: ignoring all `target` directories | ||||
| * | | Fix ignoring all target directories | 2020-09-18 | 1 | -1/+1 | |
| | | | |||||
* | | | Merge pull request #584 from hecrj/improvement/viewport-aware-drawing | 2020-10-29 | 33 | -38/+138 | |
|\ \ \ | | | | | | | | | Viewport aware drawing | ||||
| * | | | Fix `Widget::draw` for `Rule` | 2020-10-28 | 1 | -0/+1 | |
| | | | | |||||
| * | | | Draw only visible options in `overlay::Menu` | 2020-10-28 | 2 | -4/+15 | |
| | | | | |||||
| * | | | Introduce `viewport` to `Widget::draw` | 2020-10-28 | 31 | -35/+123 | |
|/ / / | | | | | | | | | | | | | This should eventually allow us to only generate primitives that are visible. | ||||
* | | | Merge pull request #575 from clarkmoody/scrollable-width | 2020-10-27 | 10 | -19/+491 | |
|\ \ \ | |_|/ |/| | | Custom Scrollbar Width | ||||
| * | | Update screenshot of `scrollable` example | 2020-10-24 | 1 | -0/+0 | |
| | | | |||||
| * | | Reduce contrast of dark theme in `scrollable` example | 2020-10-24 | 1 | -39/+37 | |
| | | | |||||
| * | | Improve minor details in `scrollable` example | 2020-10-24 | 2 | -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 program | 2020-10-22 | 6 | -0/+391 | |
| | | | |||||
| * | | Update scrollbar logic and introduce outer_bounds | 2020-10-22 | 2 | -16/+30 | |
| | | | |||||
| * | | Replace hard-coded params with struct members | 2020-10-22 | 3 | -11/+69 | |
| | | | |||||
* | | | Introduce `Eq` requirement to build a `PickList` | 2020-10-24 | 1 | -1/+1 | |
|/ / | |||||
* | | Merge pull request #545 from MonliH/master | 2020-10-17 | 2 | -8/+0 | |
|\ \ | | | | | | | Remove outdated `Fill` comment for `Column` and `Row` | ||||
| * | | Remove entirely | 2020-10-17 | 2 | -10/+0 | |
| | | | |||||
| * | | Document better | 2020-10-02 | 2 | -3/+5 | |
| | | | |||||
| * | | Satify documented behaviour | 2020-10-01 | 1 | -1/+1 | |
| | | | |||||
* | | | Merge pull request #569 from hecrj/improvement/hide-null-executor | 2020-10-17 | 3 | -4/+3 | |
|\ \ \ | | | | | | | | | Remove `executor::Null` from the root public API | ||||
| * | | | Remove `executor::Null` from the root public API | 2020-10-17 | 3 | -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-bounds | 2020-10-17 | 6 | -11/+21 | |
|\ \ \ \ | |/ / / |/| | | | Require `Clone` for `Message` early when needed | ||||
| * | | | Require `Clone` for `Message` early when needed | 2020-10-17 | 6 | -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/master | 2020-10-14 | 2 | -1/+2 | |
|\ \ \ | | | | | | | | | Fix typo in `Row`'s and `Column`'s `hash_layout` | ||||
| * | | | Fix typo in Row's and Column's hash_layout | 2020-10-13 | 2 | -1/+2 | |
|/ / / | |||||
* | | | Merge pull request #558 from Azorlogh/master | 2020-10-08 | 2 | -0/+12 | |
|\ \ \ | | | | | | | | | Adds From<Point> and From<Size> for [f32; 2] | ||||
| * | | | add From<Point> and From<Size> for [f32; 2] | 2020-10-08 | 2 | -0/+12 | |
|/ / / | |||||
* | | | Merge pull request #542 from aentity/winit_023 | 2020-10-08 | 5 | -25/+32 | |
|\ \ \ | |/ / |/| | | update to winit 0.23 api | ||||
| * | | Keep `KeyCode` names synchronized with `winit` | 2020-10-08 | 2 | -23/+27 | |
| | | | |||||
| * | | update to winit 0.23 api | 2020-10-03 | 5 | -10/+13 | |
| |/ | |||||
* | | Merge pull request #543 from twitchyliquid64/master | 2020-09-30 | 2 | -2/+12 | |
|\ \ | |/ |/| | Fixes #539: Allow windows to be set always_on_top | ||||
| * | Fixes #539: Allow windows to be set always_on_top | 2020-09-28 | 2 | -2/+12 | |
|/ | |||||
* | Move `version` from `Grid` to `GameOfLife` struct | 2020-09-12 | 1 | -15/+20 | |
| | |||||
* | Merge pull request #514 from hecrj/feature/error-handling | 2020-09-08 | 40 | -58/+166 | |
|\ | | | | | Error propagation | ||||
| * | Make `Application` and `Sandbox` return a `Result` | 2020-09-08 | 40 | -58/+166 | |
|/ | |||||
* | Merge pull request #513 from hecrj/fix/custom-radio-size | 2020-09-06 | 1 | -10/+10 | |
|\ | | | | | Fix `Radio` border radius when using custom size | ||||
| * | Fix `Radio` border radius when using custom size | 2020-09-06 | 1 | -10/+10 | |
|/ | |||||
* | Merge pull request #500 from hecrj/update-wgpu | 2020-08-31 | 12 | -377/+505 | |
|\ | | | | | Update `wgpu` to `0.6` in `iced_wgpu` | ||||
| * | Add labels to `iced_wgpu` internals | 2020-08-31 | 6 | -38/+46 | |
| | |