Commit graph

2,282 commits

Author SHA1 Message Date
Admin
1de9fb6f10 shader thisio on the way 2025-11-28 15:30:07 +01:00
Admin
531c852882 extend shader types 2025-11-28 11:19:28 +01:00
Admin
184cd6f772 allow this to be a type 2025-11-28 09:54:49 +01:00
Admin
9c89bf9d9d shader struct this mutable 2025-11-28 09:19:40 +01:00
Admin
5561054050 shader refactor 2025-11-28 09:07:45 +01:00
Admin
230bf3c2ee shader otw 2025-11-28 08:57:52 +01:00
Admin
52c62f0daa consolidate code 2025-11-27 17:54:08 +01:00
Admin
b2d71767e2 array index in shader 2025-11-27 17:50:19 +01:00
Admin
a01eff7f24 named fields for wgsl shader structs 2025-11-27 16:37:26 +01:00
Admin
2cb595ada9 script pod array builders 2025-11-27 11:41:12 +01:00
Admin
abcc1a9e50 script pod array builders 2025-11-27 11:14:15 +01:00
Admin
c78aea2761 refactoring opcode macros a bit 2025-11-27 10:11:13 +01:00
Admin
67800d2bb3 refactoring opcode macros a bit 2025-11-27 10:03:31 +01:00
Admin
4d1fd1411c shader field += operators 2025-11-27 09:31:56 +01:00
Admin
fd3d53ab7c shader field += operators 2025-11-27 09:19:32 +01:00
Admin
068df94bec field assign 2025-11-27 09:15:37 +01:00
Admin
b699ba1ed2 shader wgsl struct def output 2025-11-26 15:18:37 +01:00
Admin
923130e39d shader wgsl struct def output 2025-11-26 15:08:49 +01:00
Admin
163c28b938 podtype this method calling 2025-11-26 14:40:18 +01:00
Admin
4fc9b756f2 podtype static method calling 2025-11-26 09:37:53 +01:00
Admin
b5885930e2 struct and swizzle fields 2025-11-25 16:02:11 +01:00
Admin
e2756f9838 add assignment-arithmetic impl 2025-11-25 15:37:39 +01:00
Admin
dc2ba140fa fixed assignment exprs 2025-11-25 15:31:30 +01:00
Admin
f080291dec adding var 2025-11-25 15:14:32 +01:00
Admin
b52be321a6 builtin arg typechecks 2025-11-25 15:10:01 +01:00
Admin
11338aafe0 add builtin tables 2025-11-25 13:59:30 +01:00
Admin
963d725ca2 block scopes in shader 2025-11-25 13:30:29 +01:00
Admin
b3e47f62be basic for loops 2025-11-25 13:19:16 +01:00
Admin
06bd34211e shader ifelse type the same 2025-11-25 12:47:56 +01:00
Admin
d2094e27cd added better errors 2025-11-25 12:21:32 +01:00
Admin
a17388ef2e extend type tables 2025-11-25 10:49:41 +01:00
Admin
3cd91bbd6d extend type tables 2025-11-25 10:49:28 +01:00
Admin
dfa8cba707 shader compiler function decollide / var shadowing 2025-11-24 19:01:01 +01:00
Admin
609d3ad563 shader compiler nested function/structs 2025-11-24 17:32:41 +01:00
Admin
7703b04af8 shader compiler scope resolve 2025-11-24 13:23:41 +01:00
Admin
9afd52cf88 shader compiler pod constructors 2025-11-24 12:46:53 +01:00
Admin
4209d7409b fix script logs 2025-11-22 14:24:17 +01:00
Julián Montes de Oca
7ff2574dfc 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
8a3be4b23b 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
6a5b52217e first shader typeinferencing 2025-11-18 07:43:55 +01:00
Eddy Bruel
7a514c0565 Fix bug in label areas 2025-11-17 14:58:31 +01:00
Admin
6086db7cad first shader transpiler infra 2025-11-16 12:05:01 +01:00
Admin
33bf169fc2 warning 2025-11-15 14:29:53 +01:00
Kevin Boos
485674d387 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
79834e068f fix 2025-11-14 21:49:05 +01:00
Admin
324a01b9e5 pod otw 2025-11-14 12:35:10 +01:00
Eddy Bruel
2feda690e8 Pass descender to turtle in DrawText 2025-11-14 11:25:24 +01:00
Eddy Bruel
70ebaa0bd7 Unify line spacing between turtle and DrawText 2025-11-14 11:25:13 +01:00
Admin
a3134d74f9 swizzle otw 2025-11-14 11:01:47 +01:00
Kevin Boos
7bbb42a1b3 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