Commit graph

2,707 commits

Author SHA1 Message Date
makepaddev
602dd42d36 fix elided lifetime warnings 2025-09-09 21:37:52 +02:00
Admin
27904478d6 aistream 2025-09-09 21:27:28 +02:00
Eddy Bruel
25785fac4a Fix bug in weighted fills 2025-09-09 10:18:55 +02:00
Admin
53f799a84a ai fixup 2025-09-09 09:37:35 +02:00
Admin
3547af9e55 longer timeouts on macos urlsession 2025-09-09 09:30:29 +02:00
Eddy Bruel
5a06a5716f Make sure to move turtle to new location on wrap 2025-08-20 16:12:38 +02:00
Eddy Bruel
f209424610 Fix position bug in draw_walk when Flow is RightWrap 2025-08-12 11:09:20 +02:00
Eddy Bruel
13f6e1f769 Remove support for multistyle text layouts 2025-08-01 12:23:56 +02:00
Lyda
9c1320bfd5 Implement IME composition handling in WasmWebBrowser (#772)
* Implement IME composition handling in WasmWebBrowser

This update introduces support for handling Input Method Editor (IME) composition events in the WasmWebBrowser class. The changes include:

- Added event listeners for `compositionstart`, `compositionupdate`, and `compositionend` to manage the composition state and data.
- Skipped normal input events during composition to prevent interference.
- Sent the final IME input result to the WebAssembly module upon composition end, ensuring proper handling of user input.

These enhancements improve the text input experience for users utilizing IME, particularly for languages requiring composition.

* chore: remove log
2025-07-29 09:27:27 +02:00
Admin
8550f83b1a sync load image sizes 2025-07-22 11:58:12 +02:00
Kevin Boos
17f60d02ca Create PageFlip child widget within set_active_page() (#783)
This allows an app dev/user to create and populate a new widget
within the PageFlip parent widget *before* waiting for it to be drawn.
Previously, the child widgets within PageFlip were either created
upon app load (which is inefficient) or upon draw (which is too late).
2025-07-21 20:52:34 +02:00
Admin
2c6db00984 fix align typo 2025-07-15 10:25:15 +02:00
Admin
1b539b9d5e fix cargo makepad quest missing font 2025-07-14 11:36:00 +02:00
Julián Montes de Oca
cb5134c788 Rework StackNavigation into an actual Stack (#766)
* Refactor stack navigation into a proper stack

 - Replace show_stack_view_by_id with push/pop/popToRoot methods
- Add proper navigation stack with history tracking
- Fix animation transitions between consecutive views
- Add stack inspection methods (depth, can_pop, current_view)
- Maintain backward compatibility with deprecated methods
- Update action enum to use Push/Pop/PopToRoot variants

* Add support for multiple instances of StackNavigation.

- Introduced full-screen flag necessary to disable full-screen positioning and sliding animations when needed.
2025-07-12 02:11:27 +02:00
alanpoon
939c8c5b1d fix_small_spinner_not_showing (#782)
* fix_small_spinner_not_showing

* remove debug
2025-07-12 02:11:16 +02:00
Kevin Boos
69d99edaef Add PortalList::is_filling_viewport() (#781)
* Update old `windows-targets` dep version to reduce lockfile duplicates

All other crates in the Rust ecosystem depend on `windows-targets`
v0.52.*, so this small change vastly reduces the number of duplicate
`windows-*` crate dependencies that cargo must download and track in the lockfile.

Also address minor compiler warnings in AdaptiveView.

* Add `PortalList::is_filling_viewport()`

This is needed in order for an app to be able to take action
upon a portal list's viewport not being completely full.
For example, if you're showing a chat room, you can fetch older events
until there is enough history to fill the entire viewport.
2025-07-12 02:11:05 +02:00
Kevin Boos
31c2476c4d Update old windows-targets dep version to reduce lockfile duplicates (#780)
All other crates in the Rust ecosystem depend on `windows-targets`
v0.52.*, so this small change vastly reduces the number of duplicate
`windows-*` crate dependencies that cargo must download and track in the lockfile.

Also address minor compiler warnings in AdaptiveView.
2025-07-12 02:10:51 +02:00
okapii
7b90db8e25 Fix dropdown 2025-07-10 16:17:19 +02:00
okapii
755f4114d9 Dropdown code cleanup 2025-07-10 15:52:57 +02:00
okapii
9f9a1ee93b Add Gradient support to icon shaders (button, checkbox, radio) 2025-07-10 15:13:12 +02:00
okapii
f8e511fec1 Fixes 2025-07-10 14:48:34 +02:00
okapii
7c5ca708fd Fix container gradient in UI Zoo scrollbar demo 2025-07-10 14:17:02 +02:00
okapii
2f7c8827c9 Light theme refinements 2025-07-10 14:15:27 +02:00
okapii
79745230d7 Variable name consistency fix 2025-07-10 14:07:21 +02:00
okapii
8ebc7b8b18 Theme application and theme optimizations (improving active state stylings) 2025-07-10 14:03:12 +02:00
okapii
48433b8708 Consistent theme application and rotary focus state optimizations 2025-07-10 13:56:13 +02:00
okapii
2eeff07359 Cleanup pass: proper theme vairable application 2025-07-10 13:39:40 +02:00
okapii
738c01d5c7 Improve UV mapping support of widgets 2025-07-10 12:34:24 +02:00
okapii
532453f4bb Further complete dither support 2025-07-10 12:24:32 +02:00
okapii
41454afd24 Button: make the flat variant the base one 2025-07-10 12:11:15 +02:00
okapii
9478bf7b41 Complete gradient dither support 2025-07-10 12:04:09 +02:00
okapii
8731210c4f Dropdown: gradient refactor 2025-07-10 11:21:38 +02:00
okapii
3bfb34bf10 RadioButton: gradient refactor 2025-07-10 11:21:38 +02:00
okapii
9814b81948 RadioButton: Gradient refactor 2025-07-10 11:21:38 +02:00
okapii
d216656987 RadioButton: gradient refactor 2025-07-10 11:21:38 +02:00
okapii
98f067099c Radio: Gradient refactor progress 2025-07-10 11:21:38 +02:00
okapii
b407c6b642 Checkbox: fixed missing gradient_dir variables 2025-07-10 11:21:38 +02:00
okapii
2177927322 Checkbox gradient refactor 2025-07-10 11:21:38 +02:00
okapii
4824fb4b09 Toggle: Gradient refactor 2025-07-10 11:21:38 +02:00
okapii
7f57d2b595 Checkbox: Gradient refactor 2025-07-10 11:21:38 +02:00
okapii
ef2bb1d0bb popup_menu: gradient refactor 2025-07-10 11:21:38 +02:00
okapii
fc875424a6 popupmenu: popupmenuitem gradient refactor 2025-07-10 11:21:38 +02:00
okapii
ff12dff7d3 Rotary: Gradient refactor 2025-07-10 11:21:38 +02:00
okapii
b2bb14ce0e Rotary: Gradient refactor 2025-07-10 11:21:38 +02:00
okapii
df923735ba SliderRound: Gradient refactor 2025-07-10 11:21:38 +02:00
okapii
a3759cf7e4 SliderRound: Gradient refactor 2025-07-10 11:21:38 +02:00
okapii
0e159d66f3 Slider: Gradient refactor 2025-07-10 11:21:38 +02:00
okapii
63190ecdfe Slider: Gradient refactor progress 2025-07-10 11:21:38 +02:00
okapii
fc2025fe58 Slider: Gradient refactor progress 2025-07-10 11:21:38 +02:00
okapii
242de9741b Slider: gradient refactor 2025-07-10 11:21:38 +02:00