New shared helper widgets/tools/widget_count.py parses the canonical
widget list from widgets/common/registry.h (kWidgetNames, with the
\#include lines as fallback); every driver, composite tool, palette /
layout check and test now derives the count from it, so the tooling
keeps working as the Stock Market section lands instead of breaking
the composite grid, palette counts and PLACE_ALL.
- sections.py: new 10th section Stock Market (teal), assigned by
Stock*/Ind* prefix rule derived from the component dirs, so it
grows as widgets land with no hand-maintained list.
- build/verify_composite.py: tiles are the widget screenshots on
disk; grid is ceil(sqrt(n)) columns, spare slots allowed; fails
only if tiles are fewer than registry widgets.
- gen_registry.py / gen_xframe_palette_data.py / verify_icons.py /
gen_icons.py: counts derived; registry generator filters to real
widget dirs (excludes the shared StockData.h header, which is not
a widget); palette-data generator keeps sections.py order and
skips widgets not yet in the registry.
- palette/main_palette.cpp: window title from kWidgetCount; section
accent table unsized with a fallback instead of a hard-coded [9].
- designer/src/main.cpp: self-test counts use kXFramePaletteCount.
- tests + run_tests.py: all expectations derived (palette 194/194,
PLACE_ALL 194/194, combined 36+194=230 today, seam 136/58).
- all_widgets.png re-rendered: 223 tiles (194 registry + 29 Stock
screenshots ahead of the registry) on a 15x15 grid.
- verify_composite: label-bar check is majority-dark (white label
text occupies the rest); GtkInvisible is blank by design.
Registry itself is intentionally NOT regenerated here: it stays at
194 until phase-2 integration lands icons/screenshots for all new
widgets, at which point every derived check follows automatically.
- Top-level Makefile builds both halves (designer + widgets CMake);
.gitignore no longer ignores a hand-written top-level Makefile.
- ./ide launcher: starts designer + XFrame palette + layout as
separate top-level windows on one display (--build, --no-xframe).
- widgets/ path fixes for the move: palette icon search candidates
and ipc.h default now point at widgets/icons; test-driver, palette/
layout test, composite scripts derive paths from __file__; docgen
scripts re-pointed at widgets/components + docs via REPO_ROOT;
gen_registry tolerates a missing widgets README.
- Seam: widgets/tools/layout_to_fdesigner.py converts a layout file
(Name x y w h) to a .fdj project the designer opens: 136/194 XFrame
widgets map to a real GTK counterpart (35 marked approximate),
58 (dialogs/choosers/menus/...) have none and are reported, never
forced. widgets/tests/test_layout_to_fdesigner.py proves it end to
end: convert -> real project_io load -> real generator (277 files)
-> CMake build of the generated project -> app binary.
Seam test: ALL PASS.