Commit graph

1,795 commits

Author SHA1 Message Date
Julián Montes de Oca
619dec61c4
Android: Implement ShowClipboardActions with native ActionMode (#821)
Cx API:
- Implement existing ShowClipboardActions
- Add HideClipboardActions
- Cross-platform API ready for iOS implementation

Android Implementation:
- Native ActionMode integration with floating toolbar (API 23+)
- JNI bindings for showing/hiding menu and handling clipboard actions
- Event system for Copy/Cut/Paste/Select All actions
- Smart menu state management based on selection and clipboard

TextInput Integration:
- Long press selects word and shows menu
- Double tap and long press selects word and shows menu
- Selection preservation when tapping selected text
2025-11-22 10:06:05 +01:00
Julián Montes de Oca
67be5bcfb3
Fix button clicks during keyboard dismissal on mobile (#803)
* Fix button clicks during keyboard dismissal on mobile

When tapping a button while the keyboard is visible on iOS/Android, the keyboard dismisses and shifts the layout mid-press. This caused the event system to treat the finger as no longer "over" the button, preventing the click from registering.

Fixed by treating taps as "over" if the finger didn't move significantly, even if the widget moved underneath due to layout shifts.

* Make is_over conditionals clearer
2025-11-18 20:39:08 +01:00
Admin
14c0413a9b first shader typeinferencing 2025-11-18 07:43:55 +01:00
Eddy Bruel
b3dc1e2c42 Fix bug in label areas 2025-11-17 14:58:31 +01:00
Admin
659e3ed110 first shader transpiler infra 2025-11-16 12:05:01 +01:00
Admin
3c7868ffb0 warning 2025-11-15 14:29:53 +01:00
Kevin Boos
39cd6bb06d
Ensure that LongPress (LongClick) on Android properly tracks touch movement (#820)
* Ensure that LongPress (LongClick) on Android properly uses touch slop

Previously, we assumed that multiple touch action events would occur
before a LongClick, but that is not necessarily true.
It is possible to just have one down touch immediately followed by a
LongClick, so we now account for that.

This also fixes the tracking of touch event locations such that
stale values aren't accidentally used when calculating if a finger movement
exceeded the allowable touch slop for considering a touch as a long press.
(Rust would've caught that... thanks Java)

* remove excess log stmt
2025-11-15 09:31:17 +01:00
Admin
bacd3e8e14 fix 2025-11-14 21:49:05 +01:00
Admin
cbc9861b00 pod otw 2025-11-14 12:35:10 +01:00
Eddy Bruel
f910755f8d Pass descender to turtle in DrawText 2025-11-14 11:25:24 +01:00
Eddy Bruel
495150f49f Unify line spacing between turtle and DrawText 2025-11-14 11:25:13 +01:00
Admin
08eef2797b swizzle otw 2025-11-14 11:01:47 +01:00
Kevin Boos
97983ad26f
Fix modal; enable widgets to block scrolling except within a certain area (#819)
* Fix modal event handling behavior

Everything now works as expected, *except* for Scroll events that seem to
still be received by views beneath the modal, e.g., an underlying PortalList.

* Enable widgets to block scrolling, except within a certain area

* This is important for Modals to prevent scrolling of background widgets
  whilst still allowing the inner `content` view to be scrolled.
* Modals are now forcibly full-screen (or rather, full-window)
  in order to properly ensure that scrolling-allowed areas
  always stay relevant, as the Modal can no longer be contained
  within a non-full-window parent widget/view.

* remove errant log statement
2025-11-13 08:45:36 +01:00
Admin
0fc9e07f2f added half floats and vec pods 2025-11-12 23:37:24 +01:00
admin
f46adf30b0 pod print works 2025-11-12 14:43:45 +01:00
Admin
6bc466e1c6 pod print otw 2025-11-12 13:20:49 +01:00
Admin
fcaadf061d pod layotus 2025-11-12 11:19:14 +01:00
Admin
eefd1057e7 restructure script heap 2025-11-12 09:10:05 +01:00
Eddy Bruel
c07ca804cd Implement line spacing between rows in turtle 2025-11-11 14:12:49 +01:00
Eddy Bruel
e761b94852 Wrap walk metrics into struct 2025-11-10 16:20:51 +01:00
Admin
4384468057 script pod otw 2025-11-10 14:32:28 +01:00
Admin
48d80e5ea0 add first step for pods 2025-11-09 21:18:17 +01:00
wyenox
3e6d4c951e
"app focus" events renamed to "window focus" (#818) 2025-11-07 22:59:54 +01:00
wyenox
e68263e2a2
fix window-level focus issues (#817) 2025-11-07 19:04:41 +01:00
Admin
d04b8339f4 fix 2025-11-06 17:07:24 +01:00
Admin
8ed9e1fb93 fix 2025-11-05 13:48:58 +01:00
Admin
2a8d0ded8e cleanup tasks 2025-11-04 17:52:09 +01:00
Admin
8bd13d28b0 update comfyui to new channels 2025-11-04 15:55:59 +01:00
Admin
fe78b82ab5 update comfyui to new channels 2025-11-04 15:52:23 +01:00
Admin
25efce79ec update comfyui to new channels 2025-11-04 15:45:59 +01:00
Admin
142f76972b first channels working 2025-11-04 15:04:22 +01:00
Admin
4e698ea384 first channels working 2025-11-04 14:59:04 +01:00
Eddy Bruel
7382169d98 Implement RowAlign::Baseline 2025-11-04 10:39:15 +01:00
Eddy Bruel
acd565dce0 Store descender in finished walk 2025-11-04 10:39:15 +01:00
Julián Montes de Oca
5edd4e9ae0
Fix x11 handle_script_signals call (#811) 2025-11-03 18:20:39 +01:00
Julián Montes de Oca
fe01aa947e
Enable drag scrolling by default in Scroll*Views (#810) 2025-11-03 17:16:22 +01:00
Admin
8205c30521 cleanup 2025-11-03 14:49:43 +01:00
Eddy Bruel
fe1a0a4dd2 Add descender to walks 2025-11-03 14:36:06 +01:00
Admin
725a6343b5 add getters/setters to type tables 2025-11-03 14:23:21 +01:00
Admin
c731a43fe7 added script handles 2025-11-03 13:36:38 +01:00
Admin
b8494ae112 fix 2025-11-02 16:09:05 +01:00
Admin
37cb236ac7 fix 2025-11-02 15:56:18 +01:00
Admin
8509ff90aa added stdlib fns 2025-11-02 11:32:43 +01:00
Admin
76215572dc added stdlib fns 2025-11-02 10:50:35 +01:00
Admin
0f50405d49 fix 2025-11-01 19:42:23 +01:00
Admin
86a13523dd first splash script working! 2025-11-01 19:33:16 +01:00
Admin
938b86b11d child processes and random nr gen 2025-11-01 17:45:24 +01:00
Admin
28b7be3ff4 child processes and random nr gen 2025-11-01 17:40:30 +01:00
Admin
e7c8c3e3e3 add script timers 2025-11-01 12:56:54 +01:00
Admin
8732511703 websockets 2025-10-31 17:36:02 +01:00