Commit graph

5621 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
c7711e59ab
Add language to Item::CodeBlock in markdown 2025-02-05 01:33:16 +01:00
Héctor Ramón Jiménez
f8c71a20a9
Rename on_link_clicked to on_link_click 2025-02-04 21:22:01 +01:00
Héctor Ramón Jiménez
e8020f3eaf
Add Copy action to code blocks in markdown example 2025-02-04 20:58:06 +01:00
Héctor Ramón Jiménez
387abafa3a
Add alt and title to markdown images 2025-02-04 20:19:25 +01:00
Héctor Ramón Jiménez
a6e64eac6f
Animate image fade in in markdown example 2025-02-04 19:57:51 +01:00
Héctor
1f9723a929
Merge pull request #2785 from rhysd/fix-placeholder-ime-pos
Remove the placeholder text when IME is activated in text input
2025-02-04 19:12:59 +01:00
Héctor Ramón Jiménez
24cf355e96
Fix documentation of markdown and rich_text 2025-02-04 19:07:24 +01:00
rhysd
eedaa376b9 Remove the placeholder text when IME is activated in text input 2025-02-05 00:53:16 +09:00
Héctor Ramón Jiménez
5655998761
Draft Viewer trait for markdown 2025-02-04 07:53:56 +01:00
Héctor Ramón Jiménez
c02ae0c4a4
Introduce view_with customizers in markdown module 2025-02-04 03:41:05 +01:00
Héctor
782b96b52f
Merge pull request #2781 from iced-rs/event-by-reference
Take `Event` by reference in `Widget::update`
2025-02-04 01:38:24 +01:00
Héctor
3f509c6d0e
Merge pull request #2782 from edwloef/empty_meshes
don't try to draw empty meshes in wgpu
2025-02-04 01:31:01 +01:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update 2025-02-04 01:26:59 +01:00
edwloef
8ca04bf69d
Add debug assertions to draw_mesh in wgpu renderer 2025-02-04 01:21:10 +01:00
Héctor Ramón Jiménez
1b01d6718b
Update Cargo.lock dependencies 2025-02-04 01:18:14 +01:00
Héctor
5ab056318e
Merge pull request #2777 from kenz-gelsoft/explore-input-method2
Input Method Support
2025-02-03 22:49:28 +01:00
Héctor
ca009ba92a
Merge pull request #2783 from iced-rs/dependabot/cargo/openssl-0.10.70
Bump openssl from 0.10.69 to 0.10.70
2025-02-03 20:03:14 +01:00
dependabot[bot]
d5d60ad7ea
Bump openssl from 0.10.69 to 0.10.70
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.69 to 0.10.70.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.69...openssl-v0.10.70)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 18:52:39 +00:00
Héctor Ramón Jiménez
bab18858cd
Handle pre-edits and commits only if text_editor is focused 2025-02-03 18:38:20 +01:00
Héctor Ramón Jiménez
50eaef2844
Merge branch 'master' into explore-input-method2 2025-02-03 17:24:05 +01:00
Héctor Ramón Jiménez
141290c740
Fix InputMethod conflicts with multiple scrollables 2025-02-03 17:12:08 +01:00
Héctor Ramón Jiménez
e8c680ce66
Request redraws on InputMethod events 2025-02-03 16:55:10 +01:00
Héctor Ramón Jiménez
0c0651de5b
Introduce Levitating variant for mouse::Cursor 2025-02-03 05:45:51 +01:00
Héctor Ramón Jiménez
3029481b72
Ignore redraws of invisible content in hover widget 2025-02-03 04:34:13 +01:00
Héctor Ramón Jiménez
76c25d2fb2
Fix typo in core::Event documentation 2025-02-03 03:36:18 +01:00
Héctor Ramón Jiménez
ba755c69d6
Fulfill InputMethod requests only during RedrawRequested 2025-02-03 03:34:41 +01:00
Kitsu
6a584af141 Use working wasmtimer for time::every 2025-02-02 22:44:05 -03: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