pcbjam/scripts/kicad
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári b577c05fae
fix(eeschema): wasm dialog positioning (web .window CSS) + collab SCH_SHAPE add via coroutine fiber stack
Thrust A — dialogs render top-left with OK clipped in the WEB app (not the
test harness): root cause was the React shell missing the .window /
.window-canvas CSS that wx.js relies on (it positions each dialog div via
inline left/top, which need position:absolute). Added the rules to
web/apps/frontend/src/index.css. Native draw-text now works end-to-end;
symbol/power choosers render (placing still blocked by absent libraries).

Thrust B — collab apply of a newly-added SCH_SHAPE trapped in KiCad core
(SCH_COMMIT::Push CHT_ADD -> GAL view->Add, an asyncify invoke_* mis-dispatch)
because doApply ran off a fiber stack. doApply now runs inside a COROUTINE so
it executes on a libcontext fiber, the same context native draws use; the add
dispatches correctly. Re-enabled the SCH_SHAPE converter (rect/circle). Added
thirdparty/libcontext to the embind include path (tool/coroutine.h needs it).
Verified two-tab: rectangle + circle drawn in tab A sync + render in tab B.
Extended eeschema-collab.spec.ts apply test with a SCH_SHAPE add.

All changes root-repo only; kicad and wxwidgets forks untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 13:56:43 +02:00
..
build-calculator.sh refactor(build): fold calculator into unified docker/build.sh dispatch 2026-05-29 16:01:18 +02:00
build-eeschema.sh feat(schematic): eeschema WASM build + e2e harness 2026-05-29 16:01:17 +02:00
build-gerbview.sh feat: gerbview WASM port 2026-06-03 14:23:57 +02:00
build-kicad-target.sh fix(eeschema): wasm dialog positioning (web .window CSS) + collab SCH_SHAPE add via coroutine fiber stack 2026-06-05 13:56:43 +02:00
build-pcbnew.sh feat(schematic): eeschema WASM build + e2e harness 2026-05-29 16:01:17 +02:00
build-pl_editor.sh feat: pl_editor WASM port + browser file dialog fixes 2026-06-01 10:30:56 +02:00
build-symbol_editor.sh feat: symbol_editor WASM port 2026-06-02 13:37:26 +02:00