84 Commits
Author SHA1 Message Date
cnmcdee a1645d34f3 debugger: fix 4 of the 8 documented C debugger bugs (c, d, e, f)
(c) step_out() in main() degraded to Continue instead of failing
with "finish not meaningful in the outermost frame."
(d) Stop on a GUI app in gtk_main: enable mi-async in spawn_gdb and
fall back through MI interrupt, SIGINT and SIGSTOP to the inferior
pid; kill_target() also tells gdb to drop a stopped inferior it never
reported dead (console kill), or -file-exec-and-symbols fails with
"Couldnt get registers".
(e) New restart_or_start(): same target+args restarts, otherwise kills
the stopped inferior and starts the new target (Run must honour the
Target field).
(f) Breakpoints gain a temporary flag: break-on-main bps are skipped
on re-apply, never saved, and never added twice.

Tests: step_out_in_main_degrades_to_continue,
break_on_main_no_duplicate_on_second_start,
break_on_main_no_duplicate_after_load, restart_or_start_switches_target,
gtk_interrupt_running_app (new gtkspin target); lib.rs documents all 8
bugs and the Rust port stance on each. (a)(b)(g)(h) are UI bugs and
there is no debugger UI in the Rust designer yet.
2026-12-02 10:02:57 +00:00
cnmcdee 84348fd378 Stock charts: OHLCV CSV loading for all 23 data-plotting kinds
- 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).
2026-12-02 10:00:27 +00:00
cnmcdee ee1519ee5a Task 4: route ButtonRelease, MotionNotify and KeyPress to the right widget in generated apps
Same pressed/focused routing as the C generator: generated event loop tracks pressed_widget (set on a handled ButtonPress) and focused_widget (click-to-focus). ButtonRelease goes to the pressed widget even if the pointer moved off it; MotionNotify goes to the pressed widget while a press is held (drag), otherwise to the topmost widget under the pointer; KeyPress goes to the focused widget only. ButtonPress hit-testing, Expose, ConfigureNotify and ClientMessage unchanged. Verified live under Xvfb on hot_chicago: the Rust designer generates main.cpp with the new loop. The generated loop is line-for-line the same one proven live in C with an instrumented 4-widget app (keys only to the focused entry, hover only to the widget under the pointer, drag/release only to the pressed button). The Rust designer canvas does NOT share this loop (it already targets release/motion/keys by selection/hit-test), so it is unchanged.
2026-12-02 05:33:11 +00:00
cnmcdee 401c65702c Task 3: TFontDialog height 340->420 (caption clipped) 2026-12-02 04:57:46 +00:00
cnmcdee 6ebec05c44 Task 3: refine three placement minimums from live verification
TFontDialog height 320->340 (caption clipped), TOpenPictureDialog / TSavePictureDialog width 400->480 (filter string truncated). Same values as C.
2026-12-02 04:42:21 +00:00
cnmcdee 079947b3d1 Task 3: placement sizes are max(registry default, content minimum) so the outer border encloses each widget's content
27 widgets (18 dialogs, 2 calendars, 3 views, 4 choosers) get larger defaults, applied in the xframe-common build.rs (designer placement) and gen_data.py (widget factory). Verified live under Xvfb on hot_chicago: placed sizes now e.g. GtkAboutDialog 520x260, TPageSetupDialog 320x400, TColorDialog 520x300. Two residual internal-layout collisions (TFindDialog Direction/Find Next, GtkFileChooserDialog Name/path) are draw-code issues, not placement size.
2026-12-02 04:31:29 +00:00
cnmcdee da84fba814 Single-placement mode + code-view sync on placement
Task 1: placing a widget now disarms placement mode — the next canvas
click places nothing until another palette widget is selected. Escape
(canvas or palette window) and clicking the selected palette entry
again also cancel an armed placement. Previously sel_type persisted
across placements, so every click placed another fresh widget.

Task 2: placing a widget refreshes the Code window at once
(Lazarus-style) via refresh_code_view() after place_widget(), so the
generated code shows the new widget without pressing Generate.

Verified live under Xvfb (9/9 in r-place-verify.sh): place-once,
Escape-cancel, toggle-cancel, re-arm, code sync, clean app log.
2026-12-02 03:08:39 +00:00
cnmcdee 29751be9c8 Make Inspector property rows expand to fill the panel width
The property editors in the grid sat at their natural width while
the Bulk parameter fields below filled the panel. Set hexpand on the
control in add_row so the control column takes the extra width, like
the Bulk fields. Entries, spins, combos and the entry+Pick boxes all
stretch; the label column stays narrow.
2026-12-01 02:03:07 +00:00
cnmcdee 6a7c4c7197 Add a font picker button beside the font-name property
The font-name entry gets a Pick button (same pattern as the Color
Pick button) that opens a font chooser listing the available system
fonts. Choosing one sets font-name to the picked family; setting the
entry text fires the existing changed handler, so the pick
live-applies exactly like typing the name. Only the family is stored
(size/bold/italic stay separate properties). The dialog is hidden,
not closed, after run() (close() leaves it mapped in this gtk-rs
build).
2026-12-01 02:01:55 +00:00
cnmcdee 1eabec03f5 Add Install Libraries: system-wide install from a Tools menu item
Adds Tools > Install Libraries: builds the designer as the user
(cargo build -p lightgui-designer), then installs system-wide as root
(pkexec when present, else a GTK password dialog feeding sudo -S).
Installs the designer binary to /usr/local/bin/lightgui-designer,
widget headers to /usr/local/include/lightgui (from the sibling C
repo, passed as LIGHTGUI_SRC since pkexec strips env), palette icons
to /usr/local/share/lightgui/icons, and a desktop entry + icon to the
app menu. Headers are header-only, so no shared libraries and no
ldconfig step. The .ui is embedded in the binary, so no UI file is
installed. Install output is shown in the scrollable log dialog.
Dialogs are hidden (not closed) after run(), and Enter in the
password entry submits via its activate signal.
2026-12-01 01:49:41 +00:00
cnmcdee 0c127d4355 Add CMake build console dialog to the Rust designer
The Rust designer had no CMake build UI at all: File -> Build with
CMake, Open CMake Project and CMake Settings all just posted an
unowned_note (CMake build lives in lightgui-support). Wire the first
two to lightgui-support now, mirroring the C++ designer:

- show_build_result(): modal 700x420 dialog with the full build log
  in a read-only monospace TextView. The log area is packed expanding
  (pack_start expand=true) so it fills the dialog instead of sitting
  at its ~2-line natural height at the top — the C console bug, fixed
  here by construction. Long lines wrap; the view starts scrolled to
  the end of the log (idle callback, so the scroll happens after
  allocation and lands on the true last line).
- cmake_build_dir(): error dialog when there is no CMakeLists.txt,
  otherwise configure + build with the saved settings and show the
  result dialog.
- on_cmake_build(): rebuilds the last generated project, or asks for
  a folder when there is none yet.
- on_cmake_open(): choose any CMakeLists.txt folder and build it.
- App.last_cmake_dir records the last generated/opened project
  (set by Generate too), mirroring C++ g_last_generated_dir.

CMake Settings… stays an unowned note: no settings dialog, out of
scope for this change.
2026-12-01 01:08:12 +00:00
cnmcdee 54509f32ba Phase 4: regenerate gen fixtures for the StockChart table change
Cases 02, 03, 14, 15, 16: the StockChart up/down colours are now
emitted by the generic Phase 4 loop with the widget's real defaults
rgb(0,150,0)/rgb(200,30,30) (the legacy rgb(0,200,0)/rgb(220,0,0) did
not match the widget), in table order, together with the rest of the
candlestick custom props (grid-color, auto-y, axis-w/h, view-first/
count, y-range). Case 03 also gains set_text("Test value") -- the
combined 17-prop StockChart table now carries a text prop.
2026-11-30 15:05:09 +00:00
cnmcdee a98d24d495 Phase 4: generator emits Stock/Instrumentation props (lightgui-gen)
Mirrors the C generator: a generic Phase 4 loop driven by PHASE4_CAPS
(caps_rs mode of tools/gen_phase4_props.py) emits one setter call per
Inspector-table prop the widget actually has, with the arg form from
the table kind (set_value(double) for gauges, set_value("...") for Seg
displays). Pairs are emitted together (minimum/maximum -> set_range,
y-min/y-max -> set_y_range, set_anchors3 when all six anchor
components are present, else one set_anchor per complete anchor). The
StockChart branch keeps only the NOTE for data-file/indicators/
drawings/compare-files/scale-mode; its up/down colours now come from
the generic loop. The common background prop falls back to
set_bg_color for Stock/Inst classes that have it (PHASE4_BG_COLOR,
bg_rs mode).
2026-11-30 15:01:38 +00:00
cnmcdee 45b36e89ef Phase 4: canvas apply_prop for Stock/Instrumentation (lightgui-designer)
A Phase 4 block before the generic branches routes a Stock/Inst
widget's own table props through the named dispatch (pairs together
from the model: y-min/y-max -> set_y_range, anchor-N-bar/price ->
set_anchor, grid-rows/cols -> set_grid_size; singletons by table kind;
Str "value" -> set_value_str so Seg displays are not parsed as f64).
minimum/maximum, Double "value" and "position" are deliberately not
intercepted -- the existing set_range / set_value / set_position
branches already apply them. Props the archetype does not implement
stay model-only (the model holds them; the generator emits them).
2026-11-30 14:58:40 +00:00
cnmcdee f4611498d9 Phase 4: named live-apply dispatch for Stock/Instrumentation (xframe-widgets)
Widget trait gains set_named_color/double/int/bool/string, set_y_range,
set_anchor and set_value_str (default: false = model-only). XGraph gains
axis/line/up/down/candle/annotation/text colours + line_width (per-kind
table defaults); the y-labels use axis_color and Line series use
line_width. InstrumentWidget gains brightness (C lamp factor
0.08+0.92*b/100 plumbed into draw_led/draw_panel_lamp/draw_beacon,
per-tier into draw_stack_light, channels+lens into draw_rgb_led),
decimal_places (LedDigits formatting) and stack tier brightness, plus
the full colour/level/on dispatch (lens/lit/dim routed per kind).
ChartWidget gains anchors + overlay colour and dispatches colours into
the XGraph (and any series present), view/axis props into the PlotView,
y-range and anchors. Toggle/Button dispatch "on" (checked / latched).
Props with no Rust counterpart (alarm bands, flash-rate/phase, switch
line-widths/positions, per-indicator colours, symbol/labels, etc.)
return false and stay model-only; the generator still emits them.
2026-11-30 14:57:51 +00:00
cnmcdee 8bbc094c62 Phase 4: float literals in generated Rust tables (const-context fix)
In a const context an integer literal does not infer as f64 (E0308),
so the generator emits float literals (100000.0) for PropDef::r lo/hi
via a new fmt_f64 helper, and the combined StockChart table is a named
const (STOCK_CHART_PROPS) -- an inline &[...] of const-fn calls is not
promotable to &'static (E0515). tools/gen_phase4_props.py gains
fmt_f64 (rust mode only; the C++ mode keeps integer bounds).
2026-11-30 14:48:33 +00:00
cnmcdee 786f1dd428 Phase 4: Stock/Instrumentation Inspector tables (lightgui-core)
Per-widget PropDef tables for all 103 Stock (37) + Instrumentation (66)
classes, generated by tools/gen_phase4_props.py (rust mode) from the C++
widget headers -- the same source as the C tables, so both designers show
the same property set with the same defaults. Each table is the Phase 1
generic set (via common_props) plus the widget's own colours, levels and
params (text first, then colours, then numerics/bools).

StockCandlestickChart resolves to the combined StockChart table: the legacy
8 data/indicator props with the widget's real up/down defaults
rgb(0,150,0)/rgb(200,30,30) (the legacy rgb(0,200,0)/rgb(220,0,0) did not
match the widget) plus the candlestick custom props (text, grid-color,
axis-width/height, view-first/count, auto-y, y-min/y-max) -- 17 total.

Also adds PropDef::n / PropDef::r const-fn constructors used by the
generated tables, and a phase4_stock_inst_tables test (counts + spot
checks across families).
2026-11-30 14:42:58 +00:00
cnmcdee 2d85fb2fac Phase 3: regenerate gen fixtures for set_items string form (cases 02, 03) 2026-11-30 13:07:04 +00:00
cnmcdee f769bdcb86 Phase 3: RangeWidget min/max crossing no longer panics the designer 2026-11-30 13:05:47 +00:00
cnmcdee 294edc495e Phase 3: generator emits set_items string form for ToolBar/MenuBar (fixes case 03 ambiguity) 2026-11-30 13:05:47 +00:00
cnmcdee 2f7abd710d Phase 3 fixes: class_kind TShape->Shape; inspector props_grid in a ScrolledWindow, default width 340 2026-11-30 12:21:05 +00:00
cnmcdee 24f077769e Phase 3: designer selftest Phase 3 block (containers + remaining families, window fields, generated setters) 2026-11-30 12:08:49 +00:00
cnmcdee f59303ed28 Phase 3: regenerate .fdj and generator fixtures from the fixed C++ saver/generator (ToggleButton, new props, case 04 enum loops) 2026-11-30 12:07:35 +00:00
cnmcdee bef3233260 Phase 3: ToggleButton type, window-level Project fields (border-style, icon, position, window-state), root Inspector rows 2026-11-30 12:07:33 +00:00
cnmcdee bffb69b18f Phase 3: generator emits new props (Shape as TShape, ToggleButton, root window position/state/border-style) 2026-11-30 12:07:32 +00:00
cnmcdee bd620a41d9 Phase 3: live-apply new Inspector props on the canvas (apply_prop) + Splitter orientation gate 2026-11-30 12:00:23 +00:00
cnmcdee 6b28f1d907 Phase 3: Inspector prop tables mirror the C tables (containers + remaining families, ToggleButton, Shape 0-9) 2026-11-30 11:58:58 +00:00
cnmcdee c5bcdf618d Phase 3: Widget trait setters + archetype fields/overrides for Inspector props (ProgressBar, SpinEdit, Calendar, Image, Notebook, ToggleButton, ListView, TreeView, Splitter, StatusBar, ToolBar, ColorBox, Shape, StringGrid, Spreadsheet) 2026-11-30 11:58:47 +00:00
cnmcdee ae56d21e34 Phase 2 selftest + fixtures (Rust): designer selftest Phase 2 block covers Button kind/default, Entry, Label, CheckBox, RadioButton group, ComboBox sorted/active/text, ListBox, ScrollBar, Scale marks, Text/Memo, CheckListBox checked-items, events incl. raw OnMouseDown, and generated-code greps; fixtures regenerated from fixed C gen_matrix (case 03 enums now use last value, case 04 covers all Phase 2 enums); fixtures_test case 03/04 mirrored 2026-11-30 10:56:13 +00:00
cnmcdee c72e4946f1 Phase 2 CheckListBox type entry (Rust): KTYPES gains CheckListBox (180x110, phase1) so it is placeable; count test 36 -> 37 2026-11-30 10:56:13 +00:00
cnmcdee d3be0782df Phase 2 per-widget props (Rust): Inspector tables for Button/Entry/Label/CheckBox/RadioButton/ComboBox/ListBox/ScrollBar/Scale/TrackBar/Text/Memo + CheckListBox; live-apply in canvas apply_prop (kind syncs label/modal-result, active syncs ComboBox text, integral-height snap, scale marks from tick-marks/frequency); generator emits all new setters incl. radio_group vectors, CheckListBox branch, scale marks; trait set_orientation_vertical; ListSel text() returns selected row; gen prop_int matches C++ stoi (default on no numeric prefix) 2026-11-30 10:56:07 +00:00
cnmcdee f4f060416c Phase 2 widget setters (Rust archetypes): Button default/cancel/kind/modal-result/layout with default ring and kind text; Entry alignment/char-case/numbers-only/hide-selection/auto-select/max-length with live filtering; Label xalign/yalign/transparent/show-accel-char/focus-control; Toggle allow-grayed/alignment/value-checked/unchecked/group-id/inconsistent with right-box and greyed-dash draw; Range page-step/marks/show-sel-range/sel-start/sel-end; ListSel sorted/checked-items/selected-row/row-height/style/drop-down-count/width with CheckListBox checkboxes 2026-11-30 09:39:58 +00:00
cnmcdee 156ed68046 Phase 2 Flag 10: Lazarus event names (OnClick, OnChange, OnMouseDown, ...) in the Inspector Events pane; raw pointer/keyboard/double-click events wired through Holder callbacks; find_event checks raw events; class_kind aliases for ToggleButton/PasswordEntry/SearchEntry + TCheckListBox 2026-11-30 09:18:51 +00:00
cnmcdee 7f3c430e4b R5: XLFD font resolution skips two-byte fonts; labels no longer vanish at size 16
Mirror of C5: a wildcard XLFD pattern can match a two-byte font
first (e.g. a JIS fixed font at size 16, which has no misc twin) and
XDrawString with 1-byte Latin text draws nothing with such a font.
The designer now lists every match per candidate pattern (new
X11::list_fonts) and takes the first single-byte font (new
X11::font_is_single_byte, min_byte1 == max_byte1 == 0); the emitted
lightgui_pick_font helper gets the identical fix. Fixture
03_all_props regenerated from the C generator.
2026-11-30 08:08:57 +00:00
cnmcdee cb8bad1504 Phase 1 fixtures: regenerate 03/04/05 from the C generator
03_all_props, 04_enum_values and 05_menus main.cpp now carry the
Phase 1 generator output (font picker + autosize helpers, anchor
lambda, new setter calls, enabled/visible, model-only notes).
02_all_types is byte-identical; 14/15/16 differ only in the
data-file path (generation directory), so their fixtures are
unchanged. cargo test -p lightgui-gen -p lightgui-designer
-p lightgui-core: all green.
2026-11-30 06:49:40 +00:00
cnmcdee 62695e0231 Phase 1 R4: Rust generator mirrors the C Phase 1 output byte-for-byte
Anchors/effective_anchors, lightgui_pick_font + conditional
<cctype>, apply_autosize helper, per-widget font into
emit_widget_styles, Entry password/show-password, Listbox
selection-mode 3 -> set_multi_select, Menubutton direction,
Scrollbar lower/page-increment, Text cursor-visible,
enabled/visible via the IWidget virtuals, the model-only NOTE
comment, the apply_anchors resize lambda (with (void) guards for
unused sizes) called from ConfigureNotify, and an apply_autosize
call per autosize widget. New props emit only when non-default.
Fixtures regenerated from the C generator in the next commit.
2026-11-30 06:23:38 +00:00
cnmcdee 0bdc9e2da8 Phase 1 R3: full Rust designer live-apply + per-widget fonts
refresh_item_style now reads the font-name/size/bold/italic props
and picks the first loadable XLFD from the candidate chain (probed
here, font id cached in a new CanvasBackend font_ids map).
redraw_canvas installs each item's style font into the GC before
drawing it (resolve_font fills metrics on first use; the cached
font id is rebound on later redraws) -- this also fixes the
pre-existing bug where a widget with a custom background/border
drew no label text at all. apply_prop gains enabled (alias
sensitive), items, lower/upper (via set_range), page-increment,
page-size, step-increment, password, show-password, direction,
cursor-visible, selection-mode (3 -> multi-select), font-* (via
refresh_item_style), constraint clamping and AutoSize
(apply_autosize: longest line + 16, (ascent+descent)*lines + 8,
clamped to constraints and 24x16). resize_item clamps to the
min/max constraints.
2026-11-30 06:23:37 +00:00
cnmcdee cf6995fcc0 Phase 1 R2: widget setters for Inspector live-apply
Widget trait gains default no-op setters set_password,
set_show_password, set_cursor_visible, set_direction,
set_page_increment, set_page_size, set_multi_select and set_items.
EntryWidget: show_password + cursor_visible (mask only when
password && !show_password; caret gated on cursor_visible).
ButtonWidget: direction (0=Up 1=Down 2=Left 3=Right 4=None) with a
MenuButton arrow triangle on the side the popup opens toward.
RangeWidget: page_size (25.0) + page_increment (10.0) with
PgUp/PgDn key handling. ListSelWidget: set_items (replace items,
clamp selection) + set_multi_select override. draw.rs gains
draw_triangle_left (mirror of draw_triangle_right).
2026-11-30 06:23:30 +00:00
cnmcdee e716ff4497 Phase 1 R1: generic Inspector property set in lightgui-core
Mirror of the C props.h set in common_props(): enabled, visible,
font-name/size/bold/italic/underline/strikeout, hint, show-hint,
cursor, tab-order, tab-stop, min/max-width/height, margin-*/around,
autosize, tag, anchor-top/left/right/bottom and align
(None|Top|Bottom|Left|Right|Client, ALIGN_VALUES). Entry table:
visibility replaced by password + show-password.
2026-11-30 06:23:29 +00:00
cnmcdee cee17059a3 Blank-lines guard test for the generator
The reported symptom (a blank line after every line of generated
source) was investigated Nov 29, 2026 and does NOT reproduce in the
current generator: all 16 gen_matrix cases measure a
blank-after-content ratio of 0.01-0.06 (section separators only),
while double-spaced output scores ~1.0. This test pins the clean
output so a regression fails loudly: it generates all 16 cases and
asserts every main.cpp has a blank-after-content ratio < 0.20.
Verified: passes on clean output; the same ratio function fails a
double-spaced file at 0.99 (checked via the C guard script).
2026-11-30 03:59:10 +00:00
cnmcdee 1ae85cd6c3 make install + generator references installed headers
Mirror of the C fix: the Rust generator emits the same XFrame C++
code, so it now defaults WIDGETS_DIR / LIGHTGUI_WIDGETS_DIR to
/usr/local/include/lightgui instead of the hardcoded
/opt/lightgui/widgets. Added a make install target (installs the
1100 header-only widget headers from the C repo,
$(LIGHTGUI_SRC)/widgets, to PREFIX/include/lightgui).
Fixtures regenerated from the fixed C++ gen_matrix output
(all 16 cases: Makefile/CMakeLists.txt/README.md now reference the
installed location; main.cpp unchanged). Fixture test passes.
2026-11-30 03:29:58 +00:00
cnmcdee bf6a90d1e5 Handles 16px -> 13px, grab area stays generous
Visual handle square HANDLE_SIZE 16 -> 13; hit pad stays 8px so the
grab target is 13+2*8 = 29px (was 32px) -- still easy to grab.
Verified: Xvfb screenshot shows 8 handles, 11px orange interior +
1px dark border = 13px total (was 14px interior / 16px total).
cargo test -p lightgui-designer -p lightgui-gen -p lightgui-core: all
pass. (lightgui-debug gtk.rs has 6 pre-existing GDB failures, also
present on the unmodified tree -- unrelated to this change.)
2026-11-30 03:02:47 +00:00
cnmcdee 18b38ebd99 Canvas follows the top-level window on resize
The canvas DrawingArea sat in the scrolled-window viewport with a
fixed 800x600 size request and never grew when the designer window
was resized, leaving the viewport background visible as a dark border
around it. A size-allocate handler on the viewport (the DrawingArea
parent) now resizes the canvas (and the project, which shares its
size) to the viewport allocation, deferred to an idle callback: the
size-allocate signal fires after the viewport has already allocated
its child for this pass, so resizing inside the handler would lag one
resize behind.

Verified geometrically under Xvfb/openbox: canvas X window tracks
the viewport exactly (1150x683 @ 1150x720, 1400x863 @ 1400x900,
900x563 @ 900x600).
2026-11-30 02:29:19 +00:00
cnmcdee d707d3633b lightgui-designer: cargo fmt (no logic changes)
Formatting fallout from running cargo fmt on the designer crate while
fixing clippy lints: line joins/splits in main.rs, palette_ui.rs,
selftest.rs and tests/seam.rs.
2026-11-30 01:54:16 +00:00
cnmcdee 11018a3d6c lightgui-gen, lightgui-designer: fix new-code clippy lints
gen.rs: replace nested format! calls with named format args (output
byte-identical, fixtures still pass) and push_str(",") with push.
seam.rs: leading "+" in a doc comment parsed as a Markdown list
marker. canvas.rs: let-else rewritten with ?, and drop the genuinely
unneeded return in the set_visible branch of set_prop (the border
branch return stays: it skips the style-rebuild tail).
2026-11-30 01:52:12 +00:00
cnmcdee 7ee075402a lightgui-designer: fix RefCell panic on handle-drag press
canvas_button_press called handle_at(&app.borrow(), ...) as the
if-let scrutinee and then borrow_mut() inside the body; the scrutinee
temporary Ref lives for the whole if-let, so pressing a resize handle
panicked (RefCell already borrowed) inside the GTK signal trampoline,
which cannot unwind — the designer aborted. Bind the hit first so the
borrow is released before borrow_mut(). Add a selftest phase that
drives the real press/motion/release handle-drag path.
2026-11-30 01:48:48 +00:00
cnmcdee fea9ea368f Delete the standalone xframe-layout crate
The unified XFrame-native canvas lives inside the designer now, so the
standalone layout process, its file-based selection IPC and its
workspace membership are gone. The Flatpak launcher just starts the
designer; xframe-common no longer mentions the layout in its
description and activate_window is documented for its remaining use.
2026-11-30 01:48:43 +00:00
cnmcdee 5490802120 lightgui-gen: emit XFrame C++ (unified canvas treatment)
Rewrite the generator to emit XFrame code (transliteration of the C
generator): single main.cpp with lg::Holder<T> widgets, XFrame styles,
menubar and X event loop, plus CMakeLists/Makefile/README. GTK output
is gone: chart_template.rs, cmake.rs and embedded/ deleted. Fixtures
regenerated from the C gen_matrix (16 cases x 4 files) and byte-identical
to the C generator; all 16 compile warning-free under -Wall -Wextra
and run under Xvfb.
2026-11-30 01:48:38 +00:00
cnmcdee b421710785 lightgui-designer: XFrame-native canvas, XFrame-only palette and .fdj
Embed the XFrame canvas in the designer: GtkDrawingArea
(double-buffered FALSE) drawn on with x11rb on its GDK-managed X
window (no socket/foreign window), porting the standalone layout
interaction — 16px handles, 8px hit pad, 450ms double-click checked
before drag, 8px drag threshold. Palette is XFrame-only (547);
palette clicks arm placement in-process, no selection file. .fdj
is XFrame-only: GTK widgets are dropped on load, never migrated.
Seam converter is identity mapping (layout name IS the .fdj type).
cargo check clean; SELFTEST PASS; palette selftest 547/547 PASS.
2026-11-30 01:12:14 +00:00
cnmcdee 053793652f Getter/setter pass (Rust): graph, spreadsheet, indicator widget, fdi Indicator
XGraph: grid_color (was 0xe1e1e1); get/set_series_color (series colour
was settable only at creation).
XSpreadsheet: background/grid/header_fill/active_fill/selection_fill
colours (were draw literals); get/set_row_height, get_frozen_rows/cols,
get_active_cell.
IndicatorWidget (widgets): background/grid/candle up/down/wicks
colours (were draw literals / name-derived palette); get_line_index
(read-only); get/set_line_color, get/set_param; view accessors
(set_y_range/set_auto_y/view_first/view_count/zoom_at/reset_view);
bars now go through Indicator::bar_rects so the colour override applies.
xframe_indicators::Indicator: set/get_line_color (palette-index
override; line_points/markers/bar_rects honour it) + get/set_param and
set_params (safe here: compute() re-derives lines from params on every
call, so no desync — the reason the C pass added no set_period).
Setters assign state only, never redraw.
Verified: cargo test -p xframe-widgets -p xframe-indicators -p
xframe-core green (incl. 7 new getter_setter_tests + 1 new
line_color_override_and_params); pixel hashes of all 547 widgets
identical to pre-change baseline.
2026-11-30 01:05:54 +00:00
cnmcdee a4396d59d4 Getter/setter pass (Rust): archetype colours + state
Button/Toggle: disabled_text_color (was hardcoded (140,140,140) in
draw_button_body); Button on (C++ EmergencyStop/PushButton set_on).
Entry: editable/password/multiline. Range: orientation/show_value/digits.
ListSel: selected_fill (was 0xc6dcf5). Container: set_active_page.
Chart: get_overlay (read-only, kind-derived). Dialog: modal/result.
Display: progress. Widget trait: step()/set_step().
Instrument: all 25 draw fns take their colours as parameters from
InstrumentWidget fields (Srgb, C++ *_color_ names, per-kind defaults):
dial/bar/flow/manometer/readout/LED/lamp/beacon/stack/RGB/tanks
(8 kinds)/needles/segment displays; led/lamp on, stack tier on/off,
RGB channel on/off, needle/marker line widths (C++ 3), unit/display_text.
Setters assign state only, never redraw (host repaints).
Verified: cargo test -p xframe-widgets green; pixel hashes of all 547
widgets identical to pre-change baseline (diff empty).
2026-11-30 01:02:36 +00:00
cnmcdee 95316260cb lightgui-core: XFrame class -> kind mapping + generic XFrame props
The designer is going XFrame-only: widget_type is now the XFrame class
name (GtkButton, IndRSI, ...). The property/event tables are still
keyed by the legacy palette kind, so class_kind() maps each class back
to its kind (reverse of the C generator kXFrameMap); props_for /
events_for / no_events_note normalize through it. Classes with no kind
equivalent get a generic [text] table; non-class-like names stay empty.
Canvas keeps its explicitly empty table.
2026-11-30 00:58:30 +00:00
cnmcdee 6ab58755ca Regenerate generator fixtures from the current C++ output
The fixtures are the C++ generator's output (tests/out/, 16 cases,
390 files). Regenerated after the C++ property/border fixes and the
//region marker change, so they carry the new items/adjustment/text/
cursor-visible/border output and the //region markers. The Rust
generator now matches them byte-for-byte.
2026-11-29 19:54:23 +00:00
cnmcdee acce7e143f Designer/generator: editable ComboBox/Listbox items, Scrollbar adjustment, Text text, Memo preview, border props
Mirror of the C++ fixes (same defects existed in the Rust designer):

- ComboBox/Listbox: new editable items prop (pipe-separated, default
  Item 1|Item 2|Item 3); the preview rebuilds from it (rebuild_combobox
  / rebuild_listbox in canvas.rs), the generator emits one
  append_text / list_box_insert per item. active / selection-mode
  unchanged.
- Scrollbar: editable lower/upper/step-increment/page-increment/
  page-size; the preview reconfigures the adjustment, the generator
  emits them. value/inverted unchanged; defaults preserve 0-100/1/10/10.
- Text: new text prop (same as Memo); preview and generator use it,
  falling back to the widget name when empty.
- Memo: preview now uses the text prop (was hardcoded to the name);
  added cursor-visible (same as Text).
- Border (GTK): border-width/border-color/border-radius in the common
  prop set; preview (refresh_item_css) and generator (colour_lines)
  emit border + border-radius CSS. Defaults (0/empty/0) preserve the
  current appearance. The XFrame border is NOT wired here: the Rust
  layout has no place-file channel (it reads the selection file
  directly), so there is no per-widget border path to it; the GTK
  border works.
- Generator region markers: // #region -> //region (and #endregion),
  matching the C++ generator since the audit; the Rust generator had
  never tracked that change, which the refreshed fixtures exposed.

Verified: cargo test --workspace under Xvfb, all suites ok,
including generator_matches_cpp_fixtures (390 files byte-for-byte).
2026-11-29 19:54:23 +00:00
cnmcdee b4d606a8f7 Designer build.rs: watch the branch ref so a new commit rebuilds the version strings 2026-11-29 17:34:37 +00:00
cnmcdee 083427c359 Rust designer fixes: bigger handles, layout activation, About, menu move, tabbed code editor
- xframe-layout: resize handles 9px -> 16px drawn with a 32px grab target
  (all 8, correct axes); poll_selection now raises/activates the layout
  window (EWMH _NET_ACTIVE_WINDOW + focus) so a palette click places
  instead of landing on the designer canvas
- xframe-common: X11::activate_window (raise + _NET_ACTIVE_WINDOW +
  SetInputFocus)
- designer: Help -> About with git commit + build date baked in by
  build.rs; menu bar moved from the main window into the code window
  (Ctrl+E on the main window reopens it); code window is now a tabbed
  multi-file editor (one tab per generated file + View -> Open File in
  Code Tab, per-tab dirty indicator + Ctrl+S save)
2026-11-29 17:33:22 +00:00
cnmcdee 71ee85d7a6 Fix Flatpak manifest: repo is extracted at build-dir root
flatpak-builder extracts the git source directly into the module build
dir (not a lightgui_rust/ subdirectory), so drop the cd lightgui_rust
and reference lightgui-icons/ as a subdirectory of the build dir.
2026-11-29 15:26:12 +00:00
cnmcdee a3f6c6d62c Add Flatpak packaging (com.hotconfig.LightGUIRust)
Flatpak manifest (GNOME Platform 48, GTK 3, rust-stable SDK extension)
+ launcher, desktop file, metainfo and app icon. Builds the designer,
xframe-palette and xframe-layout with cargo --offline from the vendored
crates (flatpak/cargo-sources.json, generated from Cargo.lock with
flatpak-cargo-generator.py), installs them under /app/share/lightgui-rust/,
and launches the combined IDE. The XFrame icons come from the C repo
(second git source). build-flatpak.sh builds the Flatpak and a
single-file bundle.
2026-11-29 15:07:42 +00:00
cnmcdee aed11c9bd4 UI Theme editor: wire View -> Color Theme picker, Dracula preset
- View -> Color Theme now opens the real picker from lightgui-support
  (was a stub note); the designer depends on lightgui-support.
- Fifth built-in preset: Dracula (#282a36 bg, #ff79c6 keyword), same
  colours as the C designer.
- New theme_ui module: Apply repaints the code view (the plain
  TextView the designer actually uses) and the canvas; the canvas
  follows the theme when the project has no window background
  (project background still wins); the saved theme is applied to the
  canvas at startup. Clearing the project background reveals the
  theme background (bulk.rs).
- Theme tests updated to 5 built-ins with Dracula checks.
- Verified: cargo test --workspace 176 passed / 0 failed; all five
  presets + a custom colour applied live under Xvfb and persisted
  across a restart.
2026-11-29 14:56:13 +00:00
cnmcdee a2fb4fd701 Audit fixes: lock palette width, add Variables splitter, fold //region
- xframe-palette: lock the 380 px width via WM_NORMAL_HINTS
  (min == max width, height free) so a WM refuses horizontal
  resizes but still allows vertical ones. New X11::set_fixed_width
  helper in xframe-common.
- lightgui-support CodeView: put the Variables in scope pane under
  a GtkPaned (top/bottom split, horizontal divider bar) so the user
  can drag it up/down to resize the pane height; initial position
  keeps the old ~140 px pane height. New
  inspection_split_position / set_inspection_split_position
  accessors.
- lightgui-support folding: recognise C++-style //region /
  //endregion (and // region) as fold markers, alongside the
  existing #region / // #region forms; markers inside strings and
  unclosed regions still open no fold.
- Tests: 11 new theme_tests checks (slash-region folds, widget
  fold collapse/expand, splitter position/structure).
Items 1 (palette->layout placement) and 2 (resize handles) were
verified working in Rust under Xvfb and needed no fix.
2026-11-29 14:08:35 +00:00
cnmcdee 7a38c1c2ac Make the code window editable with Ctrl+S save
The designer code view was a read-only viewer (set_editable(false),
mirroring the C++ codeview). It is now editable with a visible cursor;
Ctrl+S (or View -> Save Code) writes the shown generated file back.
The view shows a generated header first, so saving writes only the
file body after the // ---- path ---- marker, anchored by a text mark
that tracks edits. The window title gains a dot while there are
unsaved edits. The code is generated, so the next Generate (or
reopening the window) overwrites hand edits; the save status message
says so. No merge-back into the designer model.
2026-11-29 12:39:44 +00:00
cnmcdee 119cb5bd38 Silence the negated-comparison clippy lint in demo_bars
The C++ condition is verbatim (a NaN close clamps); an allow with
an explanatory comment, no behaviour change.
2026-11-29 08:55:30 +00:00
cnmcdee bc69656167 Port C++ make_seeded_series into demo_bars; per-widget Ind facts
demo_bars now ports StockData.h exactly (same state update and
uniform draws, seed 42, 2026-01-01 timestamps), so the Rust bars
are identical to the C++ demo series. IndicatorWidget::new also
takes the per-widget facts the C++ mains/headers record, surveyed
from lightgui eb0b5fc:
- bar count: 120 for the 85 mains using make_seeded_series(120, 42),
  250 otherwise;
- candle palette: muted (150,190,150)/(210,130,130) for the 60
  pane_-template widgets, grey (180,180,180) bodies without wicks
  for the 6 grey-overlay widgets, standard (0,150,0)/(200,30,30)
  otherwise;
- no-def candles: only the 12 no-def widgets whose header draws
  candles show them (38 panes show grid only); the one Overlay-def
  widget with an if (false) candle block (IndLinearRegressionForecast)
  shows none;
- screenshot end-state: wheel-up once (zoom 1.25, 200 of 250 bars)
  for the 80 mains that do it.
Adds regression tests for the series values, bar counts, zoom and
candle styles.
2026-11-29 08:54:01 +00:00
cnmcdee ac88b04e6f Allow clippy lints in generated indicators; silence new-code lints
generated.rs is transpiled C++ kept verbatim (casts, returns,
parens), so allow those clippy lints at module level — the
generator is gone from the repo, so the note says to keep the
allow on regeneration. generated.rs: 666 warnings -> 0.
Also fix a double-parens in the new stack-light code and allow
too_many_arguments on the new multi-arg instrument helpers.
2026-11-29 08:44:10 +00:00
cnmcdee 0e46f55aa7 Port C++ Inst* draws into the Instrument archetype
Replace the one-size-fits-all dial+needle with per-kind draws ported
from the C++ Inst* components (lightgui eb0b5fc): 7/14/16-segment
displays (dim segments included), dial gauges with per-kind red-tick
fraction and unit, bar/flow/manometer/digital-readout meters, LEDs,
panel lamps, beacon, stack light, RGB LED, the eight tank/level
widgets, and the four needle gauges. Demo values mirror the C++
mains (inst_demo_level/value ported exactly; gauge seed 7 = 51.35,
matching the C++ AnalogGauge screenshot). Adds regression tests for
the demo hash, the LED clamp, and the segment maps.
2026-11-29 08:42:38 +00:00
cnmcdee f2f0f683d5 Remove stray duplicate PROVENANCE.md at crate root (the real one is in assets/) 2026-11-29 07:02:59 +00:00
cnmcdee 04fd68c380 Add xframe-widgets: Widget trait + 14 archetypes for all 547 widgets
Widget trait + state machine (bounds, visible/enabled/focused/
pressed/hover, value/min/max, on_click, draw/button_press/release/
motion/key) with one implementation per archetype driven by
data/registry.json + data/props.json + data/events.json via
generator/gen_data.py (registry 547, props 35 types, events 27 types).
Outliers have their own modules: XGraph (graph.rs) and XSpreadsheet
(spreadsheet.rs, full formula engine). Indicator widgets hold one fdi
def from xframe-indicators (200 with a def, 50 without) and draw it as
a chart with the XGraph view model. The 547 .ico icons are copied as-is
under assets/icons/ (see PROVENANCE.md) and decoded by icons.rs.

xframe-core draw.rs: helpers now take &mut (impl DrawTarget + ?Sized)
so they accept &mut dyn DrawTarget (the Widget trait passes trait
objects); added a default put_image blit to the DrawTarget trait.

Tests: 23/23 pass (state machine, factory creates all 547, ICO decode
of all 547, XGraph view math, XSpreadsheet formulas, indicator
passthrough, props/events spot checks); warning-free.
2026-11-29 07:02:51 +00:00
cnmcdee 782a40f0b8 Fix text rendering: black bars -> legible labels (PolyText8)
DrawCtx::draw_text used ImageText8, which paints the text extent with
the GC background colour; this GC's background defaults to pixel 1
(near-black), so every label in the palette, demo and layout rendered
as a solid black bar. Switch to PolyText8 (transparent, glyphs only),
like C++ XDrawString. The PolyText8 items need a length byte, a DELTA
byte, then the string bytes; the first version omitted the delta and
ate each label's first character (long strings were BadLength-dropped
entirely). Verified visually: palette names/headers and demo labels
now render crisp and complete. Also: layout status bar em-dash renders
as 3 garbage Latin-1 glyphs under a core font, so use a hyphen.
2026-11-29 06:33:43 +00:00
cnmcdee d3f70bab0a Harden test runner against X server death mid-run
The first full 547-widget run died at widget 224: its Xvfb was killed
out from under it (Connection refused) and every later widget failed
fast with 'no window; exited rc=1'. The runner now checks the server
before each widget (restarting its Xvfb + reconnecting when it died)
and, if the server dies mid-widget, restarts and retries that widget
once, so an environment failure can no longer masquerade as 300+
widget failures. Verified by killing Xvfb mid-run: 10/10 pass.
2026-11-29 06:33:42 +00:00
cnmcdee a04bb568a0 Add xframe-indicators: 250 technical indicators as pure f64 functions
Port of src/indicators.h (lightgui eb0b5fc): 265 functions transpiled
from C++ (generator/transpile.py) + 5 hand-ported (f_frama, f_stc,
f_cyber_cycle, f_pivots, hilbert), de-duplicated helpers, NaN warm-up
semantics preserved, 250-def catalog cross-checked against
data/indicators.json (all match). Plot geometry (line_points/bar_rects/
markers) ported without cairo. Tests: 8/8 pass, warning-free.
2026-11-29 06:33:31 +00:00
cnmcdee 2347508363 Add lightgui-designer: gtk-rs port of the LightGUI designer (main.cpp + designer.ui)
Designer app: main window with canvas, Widgets palette window (583
entries: 36 LightGUI + 547 XFrame), Object Inspector as its own
top-level window (340x700, bulk parameter + colour palette sections),
Code window, plus parking of all four. Reuses lightgui-core,
lightgui-gen and data/palette.json. Includes palette + seam Rust
tests, LIGHTGUI_SELFTEST / LIGHTGUI_PALETTE_SELFTEST / PALETTE_DUMP
hooks, and README.
2026-11-29 06:29:02 +00:00
cnmcdee 1818cb6081 Fix runner click/hover geometry + make stub hover visible
window_abs_geometry translated the parent-relative position instead of
the window origin, double-counting the window offset: for a demo window
at (100,100) every click/hover landed +100,+100 off, so small widgets
missed every click (only widgets large enough to still contain the
shifted point registered presses). Translate (0,0) instead.

Stub hover also never crossed the runner's >30 luminance threshold:
lightening the near-white fill moves luminance by only ~9. Draw a 2px
section-accent border while hovered (~50 luminance change, ~580px on a
GtkButton). Verified manually: GtkButton pressed diff 0 -> 4172px,
hover diff 0 -> 581px.
2026-11-29 06:14:38 +00:00
cnmcdee 3254127571 Add xframe apps: generic demo, palette, layout, test runner + shared x11/registry/stub crate
xframe-common: registry (547 widgets, 11 sections, 6 families) + palette
(583 entries) code-generated at build time from data/*.json; ICO decoder
(port of ico.h); palette<->layout file IPC (port of ipc.h); style manager
with the exact default/dark styles; Widget trait (port of IWidget) plus a
TEMPORARY StubWidget until xframe-widgets lands (see SEAM docs in
widget.rs); small x11rb helpers (windows, colours, core fonts, text,
GetImage screenshots, window lookup, WM_DELETE).
xframe-demo: ONE generic demo binary replacing the 547 C++ demo mains
(800x600, default+dark styles, event loop, --list/--dark/--hold/--geometry).
xframe-palette: port of widgets/palette/main_palette.cpp (547 entries in
11 sections, 16x16 icons, collapse, selection file, --selftest 547/547).
xframe-layout: port of widgets/layout/main_layout.cpp (place/move/resize/
delete, 8 resize handles, script mode incl. PLACE_ALL + CHECKDRAW).
xframe-test-runner: port of widgets/test-driver/run_tests.py — runs every
registry widget through xframe-demo under Xvfb, hover/click/key/exit
pixel-diff checks, same CSV columns. Tests: common 10, demo 3,
palette 1 (selftest 547/547), layout 1 (incl. PLACE_ALL 547/547),
runner 3 (incl. --limit 3 end-to-end). Clippy clean, cargo fmt clean.
2026-11-29 06:10:38 +00:00
cnmcdee 3d53281388 Add lightgui-debug and lightgui-support: GDB MI debugger + theme/preferences/codeview/cmake ports
lightgui-debug: GdbSession over gdb -q -i=mi2 pipes with hand-written MI
parser (mi.rs), settings/breakpoint/variable types, and the 44-check
C++ harness ported as Rust tests (37 console + 7 GTK, gdb 17.1).
lightgui-support: CodeTheme + C tokenizer/highlighter, FontSettings,
CodeView fold/gutter/inspection widget, CMake project builder.
Tests: debug 59/59, support 23/23 (incl. theme/font/cmake suites).
cargo test clean, zero rustc warnings, clippy clean, cargo fmt clean.
2026-11-29 06:10:11 +00:00
cnmcdee 5bafafa8b0 Clean up clippy warnings; cargo fmt core+gen 2026-11-29 06:02:19 +00:00
cnmcdee 122ae8bd45 Add lightgui-gen: byte-identical C++/GTK code generator port 2026-11-29 06:00:36 +00:00
cnmcdee 9fb54ad329 Add xframe-core: SStyle/StyleManager, xf draw primitives, Canvas, x11rb target (port of widgets/core/xframe_core.h) 2026-11-29 05:54:39 +00:00
cnmcdee 6cd492ba83 Add lightgui-core: model/props/events/project_io/canonicalize port 2026-11-29 05:52:07 +00:00
cnmcdee c2bc9a6de6 Ignore Python bytecode cache in tools/ 2026-11-29 05:46:28 +00:00
cnmcdee 8178513e4e Extract indicator catalog (250) from src/indicators.h
data/indicators.json: the catalog only - name, formula family (the
defs_* group), plot kind, style, kPalette colour index, default
parameters, and the C++ compute-function name. Formulas are NOT
ported here; the function name lets the later pure-function port
find each formula in the header.

Groups: averages 32, bands 28, momentum 52, volume 20, volatility
43, patterns 66, final 9 = 250. Every referenced function verified
defined in the header (246 distinct fns; 4 shared), all names unique,
all defaults numeric-or-empty, all colour indices inside the
14-entry kPalette. The 3 extra v.push_back hits a naive grep finds
are pivot-point code inside a formula body, not registry entries.
2026-11-29 05:46:20 +00:00
cnmcdee f5b24ee484 Extract palette, property and event tables from lightgui sources
- data/palette.json: 583 entries (36 LightGUI types from src/model.h
  kTypes + 547 XFrame entries from src/xframe_palette.h), each XFrame
  entry cross-checked against the registry (name set, index, section).
- data/props.json: 6 PropKinds, 9 enum value tables, 35 per-type
  tables (99 props) + common props from src/props.h; lo/hi clamping
  ranges preserved exactly. Canvas has no table by design.
- data/events.json: 10 EventKinds, 27 per-type tables (32 events),
  9 no-events notes from src/events.h. Coverage verified against all
  36 kTypes keys.

Correction to the survey: EventKind has 10 variants, not 11 as
PORTING_PLAN.md states (Simple, SwitchPage, RowActivated, RowSelected,
BufferChanged, DeleteEvent, Draw, ItemClicked, ItemActivate,
CellChanged). The extractors record what the header defines.
2026-11-29 05:46:11 +00:00
cnmcdee fb152b6e39 Extract widget registry (547 widgets) from lightgui sources
Data, not hand-written code: tools/extract_registry.py reads
widgets/common/registry.h and cross-checks it three ways - the
on-disk widgets/components/ dirs, widgets/tools/sections.py, and the
default_size() rule from gen_registry.py - failing on any drift.

Re-derived counts (lightgui eb0b5fc): 547 widgets, 11 sections;
families Gtk 102, Ind 250, Inst 66, Stock 37, T 90, X 2.
The survey Stock 38 / Inst 67 counted the shared non-widget
headers StockData.h / InstData.h; XGraph/XSpreadsheet form a sixth
family X (2) the survey family table omitted.

Includes the extraction harness: tools/common.py, extract_all.py,
check.py (make check re-derives tables from the C++ sources and
fails on drift), tools/README.md, and the top-level Makefile.
2026-11-29 05:46:02 +00:00
cnmcdee d8e45c82c2 Add crates.io probe: cargo fetch/build works, gtk 0.18.2 + x11rb 0.13.2 + serde 1.0.229 2026-11-29 05:41:13 +00:00
cnmcdee bc7f6de537 Add PORTING_PLAN.md: survey of lightgui eb0b5fc for Rust port 2026-11-29 05:38:49 +00:00