Commit graph

1,863 commits

Author SHA1 Message Date
Admin
6c465092da baseline 2026-03-05 23:45:21 +01:00
Admin
1924bc2f6b cleanup 2026-03-05 23:45:21 +01:00
Admin
c9bd068a70 parity! 2026-03-05 23:45:21 +01:00
Admin
4207f0d4e9 nearly there 2026-03-05 23:45:21 +01:00
Admin
3b0f5a5c40 almost 2026-03-05 23:45:21 +01:00
Admin
394ee17864 shadows 2026-03-05 23:45:21 +01:00
Admin
8c3f839ee3 base correct 2026-03-05 23:45:21 +01:00
Admin
8ee09a8466 improving.. 2026-03-05 23:45:21 +01:00
Admin
00ce91ab5e right direction 2026-03-05 23:45:21 +01:00
Admin
7f313a6261 mb3d experiment 2026-03-05 23:45:21 +01:00
Sabin Regmi
8e3ae8ea1c
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
8b515338a2 fix splitter fingerdown 2026-03-04 15:13:21 +01:00
admin
4bc5cec4cb tweakra 2026-03-04 15:00:52 +01:00
admin
923a9c091b terminal error 2026-03-04 14:32:42 +01:00
Admin
dbf82942c6 vfs smoothness 2026-03-04 13:56:58 +01:00
Admin
5a89cc27f1 possible terminal glitch fix 2026-03-04 13:39:27 +01:00
Admin
8d65fdb31f fix path 2026-03-04 11:38:29 +01:00
Admin
650767daa8 fix path 2026-03-04 11:36:01 +01:00
Admin
79d844450d dnd 2026-03-04 10:31:14 +01:00
Admin
4ad0be2a69 move draw svg with turtle 2026-03-04 10:25:19 +01:00
Admin
47f906c340 widget tree refactor 2026-03-04 10:16:33 +01:00
Admin
7adc274be7 widget tree refactor 2026-03-04 09:52:17 +01:00
Admin
adc773d764 fix scrolling 2026-03-04 09:22:15 +01:00
Admin
4a87f4ca31 fix scrolling 2026-03-04 09:16:48 +01:00
Admin
9ea5dc9471 fix scrolling 2026-03-04 09:14:45 +01:00
Admin
b8d431bf8d enter repeat 2026-03-04 08:42:38 +01:00
Admin
f9e68f8650 fix: revert is_repeat check, fix batched TextInput newlines
Made-with: Cursor
2026-03-04 08:18:41 +01:00
Admin
051f48de84 terminal window resizing stable 2026-03-04 00:25:32 +01:00
Admin
b30788f8cd terminal fidgetting 2026-03-03 22:47:29 +01:00
Admin
45ecd5f006 terminal fidgetting 2026-03-03 22:44:59 +01:00
Admin
2d0d853ffe terminal fidgetting 2026-03-03 22:43:41 +01:00
Admin
704d2a7a5f terminal fidgetting 2026-03-03 22:39:28 +01:00
Admin
8d0694b78f widget tree change 2026-03-03 22:12:11 +01:00
Admin
05238ee39d widget tree change 2026-03-03 21:22:58 +01:00
Admin
96c3992c94 fixup terminal height glitching 2026-03-03 21:05:00 +01:00
Admin
ecc2ad6086 Fix terminal resize garbling for TUIs by anchoring grid to top
Made-with: Cursor
2026-03-03 20:22:05 +01:00
Admin
d7c69e49bb widget tree fixup 2026-03-03 20:19:26 +01:00
Admin
c0125ba11d widget tree fixup 2026-03-03 20:19:06 +01:00
Admin
cb92b61b66 terminal otw 2026-03-03 17:47:24 +01:00
Admin
eeec57f459 terminal wrangling 2026-03-03 13:22:06 +01:00
Admin
98547946dd terminal wrangling 2026-03-03 13:21:53 +01:00
Admin
b8626a0b40 fix 2026-03-03 09:43:45 +01:00
Admin
81483d4555 y flip webgl rendertartet 2026-03-03 09:42:54 +01:00
Admin
0f3864a44a rename network 2026-03-03 09:18:19 +01:00
Admin
17d86d145e remove origin from widget tree 2026-03-03 08:55:01 +01:00
offline-ant
b7d573eaf5
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
1b800c4c8e
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
91c6ea5859
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
ee8e75b713 find_child 2026-03-03 08:44:18 +01:00
Admin
e163f5d11a find_child 2026-03-03 08:38:55 +01:00