Commit graph

5735 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
ba996f4b01
Fix outdated id mention in Subscription docs 2025-02-14 19:52:17 +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
Héctor
a2b36e6551
Merge pull request #2806 from rhysd/cache-preedit-spans
Fix updating spans cache for pre-edit content in window manager
2025-02-14 13:22:25 +01:00
rhysd
3fcc173c8e Fix updating spans cache for pre-edit content in window manager 2025-02-14 19:13:55 +09:00
Héctor
f889008e21
Merge pull request #2793 from rhysd/issue-2792
Fix the initial candidate window position
2025-02-13 05:19:32 +01: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
f625297475
Fix request_input_method call in text_input 2025-02-12 23:17:48 +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
Héctor Ramón Jiménez
97f1db3783
Fix unneeded re-shaping during layout on text_input edit 2025-02-12 08:43:14 +01:00
Héctor
7c1123d6c9
Merge pull request #2790 from rhysd/adjust-preedit-size
Set correct text size for preedit window
2025-02-12 07:36:48 +01:00
Héctor Ramón Jiménez
7199ed0d07
Use default size for empty pre-edits 2025-02-12 07:26:26 +01:00
Héctor
89a412695a
Merge pull request #2805 from iced-rs/feature/sipper-support
`sipper` support and some QoL
2025-02-12 01:51:20 +01:00
Héctor Ramón Jiménez
e78c757cad
Use short version notation for sipper 2025-02-11 23:18:16 +01:00
Héctor Ramón Jiménez
bf205a88b6
Make row module public 2025-02-11 22:59:28 +01:00
Héctor
718d36972d
Merge pull request #2798 from kenz-gelsoft/fix_input_method_scrolling_offset
Fix the preedit text placement on scrolled content
2025-02-11 21:02:34 +01:00
Héctor
c98f60a42d
Merge pull request #2804 from edwloef/unfocus_operation
add unfocus operation
2025-02-11 20:57:04 +01:00
Héctor
d91e426dab
Add missing dot in unfocus operation docs 2025-02-11 20:48:00 +01:00
Héctor Ramón Jiménez
6f48671042
Fix broken link in Function documentation 2025-02-11 20:28:19 +01:00
Héctor Ramón Jiménez
7d99e4d07e
Use Function trait in Element::map example 2025-02-11 20:25:48 +01:00
edwloef
b80c23fd94
add unfocus operation 2025-02-11 15:47:08 +01:00
Héctor Ramón Jiménez
eab723866e
Replace with function with Function trait 2025-02-11 10:36:45 +01:00
Héctor Ramón Jiménez
080db34849
Make with take a Copy prefix
Use the `with!` macro otherwise!
2025-02-11 03:48:49 +01:00
Héctor Ramón Jiménez
d2d93d0916
Fix typo in with! documentation 2025-02-11 03:42:44 +01:00
Héctor Ramón Jiménez
0c528be2ea
Introduce with helper and use sipper in gallery example 2025-02-11 03:41:29 +01:00
Héctor Ramón Jiménez
9f21eae152
Introduce Task::map_with 2025-02-11 02:34:10 +01:00
Héctor Ramón Jiménez
06ece6a8c3
Remove unneded let _ = in websocket example 2025-02-11 01:32:51 +01:00
Héctor Ramón Jiménez
f37d068af5
Rewrite websocket example using sipper 2025-02-11 01:27:51 +01:00
Héctor Ramón Jiménez
05618ea9b3
Use sipper in download_progress 2025-02-11 00:56:14 +01:00
Héctor Ramón Jiménez
54ffbbf043
Export sipper types in task module 2025-02-11 00:55:59 +01:00
Héctor Ramón Jiménez
0ff5f9e8a7
Update sipper to 0.1.0 2025-02-11 00:39:37 +01:00
Héctor Ramón Jiménez
6154395be0
Use sipper::Core in Task::sip 2025-02-10 17:47:18 +01:00
Héctor Ramón Jiménez
7ba2e39133
Update sipper and relax Send requirements 2025-02-09 21:05:42 +01:00
Héctor Ramón Jiménez
c8981d0096
Implement sipper support through Task::sip 🎉 2025-02-09 11:14:02 +01:00
Héctor
12653114bd
Merge pull request #2796 from tarkah/feat/gallery-enhancements
Add blurhash to gallery
2025-02-09 08:36:34 +01:00
Héctor Ramón Jiménez
e0d60d5839
Increase blurhash fade in duration and adjust easing in gallery example 2025-02-09 08:28:29 +01:00
Héctor Ramón Jiménez
80ccbb8357
Create explicit Thumbnail struct in gallery example 2025-02-09 08:12:04 +01:00
Héctor Ramón Jiménez
ec4d007a4c
Simplify gallery example a bit 2025-02-09 08:02:05 +01:00
Héctor Ramón Jiménez
17395e8320
Use to_owned instead of to_string in gallery example 2025-02-09 06:40:48 +01:00
Héctor Ramón Jiménez
f3ae4266e9
Implement From<u32> instead of u16 for Length and Pixels 2025-02-09 06:38:48 +01:00
Héctor Ramón Jiménez
65bf503963
Introduce additional color styles for container 2025-02-09 05:59:32 +01:00
KENZ
02cbe3cbb5 Fix scrolling offset of preedit window 2025-02-07 23:26:34 +09: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
Héctor
940a079d83
Merge pull request #2795 from tarkah/fix/image-viewer-redraw
Request redraw in image viewer update
2025-02-07 03:26:20 +01:00
Cory Forsstrom
ab236376a3
Add blurhash to gallery 2025-02-06 14:44:11 -08:00
Cory Forsstrom
a8b1aef0a4
Request redraw in image viewer update 2025-02-06 13:35:48 -08:00
rhysd
cf851e133a Do not pass text size to Preedit::new 2025-02-06 09:57:01 +09:00
rhysd
fcdf53afde Set correct text size for text in preedit window 2025-02-06 02:01:52 +09:00
Héctor
4bbb5cbc1f
Merge pull request #2786 from iced-rs/customizable-markdown
Customizable Markdown Rendering and Image Support
2025-02-05 02:20:36 +01:00
Héctor Ramón Jiménez
ef25dfb733
Use code_size instead of spacing for code_block metrics 2025-02-05 02:01:41 +01:00