Commit graph

6394 commits

Author SHA1 Message Date
Héctor
d94c080dd4
Merge pull request #2988 from andymandias/text-font_maybe
Add `font_maybe` Utility Function to `Text`
2025-11-27 04:42:50 +01:00
Héctor
b3e1be5def
Merge pull request #2977 from DKolter/issue_2934
Fix tiny skia primitive rendering
2025-11-27 04:41:16 +01:00
Héctor
2280c8a6b2
Merge pull request #2960 from kiedtl/tooltip-delays
Make Tooltip show after a delay
2025-11-27 04:38:35 +01:00
Héctor
bbc02783b9
Merge pull request #2979 from DKolter/issue_2976
Fix Path::circle artifact
2025-11-27 04:38:15 +01:00
Héctor Ramón Jiménez
f493065376
Add explicit Open state to tooltip widget
This allows us to properly invalidate layout.
2025-11-27 04:29:24 +01:00
Héctor Ramón Jiménez
63a95942ba
Move delay constant to Tooltip struct 2025-11-27 04:17:10 +01:00
Héctor Ramón Jiménez
defd59584f
Use seconds helper in tooltip example 2025-11-27 04:15:34 +01:00
Héctor Ramón Jiménez
cbc311ed9e
Fine-tune tooltip documentation 2025-11-27 04:13:51 +01:00
Héctor Ramón Jiménez
77708f0574
Avoid constant redraws when tooltip follows cursor 2025-11-27 04:12:07 +01:00
Kiëd Llaentenn
5ec23c1243
Add delay suppport for tooltip widget 2025-11-27 04:06:43 +01:00
Héctor
ac511f5f68
Merge pull request #2959 from karolisr/feature/cast_arc_to_f64_before_drawing
Avoids artifacts when drawing small arcs by casting `f32` to `f64`.
2025-11-27 03:56:25 +01:00
Héctor
9795a90075
Merge pull request #2882 from 7h0ma5/master
Fix stroke bounds calculation and clip transformations in tiny-skia backend
2025-11-27 03:53:48 +01:00
Karolis Ramanauskas
267d2e2382
Avoids artifacts when drawing small arcs by casting f32 to f64 then back. 2025-11-27 03:44:51 +01:00
Thomas Gatzweiler
f931d55544 fix(tiny-skia): correct clip bounds transformation 2025-11-26 23:22:59 +01:00
Thomas Gatzweiler
a50a56a29d fix(tiny-skia): correct stroke bounds calculation 2025-11-26 23:22:59 +01:00
Héctor
c99f4d08f0
Merge pull request #2958 from pml68/feat/fill-raw
Add `fill_raw` method and `Raw` associated type to text Renderer
2025-11-26 00:56:18 +01:00
Héctor Ramón Jiménez
06f3472df5
Improve naming in layer modules 2025-11-26 00:45:07 +01:00
Héctor Ramón Jiménez
a0b409ed7e
Replace Raw in core::text::Renderer with a new Renderer trait 2025-11-26 00:41:05 +01:00
Héctor
9de2261230
Merge pull request #2954 from semiversus/fix_scaling_artifacts
Fix `svg` scaling in `iced_tiny_skia`
2025-11-26 00:38:25 +01:00
pml68
4ea0db665f
fix: doc comments 2025-11-26 00:34:51 +01:00
pml68
b26890f76e
feat: add fill_raw method and Raw associated type for text::Renderer 2025-11-26 00:34:51 +01:00
Günther Jena
8cae3fca48
Fix svg scaling in iced_tiny_skia 2025-11-26 00:23:19 +01:00
Héctor
992cf0a23f
Merge pull request #2947 from Atreyagaurav/master
Fix `text_editor` syntax highlighting on paste
2025-11-26 00:22:11 +01:00
Zero
3310dc79db
Fix text_editor syntax highlighting on paste
Fixes #2946.
2025-11-26 00:07:15 +01:00
edwloef
6bbe189809
Fix inconsistent naming of tree parameter in Widget trait (#2950)
* fix inconsistent naming of tree parameter in widget trait

* rename `Tree` parameter in various usages across iced
2025-11-25 23:58:07 +01:00
Héctor
6f0b408f90
Merge pull request #2937 from misaka10987/master
implement `FromStr` and `Display` for `Color`
2025-11-25 23:52:59 +01:00
Héctor Ramón Jiménez
0c075cc9c3
Fix broken color! documentation link in core::color 2025-11-25 23:43:22 +01:00
Héctor Ramón Jiménez
b6926342fe
Improve import consistency in core::color 2025-11-25 23:39:34 +01:00
Héctor
bdeeaaade5
Merge pull request #2936 from mariinkys/add_toast_warning
Add `warning` status to `toast` example
2025-11-25 23:36:51 +01:00
Héctor Ramón Jiménez
39d1971b46
Remove Color::parse method and add some more tests 2025-11-25 23:36:51 +01:00
misaka10987
e2f5d36cee
implement FromStr and Display for Color 2025-11-25 23:30:08 +01:00
Héctor Ramón Jiménez
42d6549ed1
Convert URL into a hyperlink in runtime::window 2025-11-25 23:26:55 +01:00
Héctor
1af8fcd6ac
Merge pull request #2933 from karolisr/feature/macos_allows_automatic_window_tabbing
Adds the ability to disable `allows_automatic_window_tabbing` on macOS.
2025-11-25 23:24:40 +01:00
Héctor Ramón Jiménez
30d9a2ff57
Use container style helpers directly in toast example 2025-11-25 23:24:36 +01:00
mariinkys
1b40f89fdd
add warning status to toast 2025-11-25 23:19:29 +01:00
Héctor Ramón Jiménez
aef64e56b8
Add allow_automatic_tabbing task to runtime::window
Co-authored-by: Karolis Ramanauskas <karolisr@gmail.com>
2025-11-25 23:15:22 +01:00
Héctor Ramón Jiménez
c1acd8cdda
Merge pull request #2932 from Ultrasquid9/patch-1
Closes #2932.
2025-11-25 22:57:24 +01:00
Héctor
10825c9249
Merge pull request #2929 from DKolter/issue_2740
Fix text clipping in `tiny-skia`
2025-11-25 22:54:25 +01:00
Juniper
aa1aa2d6ae
Make syntect use fancy-regex instead of onig
The Oniguruma C library is archived, and fails to build correctly on many systems. Fancy-regex is Rust based and still actively updated, and is able to be built just fine.
2025-11-25 22:53:01 +01:00
Héctor
b89c412496
Merge pull request #2918 from dcz-self/master
Report cursor size to input method
2025-11-25 22:51:48 +01:00
Héctor
c4eb491aed
Merge pull request #2930 from alex-ds13/fix/component-redraw
Fix missing `Shell::request_redraw` on `component`
2025-11-25 22:48:59 +01:00
DKolter
9d811b46d7
Fix text clipping in tiny-skia 2025-11-25 22:45:12 +01:00
Héctor Ramón Jiménez
d8f12d74f8
Offset Preedit overlay by cursor height 2025-11-25 22:42:11 +01:00
Héctor Ramón Jiménez
71061b53bb
Fix InputMethod::merge example in documentation 2025-11-25 22:37:44 +01:00
Héctor Ramón Jiménez
2804aff5b2
Set cursor width to 1.0 in IME requests 2025-11-25 22:27:01 +01:00
dcz
d22da7d261
Report cursor size to InputMethod
Co-authored-by: dcz-self <dcz-self@users.noreply.github.com>
2025-11-25 22:25:40 +01:00
Héctor
4d7beaebfa
Merge pull request #2913 from watsaig/rainbow-explain
Fix `Element::explain` being hidden by multi-layer widgets
2025-11-25 22:24:10 +01:00
edwloef
0cd82ccc11
Fix layout explanation being hidden by multi-layer widgets
If the child widget has multiple layers (e.g. `Stack`), the layout explanation
would be partially hidden by the layers of the child widget. Just put the layout
explanation in its own layer to mitigate this.

Co-authored-by: Craig Watson <craig@watsons.ch>
2025-11-25 22:10:50 +01:00
Héctor
5e9660a0d5
Merge pull request #2908 from pml68/feat/toggler-is-toggled
Add the current toggle state to `toggler::Status::Disabled`
2025-11-25 22:09:47 +01:00
Héctor
45aecccfe5
Merge pull request #2906 from lmaxyz/master
Fix scrollable scrolling by touch
2025-11-25 22:01:57 +01:00