84348fd378f44303f69a74a5c8d0b5cb8825b3f6
- New csv.rs: parse_ohlcv_csv (date,open,high,low,close[,volume], header optional, errors name the line) + derived series (VWAP, OBV, accumulation/distribution, money flow, Heikin-Ashi, Renko, volume profile). - XGraph: load_*_csv loaders (candles, OHLC bars, close line, indexed closes, VWAP over candles, OBV, A/D, money flow, Heikin-Ashi, Renko, volume bars/candles/profile), add_ohlc_csv + add_ratio_line / add_spread_line for two-symbol compare, clear_data, SeriesKind::Bars (volume bars from the zero line; y range forced to contain 0). - ChartWidget::populate_from_csv picks the series per kind; the 14 drawing/annotation kinds reject CSV with an error. Widget trait gains load_csv_data (default: rejects); XGraph loads candles. - xframe-demo: run_widget_with_csv + --csv flag; csv-chart-shots example renders all 23 kinds headlessly and diffs vs the blank template; 30-row sample CSV in examples/data/. - docs/stock-charts-csv.md: audit (no template data ships inside the widget), CSV spec, per-kind table, worked examples, limits. Also corrects the stale gen.rs comment about a seeded preview series. - 13 new tests in csv_tests.rs (parser, derived math, per-kind population, clear/populate, ratio/spread, headless renders).
lightgui_rust — LightGUI ported to Rust
Rust port of LightGUI
(HEAD eb0b5fc): an XFrame-native form designer with 547 XFrame widgets.
See PORTING_PLAN.md for the survey and module map.
Workspace
| Crate | C++ source | Status |
|---|---|---|
crates/lightgui-core |
src/model.h, src/props.h, src/events.h, src/project_io.cpp, canonicalize() in src/main.cpp |
done |
crates/lightgui-gen |
src/generator.cpp / src/generator.h (emits C++/XFrame, byte-identical) |
done |
crates/lightgui-debug |
src/debugger.cpp / src/debugger.h (GDB/MI) |
in progress |
crates/lightgui-support |
data extraction (registry, palette, indicators) | in progress |
probe/ is the step-0 crates.io probe (standalone, excluded from the
workspace). data/ / tools/ are generated data + extraction tooling.
Build / test
cargo test # workspace; rustc/cargo are login-shell-only: use `bash -lc`
cargo build # must be warning-free (the C++ build was zero-warning)
Rust 1.100.1 stable, GTK 3.24 (gtk-rs 0.18), serde/serde_json 1.0.
Docs
docs/stock-charts-csv.md— how the stock chart widgets ingest plotting data (CSV format, per-kind series, clear/populate, limits).
Languages
Rust
92.6%
Python
6.6%
Shell
0.5%
C++
0.2%
Makefile
0.1%