Commit graph

6514 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
4fc97c2ba6
Use first comma-separated language in markdown highlighter 2025-12-03 05:22:53 +01:00
Héctor
cfd06b4721
Merge pull request #3136 from EmmanuelDodoo/master
Fix `keyboard::listen` reporting captured key events
2025-12-02 22:47:07 +01:00
emmanuel dodoo
745c6dbd12 fix keyboard listen 2025-12-02 16:35:25 -05:00
Héctor Ramón Jiménez
2973b01bf5
Use const block instead of trait trick in subscription 2025-12-02 20:37:52 +01:00
Héctor Ramón Jiménez
92ecc18318
Assert zero-sized closures in Subscription at compile-time 2025-12-02 20:28:51 +01:00
Héctor Ramón Jiménez
c566845091
Fix unused import in todos example on Wasm 2025-12-02 19:06:05 +01:00
Héctor Ramón Jiménez
1383ea4ec2
Unapply translation to image::Viewer viewport
Fixes #3103.
2025-12-02 19:01:24 +01:00
Héctor
85d2d1a6d4
Merge pull request #3135 from edwloef/subscribe_key_code
Add `physical_key` to key subscriptions
2025-12-02 18:55:51 +01:00
Héctor Ramón Jiménez
8b0262c5f0
Fix broken documentation link 2025-12-02 18:39:14 +01:00
Héctor Ramón Jiménez
c3b94a9158
Avoid quick flashes in layout and styling examples 2025-12-02 18:38:19 +01:00
Héctor Ramón Jiménez
7e5b6f6802
Unify keyboard subscriptions into listen 2025-12-02 18:35:50 +01:00
edwloef
0df5765e2f
fix incorrect cutoff in to_latin 2025-12-02 10:02:37 +01:00
edwloef
86083d8ec8
add physical_key to key subscriptions 2025-12-02 09:58:00 +01:00
Héctor Ramón Jiménez
3fc85b900d
Show author in a new line in changelog generator 2025-12-02 05:20:58 +01:00
Héctor Ramón Jiménez
242ba99964
Show created_at date in changelog generator 2025-12-02 04:51:34 +01:00
Héctor Ramón Jiménez
40b184f022
Skip redraw request if already redrawing in tooltip 2025-12-02 04:19:32 +01:00
Héctor Ramón Jiménez
453528743b
Fix missing redraw request in tooltip widget 2025-12-02 04:18:06 +01:00
Héctor
e95f5248cb
Merge pull request #3134 from sopvop/fix_text_input_cua
Fix TextInput copy/paste shortcuts for non latin keyboard layouts
2025-12-02 04:13:09 +01:00
Héctor Ramón Jiménez
e6571d7b70
Translate non-latin Key using Physical codes
Co-authored-by: Leonid Onokhov <sopvop@gmail.com>
Co-authored-by: edwloef <edwin.frank.loeffler@gmail.com>
2025-12-02 04:01:51 +01:00
Héctor
3b67106419
Merge pull request #3129 from B0ney/feat/toggler_styling
Enhance toggler styling
2025-12-01 21:31:41 +01:00
Héctor Ramón Jiménez
9c4f1ec086
Add padding_ratio to toggler::Style
Co-authored-by: B0ney <40839054+B0ney@users.noreply.github.com>
2025-12-01 21:20:37 +01:00
Héctor Ramón Jiménez
24121de58e
Add border_radius field to toggler::Style
Co-authored-by: B0ney <40839054+B0ney@users.noreply.github.com>
2025-12-01 21:18:56 +01:00
Héctor Ramón Jiménez
e8ad66ef39
Use Background for background and foreground in toggler
Co-authored-by: B0ney <40839054+B0ney@users.noreply.github.com>
2025-12-01 20:28:56 +01:00
Héctor
a3abe94dad
Merge pull request #3125 from nrjais/editor-api
Improve `cursor` API in `Editor` and add `move_to` method
2025-12-01 20:26:25 +01:00
Héctor Ramón Jiménez
fae0138e5e
Export Cursor in widget::text_editor 2025-12-01 20:17:08 +01:00
Héctor Ramón Jiménez
4428f31b4f
Add move_to method to Editor 2025-12-01 20:11:42 +01:00
Héctor Ramón Jiménez
63e9eeffb5
Refactor cursor API in Editor
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2025-12-01 19:57:27 +01:00
Héctor
fdafe509c4
Merge pull request #3128 from B0ney/feat/windows_corner_preference
Add `CornerPreference` window setting for Windows
2025-12-01 17:34:17 +01:00
Héctor Ramón Jiménez
2ac62f7512
Revert tooltip delay to Duration::ZERO 2025-12-01 17:22:54 +01:00
Héctor
b02db5e6f8
Merge pull request #3123 from hammerlink/master
Prevent crashes from `svg` rendering
2025-12-01 17:12:17 +01:00
Héctor Ramón Jiménez
4cc7eb47f7
Try to render corrupt SVGs after panic 2025-12-01 17:01:40 +01:00
Héctor
78253113f1
Merge pull request #3127 from B0ney/feat/scrollable_styling
scrollable: have scroller use `Background` instead of `Color`
2025-12-01 16:49:57 +01:00
Héctor
01c79ad816
Merge pull request #3131 from edwloef/assign-traits
Implement `*Assign` traits for operations on `Point` and `Vector`
2025-12-01 01:34:51 +01:00
Héctor
a93155b60d
Merge pull request #3132 from edwloef/tooltip-operate
Fix missing `fn operate` in `tooltip` widget
2025-12-01 01:33:38 +01:00
Héctor
2ee5f47f20
Merge pull request #3090 from njust/multi-window-fix-iced-rs
Provide a `Display` handle to `graphics::Compositor`
2025-12-01 01:25:59 +01:00
Nico Just
8374c6baa8
Provide a Display handle to graphics::Compositor 2025-12-01 01:14:56 +01:00
Héctor
87c3d76c9f
Merge pull request #3118 from mfreeborn/appease-clippy
Add missing semicolon to satisfy clippy
2025-11-30 19:35:08 +01:00
Héctor
68eb57744b
Merge pull request #3117 from mfreeborn/add-text-editor-content-is-empty
add efficient `is_empty` method to `text_editor::Content`
2025-11-30 19:32:19 +01:00
edwloef
949c4edc3c
add missing fn operate to tooltip widget 2025-11-30 11:33:02 +01:00
edwloef
9a13c460e8
Implement *Assign traits for Point 2025-11-30 11:20:18 +01:00
edwloef
17d070a816
Implement *Assign traits for Vector 2025-11-30 11:17:57 +01:00
Héctor
ba3877778c
Merge pull request #3116 from mfreeborn/improve-limits--loose-docs
Improve `Limits::loose` docs
2025-11-29 20:24:45 +01:00
Héctor
5206f9ab91
Merge pull request #3072 from EmmanuelDodoo/master
Fixed hit span  for paragraph
2025-11-29 19:31:07 +01:00
Héctor Ramón Jiménez
de34f29330
Fix Paragraph::hit_span returning false positives at end of line
Co-authored-by: EmmanuelDodoo <custosdodoo@gmail.com>
2025-11-29 19:20:54 +01:00
Héctor
b9eeb34a12
Merge pull request #3070 from edwloef/cheap_mesh_clone
Introduce `draw_mesh_cache` in `mesh::Renderer`
2025-11-29 17:42:26 +01:00
Héctor Ramón Jiménez
afb3b8fce6
Introduce draw_mesh_cache in mesh::Renderer 2025-11-29 17:33:01 +01:00
edwloef
42bc4af972
make Meshes cheaply cloneable by using Arc<[T]> in iced_graphics::mesh::Indexed 2025-11-29 15:25:56 +01:00
B0ney
61e642783a (windows): add corner preference in platform specific option. 2025-11-29 14:23:52 +00:00
Héctor
be79690cd1
Merge pull request #3068 from dtzxporter/fix-slider-cursor
Fall back to `Pointer` cursor for `slider` widget on Windows
2025-11-29 15:23:14 +01:00
B0ney
a1122f0754 scrollable: have scroller use Background instead of Color 2025-11-29 14:19:22 +00:00