2819a316e408fc0ad0fd40bf442e230dbf832270
Reuse the stock-chart CSV parser (same format, same sample file): IndicatorWidget::populate_from_csv / Widget::load_csv_data replace the demo bars and the lines recompute from the loaded series at draw time, so no per-kind wiring was needed. Adds csv::bars_from_rows + date_to_epoch_nanos (Bar::time is nanoseconds; this also makes the four pivot widgets compute real lines instead of all-NaN). Demo series stays as fallback (reset_to_demo, loaded_from_csv flag). Tests: 9 new (all-250 load + recompute + headless draw, pivot fix, bad-CSV keeps demo bars); full workspace suite clean except the pre-existing lightgui-gen fixture failure. Screenshots: 250/250 CSV-loaded renders under Xvfb differ from demo goldens (RMSE 0.0060-0.0661). Docs: docs/indicators-csv.md; rustdoc Ind* pages updated.
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%