- 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.
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.
- 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).
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.
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.
Per-widget API (constructor, widget-specific methods/signals) and a
minimal compilable example for every widget in the four sections.
All 65 examples compile and are byte-identical to the code blocks in
the docs. Completes all 194 widgets: 194/194 documented.
Per-widget API (constructor, widget-specific methods/signals) and a
minimal compilable example for every widget in the two sections.
All 62 examples compile and are byte-identical to the code blocks in
the docs. Notes record the gaps honestly: T-dialog mr*/tdi* result
codes are private (examples use raw numbers), several plain-int
settings have no named constants.
Per-widget API (constructor, widget-specific methods/signals) and a
minimal compilable example for every widget in the three sections.
All 67 examples compile and are byte-identical to the code blocks in
the docs. Shared widget contract in docs/index.md.