Commit graph

5527 commits

Author SHA1 Message Date
Héctor
4a080e27ab
Merge pull request #2606 from tvolk131/qr_code_fixed_size
feat: set total size of QRCode
2024-10-02 17:23:33 +02:00
Héctor
d5f278b31d
Merge pull request #2611 from tarkah/fix/ignore-out-of-viewport-text
Don't fill out of viewport text
2024-10-02 17:21:22 +02:00
Héctor Ramón Jiménez
b02ec8b6b2
Make cell_size and total_size generic over Pixels in qr_code 2024-10-02 17:14:03 +02:00
Héctor Ramón Jiménez
a1e2bd22ec
Simplify total size logic in qr_code example 2024-10-02 17:14:00 +02:00
Héctor
5ee82b2ef0
Merge pull request #2608 from ibaryshnikov/haskell
added physical_key to KeyReleased event
2024-10-02 17:02:13 +02:00
Héctor Ramón Jiménez
32cdc99e92
Add modified_key to keyboard::Event::KeyReleased 2024-10-02 16:53:10 +02:00
Héctor Ramón Jiménez
d40aa6400d
Cull widget draw calls in column and row 2024-10-02 15:45:21 +02:00
Héctor
40abed6e5c
Merge pull request #2619 from edwloef/master
Derive `Default` for `iced_wgpu::geometry::Cache`
2024-10-02 15:34:06 +02:00
Héctor
e504e35146
Merge pull request #2615 from bbb651/wayland-file-dropped-doc
Document Wayland `File*` Events as Unsupported & Fix Typos
2024-10-02 15:29:35 +02:00
Héctor
e086c19a06
Merge pull request #2617 from tvolk131/fix_circular_progress_skipping
fix: circular progress no longer skips
2024-10-02 15:26:34 +02:00
edwloef
a5c42d4cb1
Derive Default for iced_wgpu::geometry::Cache 2024-10-02 15:24:37 +02:00
Matt Thompson
8d66b97888 Change lifetime of markdown view IntoIterator Item, as it does not need to live as long as the returned Element. 2024-10-01 19:30:10 -07:00
Tommy Volk
8028a0ddce fix: circular progress no longer skips 2024-09-29 22:17:30 -05:00
bbb651
7a86900a45 Fix various typos
Using https://github.com/crate-ci/typos
2024-09-29 16:37:35 +03:00
bbb651
afecc0f367 Document File{Dropped,Hovered,HoveredLeft} as unsupported on wayland
Blocked on https://github.com/rust-windowing/winit/issues/1881
2024-09-29 16:28:05 +03:00
Cory Forsstrom
509a0a574a
Don't fill out of viewport text 2024-09-27 08:58:33 -07:00
ibaryshnikov
8b34f99b02 added physical_key to KeyReleased event 2024-09-26 17:13:32 +03:00
Tommy Volk
a949e59f3e feat: set total size of QRCode 2024-09-24 20:57:53 -05:00
7sDream
75548373a7
Add support for double click event to MouseArea (#2602)
* feat(widget/mouse_area): add double_click event

* Run `cargo fmt`

---------

Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
2024-09-24 21:05:17 +00:00
Héctor
3c68b64cbf
Merge pull request #2605 from Gobbel2000/frame_paste
Include images and saved meshes when pasting `Frame`
2024-09-24 22:59:57 +02:00
Héctor
faff6fb8e0
Merge pull request #2601 from edwloef/master
always increment solid/gradient count in wgpu mesh rendering
2024-09-24 22:43:13 +02:00
Gabriel Vogel
26b09e1b4d Include images and saved meshes when pasting Frame
`tiny_skia::Frame` was ignoring images in `Frame::paste`, making images
not show up when created in a `with_clip` context.

`wgpu::Frame` similarly did not pass through meshes in its paste method,
that may have been saved from a nested `with_clip` call.
2024-09-24 22:29:03 +02:00
Héctor
142aba2f17
Merge pull request #2598 from iced-rs/fix/shrink-cross-flex-layout
Fix flex layout of `Fill` elements in a `Shrink` cross axis
2024-09-24 21:59:41 +02:00
edwloef
f984e759eb always increment solid/gradient count in wgpu mesh rendering 2024-09-22 12:22:49 +02:00
Héctor Ramón
88a2fac1f9
Merge pull request #2599 from iced-rs/replace-rc-with-arc-for-markdown
Replace `Rc` with `Arc` for `markdown` caching
2024-09-21 22:39:03 +02:00
Héctor Ramón Jiménez
6d1ecb79e3
Replace Rc with Arc for markdown caching 2024-09-21 22:27:49 +02:00
Héctor Ramón Jiménez
24150effad
Remove broken links to ECOSYSTEM.md 2024-09-21 21:20:20 +02:00
Héctor Ramón Jiménez
1383c6a4f7
Fix flex layout of Fill elements in a Shrink cross axis
Instead of collapsing, the `Fill` elements will fill the
cross space allocated by the other `Shrink` elements present
in the container.
2024-09-21 21:14:54 +02:00
Héctor Ramón
3a1ed24550
Merge pull request #2596 from mtkennerly/bugfix/wrapped-row-with-spacing
Fix layout for wrapped row with spacing
2024-09-21 20:20:57 +02:00
mtkennerly
05d5e0739d
Fix layout for wrapped row with spacing 2024-09-20 22:15:03 -04:00
Héctor Ramón
6162850c78
Merge pull request #2594 from tvolk131/fix_docs
Fix documentation for open_events()
2024-09-21 00:15:07 +02:00
Tommy Volk
e9aa276a93 Fix documentation for open_events() 2024-09-20 15:57:09 -05:00
Héctor Ramón
ca93c41789
Merge pull request #2593 from iced-rs/fix/slow-ci-docs
Move `wgpu` re-export to root module
2024-09-20 18:54:09 +02:00
Héctor Ramón Jiménez
91c00e4abf
Move wgpu re-export to root module
This seems to fix a `cargo doc` performance issue;
and it makes more sense anyways.
2024-09-20 18:37:17 +02:00
Héctor Ramón
53f88fe2cf
Merge pull request #2592 from iced-rs/fix/color-macro
Drop short-hand notation support for `color!` macro
2024-09-20 17:52:28 +02:00
Héctor Ramón Jiménez
2a547ae372
Drop short-hand notation support for color! macro
We'd need to use `stringify!` and `str::len` to properly
support the short-hand notation; however, we want the
macro to work in `const` contexts.
2024-09-20 17:27:43 +02:00
Héctor Ramón
b78b8bc8e3
Merge pull request #2510 from iced-rs/wgpu-22.0
Update `wgpu` to `22.0`
2024-09-20 01:27:08 +02:00
Héctor Ramón Jiménez
84b658dbef
Introduce strict-assertions feature flag
For now, this feature flag only enables validation
in `iced_wgpu`; which has become quite expensive
since its `0.20` release.
2024-09-20 00:59:45 +02:00
Héctor Ramón Jiménez
a5e69cfb5f
Update wgpu to 22.0 2024-09-20 00:14:47 +02:00
Héctor Ramón Jiménez
aed9a03e3c
Update wgpu to 0.20.1 2024-09-20 00:14:46 +02:00
Héctor Ramón Jiménez
fed9c8d19b
Bump version to 0.14.0-dev 🎉 2024-09-19 23:36:05 +02:00
Héctor Ramón
3a9139e64f
Merge pull request #2588 from iced-rs/must-use-task
Add `must_use` attribute to `Task`
2024-09-19 23:27:09 +02:00
Héctor Ramón Jiménez
114f7dfa14
Add must_use attribute to Task 2024-09-19 23:17:09 +02:00
Héctor Ramón Jiménez
bf3b6f100d
Bump version to 0.13.1 🎉 2024-09-19 07:05:51 +02:00
Héctor Ramón
6bed89973d
Merge pull request #2586 from lufte/master
Set the text color determined by the style function
2024-09-19 06:59:27 +02:00
Héctor Ramón
ddbb8445bf
Merge pull request #2587 from iced-rs/improve-api-reference
Add widget examples to API reference and update `README`
2024-09-19 06:59:05 +02:00
Héctor Ramón Jiménez
1f8dc1f3dd
Fix mouse_area not notifying of mouse move events 2024-09-19 06:57:07 +02:00
Héctor Ramón Jiménez
31c42c1d02
Write doc examples for column and row 2024-09-19 06:49:22 +02:00
Héctor Ramón Jiménez
cda1369c79
Write doc examples for rich_text widget 2024-09-19 06:38:48 +02:00
Héctor Ramón Jiménez
4e38992636
Show tooltip doc example in multiple places 2024-09-19 06:27:54 +02:00