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
Héctor Ramón Jiménez
599d8b560b
Avoid sharing State when re-parsing markdown sections
2025-02-02 04:17:44 +01:00
Héctor Ramón Jiménez
569ef13ac9
Fix broken references when parsing markdown streams
2025-02-02 04:01:57 +01:00
Héctor Ramón Jiménez
57b553de2f
Fix infinite runtime loop when queue redraws at a specific time
2025-02-02 02:28:04 +01:00
Héctor Ramón Jiménez
e73d0c65d2
Fix imprecise documentation in Pop::on_show
2025-02-02 01:52:04 +01:00
Héctor Ramón Jiménez
e78d7f0e51
Add on_resize handler to pop widget 🎉
2025-02-02 01:48:42 +01:00
Héctor
e14a6f76e9
Merge pull request #2769 from rotmh/patch-1
...
Add a flake for a dev shell
2025-02-01 23:04:47 +01:00
Héctor Ramón Jiménez
952c47bc8a
Write documentation for markdown::Content
2025-02-01 04:33:15 +01:00
Héctor Ramón Jiménez
8cac532cd9
Add horizontal helper to scrollable
2025-02-01 04:26:35 +01:00
Héctor
91f94f3b6e
Merge pull request #2776 from iced-rs/fix/markdown
...
Incremental `markdown` parsing and various fixes
2025-02-01 03:14:08 +01:00
Héctor Ramón Jiménez
ed0ffb5963
Revert automatic horizontal scroll in scrollable
2025-02-01 02:16:29 +01:00
Héctor Ramón Jiménez
7a6d4d580e
Propagate mouse cursor movements in stack
2025-02-01 02:13:45 +01:00
Héctor Ramón Jiménez
2fc94d9f44
Fix event capturing in rich_text
2025-02-01 01:57:11 +01:00
Héctor Ramón Jiménez
7493b83031
Fix rich_text reactive rendering when hovering links
2025-02-01 01:52:13 +01:00
Héctor Ramón Jiménez
eb81679e60
Split code blocks into multiple rich_text lines
...
This improves layout diffing considerably!
2025-02-01 01:08:20 +01:00
Héctor Ramón Jiménez
c2155b82b3
Cull out of bounds rich_text during draw
2025-02-01 01:07:03 +01:00
Héctor Ramón Jiménez
7336a18443
Fix viewport when using nested scrollables
2025-02-01 01:04:36 +01:00
Héctor Ramón Jiménez
447f5ae494
Discard markdown::Highlighter if language changes
2025-02-01 00:33:05 +01:00
Héctor Ramón Jiménez
095859ed57
Add new constructor for markdown::Content
2025-01-31 20:50:07 +01:00
Héctor Ramón Jiménez
bc2d662af7
Replace println with log calls in markdown module
2025-01-31 20:42:53 +01:00
Héctor Ramón Jiménez
4b8fc23840
Implement markdown incremental code highlighting
2025-01-31 20:37:07 +01:00
Héctor Ramón Jiménez
128058ea94
Draft incremental markdown parsing
...
Specially useful when dealing with long Markdown
streams, like LLMs.
2025-01-31 17:35:38 +01:00
Rotem Horesh
fe41b3e760
Add a flake for a dev shell
2025-01-30 22:37:49 +02:00
Héctor Ramón Jiménez
6aab76e3a0
Add min_height and max_height to text_editor
2025-01-30 03:45:14 +01:00
Héctor Ramón Jiménez
fb87c97159
Use Into<Id> for scrollable::Id arguments
2025-01-30 02:52:24 +01:00
Héctor Ramón Jiménez
a7bc1e7da4
Avoid capturing mouse press when text_editor is unfocused
2025-01-30 02:47:59 +01:00
Héctor Ramón Jiménez
ea8696eac2
Use Into<Id> for container::Id arguments
2025-01-30 02:47:14 +01:00
Héctor Ramón Jiménez
aa0f0e73aa
Let markdown::view be Shrink when no code blocks exist
2025-01-30 01:47:10 +01:00
Héctor Ramón Jiménez
d49d4dc3fa
Make spacing configurable in markdown::Settings
2025-01-30 01:46:52 +01:00
Héctor Ramón Jiménez
cfbeb05e32
Fix code block merging with previous spans in markdown widget
2025-01-30 01:46:04 +01:00
Héctor Ramón Jiménez
30ee9d024d
Update dependencies in Cargo.lock
2025-01-29 05:13:04 +01:00
Héctor
9606df57b3
Merge pull request #2764 from iced-rs/wasm/enable-animation
...
Enable `animation` module for Wasm target
2025-01-29 05:10:25 +01:00
Héctor Ramón Jiménez
a56c2f3d81
Enable animation module for Wasm target
2025-01-29 04:55:51 +01:00
Héctor
9b959d3e80
Merge pull request #2758 from airstrike/mouse-transformation
...
Implement `Mul<Transformation>` for `mouse::Cursor` and `mouse::Click`
2025-01-28 18:47:28 +01:00
Héctor
12c9277c7c
Merge pull request #2761 from rhysd/replace-directories-next
...
Replace unmaintained `directories-next` crate with `directories` crate
2025-01-28 18:29:58 +01:00
Héctor
ce7eafcd63
Merge pull request #2760 from rhysd/remove-winapi
...
Remove unused `winapi` crate from dependencies
2025-01-28 18:28:38 +01:00
Andy Terra
6576184bae
Move cursor Transformation to mouse::cursor module
2025-01-28 11:34:36 -05:00
rhysd
f51ce47f37
Replace unmaintained directories-next crate with directories crate
...
[`directories-next`][1] crate is no longer maintained and
[`directories`][2] crate is still maintained. `directories-next`
had been forked from `directories` but it died because the original
`directories` crate revived the maintenance.
[1]: https://crates.io/crates/directories-next
[2]: https://crates.io/crates/directories
2025-01-29 00:45:14 +09:00
rhysd
bf3b40839b
Remove unused winapi crate from dependencies
2025-01-28 21:41:37 +09:00
Héctor
ce4ee9323d
Merge pull request #2759 from iced-rs/fix/respect-editor-line-endings
...
Introduce `LineEnding` to `editor` and fix inconsistencies
2025-01-28 06:36:19 +01:00
Héctor Ramón Jiménez
87165ccd29
Introduce LineEnding to editor and fix inconsistencies
2025-01-28 06:23:38 +01:00
Andy Terra
34673fc54f
Implement Mul<Transformation> for mouse::Click
2025-01-27 23:05:51 -05:00
Andy Terra
0802ed3b3a
Implement Mul<Transformation> for mouse::Cursor
2025-01-27 23:05:24 -05:00
Héctor
00a048677f
Merge pull request #2757 from iced-rs/feature/animation-api
...
`Animation` API for application code
2025-01-28 03:47:13 +01:00
Héctor Ramón Jiménez
cd445f758f
Display grid placeholder when loading gallery example
2025-01-28 03:25:18 +01:00
Héctor Ramón Jiménez
ae35992048
Add repeat, repeat_forever, and auto_reverse to Animation
2025-01-28 03:24:48 +01:00
Héctor Ramón Jiménez
23d42d2827
Rename Animation::in_progress to is_animating
2025-01-28 03:04:31 +01:00