Commit graph

2,707 commits

Author SHA1 Message Date
Admin
ac3ef6e7e6 added typed arrays 2025-10-27 16:44:24 +01:00
Eddy Bruel
d59445c49f Use turtle_new_line for wrapping 2025-10-27 12:57:49 +01:00
Admin
77d3e19f90 updated gc for arrays 2025-10-27 12:43:53 +01:00
Admin
5865df6e14 fix uizoo 2025-10-27 11:39:42 +01:00
Admin
f3c38508ce arrays 2025-10-27 11:38:28 +01:00
Eddy Bruel
5ae24ac81a Fix 2025-10-27 11:19:22 +01:00
Eddy Bruel
bafa5fae20 Remove walk_turtle_with_align 2025-10-27 11:13:51 +01:00
Eddy Bruel
090aa10932 Remove spurious printlns 2025-10-27 11:13:50 +01:00
Admin
ca1d432b2f splitting off typed arrays 2025-10-27 09:30:44 +01:00
Admin
0b9710290c reuse intern string allocs 2025-10-26 10:40:55 +01:00
Admin
b8121c1c8d make sure strings have singular rep 2025-10-26 10:30:59 +01:00
Admin
67d519db15 make types longer 2025-10-25 21:21:49 +02:00
Admin
3168ce35cb make types longer 2025-10-25 21:19:30 +02:00
Admin
f8b23601bd make types longer 2025-10-25 21:04:17 +02:00
Admin
76cce72dc9 Fused Id and LiveId 2025-10-25 20:53:30 +02:00
Admin
096c9d1daa dont turn on touch scroll by default, fix gradient 2025-10-25 20:03:29 +02:00
Admin
37a849818a replacing id soon 2025-10-25 19:46:43 +02:00
Julián Montes de Oca
c85f72f00d Add focus loss detection to TextInput, for keyboard dismissal (#802)
TextInput now self-detects when user taps outside its area and dismisses the keyboard.
The tap event is not consumed.

Fixes keyboard staying open when tapping widgets that don't grab focus.
2025-10-25 19:42:32 +02:00
Julián Montes de Oca
c2b5d770b8 Enhance touch handling by using touch radius across platforms. (#801)
- Updated hit testing to account for finger size
- added touch size retrieval in iOS and Android
2025-10-25 19:42:18 +02:00
Julián Montes de Oca
062b9930f7 Add touch-based drag scrolling to ScrollBar (#799)
* Add drag and flick scrolling to ScrollBars

* Move touch-based drag and flick implementation to ScrollBar
2025-10-25 19:41:36 +02:00
Julián Montes de Oca
90c69908ad Fix macOS high CPU usage during idle (#798)
- Main loop timer is no longer running unconditionally but rather armed/disarmed on demand
- Removed unnecessary repaint_windows() call
- File watcher is now only included for debug builds
2025-10-25 19:41:10 +02:00
Julián Montes de Oca
5b4b963e7d Fix Markdown and HTML ordered list numbering and alignment (#794)
* Fix numbered markdown lists repeating the first number

* Refactor list item padding calculation to accommodate multi-digit markers and fix alignment
2025-10-25 19:36:41 +02:00
Drin
1c4758655e feat: a native wayland backend (#793)
* initialize the event loop for wayland backend

Signed-off-by: drindr <dreamchancn@qq.com>

* feat: hidpi wayland and mouse event
- hidpi support with wayland
- mouse event support
- refactor some code

Signed-off-by: drindr <dreamchancn@qq.com>

* wayland xkbcommon for key pressing event

Signed-off-by: drindr <dreamchancn@qq.com>

* add support for IME in with wayland

---------

Signed-off-by: drindr <dreamchancn@qq.com>
Co-authored-by: makepaddev <20386332+makepaddev@users.noreply.github.com>
2025-10-25 19:35:58 +02:00
Julián Montes de Oca
48a1ecd52c Add audio input permission handling and example project (#792)
* Add permission handling for audio input

- Introduced `CheckPermission` and `RequestPermission` operations in `CxOsOp` for managing audio input permissions.
- Implemented permission status checks and requests across iOS, macOS, and Android.
- Added a new `Permission` module to define permission types and statuses.
- Updated event handling to include permission results in the event system.
- Updated manifest files to include necessary permissions for audio input on Android.

* Add audio example project

- Added a new example project for audio processing and permission handling
- Implemented UI components for audio device selection, microphone capture, and playback controls.
- Integrated permission handling for audio input and updated the workspace configuration to include the new example.

* Implement audio permission in Web, catch up Linux and Windows

* Refactor iOS permission handling to avoid ios_app re-entrancy

* Implement iOS mic capture and add sample rate to AudioInfo

* Ensure iOS audio output uses loudspeaker, only when not using external devices

* Enhance audio example by handling sample rates and resampling
2025-10-25 19:15:57 +02:00
Julián Montes de Oca
b2ec4bee5e Fix double borrowing if IOS_APP during window geometry check (#791)
Co-authored-by: Julian Montes de Oca <joulei@buriza.local>
2025-10-25 19:15:44 +02:00
Julián Montes de Oca
f9760ad434 Fix websockets drop panic (#790) 2025-10-25 19:15:22 +02:00
Guocork
2cc316d849 Change XStoreName to Xutf8SetWMProperties (#742)
* Fix bug in text centering

* change XStoreName to Xutf8SetWMProperties

---------

Co-authored-by: Eddy Bruel <me@eddybruel.com>
Co-authored-by: Admin <info@makepad.nl>
Co-authored-by: makepaddev <20386332+makepaddev@users.noreply.github.com>
2025-10-25 18:57:22 +02:00
Admin
d28475c55f vec and option 2025-10-25 17:32:37 +02:00
Admin
904c4cafad vec and option 2025-10-25 17:03:17 +02:00
Admin
33265fa527 vec and option 2025-10-25 16:39:23 +02:00
Admin
05050f0ed0 rolled up script procmacros 2025-10-25 15:29:36 +02:00
Admin
f918aeadea enums otw 2025-10-24 17:30:12 +02:00
Admin
f8ea6c2416 enums otw 2025-10-24 16:15:35 +02:00
Admin
24c2febff9 typechecker infra 2025-10-24 13:43:45 +02:00
Eddy Bruel
07fbece97f Rethink selection drag scrolling as a post-op during draw 2025-10-24 11:40:36 +02:00
admin
3a2086f32e type info otw 2025-10-24 10:03:51 +02:00
Eddy Bruel
3634a1c9e1 Implement vertical selection drag scrolling for TextInput 2025-10-23 10:48:02 +02:00
admin
09c9b6901d dirty tracking and procmacro first run 2025-10-22 14:58:01 +02:00
admin
0dc6ddf1b3 dirty tracking and procmacro first run 2025-10-22 14:57:10 +02:00
admin
3fa5fe6048 fix 2025-10-22 14:57:00 +02:00
admin
ad1405b92d add dirty flags on fields 2025-10-21 20:44:12 +02:00
Admin
43a34d0253 procmacro prep 2025-10-21 13:40:38 +02:00
Admin
708f5cdd37 procmacro prep 2025-10-21 12:28:09 +02:00
Eddy Bruel
9af5173fae Add ascender to selection rects 2025-10-21 12:24:33 +02:00
Admin
5533b1ccf5 procmacro prep 2025-10-21 12:04:58 +02:00
Admin
94c0eae60b make trap a cell 2025-10-21 11:27:26 +02:00
Admin
830eb038f2 prepare procmacros 2025-10-21 10:26:39 +02:00
Admin
49f966e9b5 added tests 2025-10-20 14:29:11 +02:00
Admin
65eb176d37 added try 2025-10-20 14:20:11 +02:00
Admin
22a5167e61 added try 2025-10-20 14:14:02 +02:00