Commit graph

299 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
b2c87cdd23
Make iced_wgpu a mandatory dependency 2023-02-24 13:39:38 +01:00
Héctor Ramón Jiménez
a0597471b8
Remove iced_glutin and iced_glow leftovers 2023-02-24 13:38:18 +01:00
Héctor Ramón Jiménez
b9a9576207
Remove iced_glow, glyph-brush, and wgpu_glyph dependencies 2023-02-24 13:17:58 +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 Jiménez
0d1656937b
Bump versions 🎉 2023-02-18 12:04:40 +01:00
Bingus
70d487ba20
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	examples/events/src/main.rs
#	glutin/src/application.rs
#	native/src/window.rs
#	winit/src/window.rs
2023-01-18 15:01:17 -08:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉 2023-01-14 01:10:28 +01:00
Richard
974cc6b6f5 Introduce multi_window to iced_glutin 2023-01-09 11:27:04 -08:00
Richard
287306e1eb Introduce multi_window in iced_winit 2023-01-09 11:27:04 -08:00
Richard
529589d7fe Introduce multi_window from pure 2023-01-09 11:27:03 -08:00
bungoboingo
4b6d3797d4
Restructured everything to make profiling a feature of iced_winit. 2023-01-09 18:52:38 +01:00
Bingus
c5cd236b73
Initial profiling support for Iced. 2023-01-09 18:52:38 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉 2022-12-07 04:44:20 +01:00
Cory Forsstrom
3814fda9d2 Add modal example 2022-11-29 12:50:57 -08:00
Héctor Ramón Jiménez
324d60db63
Re-introduce the geometry example 2022-11-28 19:42:53 +01:00
Héctor Ramón Jiménez
23299a555f
Bump versions 🎉 2022-11-10 18:15:10 +01:00