Héctor Ramón
b5e7fb240c
Merge pull request #2070 from ripytide/master
...
Added a Frame::scale_nonuniform method
2023-09-07 06:03:41 +02:00
Héctor Ramón
d82c8b59e6
Merge pull request #2071 from Davidster/wgpu_webgpu_support
...
use @interpolate(flat) attribute as per the WebGPU spec
2023-09-07 05:53:50 +02:00
Héctor Ramón Jiménez
09965b686e
Make scale methods in Frame generic over f32 and Vector
2023-09-07 05:51:39 +02:00
Héctor Ramón Jiménez
1f263051b6
Implement scale in terms of scale_nonuniform
2023-09-07 05:45:51 +02:00
Héctor Ramón Jiménez
87800095e2
Remove unnecessary interpolate(flat) in quad.wgsl
2023-09-07 05:43:03 +02:00
Héctor Ramón
ccc7870892
Merge pull request #2074 from iced-rs/self-host-gifs
...
Host GIFs and video examples in `iced.rs`
2023-09-07 05:18:51 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
...
RIP Gfycat
2023-09-07 05:05:43 +02:00
Nick
e5afaa0892
Add access to bounds/content bounds from a scrollable viewport. ( #2072 )
...
* Add access to bounds/content bounds from a scrollable viewport in order to perform certain scrollable optimizations as a consumer.
* Move bounds/content_bounds after relative_offset as per feedback.
2023-09-07 01:50:59 +00:00
Héctor Ramón
6fc88c3c80
Merge pull request #2059 from joshuamegnauth54/ensure_nonzero_text_lineheight
...
[issue #2002 ] Ensure that absolute `LineHeight` is always > 0.0
2023-09-07 03:49:44 +02:00
Héctor Ramón
d1822ad811
Merge pull request #2069 from iced-rs/use-workspace-dependencies
...
Use workspace dependencies and package inheritance
2023-09-07 03:30:35 +02:00
Héctor Ramón Jiménez
d315e27451
Update example dependencies
2023-09-07 03:15:02 +02:00
Héctor Ramón
c8fed143eb
Merge pull request #2073 from iced-rs/event-helpers
...
Add `keyboard` subscriptions and rename `subscription::events` to `event::listen`
2023-09-07 03:10:57 +02:00
Héctor Ramón Jiménez
8cfad86ec1
Unify audit and detect workflows
2023-09-07 03:02:06 +02:00
Héctor Ramón Jiménez
d21f0698b5
Add hotkey support for stopwatch example
2023-09-07 02:58:43 +02:00
Héctor Ramón Jiménez
08a031cbe5
Introduce keyboard::on_key_press and on_key_release
...
Also rename `subscription::events*` to `event::listen*`.
2023-09-07 02:45:15 +02:00
Josh Megnauth
cee0ed6469
Use the correct text size and height in tiny_skia
2023-09-05 20:45:27 -04:00
ripytide
5371fae21a
added a Frame::scale_nonuniform method
2023-09-05 10:49:50 +01:00
Josh Megnauth
bdf18554fe
Check LineHeight > 0.0 before allocating text
2023-09-04 23:47:44 -04:00
Josh Megnauth
20681b4777
Ensure LineHeight is always > 0.0 for tiny skia.
2023-09-04 21:03:16 -04:00
Héctor Ramón Jiménez
34876aea5e
Add GitHub CI workflow to detect outdated dependencies
2023-09-04 13:41:21 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
...
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Josh Megnauth
ef429fbea6
Ensure LineHeight > 0.0 for the WGPU renderer
2023-09-04 02:58:54 -04:00
Héctor Ramón
a56b25b909
Merge pull request #2068 from iced-rs/webgpu-by-default
...
Enable WebGPU backend in `wgpu` by default instead of WebGL
2023-09-04 04:04:01 +02:00
Héctor Ramón Jiménez
685e44587c
Enable unstable web-sys APIs on CI
2023-09-04 03:46:41 +02:00
Héctor Ramón Jiménez
bb49a22996
Enable WebGPU backend in wgpu by default instead of WebGL
...
Instead, we expose a new `webgl` feature.
2023-09-04 03:28:45 +02:00
David Huculak
76cec1b1fd
use @interpolate(flat) attribute as per the WebGPU spec:
...
User-defined vertex outputs and fragment inputs of scalar or vector integer type must always be specified as @interpolate(flat)
https://www.w3.org/TR/WGSL/#interpolation
2023-09-03 19:32:38 -04:00
Héctor Ramón
2c51e3478b
Merge pull request #2046 from dtzxporter/dtzxporter-patch-1
...
Support automatic style type casting for Buttons.
2023-09-03 09:10:16 +02:00
Héctor Ramón
63c5f6278b
Merge branch 'master' into dtzxporter-patch-1
2023-09-03 08:55:57 +02:00
Héctor Ramón
404f4974a3
Merge pull request #2062 from akshayr-mecha/master
...
fix(examples-styling): fixed checkbox and toggler getting hidden behind scrollbar
2023-09-03 08:55:10 +02:00
Héctor Ramón Jiménez
982ea578be
Stop verifying the CHANGELOG on every PR
...
It's a real pain to keep it up-to-date. Way easier
to generate it with a script before release.
2023-09-03 08:43:58 +02:00
Héctor Ramón Jiménez
89d31913db
Update CHANGELOG
2023-09-03 08:43:12 +02:00
Héctor Ramón Jiménez
28252e6408
Update CHANGELOG
2023-09-03 08:41:08 +02:00
Nick
aed06ac208
Support automatic style type casting for Buttons.
...
Changes the signature of Button::style to use `impl Into<...>` instead of taking the style sheet itself. (Matches other widgets).
2023-09-03 08:38:49 +02:00
Héctor Ramón
20bf01a551
Use Length::Fill instead of fixed length in styling example
2023-09-03 08:33:02 +02:00
Akshay Raina
3a44ad3c73
fix(examples-styling): fixed checkbox and toggler getting hidden behind scrollbar
...
Column inside scrollable is having Length::Fill so it is taking entire width thus hiding check box and toggler.
Added fixed width to scrollable so Lenth::Fill will be relative to fixed width
2023-09-03 08:33:02 +02:00
Héctor Ramón
3b0d1b1ed4
Merge pull request #2067 from iced-rs/custom-extended-palette-generation
...
Introduce `theme::Custom::with_fn` to generate completely custom themes
2023-09-03 02:41:56 +02:00
Héctor Ramón Jiménez
624d5c2c64
Update CHANGELOG
2023-09-03 02:31:12 +02:00
Héctor Ramón Jiménez
832d9f1b01
Introduce theme::Custom::with_fn to generate completely custom themes
2023-09-03 01:34:13 +02:00
Héctor Ramón Jiménez
9b9b37e6f8
Fix adapter selection loop in iced_wgpu
2023-09-03 01:14:22 +02:00
Héctor Ramón Jiménez
0b28080d3e
Remove redundant into_iter call in iced_wgpu
2023-09-03 01:05:17 +02:00
Héctor Ramón Jiménez
020fb3c377
Fix iced_wgpu device selection on Wasm
2023-09-03 01:04:23 +02:00
Héctor Ramón
52b3f69e35
Merge pull request #2065 from iced-rs/update-wgpu
...
Update `wgpu` to `0.17`
2023-09-03 00:44:31 +02:00
Héctor Ramón Jiménez
d518e7d423
Update wgpu for Wasm
2023-09-03 00:28:05 +02:00
Héctor Ramón Jiménez
d4f5dd7c95
Update CHANGELOG
2023-09-03 00:24:09 +02:00
Héctor Ramón Jiménez
6cc354fdc4
Update wgpu to 0.17
2023-09-03 00:21:04 +02:00
Héctor Ramón Jiménez
c9bd48704d
Replace GitHub discussions with Discourse
2023-08-26 19:32:09 +02:00
Héctor Ramón Jiménez
8ed06dc356
Fix clippy lints for Rust 1.72
2023-08-26 01:34:42 +02:00
Héctor Ramón Jiménez
e0eb19d4cd
Fix consistency of Discourse badge in README
2023-08-26 01:32:08 +02:00
Héctor Ramón Jiménez
36120d5685
Run cargo fmt with Rust 1.72
2023-08-26 01:31:11 +02:00
Héctor Ramón Jiménez
96b435488a
Add new Discourse forum badge to README
2023-08-26 01:27:01 +02:00