8 Commits
Author SHA1 Message Date
cnmcdee 90880928c9 Ind* CSV series API: load_csv/set_series/clear_series on all 250 indicators
Every Ind* widget recomputes its lines from a loaded OHLCV series:
private recompute_lines() (moved out of the constructor), public
set_series()/load_csv()/clear_series()/series() matching the Stock*
chart widgets, same loader and CSV spec (StockData.h). Constructor
defaults keep the seeded 250-bar template; failed loads leave the
series untouched; clear_series() empties lines and draws clean.
Params that were constructor-only (fast/slow/period/...) are now
stored as members so a reloaded series uses the same settings.

Tests: widgets/tests/ind_csv_harness.cpp + test_ind_csv.py — 250/250
harnesses build, 250/250 numeric PASS, 39/39 screenshots PASS, 250/250
demo mains build. Docs: docs/stock-market-csv-data.md Indicators
section rewritten; all 250 cdoc pages updated (update-ind-csv.py).
2026-12-02 11:00:19 +00:00
cnmcdee 3792410bfe Docs: mark all 8 debugger bugs fixed Dec 2, 2026 (guide)
Troubleshooting entries rewritten as FIXED with the fixing commits:
backend e6678e1 (Step Out in main, Stop/async, Run target switch,
temp main bp) and UI a3df7cd (narrow pane incl. the wrapping hint
root cause, sticky selection/checkbox, search popup). Run table row
updated (Target/Args read every time), stale-breakpoints note
updated (kept staged), First-run quirk callout removed, Known bugs
section rewritten as all fixed.
2026-12-02 10:47:59 +00:00
cnmcdee 099733b27d Stock chart CSV data: loader in StockData.h, load_csv/add_series_csv on 23 widgets, docs + tests
- xframe::load_ohlcv_csv / parse_ohlcv_csv_text in StockData.h:
  date,open,high,low,close,volume, optional header matched by name
  (Massive exports load as-is), YYYY-MM-DD / ISO / epoch s-ms-ns dates,
  volume optional, malformed rows skipped + counted, error string out.
- 15 single-series widgets gain load_csv() + clear_series();
  8 comparative widgets gain add_series_csv(); failure leaves the
  series untouched. Drawing tools intentionally excluded (coordinates,
  not series); Ind* widgets take CSV only via the constructor.
- Fixtures tests/data/ohlcv_sample.csv (+ _b, 30 rows each) and
  widgets/tests/csv_unit_test.cpp + test_stock_csv.py (23/23 PASS:
  CSV shot differs from template shot, 30 items, bad path exits 2).
- docs/stock-market-csv-data.md + CSV sections in the stock group docs.
2026-12-02 10:15:50 +00:00
cnmcdee beec92b3ce Step debugger guide: add case-of-the-unexpected-61 exercise, Rust/Python debugger note, re-verify 8 known bugs (Dec 2) 2026-12-02 08:53:07 +00:00
cnmcdee c31b4b6a8b Step 5: cut .fdj to XFrame-only, drop the GTK palette (547 XFrame entries)
Palette is XFrame-only: the 36 GTK widgets are gone from designer.ui
and main.cpp (547 entries from xframe_palette.h). .fdj holds only
XFrame widgets; on load a GTK/unknown type is skipped with a clear
message, never migrated. snapshot/load now go through the embedded
XFrame canvas; the GTK Item machinery stays only as selftest
scaffolding (legacy_gtk_snapshot) until it is removed in a follow-up.
Selftest phases 3-8 rewritten for the step-4 XFrame generator (4
files, lg::Holder markers, file-level + XFrame round-trips, GTK skip
rule, bad-file rejection). Palette/converter tests updated to 547;
xframe_palette.h regenerated (one stale comment line). Docs updated.
Also: selftest cleans scratch generation dirs first, and the cleanup
call assigns its return value (void cast does not silence
-Wunused-result for system() on this toolchain).
2026-11-30 00:42:10 +00:00
cnmcdee 21a48f8d01 Add step-by-step debugger guide with real screenshots 2026-11-29 13:30:07 +00:00
cnmcdee eb0b5fc91a Docs for LightGUI: 547 widgets, 583-entry palette, Object Inspector window
README: 547 XFrame widgets in 11 sections, combined palette 583, Object
Inspector as its own top-level window, make builds lightgui + all 547
demos, ./ide launcher, make test seam test, repo tree, lightgui.com link.
docs/ide.md + docs/index.md: all totals 481 -> 547 (517 -> 583 palette),
11 sections (Instrumentation 66 added to the tables), repo-root paths
(no designer/ subdir), make lightgui target, seam 136 mapped / 411
unmapped, six top-level windows, Nov 29 test status.
2026-11-29 04:50:11 +00:00
cnmcdee 77a5edfe2c Merge expanded widget set: 547 XFrame widgets, combined palette (583), layout, docs 2026-11-29 03:38:35 +00:00