Commit graph

2546 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
6dac049db5
Fix clippy lints 🎉 2022-07-28 04:00:06 +02:00
Héctor Ramón Jiménez
744edbd6c1
Focus text inputs in todos example 2022-07-28 03:58:46 +02:00
Héctor Ramón Jiménez
52f84e51e9
Implement Widget::operate for TextInput 2022-07-28 03:53:47 +02:00
Héctor Ramón Jiménez
80688689aa
Draft widget operations 2022-07-28 02:46:51 +02:00
Héctor Ramón Jiménez
a003e797e8
Fix uninitialized Tree in overlay::Menu 2022-07-28 00:50:03 +02:00
Héctor Ramón Jiménez
375386faa9
Remove pure leftovers in iced_graphics 2022-07-27 07:21:15 +02:00
Héctor Ramón Jiménez
c512d50e19
Fix clippy lints 2022-07-27 06:59:54 +02:00
Héctor Ramón Jiménez
effa6881f7
Enable arc example 2022-07-27 06:57:49 +02:00
Héctor Ramón Jiménez
2dbcdba209
Update counter example in README 🎉 2022-07-27 06:56:26 +02:00
Héctor Ramón Jiménez
a1c5f8839d
Use ToString for Text::new instead of Into<String> 2022-07-27 06:56:09 +02:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +02:00
Héctor Ramón
c44267b85f
Merge pull request #1326 from maxwell8888/master
add pure version of color_palette example
2022-07-27 03:25:02 +02:00
Héctor Ramón Jiménez
f558103abe
Fix small lint in pure_color_palette example 2022-07-27 03:24:25 +02:00
Max Unsted
a28799b65e
add pure version of color_palette example 2022-07-27 03:18:34 +02:00
Héctor Ramón
785385d889
Merge pull request #1390 from iced-rs/fix/container-layout
Fix `max_width` and `max_height` for `Container`
2022-07-19 18:34:39 +02:00
Héctor Ramón Jiménez
cdd3802e68
Fix max_height for Scrollable 2022-07-18 23:38:44 +02:00
Héctor Ramón Jiménez
7e5a5ae743
Fix max_width and max_height for Container 2022-07-18 19:59:38 +02:00
Héctor Ramón
61fd5b0050
Merge pull request #1387 from Luni-4/ci-improvements
CI improvements
2022-07-15 01:35:23 +02:00
Luni-4
408474ca31 test-ci: Use modern workspace option instead of all 2022-07-14 19:39:43 +02:00
Luni-4
b6278afe3a format-ci: Add verbose option for format lints 2022-07-14 19:39:43 +02:00
Luni-4
1d7a4690a4 lint-ci: Consider clippy warnings as errors 2022-07-14 19:39:43 +02:00
Luni-4
09d2541a7a lint-ci: Check examples, tests and benches too 2022-07-14 19:39:43 +02:00
Luni-4
e750809ec2 lint-ci: Use modern workspace option instead of all 2022-07-14 19:39:43 +02:00
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