Commit graph

5685 commits

Author SHA1 Message Date
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
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