Commit graph

1013 commits

Author SHA1 Message Date
Michael Freeborn
3da40cb05b add efficient is_empty method to text_editor::Content 2025-11-21 08:48:22 +00:00
Héctor
c67f523818
Merge pull request #2992 from semiversus/mailto
Remove `Url::scheme` check in `markdown::parse_with`
2025-11-21 05:22:20 +01:00
Héctor
4fab450ba9
Merge pull request #2858 from JL710/public-default-padding
Make `button::DEFAULT_PADDING` public
2025-11-21 05:03:25 +01:00
Héctor Ramón Jiménez
918e45824a
Stop parsing Url in markdown
CommonMark accepts any URI.

Co-authored-by: nico2sh <mail@nico2sh.com>
2025-11-21 04:45:11 +01:00
Günther Jena
a9c1b81b58
Remove Url::scheme check in markdown::parse_with 2025-11-21 04:44:42 +01:00
Héctor Ramón Jiménez
84e559813a
Add wgpu-bare feature flag to disable default wgpu features
Co-authored-by: dtzxporter <dtzxporter@users.noreply.github.com>
Co-authored-by: Stefan Tammer <st.tammer@gmail.com>
2025-11-21 02:03:13 +01:00
Héctor Ramón Jiménez
0495f32918
Use new theme::Base::name for theme change detection 2025-11-21 01:09:40 +01:00
Héctor Ramón Jiménez
96be0b5470
Remove trait redundancy in text_editor 2025-11-21 00:59:52 +01:00
pml68
e20fee7956
feat: only rehighlight TextEditor when Theme changes 2025-11-21 00:52:36 +01:00
Héctor
4406681221
Merge pull request #2803 from Zarthus/on-link-clicked
Expand docs for on_link_click in Rich Text
2025-11-21 00:42:50 +01:00
Jos Ahrens
329dc7d7ec
Improve documentation for Rich::on_link_click 2025-11-21 00:33:53 +01:00
Héctor Ramón Jiménez
416ec838f2
Implement macOS-specific key shortcuts for text_editor 2025-11-21 00:15:36 +01:00
Héctor Ramón Jiménez
524b4acc6d
Simplify convert_macos_shortcut a bit in text_input 2025-11-21 00:10:14 +01:00
rhysd
587cd7c94f
Implement macOS-specific key shortcuts for text input
This commit implements some key shortcuts listed in the following list:

https://support.apple.com/en-us/102650#:~:text=and%20iCloud%20Drive.-,Text%2Dediting%20shortcuts,-The%20behavior%20of
2025-11-21 00:08:28 +01:00
ellieplayswow
fd1d9654b0
Add in new convenience function for a hidden Scrollbar 2025-11-21 00:00:33 +01:00
rhysd
26e3b54c4f
Do not capture released event inside image::Viewer 2025-11-20 01:35:00 +01:00
Héctor
7eb2352c30
Merge pull request #2714 from mytdragon/combobox-text-shaping
Add `text_shaping` method to `combo_box` widget
2025-11-20 01:18:03 +01:00
MYT
d5e02408bb
Add text_shaping method to combo_box widget 2025-11-20 01:08:29 +01:00
Héctor
2bbc7385e0
Merge pull request #2707 from xosxos/patch-2
Add `text_color` to toggler `Style`
2025-11-19 23:50:20 +01:00
Osma S. Rautila
038063f781
Add text_color to toggler::Style 2025-11-19 23:39:21 +01:00
GyulyVGC
71a4dff703
Add menu_height method to pick_list and combo_box 2025-11-19 23:28:39 +01:00
Héctor
9565f88cb7
Merge pull request #2684 from Adam-Ladd/add_option_and_extract_options
Add `push` and `into_options` to `combo_box::State`
2025-11-18 23:37:46 +01:00
Héctor Ramón Jiménez
a862290836
Rename combo_box::State methods to push and into_options 2025-11-18 23:27:09 +01:00
user
d1360c74b0
added add_option and extract_options functions to combobox and split build_matcher (the logic to build a single matcher) out from build matchers 2025-11-18 23:19:57 +01:00
Héctor Ramón Jiménez
5b029ae61c
Improve consistency of Padding API 2025-11-18 21:33:13 +01:00
Sosthène Guédon
0024fc0eb1
Add .id method and text_editor::focus task 2025-11-15 22:45:07 +01:00
iMohmmedSA
63d0ec78a9
Correct padding vector in TextEditor to use (left, top) instead of (top,
left)
2025-11-14 20:17:26 +03:00
edwloef
ca9d93b5c6
make default container style respect crisp feature 2025-11-12 18:12:43 +01:00
Héctor Ramón Jiménez
867fe819c0
Add explicit error handling to image loading 2025-10-28 21:19:25 +01:00
Héctor Ramón Jiménez
7c11ccb046
Move core::Image::clip_bounds to graphics::Image 2025-10-28 19:44:46 +01:00
Héctor Ramón Jiménez
44e68aa4b6
Add border radius support for image 2025-10-25 23:00:25 +02:00
Héctor
fe009142cf
Merge pull request #3084 from iced-rs/synchronous-tasks
Synchronous `Task` Execution and `RedrawRequested` Consistency
2025-10-15 22:54:57 +02:00
Héctor Ramón Jiménez
a0cfd52d1b
Apply translation to levitated Cursor in scrollable 2025-10-15 22:17:39 +02:00
Héctor Ramón Jiménez
d2e192042f
Handle changes during RedrawRequested in the same frame 2025-10-15 19:11:29 +02:00
Héctor Ramón Jiménez
01429d72cd
Levitate cursor in scrollable
Fixes #3074
2025-10-11 07:57:37 +02:00
Héctor Ramón Jiménez
87ac14ec48
Fix slider capturing all key events when hovered
Fixes #2923
2025-10-08 04:41:13 +02:00
Héctor Ramón Jiménez
a064241a6b
Replace doc_auto_cfg with doc_cfg
See https://github.com/rust-lang/rust/pull/138907
2025-10-08 04:37:13 +02:00
Héctor Ramón Jiménez
d47c921b29
Avoid redraw spam when tooltip follows cursor 2025-10-08 03:46:32 +02:00
edwloef
f470333242
fix combo-box text not getting cleared when clicking on selection 2025-09-24 10:31:22 +02:00
Héctor Ramón Jiménez
629e795784
Avoid underflow in stack widget
Fixes #3062
2025-09-23 02:23:32 +02:00
Héctor Ramón Jiménez
145534c92e
Remove push_maybe from stack widget 2025-09-23 02:23:12 +02:00
Héctor Ramón Jiménez
e2df674aa5
Merge branch 'master' into feature/test-recorder 2025-09-19 18:23:28 +02:00
Héctor Ramón Jiménez
db5a1f6353
Fix clippy lints for Rust 1.90 2025-09-19 18:22:45 +02:00
Héctor Ramón Jiménez
8f87a2bc2e
Make rule API consistent with space 2025-09-19 18:09:59 +02:00
Héctor Ramón Jiménez
611f89fc59
Rename space_{x,y} to space::{horizontal,vertical} 2025-09-18 00:00:56 +02:00
Héctor Ramón Jiménez
4cd35f7462
Invalidate tooltip layout on mouse events 2025-09-12 20:06:59 +02:00
Héctor Ramón Jiménez
5796ba272e
Remove missing_debug_implementations lint 2025-09-12 05:25:09 +02:00
Héctor Ramón Jiménez
f9de884655
Enable advanced shaping for text in iced widget helper 2025-09-11 20:16:49 +02:00
Héctor Ramón Jiménez
89b7585465
Rename *_space to space_x and space_y 2025-09-11 07:13:11 +02:00
Héctor Ramón Jiménez
c684fbd6af
Rename horizontal_rule to rule and introduce Rule::vertical 2025-09-11 06:51:53 +02:00