31 Commits
Author SHA1 Message Date
cnmcdee e6678e13b8 Debugger: fix Step Out in main, Stop on GUI apps, Run target switch, temp main bp persistence
(c) step_out() refused in the outermost frame instead of sending
    -exec-finish: new can_step_out() (frames>1, fallback on the stop
    frame level); the UI now shows a status-line note, no modal.
(d) gdb runs in synchronous mode by default, so -exec-interrupt sat
    unread while the target ran: enable mi-async at spawn, and
    interrupt() falls back to SIGINT then SIGSTOP on the inferior pid.
    Interrupt of a target in gtk_main now lands in ~0.1s (was a 5s
    timeout, timed out waiting for gdb reply).
(e) new restart_or_start(exe, args): same target restarts, a changed
    Target/Args kills the old target (via gdb kill, so it is reaped
    at once) and starts the new one. kill_target() uses gdb kill as
    primary; raw SIGKILL left a dead-but-unreaped inferior that made
    -file-exec-and-symbols fail. Failed breakpoint re-applies stay
    staged (id 0) so they come back when switching back.
(f) break-on-main breakpoint is now marked temporary: never written
    to debugger_bps.conf, never duplicated on the next session, and
    load dedupes stale duplicate main lines. add_breakpoint and the
    refresh merge preserve the temporary flag.
Tests: harness 37-41 console (step_out refused, can_step_out in a
call, break-on-main not persisted, restart_or_start switches target,
interrupt stops a running target) + gtkspin target and GTK test 37
(interrupt_gtkapp_in_gtk_main). Console 42/42, GTK 8/8.
2026-12-02 10:46:12 +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 31e180c2b2 Phase 3: root Inspector window rows + SELFTEST Phase 7c + gen_matrix Phase 3 enum cases 2026-11-30 11:57:57 +00:00
cnmcdee 751786618b Phase 2 GTK apply_prop fix + SELFTEST 7b + gen_matrix enum fix (C): legacy GTK apply_prop maps Entry password/show-password/alignment and Scale/TrackBar range, remaining Phase 2 props model-only (kills all 78 GLib warnings incl. 2 pre-existing password ones); SELFTEST Phase 7b places one widget of each Phase 2 type, live-applies props, checks stored values and generated setters/stubs; gen_matrix case 03 enum loop now takes the last value (values arrays are not 0-terminated) and case 04 covers every Phase 2 enum value 2026-11-30 11:20:48 +00:00
cnmcdee 127035101e 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 guard pins the clean
output so a regression fails loudly: tests/blank_lines_guard.py
checks every generated .cpp/.h under tests/out/ for a
blank-after-content ratio >= 0.20, and run_matrix.sh runs it right
after generation. Scope is source files only (README/Makefile are
short files whose paragraph/rule breaks legitimately score 0.25-0.34).
Verified: PASS on clean output (16 files); FAILs a double-spaced
file at ratio 0.99. Matrix: all 16 cases + guard pass.
2026-11-30 04:21:02 +00:00
cnmcdee 0fae25f216 Tests: kill the spin test binary (and its gdb) on exit
- code_window_tests.sh and debugger_tests.sh launch a spin binary
  (loops forever for the step debugger) and never killed it; two
  spins were left at ~100% CPU each, 80+ minutes after their tests
  finished.
- kill_spin() (path-scoped to the test's own WORK/spin, via
  /proc/<pid>/exe, so an unrelated spin is never touched) kills the
  spin, waits for its gdb parent to exit, and kills the gdb if it
  lingers. Wired into kill_app() and the EXIT trap, plus a pre-test
  cleanup that kills stale spins from aborted runs.
- Verified: code_window_tests.sh run twice, ALL PASS both times, no
  spin/gdb/lightgui/Xvfb left afterwards; the 41-minute stale spin
  from the earlier run was cleaned up by the pre-test cleanup.
- debugger_tests.sh ALL PASS, no spin/gdb left.
2026-11-29 19:54:09 +00:00
cnmcdee fbfab38e41 Designer: poll shared XFrame selection, editable ComboBox/Listbox items, Scrollbar adjustment, Text text, Memo preview, border props
- Placement hole: the designer only set g_xframe_selected from its own
  combined palette, so a widget chosen in the separate XFrame palette
  never placed (on_canvas_press saw an empty selection). Poll the
  shared selection file (same path rule as xframe_selection_path) on
  the 200ms timer and at the start of on_canvas_press, so either
  palette works. Verified under openbox: separate-palette flow now
  places (GtkButton 0->1), combined-palette flow still places (1->2).
- ComboBox/Listbox: new editable items prop (pipe-separated, default
  Item 1|Item 2|Item 3); preview rebuilds from it, generator emits one
  append/insert per item. active / selection-mode unchanged.
- Scrollbar: editable lower/upper/step-increment/page-increment/
  page-size; preview reconfigures the adjustment, 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 and generator emit border + border-radius CSS.
  Defaults (0/empty/0) preserve the current appearance.
- Tests: SELFTEST 35 items, widget_tests 58 passed, widget_tests.sh
  5 passed. Border CSS verified in generated code; XFrame border
  verified in the layout (1072 red pixels, state border=3 #ff0000 10).
2026-11-29 19:53:40 +00:00
cnmcdee 75470266f3 XFrame placement, 16px handles, About, menu to Code window, tabbed editor
- XFrame placement: layout raises+activates itself via EWMH
  (_NET_ACTIVE_WINDOW + XRaiseWindow + XSetInputFocus) on every new
  palette selection, and the designer forwards a canvas click to the
  layout via a place-request file (/tmp/lightgui-place.txt,
  $LIGHTGUI_PLACE) when an XFrame widget is selected, so placement
  works even when the click lands on the designer canvas. Verified
  under openbox (real WM): selection raises the layout, place file
  centres the widget on the click.
- Resize handles: 16px drawn (was 12px), 32x32 grab target (8px hit
  pad around each handle centre). All 8 handles verified by real
  mouse drags under openbox: SE corner resizes both axes exactly,
  N edge height-only, W edge width-only; handles drawn last
  (foreground) so they are always on top.
- Help -> About: GtkAboutDialog with the git commit hash baked in
  at build time (Makefile -DLIGHTGUI_GIT_HASH) and the build date.
- Menu bar moved out of the main designer window into the LightGUI
  Code window (reparented from root_box at startup); the layout
  window is now just the layout manager. Ctrl+E on the main window
  toggles the Code window back in when it is hidden.
- Tabbed multi-file editor in the Code window: GtkNotebook, one
  codeview per tab, File -> Open File in Code... opens a file in a
  new tab, per-tab dirty flag / Ctrl+S save / close button (asks
  before dropping unsaved edits), Variables pane + splitter and
  //region folding kept per tab. Debugger opens the stopped file in
  its own tab instead of overwriting the current one; refresh shows
  generated code in its own tab and never clobbers a hand-opened file.
- tests/code_window_tests.sh: reopen check now uses Ctrl+E.
2026-11-29 17:51:24 +00:00
cnmcdee d48d49f60c UI Theme editor: Dracula preset, canvas follows theme
- Fifth built-in preset: Dracula (#282a36 bg, #ff79c6 keyword), same
  colours in both designers.
- The canvas background now follows the UI theme when the project has
  no window background of its own (project background still wins);
  View -> Color Theme Apply repaints code view + canvas, and the saved
  theme is applied to the canvas at startup.
- Theme tests + selftest updated to 5 built-ins with Dracula checks.
- Verified: make 0 warnings, SELFTEST PASS 29, theme tests 60/0,
  palette self-test 583/583; all five presets + a custom colour
  applied live under Xvfb and persisted across a restart.
2026-11-29 14:56:07 +00:00
cnmcdee a80fedb026 Fix flaky/wrong test harnesses; fix IndVortex off-by-one abort
- palette_window/palette_icons tests: newer ImageMagick prints
  1526 (0.0138727) for compare -metric AE, so the integer -gt test
  failed on a passing diff; strip to the bare count. Palette window
  suite now 16/16.
- code_window test: View -> Code View reopen used F10 menu navigation
  (does not fire under bare Xvfb here) and fallback clicks at (130,12)
  that hit Debug, not View (View spans x 80-128); click the measured
  positions instead (108,12 then 162,37). Suite now ALL PASS.
- chart_pro render test: the resize-allocation check raced the Xvfb
  configure event (same binary passed 1/3 runs); wait boundedly for
  the allocation to shrink instead of a single pump().
- IndVortex: off-by-one in ind_vortex() aborted the layout on place
  (series[k-1] with k=0 when i=period-1); guard is now i < period.
  Pre-existing in the CWidgets source, fixed here in lightgui only.
  Placement test now 547/547 place, 547/547 draw, 0 failures.
Regenerated screenshots + palette_layout_results.csv from the passing
runs.
2026-11-29 04:50:01 +00:00
cnmcdee 800883b024 Rename FDesigner/cfree to LightGUI (binary lightgui, all docs) 2026-11-29 03:35:48 +00:00
Muse 310ff34c47 Palette icons: 16x16 glyph on every widget button
- tools/gen_palette_icons.py draws all 36 glyphs (PIL, same style as
  CWidgets icons: ink + section accent, white turned transparent) into
  icons/<Key>.png; tools/verify_palette_icons.py checks 36/36 distinct.
- src/main.cpp: palette_attach_icons() puts a GtkImage left of each
  button label (icons/ with ../icons/ fallback, text-only if missing);
  self-test asserts 36/36 icons, palette 250x780, no scrolling.
- Fixed the round-3 tight CSS, which never applied: the builder id is
  not the widget name (it stayed GtkWindow), and the per-widget style
  provider never reached the buttons. Name is now set explicitly and
  the provider is screen-wide (selector still scopes it to the palette);
  button labels 9pt so icon + label fit the 250-wide window.
- tests/palette_icons_tests.sh (13 checks) + Memo click coordinate fix
  in tests/palette_window_tests.sh for the shorter rows.
- screenshots 15 (palette with icons) + 16 (three windows with icons).
2026-11-25 15:56:35 -05:00
Muse e171fa9946 Round 3 integration fixes: park code window beside palette/designer, fix codewin Xvfb race
- open_code_view() now parks the code window on first creation: right
  of the palette window when visible (2560x1440: design 0..1150, palette
  1162..1412, code 1424..2424), else right of / below the design window,
  else a small cascade offset. Previously it opened at 0,0 exactly over
  the design window, hiding the canvas and menu bar, so palette clicks
  and the View menu could not reach the designer (palette-places-widgets
  and palette-reopens-from-view-menu failed on the merged tree).
- Startup order: palette window opens before the code window so the
  parking geometry can read the palette position.
- tests/code_window_tests.sh: wait for any previous :99 server (the
  self-test xvfb-run -a instance) to go quiet before starting our own
  Xvfb, wait for the display to answer, and verify our Xvfb survived
  startup; fixes the flaky cannot-open-display failure.
2026-11-25 14:54:38 -05:00
Muse e280653c45 Merge branch palette-window: widget palette in its own top-level window, tight Lazarus-style grid
Integration of round 3: code-window (f30b285) + palette-window.
Conflict in src/main.cpp startup block resolved additively: both the
code window (open_code_view + 200 ms debugger poll) and the palette
window (tight CSS + park beside design window) open at startup.
ui/designer.ui merged cleanly (both top-level windows + both View
menu items). Build: make clean && make, 0 warnings.
2026-11-25 14:33:07 -05:00
Muse 8f00f9096b Palette window: widget palette in its own top-level window, tight Lazarus-style grid
- Move the palette out of main_paned into a new top-level GtkWindow
  (palette_window, title FDesigner — Widgets), opened with the designer
  and parked beside the design window (left if room, else right).
- Plain top-level window, never transient/modal; delete-event hides it
  instead of destroying it, View -> Widget Palette (check item) toggles
  it back, state stays in sync.
- Tight Lazarus-style packing: palette_box is now a 2-column GtkGrid
  (row/column spacing 2, 2px margins), buttons compact via USER-priority
  CSS (min-height 20px, 1px vertical padding); all 36 buttons + 5
  section labels render, all 24 grid rows fit without scrolling.
- New tests/palette_window_tests.sh (16 checks: separate windows,
  not transient, beside-main placement, palette clicks place widgets,
  WM_DELETE hide + app survives, View-menu reopen, clean log).

Tests (VPS, Xvfb): make 0 warnings; matrix 21/0 (re-run; first run 20/1
on the known flaky chart-pro-render pixel check, no code change);
debugger console 37/37 + GTK 7/7; widget 5/5 (+40/40 markers);
font ALL PASS; theme ALL PASS; event 6/6 + runtime 41/41;
cmake probe 31/31 + script 4/4; self-test 29 PASS;
palette_window_tests 16/16.
2026-11-25 14:30:41 -05:00
Muse 4c998e7888 Code window: separate top-level window, red paused line, automatic variable inspection
- The code view is now its own top-level window (FDesigner — Code),
  opened together with the designer at startup; View -> Code View
  toggles it. Closing hides it (app keeps running); reopening
  restores it with fresh content.
- Automatic variable inspection pane at the bottom of the code
  window: on every debugger stop it shows the current scope
  (function — file:line (reason)) and the frame locals
  (name/type/value) from the SAME shared GdbSession (200 ms poll
  in main; no second gdb). While running it shows a running state
  and never presents stale values; on exit it shows the exit code.
  On stop the stopped file is loaded into the code view if needed
  and any fold hiding the paused line is unfolded.
- Paused line: solid red (#c00000) full-line background with white
  text, plus a white gutter arrow — Lazarus-style execution-point
  marking (ahaExecutionPoint: full-line background + gutter arrow,
  distinct from the red-dot breakpoint marker), adapted to the
  user-requested red. The paused tag outranks the current-line tag
  and syntax tags; it clears on resume and moves on step.
- Debugger window: F5 Continue / F10 Step Over / F11 Step Into
  shortcuts (tooltips already promised them); new accessors for the
  code-window poll (poll_events, session_state, stop_seq,
  last_stop, locals, refresh_on_stop) and a debugger_autorun test
  hook; GdbSession gains a stop_seq() accessor.
- Tests: tests/code_window_tests.sh drives the real app under Xvfb
  (separate window, stop + locals in two scopes, red-band pixels,
  step moves the band, resume clears it, running state, gutter
  click stages/removes a breakpoint in the backend, close/reopen)
  plus self-test checks for the paused tag colours/priority and the
  inspection API. FDESIGNER_DEBUG_TARGET/BREAK and
  FDESIGNER_CODEWIN_DUMP hooks support it.
2026-11-25 14:12:54 -05:00
Muse fb125d0b28 Fix: persisted breakpoints split file:line so the code-view gutter shows them 2026-11-25 12:58:03 -05:00
Muse 3d0c07ae09 Fix: code view folds // #region markers the generator emits 2026-11-25 12:48:44 -05:00
Muse 053f1004b9 Integration fixes: event tests link cmake_build.cpp; cmake script phase label 2026-11-25 12:34:22 -05:00
Muse 5e116660a0 Merge color-themes (ad0cd68): themes + code view gutter and folding 2026-11-25 12:16:06 -05:00
Muse 5870b56075 Merge breakpoint-handlers (b71ba03): conditional, ignore-count, logpoint 2026-11-25 12:13:40 -05:00
Muse 23425a4dfd Merge event-handlers (0492137): signal table, Events pane, generated stubs 2026-11-25 12:13:38 -05:00
Muse 2f9d08dd03 Merge cmake (cd5f07f): CMakeLists.txt generation, build with CMake 2026-11-25 12:13:17 -05:00
Muse ad0cd68bf5 Add color themes + code view with gutter and folding
Color themes (src/theme.h/.cpp): four built-ins (Light, Dark, Monokai,
Solarized Dark) colouring keywords, types, strings, comments, numbers,
preprocessor lines, background/foreground and the current line. View ->
Color Theme... opens the picker (built-in combo + per-role colour
buttons); the choice persists to ~/.config/fdesigner/theme.conf
(FDESIGNER_THEME_CONF overrides). Deliberately separate from the
font-settings branch settings.conf so the two merge cleanly.

Code view (src/codeview.h/.cpp): View -> Code View shows the generated
C++ with a gutter (line numbers, red-dot breakpoints, [-]/[+] fold
toggles) and themed highlighting. Gutter clicks toggle breakpoints
through the real debugger backend (debugger_toggle_breakpoint() in
debugger_ui, new GdbSession::remove_staged_breakpoint() for the
not-yet-live case) and persist to debugger_bps.conf.

Folding covers #region/#endregion, every matched-brace span
(functions, if/else, loops, classes, structs, namespaces,
initializers), multi-line /* */ comments and #if...#endif blocks,
nested in all directions. Braces in strings/chars/raw strings/comments
are ignored; unbalanced input fails gracefully (extra } ignored,
unclosed {/region/#if at EOF produces no fold). Folded lines hide via
an invisible tag (proven to collapse to zero height), so file line
numbers stay exact.

Tests: tests/theme_tests.sh (harness 57 checks) + self-test Phase 8 +
xdotool smoke tests for the code view window and theme dialog.
Clean build, zero warnings; matrix 21/0; debugger 31/31 + 5/5;
widget 40/40 + 5/5.
2026-11-25 12:11:44 -05:00
root b71ba03d79 Add multiple breakpoint handlers: conditional, ignore-count, logpoint
Backend (src/debugger.h/.cpp): Breakpoint gains kind (plain/conditional/
logpoint), condition (-break-condition), ignore_count (-break-after),
log_message and group. Logpoints are gdb dprintf breakpoints created via
-interpreter-exec console; the message template supports {expr} (%d),
{s:expr} (%s), {f:expr} (%f), {x:expr} (%#x), {p:expr} (%p) via
logpoint_to_printf(). New API: stage/add_breakpoint_opts(),
update_breakpoint() (live: delete + re-insert, new id in out; staged:
in place). refresh_breakpoints() reads type/cond/ignore/times from
-break-list and merges the log template/group back from our records;
start() re-applies saved breakpoints with full handler options. Bad
conditions are rejected and the breakpoint rolled back. Persistence
format extends to location|enabled|kind|condition|ignore|log_message|
group with backslash escaping; old two-field lines still load as plain.

UI (src/debugger_ui.cpp): breakpoint list shows Type, Condition,
Ignore and Message columns; Add... / Edit... open a handler dialog
(type, condition, ignore spin, log message, group); staged entries
are toggled/removed/edited by list position (they share id 0).

Tests (tests/debugger/dbg_harness.cpp): console 31 -> 37
(conditional fires only at i==2 with hits==1; ignore=2 skips to i==2
with hits==3; logpoint prints LOG i=0/1/2 and never stops; template
conversion incl. % escaping and bad-template rejection; live
plain->conditional update; persistence round-trip incl. | escaping
and old-format load; bad condition rejected with no bp left).
GTK 5 -> 7 (logpoint in callback prints, never stops; conditional
in callback fires). Full debugger_tests.sh ALL PASS, matrix 20/1
(chart-pro-render known Xvfb pixel flake), self-test 29 PASS.
2026-11-25 11:58:31 -05:00
Muse 0492137214 Event handlers on all widgets: signal table, Events pane, generated stubs, tests
- src/events.h (new): natural GTK signal per widget type for all 36
  types (27 with signals, 9 with an explicit no-events note); kinds
  cover simple, switch-page, row-activated, row-selected, text-buffer,
  delete-event, draw, per-item toolbar/menu, and spreadsheet cells.
- Generator emits a stub handler + g_signal_connect for every
  connected signal (Widget.signals); Shape/Plot/StockChart draw stays
  wired exactly once. Stubs print an EVENT trace line under
  FDESIGNER_EVENT_TRACE (test harness only).
- Designer: Events section in the property pane — one check button
  per signal, builtin draw shown as always-connected, no-event types
  show the reason. Connections persist in .fdj as "signals".
- Self-test Phase 8: UI check-button toggle, all-signal generation
  checks, .fdj round-trip.
- tests/event_handler_tests.sh/.cpp + event_handler_runtime.cpp:
  36/36 generation markers, warning-free generated build, 41/41
  runtime triggers under Xvfb.
2026-11-25 11:54:50 -05:00
Muse 9d1e99ed88 Add global font settings (Edit -> Preferences...)
Interface font + code/text-view font picked with GtkFontButton
widgets, persisted to ~/.config/fdesigner/settings.conf (font=,
code_font=, Pango descriptions; FDESIGNER_SETTINGS_CONF overrides
the path for tests), applied live at startup and on Apply via
screen-wide CSS providers (interface font) and a textview CSS rule
(code font, so Text/Memo views use it). Sizes clamp to 6-48 pt;
empty/invalid values fall back to defaults.

New: src/preferences.h/.cpp, tests/font_tests.{cpp,sh} (20-check
harness + self-test + Preferences dialog smoke/Apply test).
Wired: Edit menu + mi_preferences in ui/designer.ui, menu hook,
startup apply, FDESIGNER_OPEN_PREFERENCES test hook and a font
block in the self-test (src/main.cpp); Makefile build line;
DESIGN.md section.
2026-11-25 07:03:49 -05:00
root cd5f07f619 CMake handling: generate CMakeLists.txt, build with CMake from the designer, open/build existing CMake projects
- Generator emits CMakeLists.txt alongside Makefile (cmake_minimum_required
  3.10, project(<Class> CXX), C++17, PkgConfig gtk+-3.0, explicit source
  list, add_executable(app ...), GTK include/link wiring); exe named app
  to match the Makefile target.
- New src/cmake_build.h/.cpp: cmake_lists_text, cmake_build_project
  (configure + build, captured output), cmake_project_exists,
  CMakeSettings persisted to ~/.config/fdesigner/cmake.conf
  (FDESIGNER_CMAKE_CONF override for tests).
- Designer File menu: Build with CMake... (last generated project, or
  pick a folder), Open CMake Project... (any dir with a CMakeLists.txt),
  CMake Settings...; Generate now offers Build with CMake (the default
  build path for generated projects) and reports the log + exe path.
- Self-test gains a CMake phase (settings round-trip, CMakeLists.txt
  markers, real console build, broken-file failure, cmake build of the
  generated GTK project); file count 4+2N -> 5+2N.
- New tests/cmake_tests.sh + tests/cmake_probe.cpp (31 checks); matrix
  and widget test harnesses link cmake_build.cpp; tests/out/ gitignored.
- DESIGN.md: CMake handling section.
2026-11-25 06:59:14 -05:00
Muse 7828ced3d6 Add Lazarus-style custom widgets: Memo, GroupBox, Panel, Image, Shape, Notebook, ScrollBox, Splitter, StatusBar, ToolBar, MenuBar, SpinEdit, TrackBar, ProgressBar, DateTimePicker, ColorBox, ListView, TreeView, StringGrid, Plot
Twenty Lazarus-palette widgets, each placeable from the palette
(grouped sections), selectable/draggable/deletable, with a per-type
property table in props.h and a standalone generated class:
Memo (GtkTextView), GroupBox/Panel (GtkFrame), Image (GtkImage),
Shape (cairo drawing area), Notebook (GtkNotebook), ScrollBox
(GtkScrolledWindow), Splitter (GtkPaned), StatusBar (GtkStatusbar),
ToolBar (GtkToolbar), MenuBar (GtkMenuBar), SpinEdit (GtkSpinButton),
TrackBar (GtkScale), ProgressBar, DateTimePicker (GtkCalendar+entry),
ColorBox (GtkColorButton), ListView/TreeView (GtkTreeView),
StringGrid (GtkTreeView+ListStore), Plot (cairo sine wave).
Self-test Phase 7 + tests/widget_tests.sh cover place/edit/drag/
delete/generate/compile/run and .fdj round-trip per widget.
2026-11-25 03:49:56 -05:00
Muse 671293e68f Add GDB stepping debugger with breakpoints, variable inspection, settings
Separate debugger window (Debug menu) driving real gdb over the MI
protocol: breakpoints (file:line / function, enable/disable/list,
persisted), step over/into/out, continue/run/stop/kill/restart,
locals + watch expressions + stack frames, target stdout/stderr pane.
Settings button and Debug > Debugger sub-menu (gdb path, break on
main, stop on entry, pretty-print) persisted to
~/.config/fdesigner/debugger.conf. Tests: tests/debugger_tests.sh —
31 console + 5 GTK headless cases plus a GUI smoke test, all passing.
2026-11-25 03:29:12 -05:00
Muse 9c94d93ae5 Import FDesigner C++/GTK3 designer with StockChart Pro
GUI designer (C++/GTK3, Glade .ui, code generator) plus indicator/drawing
libraries, chart tests and test matrix.
2026-11-25 02:35:23 -05:00