52 Commits
Author SHA1 Message Date
Muse b499609b94 Verification: run_tests re-run on fresh Xvfb :99, triple-pass 296/547 (250 Ind exit-immediately by design, GtkInvisible blank by design, zero transients) 2026-11-26 03:10:30 -05:00
Muse 417c061d6c Verification artifacts: fresh run_tests, palette layout and IDE screenshots for the instrumentation font round 2026-11-26 01:53:18 -05:00
Muse bb6a23a270 Instrumentation font: re-render all 66 Inst pictures in 18 px bold; rebuild composite
Per-widget pictures (both locations) and all_widgets.png now show the
18 px bold instrumentation text; narrowest displays carry the clipped
name label (Seg14/16Display1/2) or the shortened LedDigits label.
2026-11-26 01:53:18 -05:00
Muse ffb2023cc3 Instrumentation font: clip name label to widget bounds on narrowest displays; shorten InstLedDigits1 label to LedDigits
At the 18 px bold font the full name overflows the narrowest displays
(Seg14/16Display1 by 69 px, Seg14/16Display2 by 19 px, LedDigits1 by
42 px). Clip the label draw to the widget bounds on the four segment
displays; LedDigits1 shows the shortened label LedDigits instead, which
fits its 90 px width whole.
2026-11-25 23:36:28 -05:00
Muse be45931c37 Instrumentation font: Group C lamps/LEDs to 18px bold via inst_bold_font; InstBeacon rate label moved onto base plate (was overstruck with BEACON) 2026-11-25 23:27:03 -05:00
Muse e5b6d74f43 Instrumentation font: Group B switches to 18px bold via inst_bold_font 2026-11-25 23:25:38 -05:00
Muse 65c8f8f362 Instrumentation font: Group A tank level widgets to 18px bold via inst_bold_font 2026-11-25 23:25:10 -05:00
Muse 0b8baedfd4 Instrumentation font: 13px medium -> 18px bold on Group G (14/16-segment displays); segment glyphs unchanged - already fill their cells, 1.33x does not fit 2026-11-25 23:23:33 -05:00
Muse 1f9915da92 Instrumentation font: 13px medium -> 18px bold on Group F (LED digits + needles); segment glyphs unchanged - already fill their cells, 1.33x does not fit 2026-11-25 23:23:31 -05:00
Muse 60d1cdf820 Instrumentation font: 13px medium -> 18px bold on Groups D+E (gauges + panel furniture); InstDigitalReadout segment digits 34x64 -> 45x85 (x1.33, fits with slack) 2026-11-25 23:23:29 -05:00
Muse 047f8ccc37 Refresh per-widget pictures for the two font pilot widgets (18px bold) 2026-11-25 23:12:10 -05:00
Muse 7b62937376 Instrumentation font: 13px medium -> 18px bold (+33% target) via shared inst_bold_font helper; pilot on InstVerticalTankLevel + InstRockerSwitch with before/after screenshots 2026-11-25 23:11:57 -05:00
Muse 78236e55dd Instrumentation integration: docs, pictures, screenshots, test results (547 widgets)
Assemble docs/instrumentation.md from the 6 group fragments (66 widget
entries, 66 picture links, overview + shared InstData.h model +
behaviour + full test summary). Wire the assembled doc into
tools/link_widget_pics.py and tools/verify_doc_examples.py. Fix the
InstLampTestButton example include (../InstPanelLampRed/... like the
demo main). Fix the XFrame palette accent table (10 -> 11 entries):
Instrumentation header is now amber 245,158,11, pixel-verified.
README counts to 547/583; root section table synced from
widgets/README.md (gen_registry only regenerates the latter).
Pictures: 547/547 PASS, composite 24x23 5868x4842 0 blank.
Battery: combined palette 583/583, palette 547/547, PLACE_ALL
547/547, draw 547/547, examples 547/547, build 0 warnings, seam
136 mapped / 411 unmapped, group drivers 8/8 + 12/12 + 12/12 +
38/38 + F/G ALL PASS. Attribution: XFrame.
2026-11-25 22:20:52 -05:00
Muse 6ebd9048e6 Instrumentation integration: registry/palette regen to 547 widgets (Group G landed)
Regenerate widgets/common/registry.h (547 widgets, 11 sections) and
designer/src/xframe_palette.h (547 entries) from the component dirs
after Group G (12 higher-segment displays) landed as 69acefb.
Instrumentation section now 66 widgets. Icons regenerated:
verify_icons 547/547 distinct hashes, most-shared 1. Derived counts:
547 widgets (194 original + 287 Stock Market + 66 Instrumentation),
combined palette 583. Attribution: XFrame.
2026-11-25 21:32:20 -05:00
Muse 69acefba56 Instrumentation Group G: 14/16-segment alphanumeric LED displays (12 widgets) + docs + icons + tests 2026-11-25 21:26:02 -05:00
Muse 384cc6f401 Instrumentation integration: 11th section + registry/palette regen to 535 widgets
Add Instrumentation section (amber accent) to tools/sections.py with
an Inst* prefix rule (same pattern as Stock Market); regenerate
widgets/common/registry.h (535 widgets, 11 sections) and
designer/src/xframe_palette.h (535 entries, 11 sections) from the
component dirs. Icons regenerated: verify_icons 535/535 distinct
hashes, most-shared 1. Derived counts: 535 widgets (194 original +
287 Stock Market + 54 Instrumentation), combined palette 571.
Attribution: XFrame.
2026-11-25 21:07:41 -05:00
Muse b6194e5fe6 Instrumentation groups D+E: 8 gauges/meters + 4 panel furniture widgets, tests, docs, screenshots 2026-11-25 21:06:10 -05:00
Muse b3ed2c9b36 Instrumentation Group C: 12 illuminator/LED widgets (panel lamps, LEDs, RGB, stack light, beacon, lamp-test button) 2026-11-25 21:01:50 -05:00
Muse 3a349451c3 Instrumentation Group F: LED digit displays 1-6 + 4 analog needles (10 widgets) 2026-11-25 21:00:50 -05:00
Muse c54c236411 Instrumentation switches (Group B): 12 toggle widgets with real state flip + pixel-change tests 2026-11-25 20:58:34 -05:00
Muse 1462f0696d Instrumentation Group A: 8 tank level widgets, driver, docs 2026-11-25 20:58:03 -05:00
Muse cab4f1d385 icons: 54 unique Instrumentation glyphs (glyphs_inst.py incl. LED digits 1-6 + 4 needle types) 2026-11-25 20:57:03 -05:00
Muse 2498f6da6c Instrumentation section: shared InstData.h (level, switch, lamp, RGB types + deterministic demo values) 2026-11-25 20:51:31 -05:00
Muse aaa4243ba8 Fix IndKlingerVolumeOscillator: signal EMA now uses period (default 13); was hardcoded 13 with period unused 2026-11-25 20:21:42 -05:00
Muse a3e178e82f Examples+links: all 481 doc examples verified, pictures linked
- widgets/tools/verify_doc_examples.py now also checks the assembled
  docs/stock-market.md; widgets/test-results/doc_examples.csv 481/481
  PASS (every example in the 9 section docs, 6 fragments and the
  assembled doc compiles against its widget header).
- Fixed 2 wrong compute-function names in docs/stock-market.md
  (IndDetrendedPriceOscillator used ind_dpo, IndFractalDimensionIndex
  used ind_fractal_dimension; headers define the long names).
- widgets/tools/link_widget_pics.py: every widget doc entry links its
  picture (481 links: 194 in the 9 section docs, 287 in
  docs/stock-market.md), verified with --check.
2026-11-25 20:14:39 -05:00
Muse 76630d19ff Pictures: individual example picture for every widget (481/481)
One PNG per widget in screenshots/widgets/<Name>.png, rendered on the
VPS from the widget demo (Xvfb + xwd -root crop; LD_PRELOAD keepalive
shim holds the 250 exit-immediately indicator demos open for capture),
plus the same shots in widgets/screenshots/ and a regenerated 22x22
composite all_widgets.png (481 tiles). Per-item table:
widgets/test-results/widget_pics.csv, 481/481 PASS (non-blank draw).
Driver: widgets/tools/render_widget_pics.py.
2026-11-25 20:14:39 -05:00
Muse 52e8e1c72d Stock Market integration: single-TU build fixes for all 481 widgets
Three latent breaks surfaced the moment the registry grew past 194:
1. xframe_core.h had only #pragma once, and GCC only collapses
   identical copies written in the same second (the 194 originals
   were all written 13:16:50 Nov 25). Stock copies were written at
   scattered times, so the palette/layout TU redefined Srgb/SStyle.
   Added a real #ifndef XFRAME_CORE_H guard to all 482 copies
   (new uniform md5 26f4ee62f0970237e2f0546c0a2ded69).
2. All 250 indicator ctors took series with no default, so the
   registry factory could not 9-arg-construct them. Defaulted to
   xframe::make_seeded_series(250) in the 3 generators (same pattern
   the 8 OHLC widgets already use) and regenerated all 250 dirs.
3. Two xframe compute functions were defined twice: ind_dpo
   (IndDPO + IndDetrendedPriceOscillator -> momentum one renamed
   ind_detrended_price_oscillator) and ind_fractal_dimension
   (IndFractalDimension + IndFractalDimensionIndex -> trend one
   renamed ind_fractal_dimension_index).
4. gen_registry.py now qualifies factory classes with xframe:: when
   the header declares the class inside namespace xframe (165
   trend/volatility Ind*), detected by parsing, not by prefix.
Verified: palette+layout build 0 errors; icons 481/481; palette
self-test 481/481; PLACE_ALL 481/481; draw 481/481. Attribution: XFrame.
2026-11-25 19:35:44 -05:00
Muse c02677bfc0 Pictures+examples: verify all 481 doc code examples compile, fix 111
- New widgets/tools/verify_doc_examples.py extracts every cpp block from
  the 9 section docs + 6 stock fragment docs and compiles it (full
  programs as-is, fragments in a display/window/styles harness).
  Result: widgets/test-results/doc_examples.csv, 481/481 PASS.
- Fixed 80 volatility examples: widget class lives in namespace xframe,
  snippets used the bare name (docs + docs/stock-market.md).
- Fixed 14 drawing examples: snippets used an undeclared series variable
  (bind the seeded series first) and hi/lo (compute from series range).
- Added per-widget examples for the 17 widgets that had none: 8 OHLC
  (shared example only) and 9 compare-volume (prose-only), in the
  fragment docs and docs/stock-market.md.
- New widgets/tools/render_widget_pics.py: per-widget picture driver
  (xwd -root + crop; LD_PRELOAD keepalive shim for the 250
  exit-immediately indicator demos).
2026-11-25 19:16:59 -05:00
Muse 96e3c87c58 Stock Market icons: 250 indicator icons (85 trend, 85 momentum, 80 volatility) 2026-11-25 18:51:44 -05:00
Muse 4e79217d4d Stock Market icons: 14 drawing/annotation tool icons 2026-11-25 18:51:38 -05:00
Muse 389905787a Stock Market icons: glyphs_stock.py engine + 8 OHLC + 15 comparative/volume icons 2026-11-25 18:51:32 -05:00
Muse e7641a4620 Stock Market integration: Phase 1 leftover screenshots + test results
29 per-widget screenshots (800x600, comparative/volume + drawing groups)
and the 2 test-result CSVs (15 compare/volume + 14 drawing rows, all PASS).
Verified each screenshot stem is a real component dir. Attribution: XFrame.
2026-11-25 18:48:53 -05:00
Muse ca827dc0fa Stock Market integration: 4 missing trend indicators + registry/palette regen to 481 widgets
Generate IndAroonOscillator, IndGatorOscillator, IndTRIX, IndQStick from
widgets/tools/gen_indicators_trend.py (--only each); regenerate
widgets/common/registry.h and designer/src/xframe_palette.h from the
component dirs. Derived counts: 481 widgets (194 original + 287 Stock
Market), 10 sections, Stock Market 287. Attribution: XFrame.
2026-11-25 18:48:42 -05:00
Muse aa554fee9d Stock Market indicators: momentum group, 85 widgets 2026-11-25 18:46:41 -05:00
Muse dd980f61c6 Stock Market indicators: trend group, 85 named (81 dirs verified; 4 blocked on momentum collision)
Trend indicators for the XFrame Stock Market section: moving averages
and trend systems, each its own widget with a named real formula.
HurstExponent, EfficiencyRatio and RSquared yielded to the volatility
group and replaced by EhlersSuperSmoother, VWEMA and ElderSafeZone.
AroonOscillator, GatorOscillator, TRIX and QStick are claimed in this
list but their dirs currently hold the momentum worker versions and
were not overwritten; they need coordinator resolution. Generator
refuses to emit into foreign dirs and refuses volatility-list names.
Tests: driver 81/85 pass (4 blocked, foreign dirs); the 81 owned
widgets pass build/draw/click/key/exit/smoke with 0 warnings.
2026-11-25 18:30:59 -05:00
Muse 67169e1cbc Derive the XFrame widget count from the registry instead of hard-coding 194
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.
2026-11-25 18:18:38 -05:00
Muse 0c67dd81f1 Stock Market indicators: volatility + volume + other (80 widgets) 2026-11-25 18:17:31 -05:00
Muse 21da19af94 Stock Market: comparative plotting + volume widgets (15)
Comparative: StockOverlayChart, StockMultiSymbolChart,
StockRelativePerformance, StockSpreadChart, StockRatioChart,
StockCorrelationView, StockIndexedComparison, StockSectorComparison.
Volume: StockVolumeBars, StockVWAP, StockVolumeProfile, StockOBVChart,
StockVolumeCandles, StockAccumulationDistribution, StockMoneyFlowChart.
All header-only X11 classes on seeded OHLCV data from StockData.h.
Tests: widgets/tests/test_stock_compare_volume.py 15/15 widgets,
75/75 cells PASS under Xvfb :92 (build/draw/click/key/exit), 0 warnings.
Docs: docs/stock-market-compare-volume.md.
2026-11-25 17:59:52 -05:00
Muse 064a9610da Stock Market drawing group: 14 annotation widgets + driver + docs 2026-11-25 17:58:07 -05:00
Muse a7f6e7f954 Stock Market OHLC group: 8 price-chart widgets + driver + docs
StockCandlestickChart, StockOHLCBarChart, StockLineChart, StockAreaChart,
StockHeikinAshi, StockRenko, StockHollowCandles, StockBaselineChart.
Each renders from xframe::OHLCVSeries (seeded synthetic data only),
axes + grid, crosshair, drag-pan, wheel zoom, key pan/zoom/reset.
Driver widgets/tests/test_stock_ohlc.py: 8/8 build/draw/hover/click/
key/exit PASS, 0 warnings (-Wall -Wextra), StockData determinism OK.
Docs: docs/stock-market-ohlc.md.
2026-11-25 17:55:37 -05:00
Muse cc6efc5946 Re-render screenshots without personal attribution 2026-11-25 17:52:34 -05:00
Muse a24ace2d7c Stock Market section: shared OHLCV type + seeded synthetic data 2026-11-25 17:50:00 -05:00
Muse 0bbcd905da Screenshots: palettes re-rendered with unique icons; palette/layout test results 2026-11-25 17:48:15 -05:00
Muse d36988b54a Remove personal attribution from About dialog and hard-coded home paths 2026-11-25 17:46:57 -05:00
Muse cc151ce564 Wire unique icon modules into gen_icons.py (138 unique glyphs) 2026-11-25 17:46:04 -05:00
Muse 2116dcf5ed Unique icons: text, views, menus, misc (51 widgets) 2026-11-25 17:44:48 -05:00
Muse ac0c59a0d7 Unique icons: windows, dialogs, containers (51 widgets) 2026-11-25 17:43:57 -05:00
Muse 159b4468e9 Unique icons: buttons, display, choosers (36 widgets) 2026-11-25 17:43:22 -05:00
Muse 28aa0f676d Docs: combined IDE guide, 230-entry palette, screenshots, test evidence
README + docs/ide.md now describe the combined IDE as built: the
FDesigner palette holds 230 entries (36 FDesigner + 194 XFrame in
their 9 sections, each with its 16x16 icon, scrolling), the
standalone XFrame palette remains as the second selector, and the
layout -> designer seam is documented with its honest limits.
Final test numbers from the integration pass: self-test 29/29,
debugger 37/37 + 7/7, widget 5/5, font 20/20, theme 59/59,
events 6/6 + 41/41, CMake 31/31 + 4/4, code-window all pass,
palette-window 16/16, palette icons 13/13, matrix 21/21,
combined palette 230/230 + real-mouse place, palette/layout
194/194 place + 194/194 draw, seam all pass (136 mapped / 58
unmapped, generated app window appears under X).
screenshots/ holds the 9 combined-IDE shots; 15/16 in
designer/screenshots/ now show the combined palette with icons.
2026-11-25 16:49:54 -05:00
Muse 43903a71c4 Combined palette: 36 FDesigner + 194 XFrame entries, 230 total (part 5)
The combined IDE palette (FDesigner — Widgets, still its own
top-level window) now lists the 36 FDesigner widgets in their 5
groups AND all 194 XFrame widgets in their 9 section groups.
- designer/src/xframe_palette.h (generated by
  widgets/tools/gen_xframe_palette_data.py from sections.py +
  registry.h): 194 entries with section + registry index.
- designer/src/main.cpp: palette_build_xframe_sections() appends
  the 9 sections below the FDesigner grid — bold header per section,
  one full-width button per widget (16x16 .ico icon + name, same
  tight 20px rows via the existing #palette_window CSS). A long
  section header is 9pt + ellipsized so the grid never widens past
  the 250px window (the first attempt failed the self-test
  horizontal no-scroll check on the header width; fixed).
- Clicking an XFrame entry writes the shared selection file
  (name + registry index, same format as the CWidgets palette),
  so the layout window places the REAL XFrame widget class —
  no placeholders. FDesigner entries place GTK widgets as before.
- Test hooks FDESIGNER_PALETTE_DUMP (entries + window coords) and
  FDESIGNER_PALETTE_SELFTEST (every button through its real clicked
  handler); widgets/tests/test_combined_palette.py proves presence
  (exact section counts 28/34/24/33/28/10/17/16/4, registry indices),
  230/230 selection, and a real-mouse select + place through ./ide.
- Self-test updated: the FDesigner section still fits the 250x780
  window with no scrolling (vertical), XFrame sections scroll
  (expected for 230 entries); 194/194 XFrame icons asserted.
Test: test_combined_palette.py ALL PASS; designer self-test 29/29.
2026-11-25 16:16:44 -05:00