Commit graph

3348 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text 2023-05-02 06:40:48 +02:00
Héctor Ramón
2d7d9a130e
Merge pull request #1822 from iced-rs/basic-shaping
`text::Shaping` strategy selection
2023-05-02 03:30:06 +02:00
Héctor Ramón Jiménez
edf3432bf5
Update glyphon and cosmic-text 2023-05-02 01:02:33 +02:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean 2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy 2023-05-02 01:02:13 +02:00
Héctor Ramón
57a276e165
Merge pull request #1814 from ids1024/advanced-text
Do not require `Copy` for text `StyleSheet::Style`
2023-04-28 19:41:40 +02:00
Ian Douglas Scott
47016a37df Do not require Copy for text StyleSheet::Style
For most widgets, `Style` only requires `Default`. A few require
`Clone`. Only this one requires `Copy`.

Some of the types in the default theme has a custom variant requiring
`Box<dyn Trait>`, or `Rc<dyn Trait>` to provide `Clone`, but this isn't
possible if `Copy` is required.

It would be good to also address the inconsistency of requiring `Clone`
in some places and not others.

This removes `style/src/text.rs` which is unused in this branch and thus
confusing. If there's a reason to keep it, that can be removed from the
change.
2023-04-28 10:14:15 -07:00
Héctor Ramón
c8952ee4a1
Merge pull request #1815 from kr105/master
Fix broken issue link in `ROADMAP.md`
2023-04-28 15:28:10 +02:00
Carlos Pizarro
dcc9a70734
Fix small typo on ROADMAP.md
Link works properly now
2023-04-28 08:36:14 -04:00
Héctor Ramón
c31ab8eee6
Merge pull request #1811 from iced-rs/incremental-rendering
Incremental rendering
2023-04-27 16:09:39 +02:00
Héctor Ramón Jiménez
a755472ee3
Remove unnecessary last_ prefix in Surface of iced_tiny_skia 2023-04-27 15:51:51 +02:00
Héctor Ramón Jiménez
eb1b2bf241
Invalidate last_primitives on resize in iced_tiny_skia 2023-04-27 15:45:02 +02:00
Héctor Ramón Jiménez
38f82ab35f
Expand damage regions of Clip primitives a bit 2023-04-27 15:25:59 +02:00
Héctor Ramón Jiménez
200a29c069
Fix unused import in triangle pipeline for Wasm target in iced_wgpu 2023-04-27 15:17:45 +02:00
Héctor Ramón Jiménez
88d3247717
Fix build of integration example for Wasm target 2023-04-27 15:17:06 +02:00
Héctor Ramón Jiménez
92d808ee73
Fix double reference in compositor in iced_tiny_skia 2023-04-27 15:16:05 +02:00
Héctor Ramón Jiménez
af0303f95e
Move damage tracking logic to compositor in iced_tiny_skia 2023-04-27 15:10:41 +02:00
Héctor Ramón Jiménez
d953d12c38
Fix incorrect wgpu version for Wasm builds in iced_wgpu 2023-04-26 16:48:41 +02:00
Héctor Ramón Jiménez
9c63eb7df5
Update tiny-skia and resvg 2023-04-26 16:46:27 +02:00
Héctor Ramón Jiménez
e63cc181bd
Fix Candidate::build in compositor of iced_renderer 2023-04-26 16:28:47 +02:00
Héctor Ramón Jiménez
f0fa5f76cb
Remove debug overlay from iced_tiny_skia for now 2023-04-26 16:15:53 +02:00
Héctor Ramón Jiménez
d6345ff122
Remove dbg! statement leftover 2023-04-26 16:11:35 +02:00
Héctor Ramón Jiménez
435b54e57e
Revert "Use pixels for presentation in iced_tiny_skia when possible"
This reverts commit 16e6efe020.
2023-04-26 16:09:36 +02:00
Héctor Ramón
78924fa299
Merge pull request #1807 from Davidster/wgpu_16_w_glypth_20
Wgpu 0.16
2023-04-21 21:58:32 +02:00
Héctor Ramón
501b6b8800
Merge pull request #1799 from tarkah/fix/responsive-layout
Invalidate responsive layout when shell layout is invalidated
2023-04-21 21:53:11 +02:00
Héctor Ramón Jiménez
cc20baad6f
Use find(..) instead of filter(..).next() 2023-04-21 21:46:02 +02:00
Héctor Ramón Jiménez
ecc1a4509a
Avoid cloning layout::Node in Responsive widget 2023-04-21 21:40:43 +02:00
Héctor Ramón Jiménez
3f0c226b74
Use point-free notation 2023-04-21 21:36:30 +02:00
David Huculak
cbb2ba38fa remove unused import 2023-04-20 21:38:52 -04:00
David Huculak
8122904ca4 wgpu 0.16 2023-04-20 21:28:47 -04:00
Héctor Ramón
99fc717b7c
Merge pull request #1804 from tarkah/fix/scroll-to-imports
Export scroll_to helper
2023-04-21 01:03:57 +02:00
Cory Forsstrom
a38bf092a8
Export scroll_to helper 2023-04-20 13:34:38 -07:00
Héctor Ramón
4052ccf2b5
Merge pull request #1796 from tarkah/feat/scrollable-scroll-to
Add `scroll_to` operation
2023-04-20 16:09:15 +02:00
Héctor Ramón Jiménez
8a711408de
Compare absolute offsets as well in notify_on_scroll 2023-04-20 15:48:34 +02:00
Héctor Ramón Jiménez
2155d0af1f
Bump version of iced_native 🎉 2023-04-20 15:31:15 +02:00
Héctor Ramón
e96f26f357
Merge pull request #1802 from casperstorm/fix/text_input_icon_misalignment
Center `TextInput::Icon` vertically
2023-04-20 15:30:09 +02:00
Héctor Ramón Jiménez
477d9bd6ad
Bump version of iced_native 🎉 2023-04-20 15:26:26 +02:00
Héctor Ramón Jiménez
2e9129582a
Fix sliders drawing out of their bounds 2023-04-20 15:25:37 +02:00
Casper Rogild Storm
399a22e61d Centered icon vertically 2023-04-20 12:17:11 +02:00
Cory Forsstrom
f42fb6af54
Update lazy/src/responsive.rs
Co-authored-by: Héctor Ramón <hector0193@gmail.com>
2023-04-17 19:04:27 -07:00
Cory Forsstrom
ac7b77f59c
Only invalidate layout if children layout is invalid 2023-04-17 18:42:13 -07:00
Cory Forsstrom
07dfebfec0
Invalidate responsive layout when layout is called 2023-04-17 18:11:50 -07:00
Héctor Ramón Jiménez
619ba9294d
Merge branch 'advanced-text' into incremental-rendering 2023-04-17 23:46:18 +02:00
Héctor Ramón Jiménez
e3730106e9
Update glyphon to latest dev 2023-04-17 23:44:26 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Cory Forsstrom
6ad5e03d71
Add scrollable Viewport 2023-04-17 13:55:40 -07:00
Cory Forsstrom
b623f280ed
Add scroll_to operation for absolute scroll 2023-04-14 13:32:44 -07:00
Héctor Ramón Jiménez
4b05f42fd6
Bump version of iced_lazy 🎉 2023-04-13 16:13:56 +02:00
Héctor Ramón
25fc3ff7f1
Merge pull request #1791 from tarkah/fix/component-operate
Add missing operations for component
2023-04-13 16:13:14 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00