Commit graph

613 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
132f60c29c
Draft toast notification overlay in devtools 2025-04-05 20:08:54 +02:00
Héctor Ramón Jiménez
3f67044977
Merge branch 'master' into beacon 2025-04-05 18:20:31 +02:00
Héctor Ramón Jiménez
1b22d7d5fc
Fix Compositor concurrent initialization
It seems that initializing the compositor in a
different thread can cause issues in some environments.
2025-04-02 20:39:14 +02:00
Héctor Ramón Jiménez
57cb14ce38
Remove Executor::block_on and simplify Compositor creation 2025-04-02 11:01:11 +02:00
edwloef
baadcc150f
don't use futures-executor when it's not the default executor 2025-04-02 10:48:11 +02:00
Héctor Ramón Jiménez
e060129951
Merge branch 'master' into beacon 2025-04-01 02:18:20 +02:00
Héctor Ramón Jiménez
576dd22733
Split local state from Engine in iced_wgpu 2025-03-24 20:22:15 +01:00
Héctor Ramón Jiménez
9c1edc3d78
Downgrade presentation error! to warn! in iced_winit 2025-03-19 19:23:35 +01:00
Héctor Ramón Jiménez
31b98ee3eb
Notify window before presentation 2025-03-18 18:29:19 +01:00
Héctor Ramón Jiménez
121102e55b
Track and report Task::units to debug API 2025-03-13 02:07:06 +01:00
Héctor Ramón Jiménez
5f15522368
Report theme changes to debug API 2025-03-13 00:42:28 +01:00
Héctor Ramón Jiménez
0079a8a3e9
Report subscriptions tracked with beacon protocol 2025-03-12 16:29:42 +01:00
Héctor Ramón Jiménez
fd1101bd5f
Unify Program definition in iced_program subcrate 2025-03-12 02:10:42 +01:00
Héctor Ramón Jiménez
ebfcb65841
Merge branch 'master' into beacon 2025-03-11 22:25:06 +01:00
Héctor Ramón Jiménez
0e4a392731
Introduce text::Alignment with Justified support 2025-03-11 02:30:50 +01:00
Héctor Ramón Jiménez
179a34d37b
Fix horizontal text alignment 2025-03-11 00:43:51 +01:00
Héctor Ramón Jiménez
a106f7f837
Initialize debug with proper Program name 2025-03-05 11:52:05 +01:00
Héctor Ramón Jiménez
8bd5de72ea
Merge branch 'master' into beacon 2025-03-04 19:11:37 +01:00
Héctor Ramón Jiménez
cf2b28fd74
Free proxy slots unconditionally in AboutToWait 2025-02-26 13:28:03 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt 2025-02-21 01:37:13 +01:00
Héctor
d6848977bc
Merge pull request #2797 from AMS21/fix_2794
Fix system informations `cpu_brand` always being empty
2025-02-15 14:15:43 +01:00
Héctor Ramón Jiménez
cc8b326dfc
Fix priority of redraw requests in winit shell 2025-02-14 19:34:11 +01:00
rhysd
3fcc173c8e Fix updating spans cache for pre-edit content in window manager 2025-02-14 19:13:55 +09:00
rhysd
89a4dc2ac2 Clear pre-edit window state when pre-edit content is None 2025-02-13 13:10:07 +09:00
Héctor Ramón Jiménez
88ffba4a3a
Simplify preedit overlay creation 2025-02-13 01:50:27 +01:00
Héctor Ramón Jiménez
7979125ed7
Simplify InputMethod API with only two states
Co-authored-by: rhysd <lin90162@yahoo.co.jp>
Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
2025-02-12 08:46:35 +01:00
AMS21
3c01854575
Fix system informations cpu_brand always being empty
This was caused by a misuse of the `global_cpu_info` function, which
does not contain a valid `cpu_brand` field.

To fix this, we now get the first cpu and return it's brand instead.

Fixes #2794
2025-02-07 08:48:52 +01:00
rhysd
fcdf53afde Set correct text size for text in preedit window 2025-02-06 02:01:52 +09:00
Héctor Ramón Jiménez
ba755c69d6
Fulfill InputMethod requests only during RedrawRequested 2025-02-03 03:34:41 +01:00
Héctor Ramón Jiménez
c9abe25d31
Use text::Span::new in window_manager 2025-02-03 02:38:20 +01:00
Héctor Ramón Jiménez
c83809adb9
Implement basic IME selection in Preedit overlay 2025-02-03 02:33:40 +01:00
Héctor Ramón Jiménez
3a35fd6249
Clamp pre-edit inside viewport bounds 2025-02-03 01:30:41 +01:00
Héctor Ramón Jiménez
d28af5739b
Track pre-edits separately from focus in text inputs 2025-02-03 00:51:57 +01:00
Héctor Ramón Jiménez
db990b77e4
Add neutral None variant to InputMethod 2025-02-02 21:06:50 +01:00
Héctor Ramón Jiménez
ae10adda74
Refactor and simplify input_method API 2025-02-02 20:45:29 +01:00
Héctor Ramón Jiménez
d5ee9c2795
Copy winit docs for input_method::Event 2025-02-02 17:55:16 +01:00
Héctor Ramón Jiménez
0c6d4eb23f
Run cargo fmt and fix lints 2025-02-02 17:50:12 +01:00
KENZ
7db5256b72
Draft input_method support 2025-02-02 17:44:13 +01:00
Héctor Ramón Jiménez
57b553de2f
Fix infinite runtime loop when queue redraws at a specific time 2025-02-02 02:28:04 +01:00
Héctor Ramón Jiménez
8a453903b9
Fix broken doc link in winit::conversion 2025-01-16 11:36:03 +00:00
tsuza
e3f149d932
feat: add a window drag resize task 2025-01-16 11:17:00 +00:00
Héctor
bca293db2a
Merge pull request #2722 from iced-rs/fix/lazy-compositor-initialization
Initialize `Compositor` lazily in `winit` shell
2025-01-14 11:32:38 +00:00
Héctor Ramón Jiménez
8b3b554de2
Panic instead of erroring when compositor channel unexpectedly closes 2025-01-14 11:18:08 +00:00
Héctor Ramón Jiménez
5b70754809
Rename window::change_* tasks to set_* 2025-01-06 23:25:57 +01:00
Héctor Ramón Jiménez
ed199e5e8f
Fix unintuitive variable name in winit::program 2025-01-06 23:24:12 +01:00
Héctor Ramón Jiménez
91fd6d395f
Remove window::change_title since it's redundant
Applications can change title declaratively.
2025-01-06 23:20:51 +01:00
JL710
00b60d819b
window task for setting resize increments 2025-01-06 23:20:51 +01:00
JL710
f5f075e5cd
window resizable task 2025-01-06 23:20:51 +01:00
JL710
8ebbfa9767
window tasks for setting min and max size 2025-01-06 23:20:51 +01:00
JL710
ca8aaf9b8d
add Task and Action for changing a window title 2025-01-06 23:20:51 +01:00