Commit graph

2523 commits

Author SHA1 Message Date
Héctor Ramón
2883aa31bb
Use proper profile for cargo-deb in build workflow 2022-07-14 19:11:25 +02:00
Héctor Ramón Jiménez
34b691fdd4
Fix deb asset path in todos example 2022-07-14 18:29:40 +02:00
Héctor Ramón
387b2d0991
Merge pull request #1346 from Luni-4/reduce-binaries
Add profile release
2022-07-14 18:19:19 +02:00
Héctor Ramón Jiménez
7022090a97
Use release-opt profile in build workflow 2022-07-14 18:06:04 +02:00
Luni-4
8f03a72742 Add custom profile release-opt 2022-07-14 16:58:06 +02:00
Héctor Ramón
e187d6ce7b
Merge pull request #1350 from wyatt-herkamp/paste_event
Added a paste Event to TextInput
2022-07-13 18:52:24 +02:00
Héctor Ramón Jiménez
54c9815b7b
Simplify update signature in text_input 2022-07-13 18:37:27 +02:00
Héctor Ramón Jiménez
891b917576
Simplify on_paste signature
... and fix spacing.
2022-07-13 18:35:41 +02:00
Wyatt Jacob Herkamp
e8cfa644e7
Added on_paste handler to TextInput 2022-07-13 18:32:56 +02:00
Héctor Ramón
1404b88ea6
Merge pull request #1384 from iced-rs/update-lyon
Update `lyon` to `1.0`
2022-07-11 18:22:04 +02:00
Héctor Ramón Jiménez
f7059a1c9a
Remove unnecessary let bindings in canvas::Frame 2022-07-11 15:59:38 +02:00
Héctor Ramón Jiménez
fe34b7a339
Update lyon to 1.0 🎉
Congrats and thanks to @nical!
2022-07-11 15:53:33 +02:00
Héctor Ramón
d1505a98d9
Merge pull request #1358 from ThatsNoMoon/fix-arc_to
Fix `arc_to`
2022-07-10 18:40:11 +02:00
Héctor Ramón Jiménez
3a26a8ccd4
Use Palette consistently in arc example 2022-07-10 15:23:51 +02:00
Héctor Ramón Jiménez
1454bcda4c
Fix README or arc example 2022-07-10 15:20:59 +02:00
Héctor Ramón Jiménez
4b8ae71b63
Add and purify arc example by @ThatsNoMoon 2022-07-10 15:15:29 +02:00
ThatsNoMoon
53d93a37dd
fix another discrepancy with HTML5 arcTo
HTML5's arcTo does not draw a line from the end of the arc to `b`, so
this should not either.
2022-07-10 15:12:11 +02:00
ThatsNoMoon
20b58e0214
fix arc_to
Fixed `path::Builder::arc_to` to behave the same as [HTML5's `arcTo`]
( https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-arcto ).
2022-07-10 15:12:01 +02:00
Héctor Ramón
9051dd6977
Merge pull request #1379 from PolyMeilex/fix/clippy
Address Clippy lints
2022-07-09 19:03:40 +02:00
Héctor Ramón
c4c1221be6
Merge pull request #1373 from fralonra/patch-2
Update import path in pure canvas example
2022-07-09 18:53:46 +02:00
Héctor Ramón Jiménez
e548d6c0d5
Fix Wasm build of todos example 2022-07-09 18:49:50 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
d53cc5498b
Add lint workflow to run cargo clippy 2022-07-09 18:07:18 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Héctor Ramón Jiménez
33a24b5821
Run cargo fmt 2022-07-09 17:07:40 +02:00
Poly
15f794b7a8
Address Clippy lints 2022-07-09 17:07:38 +02:00
Héctor Ramón
fb1e391d06
Fix doc example in pure::canvas::Program
The `widget` module was missing.
2022-07-09 17:03:47 +02:00
Zoron
d4bf49c84c
Update import path in pure canvas example
In current version, `iced::pure::canvas` would be unresolved.
It should be `iced::pure::widget::canvas`.
2022-07-09 17:03:42 +02:00
Héctor Ramón
e053e25d2c
Merge pull request #1362 from iced-rs/theming
Theming
2022-07-09 02:28:52 +02:00
Héctor Ramón Jiménez
7105db97a5
Remove redundant crate::Theme in alias of Element 2022-07-08 23:43:18 +02:00
Héctor Ramón Jiménez
4407385fbe
Make Element aliases in iced compatible with iced_native and iced_pure 2022-07-08 23:38:47 +02:00
Héctor Ramón Jiménez
48bc505cb6
Fix missing docs in iced crate 2022-07-08 23:20:25 +02:00
Héctor Ramón Jiménez
2d6d26cef4
Make widget aliases in iced compatible with iced_native 2022-07-08 20:49:57 +02:00
Héctor Ramón Jiménez
3e643a9d6b
Fix inconsistent styling for Radio and Checkbox 2022-07-08 20:23:38 +02:00
Héctor Ramón Jiménez
3514bd1535
Add theme::Application styling support to Sandbox 2022-07-08 20:13:14 +02:00
Héctor Ramón Jiménez
bb07d017e8
Add Style variant support to application::StyleSheet 2022-07-08 20:07:33 +02:00
Héctor Ramón Jiménez
fa55dff61d
Merge branch 'master' into theming 2022-07-08 19:31:45 +02:00
Héctor Ramón
66eb626300
Merge pull request #1378 from Cupnfish/wgpu-0.13
update `wgpu` to `0.13`
2022-07-03 17:35:31 +02:00
Héctor Ramón Jiménez
9adc20922d
Replace name abbreviation in iced_wgpu 2022-07-03 15:48:32 +02:00
Héctor Ramón Jiménez
3d38d0af91
Simplify format selection in iced_wgpu 2022-07-03 15:30:04 +02:00
Héctor Ramón Jiménez
2010977bd2
Use expect in integration_wgpu example
... together with `first` and `copied`.
2022-07-03 15:27:23 +02:00
Héctor Ramón Jiménez
8b250d12e7
Use latest wgpu_glyph release on crates.io 2022-07-03 15:24:16 +02:00
Cupnfish
390e2a2d34 better wgsl code style 2022-07-02 22:51:51 +08:00
Cupnfish
a88155b2a2 fix wgsl syntax 2022-07-02 22:29:49 +08:00
Cupnfish
64e37b2630 remove unnecessary Cargo.toml formatting 2022-07-02 20:30:28 +08:00
Cupnfish
095ac18c15 replace path to git 2022-07-02 15:55:10 +08:00
Cupnfish
c148557cab update wgpu to 0.13 2022-07-02 15:39:42 +08:00
Héctor Ramón Jiménez
e6e3eff876
Bump versions 🎉 2022-07-01 04:03:24 +02:00
Héctor Ramón
ca185c3ea4
Merge pull request #1376 from iced-rs/fix/canvas-state-tag
Fix `Widget::tag` implementation of `pure::Canvas`
2022-07-01 04:00:32 +02:00
Héctor Ramón Jiménez
9330a83775
Fix Widget::tag implementation of pure::Canvas
Using `P::State` can cause a panic if the `Canvas` has `()` as
`P::State` and replaces a stateless widget in a future `view` call.
2022-07-01 03:37:28 +02:00