Commit graph

2,282 commits

Author SHA1 Message Date
Eddy Bruel
cf3b124da1 Split off wrapping the turtle into its own function 2025-10-30 12:43:18 +01:00
Eddy Bruel
b60fbda564 Move next_walk_{is_first/offset} from Turtle to Cx2d 2025-10-30 12:43:18 +01:00
Eddy Bruel
b6619b273a Rename Turtle::row_height to Turtle::next_row_offset 2025-10-30 12:43:18 +01:00
Admin
f914293342 typecheck arg 2025-10-30 10:26:40 +01:00
Admin
c6811eb956 default to cx for script macro 2025-10-30 10:17:14 +01:00
Admin
4ad373037d fix + to autodetect concat 2025-10-30 09:31:39 +01:00
admin
5a76450cc9 first fs apis working 2025-10-29 17:26:31 +01:00
Admin
297caeed61 script interface for httprequest complete! 2025-10-29 14:02:29 +01:00
Admin
9b73dffe11 make json string keys id searchable and compareable 2025-10-29 00:09:15 +01:00
Admin
3c37efb8ed make json string keys id searchable and compareable 2025-10-28 23:54:12 +01:00
Admin
d76bb0899b make json string keys id searchable and compareable 2025-10-28 23:43:14 +01:00
Admin
ced7f3520f make json string keys id searchable and compareable 2025-10-28 23:17:00 +01:00
Admin
9bc9af04ba make json string keys id searchable and compareable 2025-10-28 23:04:54 +01:00
Admin
b02de14f76 make json string keys id searchable and compareable 2025-10-28 22:50:50 +01:00
Admin
4b6f037cf8 map json strings to ids in lookup 2025-10-28 20:38:29 +01:00
Admin
2a19b53c61 add json parser 2025-10-28 17:55:42 +01:00
Admin
976e68454b add json parser 2025-10-28 15:56:48 +01:00
Admin
c2d4f4d07d add string to vec mappings 2025-10-28 12:46:50 +01:00
Eddy Bruel
d058637834 Keep track of finished rows in turtle 2025-10-28 11:52:21 +01:00
Eddy Bruel
dc1bbe3cd6 WIP 2025-10-28 11:36:21 +01:00
Eddy Bruel
c59ba3459c Fix bug in wrapping 2025-10-28 11:36:21 +01:00
Eddy Bruel
cdcae82792 Unify Size::Right and Size::RightWrap 2025-10-28 09:20:57 +01:00
Stevo
082f834f48 Fix X11 Linux compilation errors (#804)
- Fixed missing comma after CopyToClipboard match arm
- Fixed premature closing brace in match statement
- Corrected OpenglCx import path from opengl_x11 to opengl_cx
- Fixed incorrect use of 'self' instead of 'cx' in ShowTextIME, CheckPermission, and RequestPermission handlers

These changes resolve compilation errors that prevented building makepad-studio on Linux X11.
2025-10-27 20:21:03 +01:00
Admin
be27a512f3 tighten newtypes 2025-10-27 17:20:15 +01:00
Admin
108ae28f82 added typed arrays 2025-10-27 17:00:41 +01:00
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