Commit graph

1,792 commits

Author SHA1 Message Date
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
Admin
c36ea7100c procmacro prep 2025-10-21 12:04:58 +02:00
Admin
a4ff3b8617 make trap a cell 2025-10-21 11:27:26 +02:00
Admin
7fb9ec7525 prepare procmacros 2025-10-21 10:26:39 +02:00
Admin
afe5693e64 added tests 2025-10-20 14:29:11 +02:00
Admin
a08a1902f9 added try 2025-10-20 14:20:11 +02:00
Admin
63ad498818 added try 2025-10-20 14:14:02 +02:00
Admin
98cd17ca14 added try 2025-10-20 14:07:23 +02:00
Admin
573c3aa442 change trapping mechanism 2025-10-20 12:00:05 +02:00
Admin
cfb1cf543b change trapping mechanism 2025-10-20 11:46:09 +02:00
Admin
21177b3c29 change trapping mechanism 2025-10-20 11:39:37 +02:00
Admin
f7e5f1f7b2 fixed tests 2025-10-19 18:43:26 +02:00
Admin
d0fd07d5a5 scope inherits when shadowing 2025-10-19 18:25:50 +02:00
Admin
2d0c71692c fixed tests 2025-10-18 13:35:56 +02:00
alanpoon
6ce9aca06b
allow apply_over for image_scale and image_pan (#788) 2025-10-18 10:12:21 +02:00
Admin
601ef508ef fixed tests 2025-10-17 21:58:13 +02:00
Admin
e36be09618 fixed tests 2025-10-17 17:19:40 +02:00
Admin
9daf918978 fixed tests 2025-10-17 17:15:02 +02:00
Admin
3560f1e1e2 fixed tests 2025-10-17 17:12:53 +02:00
Admin
03b288f8b3 added access rights to script objects 2025-10-17 16:36:57 +02:00
Admin
f87d8729d0 special hashmap for keys 2025-10-17 10:57:53 +02:00
Admin
c80ee686f8 fix up tests 2025-10-17 10:30:19 +02:00