Commit graph

809 commits

Author SHA1 Message Date
Admin
c8412703b0 oops. uids 2026-03-08 08:42:49 +01:00
Admin
8d73f700e6 exr 2026-03-07 15:01:34 +01:00
Admin
614e214e9a fix ime runview 2026-03-07 02:07:44 +01:00
Admin
2aad6a6aa9 drumroll 2026-03-06 17:21:17 +01:00
Admin
2dd6c85753 almost sshader 2026-03-06 17:21:17 +01:00
Admin
ad658b40ad cleanup ds 2026-03-06 17:21:17 +01:00
Admin
bb331d0eb3 split f32 + uniformbuffers 2026-03-06 17:21:17 +01:00
Jason Yau
77709bb766 Fix: IME Popup Window Appears Without TextInput Focus (#924)
* regenerate windows-rs to export ImmAssociateContext

* fix ime popup window still shown when TextInput has no focus

* fix ime popup window still shown when TextInput has no focus for macos

---------

Co-authored-by: jasonqiu <jasonqiuchen@outlook.com>
2026-03-06 16:50:01 +01:00
offline-ant
abb71be0e0 selection: clipboard delegate, primary selection, mobile handles (#912)
* selection: clipboard delegate, primary selection, mobile UI, handles, accessibility

Level 0: Route clipboard through Makepad instead of arboard. Custom
ClipboardDelegate in havishell forwards set_text/get_text/clear through
Makepad's CopyToClipboard and pending paste state. Fix Wayland serial
constraint by queuing CopyToClipboard when no serial is available.

Level 1: Primary selection (Linux). Add CxOsOp::SetPrimarySelection,
Wayland zwp_primary_selection_device_manager_v1 protocol bindings, X11
PRIMARY atom handling. HAVI stores selection text in SharedDocumentSelection
and calls set_primary_selection on change.

Level 2: Mobile clipboard actions UI. Long-press selects word and shows
native clipboard toolbar. TextCopy/TextCut events return selection text.

Level 3: Selection handle API. Add CxOsOp Show/Update/HideSelectionHandles,
Event::SelectionHandleDrag, and HAVI integration for handle drag events.
Platform stubs for all backends.

Level 4: Accessibility plumbing. Add CxOsOp::AccessibilityUpdate with
type-erased Box<dyn Any + Send> payload. HAVI implements
notify_accessibility_tree_update to forward accesskit::TreeUpdate through
Makepad. Platform no-op stubs.

* wayland: handle primary selection data_offer child objects

---------

Co-authored-by: ant <ant@offline.click>
2026-03-06 12:17:25 +01:00
Admin
3ed6de6cac fix 2026-03-06 09:26:02 +01:00
Admin
3d3e51fe26 mb3d test scene 2026-03-05 23:47:21 +01:00
Admin
12b4f4f53c m3d concluded 2026-03-05 23:45:21 +01:00
Admin
d057e9a46a optimisation adaptive ao 2026-03-05 23:45:21 +01:00
Admin
2895460208 baseline 2026-03-05 23:45:21 +01:00
Admin
1f2c52acad cleanup 2026-03-05 23:45:21 +01:00
Admin
bcce2305e3 vfs smoothness 2026-03-04 13:56:58 +01:00
Admin
e9d7dd65fe possible terminal glitch fix 2026-03-04 13:39:27 +01:00
Admin
f9475ad261 fix scrolling 2026-03-04 09:16:48 +01:00
Admin
2e859786f9 fix scrolling 2026-03-04 09:14:45 +01:00
Admin
21d0f45379 fix: revert is_repeat check, fix batched TextInput newlines
Made-with: Cursor
2026-03-04 08:18:41 +01:00
Admin
4e3ce9d0a8 terminal window resizing stable 2026-03-04 00:25:32 +01:00
Admin
9d8dc34a68 terminal fidgetting 2026-03-03 22:43:41 +01:00
Admin
4152df35da terminal fidgetting 2026-03-03 22:39:28 +01:00
Admin
e289c9c590 fixup terminal height glitching 2026-03-03 21:05:00 +01:00
Admin
3af7afb04c widget tree fixup 2026-03-03 20:19:06 +01:00
Admin
324f22863b terminal otw 2026-03-03 17:47:24 +01:00
Admin
554bbb2050 terminal wrangling 2026-03-03 13:22:06 +01:00
Admin
4ca7685256 terminal wrangling 2026-03-03 13:21:53 +01:00
Admin
106de2274f rename network 2026-03-03 09:18:19 +01:00
Admin
1f0cdc2f17 add studio proto 2026-03-02 12:46:52 +01:00
Admin
7bf6afa3ab fix paste in terminal 2026-03-02 12:18:26 +01:00
Admin
6c5f2728a9 cleanup 2026-03-01 23:15:39 +01:00
Admin
42e951bcde fixup studio backend 2026-03-01 21:12:24 +01:00
Admin
23f987ed8c logs 2026-03-01 11:23:04 +01:00
Admin
c7a45834f7 logs 2026-03-01 10:47:46 +01:00
Admin
a28fdfbd12 logs 2026-03-01 10:43:26 +01:00
Admin
d5d59d01c3 backend proto splitoff 2026-03-01 10:12:00 +01:00
Admin
83f66a6e8a better vfs threading 2026-02-28 22:29:48 +01:00
Admin
d0d781bd10 studio2 otw 2026-02-28 21:27:26 +01:00
offline-ant
b7231c05fc ios: use CVPixelBuffer-first GL/Metal bridge path (#904)
Co-authored-by: ant <ant@offline.click>
2026-02-28 11:17:48 +01:00
Julián Montes de Oca
5a56fe5338 Video Widget: Support on More Platforms (#867)
* Add support for Video widget on WASM

* Add support for Video widget on Linux

* Linux video:  GStreamer appsink pipeline, GL texture upload, accurate seeking

* Add support for Video widget on Windows

* Harden cross-platform video playback and error handling

* Cleanup video playback logs

* Restore wasm builds

* Restore linux builds

* Restore linux builds

* Remove unused import
2026-02-27 18:52:49 +01:00
offline-ant
1dca9d750b iOS: GL render bridge (EAGL+IOSurface) and ios build command (#894)
* iOS: add GL render bridge (EAGL+IOSurface), fix linking, fix warnings

- Add EaglRenderBridge for iOS (GLES 3.0 context sharing textures with
  Metal via IOSurface), mirroring macOS CglRenderBridge
- Add iOS GlRenderBridge inner field and Cx methods
  (create_gl_render_bridge, create_gl_render_bridge_texture, restore_gl_context)
- Widen IOSurface support from macos-only to macos/ios/tvos in apple_sys
  and metal.rs (CxOsTexture fields, update_shared_texture, etc.)
- Expose metal_device() accessor on IosApp
- Replace removed SSLSetEnableCertVerify with SSLSetSessionOption
  (kSSLSessionOptionBreakOnServerAuth) to fix iOS linker error
- Remove unused apple_util::* imports in ios.rs and ios_app.rs
- Fix iOS deployment target from 26.0 to 17.0 in cargo_makepad

* cargo-makepad: add apple ios build command, expose IosBuildResult fields

---------

Co-authored-by: ant <ant@offline.click>
2026-02-27 08:40:41 +01:00
Admin
5a3768eed4 fix up voice build on non tahoe 2026-02-26 15:22:40 +01:00
Admin
c8ab367b14 little glitches in script engine 2026-02-24 23:32:56 +01:00
Admin
56501e372b cleanup warnings 2026-02-24 21:40:08 +01:00
Admin
aae121f31d fix gc issues 2026-02-24 21:40:08 +01:00
offline-ant
6df7c870db Add cross-platform window icon support (#877)
Add WindowIcon and WindowIconBuffer types to platform/src/window.rs with
RGBA8 pixel buffer data. Embed a default 64x64 Makepad icon generated at
runtime (dark rounded rect with white M glyph).

Platform backends:

- Windows: CreateIcon from RGBA->BGRA data, set on WNDCLASSEXW.hIcon
- X11: XChangeProperty with _NET_WM_ICON atom (RGBA->ARGB u32 array)
- macOS: NSBitmapImageRep + NSImage, setApplicationIconImage on NSApp
- Wayland: vendor xdg-toplevel-icon-v1 protocol, regenerate bindings,
  bind wl_shm + xdg_toplevel_icon_manager_v1 globals, create shm buffer
  icon when compositor supports it, silent fallback to app_id otherwise.
  Use configurable create_app_id field (default "Makepad").

Codegen: extend tools/wayland_codegen to generate xdg toplevel_icon
bindings into libs/linux/wayland-protocols/src/xdg.rs.

Co-authored-by: ant <ant@offline.click>
2026-02-24 17:30:43 +01:00
Admin
797098cec5 fix linux 2026-02-24 16:49:11 +01:00
Admin
1bf89646ef ssl sockets 2026-02-24 16:28:21 +01:00
Admin
0aa3533210 network refactor 2026-02-24 14:04:37 +01:00