Commit graph

216 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
4c90ed6a1b
Remove patch version from softbuffer 2024-01-18 09:59:36 +01:00
Héctor Ramón Jiménez
b9dc106a56
Remove winit dependency from iced root crate 2024-01-18 09:59:14 +01:00
Héctor Ramón Jiménez
8bf2386972
Remove Compositor window generic
And update `glyphon` and `window_clipboard`
2024-01-18 09:55:27 +01:00
Ian Douglas Scott
7289b6091b WIP raw-window-handle 0.6 2024-01-16 21:34:38 -08:00
Ian Douglas Scott
ff268c8c42 Update to softbuffer 0.3, tracking up to age sets of primitives 2024-01-17 07:46:33 -08:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location 2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
534c7dd7b0
Merge branch 'master' into update-winit 2024-01-16 12:02:42 +01:00
Héctor Ramón Jiménez
17135cbd56
Update winit fork to 0.29.10 2024-01-16 12:01:33 +01:00
Héctor Ramón Jiménez
d948ca6f09
Update glyphon to 0.4
`Color` is now always in the sRGB color space.
2024-01-15 23:49:20 +01:00
Héctor Ramón Jiménez
2776d46348
Update winit fork to 0.29.8 2024-01-04 05:12:38 +01:00
Héctor Ramón Jiménez
2f11102ecc
Enable rwh_06 feature for winit dependency 2023-12-15 13:46:26 +01:00
Héctor Ramón Jiménez
e819c2390b
Update winit to 0.29.4 2023-12-15 13:39:00 +01:00
Héctor Ramón Jiménez
abe13b5305
Move multi-window feature before the advanced one 2023-11-29 22:33:20 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support 2023-11-29 22:28:31 +01:00
Bingus
781ef1f94c
Added support for custom shader widget for iced_wgpu backend. 2023-11-14 11:31:44 +01:00
Héctor Ramón
3408ab111f
Merge pull request #1908 from alec-deason/bug/convert_text
Run convert_text on svg trees so text renders correctly
2023-11-11 04:16:17 +01:00
Héctor Ramón Jiménez
2aaaf2cd0c
Call convert_text on svg node before rendering
`tiny-skia` does not support text rendering, so we
convert the text nodes to path nodes prior to that.
2023-11-11 04:03:25 +01:00
Héctor Ramón Jiménez
107e842071
Remove unnecessary default-features attribute from xxhash-rust dependency 2023-11-11 03:43:50 +01:00
Héctor Ramón Jiménez
4b69c71d5b
Remove patch version from xxhash-rust dependency 2023-11-11 03:43:03 +01:00
dtzxporter
98e088e731
Migrate twox-hash -> xxhash_rust. Switch to Xxh3 for better performance.
xxhash-rust is more maintained, built against `::core`, so no workaround for wasm is necessary. Switch to Xxh3 for better performance, which shows when loading/hashing image buffers.
2023-11-11 03:40:22 +01:00
Héctor Ramón
d731996342
Merge pull request #2123 from iced-rs/text-editor
`TextEditor` widget (or multi-line text input)
2023-10-27 17:36:54 +02:00
Héctor Ramón Jiménez
3ec5ad4225
Use upstream repository for glyphon dependency 2023-10-27 06:00:28 +02:00
Héctor Ramón Jiménez
1b534bda53
Merge branch 'master' into text-editor 2023-10-27 05:27:37 +02:00
Héctor Ramón Jiménez
86b877517f
Update wgpu to 0.18 and cosmic-text to 0.10 2023-10-27 03:24:06 +02:00
Héctor Ramón Jiménez
af21cf8249
Remove patch.crates-io section for cosmic-text in Cargo.toml 2023-09-22 05:55:27 +02:00
Héctor Ramón Jiménez
25d47c3238
Remove rangemap patch in Cargo.toml 2023-09-21 06:05:46 +02:00
Héctor Ramón Jiménez
f806d001e6
Introduce new iced_highlighter subcrate 2023-09-19 20:48:50 +02:00
Héctor Ramón Jiménez
d1d0b3aaee
Use Font::MONOSPACE in editor example 2023-09-18 20:14:38 +02:00
Héctor Ramón Jiménez
86d396cf8b
Avoid adding unnecessary spans when syntax highlighting 2023-09-17 23:15:38 +02:00
Héctor Ramón Jiménez
790c0dabcf
Implement syntax highlighting cache in editor example 2023-09-17 21:46:19 +02:00
Héctor Ramón Jiménez
c9dbccba46
Use fork of cosmic-text with some minor fixes 2023-09-16 16:27:02 +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
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
Héctor Ramón Jiménez
8c7308d9ce
Enable all features in docs.rs 2023-07-28 19:57:08 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉 2023-07-28 19:48:39 +02:00
Bingus
d53ccc857d
refactored window storage;
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Bingus
633f405f3f
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	Cargo.toml
#	core/src/window/icon.rs
#	core/src/window/id.rs
#	core/src/window/position.rs
#	core/src/window/settings.rs
#	examples/integration/src/main.rs
#	examples/integration_opengl/src/main.rs
#	glutin/src/application.rs
#	native/src/subscription.rs
#	native/src/window.rs
#	runtime/src/window/action.rs
#	src/lib.rs
#	src/window.rs
#	winit/Cargo.toml
#	winit/src/application.rs
#	winit/src/icon.rs
#	winit/src/settings.rs
#	winit/src/window.rs
2023-07-12 12:23:18 -07:00
Héctor Ramón Jiménez
faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
This is how browsers perform color management. They treat
gamma-corrected sRGB colors as if they were linear RGB.

Correctness aside, this mode is introduced for legacy reasons. Most
UI/UX tooling uses this color management as well, and many have created
an intuition about how color should behave from interacting with a
browser.

This feature flag should facilitate application development with `iced`
in those cases.

More details: https://webcolorisstillbroken.com/
2023-05-31 21:31:58 +02:00
Héctor Ramón Jiménez
dd04c0b070
Bundle tiny-skia backend together with iced_renderer 2023-05-10 22:23:11 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00
Bingus
8ba1843080
Code cleanup, clearer comments + removed some unnecessary dupe;
Removed `Frames` struct return for `window::frames()` since we are just redrawing every window anyways;
Interface dropping;
2023-03-13 14:16:45 -07:00
Héctor Ramón Jiménez
9b4bcd287a
Introduce backend feature flags in iced_renderer 2023-03-06 22:10:13 +01:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime 2023-03-05 06:35:20 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
6cc48b5c62
Move Canvas and QRCode to iced crate
Rename `canvas` modules to `geometry` in graphics subcrates
2023-03-03 04:57:55 +01:00
bungoboingo
e36daa6f93 Removed glutin MW support and reverted glutin changes back to Iced master since it's being axed as we speak. 2023-02-28 13:44:36 -08:00
Héctor Ramón Jiménez
3f6e28fa9b
Use iced_renderer instead of iced_graphics in root crate 2023-02-28 20:47:13 +01:00
Héctor Ramón Jiménez
8c373cd497
Scaffold iced_tiny_skia and connect it to iced_renderer 2023-02-25 15:38:25 +01:00
Héctor Ramón Jiménez
5100b5d0a1
Introduce iced_renderer subcrate featuring runtime renderer fallback 2023-02-24 23:24:48 +01:00