Commit graph

3116 commits

Author SHA1 Message Date
bungoboingo
51296572c0 Merge remote-tracking branch 'iced-main/master' into feat/multi-window-support
# Conflicts:
#	glutin/src/application.rs
#	winit/src/icon.rs
2023-02-28 13:08:30 -08:00
Héctor Ramón
86b85d1436
Merge pull request #1735 from iced-rs/remove-alignment-fill
Remove `Fill` variant for `Alignment`
2023-02-28 16:03:05 +01:00
Héctor Ramón Jiménez
9e815cb749
Remove Fill variant for Alignment
Implementing this generically in our `flex` logic has an exponential
cost. Let's explore other options!
2023-02-27 16:54:28 +01:00
Héctor Ramón Jiménez
5f93437285
Bump version of iced_core 🎉 2023-02-25 21:43:53 +01:00
Héctor Ramón
be8102ea3b
Merge pull request #1734 from iced-rs/fix/padding-fit
Fix `Padding::fit` on irregular values for an axis
2023-02-25 21:43:32 +01:00
Héctor Ramón Jiménez
871b7e0311
Fix Padding::fit on irregular values for an axis 2023-02-25 21:28:21 +01:00
Héctor Ramón
f07fdba0b1
Merge pull request #1733 from iced-rs/update/svg-deps
Update `resvg` in `iced_graphics`
2023-02-25 15:17:46 +01:00
Héctor Ramón Jiménez
1475f5fa58
Update resvg in iced_graphics 2023-02-25 15:04:40 +01:00
Héctor Ramón
573d27eb52
Merge pull request #1731 from tarkah/fix/debug-bytes
Remove logging large bytes arrays
2023-02-23 19:38:43 +01:00
Cory Forsstrom
07a7681dba
Remove logging large bytes arrays 2023-02-23 09:31:48 -08:00
Bingus
a131f11a23
Merge remote-tracking branch 'origin/master' into feat/multi-window-support 2023-02-23 08:15:26 -08:00
Bingus
50b9c778b1
Fixed state syncing issue with MW. 2023-02-22 10:05:52 -08:00
Héctor Ramón
666f3cd143
Merge pull request #1723 from iced-rs/subscription-run
Change `subscription::run` to take a function pointer
2023-02-21 21:18:01 +01:00
Héctor Ramón Jiménez
1fb413fd80
Change subscription::run to take a function pointer
... and rename the old `run` to `run_with_id`.
2023-02-21 20:56:10 +01:00
Bingus
bd58d5fe25
Cargo fix 2023-02-20 13:35:55 -08:00
Bingus
9565b477ca
Merge remote-tracking branch 'origin/master' into feat/multi-window-support 2023-02-20 10:04:36 -08:00
Héctor Ramón
8c83d40e11
Merge pull request #1721 from casperstorm/feat/no-bleed-slider
Sliders no longer bleed over rail
2023-02-20 14:54:54 +01:00
Casper Storm
96c0bd65df
Sliders no longer bleed over rail 2023-02-20 12:24:31 +01:00
Héctor Ramón Jiménez
2b8742937f
Bump version of iced_native 🎉 2023-02-18 22:16:44 +01:00
Héctor Ramón
1b79df4433
Merge pull request #1717 from iced-rs/remove-clone-image-bytes
Remove `Clone` bound for `Bytes::new` in `image`
2023-02-18 22:15:11 +01:00
Héctor Ramón
f0decca8bc
Merge pull request #1716 from iced-rs/fix/draw-base-cursor
Fix base cursor position during `UserInterface::draw` when overlay is present
2023-02-18 22:05:31 +01:00
Héctor Ramón Jiménez
bf061a0d62
Remove Clone bound for Bytes::new in image 2023-02-18 21:55:49 +01:00
Héctor Ramón Jiménez
3d8f1ad238
Fix base cursor position during UserInterface::draw when overlay is present 2023-02-18 21:52:08 +01:00
Héctor Ramón Jiménez
0d1656937b
Bump versions 🎉 2023-02-18 12:04:40 +01:00
Héctor Ramón
c6218cbc55
Merge pull request #1714 from iced-rs/fix/overlay-menu-height
Fix height of `overlay::Menu`
2023-02-18 09:00:44 +01:00
Héctor Ramón Jiménez
ffcd4f1bec
Fix height of overlay::Menu 2023-02-18 08:45:54 +01:00
Bingus
3aaf5d8873
Fixed widget operations 2023-02-17 13:26:31 -08:00
Bingus
2d427455ce
Iced master merge (again) 2023-02-17 13:01:40 -08:00
Bingus
744cef5608
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	winit/src/window.rs
2023-02-17 11:45:34 -08:00
Bingus
8da098330b
Fixed widget animations implementation 2023-02-17 11:42:49 -08:00
Héctor Ramón
7dc1fb488d
Merge pull request #1711 from iced-rs/feature/generic-pixel-units
Generic pixel units
2023-02-17 16:53:02 +01:00
Héctor Ramón Jiménez
fd14086933
Use Pixels for padding in image::Viewer 2023-02-17 16:24:37 +01:00
Héctor Ramón Jiménez
a467a037c3
Use Pixels for spacing 2023-02-17 16:23:29 +01:00
Héctor Ramón Jiménez
fd3a141024
Use f32 for Icon::size in checkbox 2023-02-17 16:18:27 +01:00
Héctor Ramón Jiménez
3320ac1126
Use f32 for Padding 2023-02-17 16:09:49 +01:00
Héctor Ramón Jiménez
0872d078e2
Use Pixels for size methods 2023-02-17 15:56:19 +01:00
Héctor Ramón Jiménez
67e3da5669
Use Pixels for Slider::height and VerticalSlider::width 2023-02-17 15:55:12 +01:00
Héctor Ramón Jiménez
70483e7fdd
Fix Scrollbar bound calculations in Scrollable 2023-02-17 15:48:35 +01:00
Héctor Ramón Jiménez
570600ce51
Use Pixels for Text::size 2023-02-17 15:47:51 +01:00
Héctor Ramón Jiménez
7b8b01f560
Use f32 in Length::Units and rename it to Fixed 2023-02-17 15:40:17 +01:00
Héctor Ramón
f75e020257
Merge pull request #1551 from sdroege/image-data-refcounting
image: Allow any kind of data that implements `AsRef<[u8]>` for the i…
2023-02-17 14:50:45 +01:00
Héctor Ramón Jiménez
d7c83080f2
Wrap image Bytes with Arc instead of Data 2023-02-17 14:37:15 +01:00
Sebastian Dröge
d2996f3ed8
image: Allow any kind of data that implements AsRef<[u8]> for the image data
It's not required anywhere for it to be a plain slice or a `Vec` and
this makes it possible to use data allocated in a different way without
copying.
2023-02-17 14:23:13 +01:00
Héctor Ramón
27ba0be783
Merge pull request #1665 from Jedsek/patch-2
Minor update: `example/qr_code`
2023-02-17 14:12:56 +01:00
Héctor Ramón
c2a5f05924
Merge pull request #1589 from Night-Hunter-NF/FetchWindowId
add action to get window id
2023-02-17 14:10:08 +01:00
Héctor Ramón Jiménez
ac1945404e
Run cargo fmt 2023-02-17 13:57:04 +01:00
Héctor Ramón Jiménez
2c2421ae5d
Expose fetch_id helper in window module 2023-02-17 13:47:46 +01:00
Night_Hunter
9f75f01ddb
add action to get window id 2023-02-17 13:45:51 +01:00
Héctor Ramón
b9b0a9a1f4
Merge pull request #1587 from Night-Hunter-NF/AlwaysOnTop
add always on top action
2023-02-17 13:39:58 +01:00
Héctor Ramón Jiménez
db65c6904d
Expose change_always_on_top helper in window module 2023-02-17 13:24:46 +01:00