Commit graph

1,863 commits

Author SHA1 Message Date
Eddy Bruel
0d4a5a1906 WIP 2025-10-28 11:36:21 +01:00
Eddy Bruel
7881fbb17c Fix bug in wrapping 2025-10-28 11:36:21 +01:00
Eddy Bruel
9674bda214 Unify Size::Right and Size::RightWrap 2025-10-28 09:20:57 +01:00
Stevo
7435852986
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
fea82ee336 tighten newtypes 2025-10-27 17:20:15 +01:00
Admin
e63956b616 added typed arrays 2025-10-27 17:00:41 +01:00
Admin
f185ccfc36 added typed arrays 2025-10-27 16:44:24 +01:00
Eddy Bruel
84dc2afaf0 Use turtle_new_line for wrapping 2025-10-27 12:57:49 +01:00
Admin
5da6d7397d updated gc for arrays 2025-10-27 12:43:53 +01:00
Admin
4e969bbdd7 fix uizoo 2025-10-27 11:39:42 +01:00
Admin
f2e1bbcd7b arrays 2025-10-27 11:38:28 +01:00
Eddy Bruel
1a195ba297 Fix 2025-10-27 11:19:22 +01:00
Eddy Bruel
c504ba62c9 Remove walk_turtle_with_align 2025-10-27 11:13:51 +01:00
Eddy Bruel
b1cb63962e Remove spurious printlns 2025-10-27 11:13:50 +01:00
Admin
3c1d9c29d4 splitting off typed arrays 2025-10-27 09:30:44 +01:00
Admin
6250208d24 reuse intern string allocs 2025-10-26 10:40:55 +01:00
Admin
5c7a718924 make sure strings have singular rep 2025-10-26 10:30:59 +01:00
Admin
de86ff4028 make types longer 2025-10-25 21:21:49 +02:00
Admin
12d7b8f2ab make types longer 2025-10-25 21:19:30 +02:00
Admin
7e9de7ce42 make types longer 2025-10-25 21:04:17 +02:00
Admin
2176889023 Fused Id and LiveId 2025-10-25 20:53:30 +02:00
Admin
ad5ac76b10 dont turn on touch scroll by default, fix gradient 2025-10-25 20:03:29 +02:00
Admin
0bd7cc3d59 replacing id soon 2025-10-25 19:46:43 +02:00
Julián Montes de Oca
dbf0ac96fc
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
f8cd9e6683
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
cfde454ad2
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
4f221544f4
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
8cd911a8e9
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
8a33f8c37e
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
c659a7da56
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
ef8502d3a3
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
d85f0b1778
Fix websockets drop panic (#790) 2025-10-25 19:15:22 +02:00
Guocork
a71c71a7de
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
ddcae99b69 vec and option 2025-10-25 17:32:37 +02:00
Admin
8741f03d20 vec and option 2025-10-25 17:03:17 +02:00
Admin
5cb44bd4c9 vec and option 2025-10-25 16:39:23 +02:00
Admin
1fed558272 rolled up script procmacros 2025-10-25 15:29:36 +02:00
Admin
40ca856ee5 enums otw 2025-10-24 17:30:12 +02:00
Admin
b86c02f299 enums otw 2025-10-24 16:15:35 +02:00
Admin
3e9a51f90a typechecker infra 2025-10-24 13:43:45 +02:00
Eddy Bruel
4f5bf512a0 Rethink selection drag scrolling as a post-op during draw 2025-10-24 11:40:36 +02:00
admin
4a1fefc97d type info otw 2025-10-24 10:03:51 +02:00
Eddy Bruel
16a742a9ff Implement vertical selection drag scrolling for TextInput 2025-10-23 10:48:02 +02:00
admin
c2830a9f51 dirty tracking and procmacro first run 2025-10-22 14:58:01 +02:00
admin
4fc2402acf dirty tracking and procmacro first run 2025-10-22 14:57:10 +02:00
admin
82f596df8d fix 2025-10-22 14:57:00 +02:00
admin
033e76f9b5 add dirty flags on fields 2025-10-21 20:44:12 +02:00
Admin
022ef91a60 procmacro prep 2025-10-21 13:40:38 +02:00
Admin
d6ba528d41 procmacro prep 2025-10-21 12:28:09 +02:00
Eddy Bruel
c395817415 Add ascender to selection rects 2025-10-21 12:24:33 +02:00