Commit graph

2,205 commits

Author SHA1 Message Date
Admin
8c7974e44f right direction 2026-03-05 23:45:21 +01:00
Admin
590e0f0ad8 mb3d experiment 2026-03-05 23:45:21 +01:00
Sabin Regmi
98f0c4cb2a Add --no-threads option and runtime thread checks (#918)
Introduce a single-threaded wasm build mode and add defensive runtime handling for missing wasm threading support.

- CLI: add --no-threads flag and WasmConfig.threads to control threaded vs single-threaded builds. Parse and strip wasm-specific options before forwarding build/run args.
- Build: select target features and RUSTFLAGS based on threading; omit atomics/bulk-memory features for single-threaded builds. Adjust generated server instructions to require COOP/COEP only for threaded builds.
- Dev server: conditionally include COOP/COEP headers when serving threaded wasm artifacts.
- JS runtime (platform/src/os/web/web.js): guard audio worklet startup and thread creation on wasm._has_thread_support; make alloc_thread_stack return null with clear console warnings when required exports or alignment are missing; pass allocated thread_info to workers.

These changes enable building and running a single-threaded wasm variant without COOP/COEP server requirements and improve runtime resilience when threading features are unavailable.
2026-03-05 20:53:20 +01:00
admin
3b15713f12 fix splitter fingerdown 2026-03-04 15:13:21 +01:00
admin
660a3cc5d0 tweakra 2026-03-04 15:00:52 +01:00
admin
27ec9f8b5f terminal error 2026-03-04 14:32:42 +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
8976538a43 fix path 2026-03-04 11:38:29 +01:00
Admin
74c9abad8f fix path 2026-03-04 11:36:01 +01:00
Admin
ff61c33284 dnd 2026-03-04 10:31:14 +01:00
Admin
7742b2def7 move draw svg with turtle 2026-03-04 10:25:19 +01:00
Admin
2e660f00dc widget tree refactor 2026-03-04 10:16:33 +01:00
Admin
6ecc045812 widget tree refactor 2026-03-04 09:52:17 +01:00
Admin
564772a5dc fix scrolling 2026-03-04 09:22:15 +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
e474af5168 enter repeat 2026-03-04 08:42:38 +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
5e1dea7b55 terminal fidgetting 2026-03-03 22:47:29 +01:00
Admin
730951ca42 terminal fidgetting 2026-03-03 22:44:59 +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
b0652e44b9 widget tree change 2026-03-03 22:12:11 +01:00
Admin
3f71a13648 widget tree change 2026-03-03 21:22:58 +01:00
Admin
e289c9c590 fixup terminal height glitching 2026-03-03 21:05:00 +01:00
Admin
5a203cfea3 Fix terminal resize garbling for TUIs by anchoring grid to top
Made-with: Cursor
2026-03-03 20:22:05 +01:00
Admin
090b0054da widget tree fixup 2026-03-03 20:19:26 +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
c17c4924cb fix 2026-03-03 09:43:45 +01:00
Admin
521b31d132 y flip webgl rendertartet 2026-03-03 09:42:54 +01:00
Admin
106de2274f rename network 2026-03-03 09:18:19 +01:00
Admin
307dfe4709 remove origin from widget tree 2026-03-03 08:55:01 +01:00
offline-ant
3098478266 turtle: rename BeginTurtle/EndTurtle to BeginClip/EndClip, add push/pop_clip_rect (#907)
Rename AlignEntry::BeginTurtle/EndTurtle to BeginClip/EndClip — these
entries control GPU clip rect stacking, not turtle lifecycle.

Add push_clip_rect/pop_clip_rect to Cx2d: lightweight API for manual
clip rect control without creating a full turtle. The existing
clip_and_shift_align_list pass intersects nested clip rects and writes
draw_clip into draw call instances.

Co-authored-by: ant <ant@offline.click>
2026-03-03 08:53:50 +01:00
offline-ant
aa5b0a9922 text: add letter/word spacing, RTL, features, y_offset, variations to shaper (#908)
Co-authored-by: ant <ant@offline.click>
2026-03-03 08:53:26 +01:00
offline-ant
e1bcba34a3 texture: add set_data_u32 for resize-safe updates (#910)
Add Texture::set_data_u32(cx, width, height, data) that replaces pixel
data and dimensions in one call. Unlike put_back_vec_u32, this also
updates width/height, making it safe for image sources that change
resolution (animated images, lazy-loaded placeholders).

Co-authored-by: ant <ant@offline.click>
2026-03-03 08:52:54 +01:00
Admin
c06fb56d4d find_child 2026-03-03 08:44:18 +01:00
Admin
6313b13e73 find_child 2026-03-03 08:38:55 +01:00
Admin
4dec4ce497 find_child 2026-03-03 08:37:28 +01:00
Admin
d80a6b8327 weakref widget tree 2026-03-02 22:22:30 +01:00
Admin
e6aed38950 finall fix render glitch 2026-03-02 20:16:29 +01:00
Admin
1f0cdc2f17 add studio proto 2026-03-02 12:46:52 +01:00
Admin
d64373e940 add studio proto 2026-03-02 12:30:33 +01:00
Admin
7bf6afa3ab fix paste in terminal 2026-03-02 12:18:26 +01:00
Admin
d4683f522f remote control 2026-03-02 12:07:59 +01:00
Admin
45ebb95cd4 remote working 2026-03-02 10:40:33 +01:00