aboutsummaryrefslogtreecommitdiff
path: root/bundle/AGENTS/DEVELOPMENT.md
AgeCommit message (Collapse)Author
2026-10-27docs(preprocessor): document switches and library regions_ov4
Add manuals and aliases for all five PP directives, replace the retired #LIB page, and update compiler and shared-editor architecture notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27fix(bundle): automatically save changed documents before closing_ov4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22build(bundle): port the package smoke test to Perl_ov4
Replace bundle/scripts/smoke-package.py with smoke-package.pl, which uses only core modules like the other build and test scripts. Windows runs it with native Strawberry Perl. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22build(bundle): version Bundle packages by their last source commit_ov4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22feat(bundle): report newer nightly builds on startup_ov4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22fix(bundle): stop running programs when macOS terminates the app_ov4
macOS termination such as Dock Quit skips ExitRequested and window destruction, so running programs outlived the app. Stop them on RunEvent::Exit, which every shutdown path reaches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22fix(bundle): ask about unsaved changes when quitting with Cmd+Q_ov4
The predefined macOS Quit terminated the app without closing its windows, so their unsaved-changes prompts never ran. Quit now closes every window and the app exits after the last one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22feat(bundle): run and stop programs with F5 from the Run menu_ov4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22feat(bundle): add a native menu bar listing the shortcuts_ov4
One Tauri menu definition serves the macOS menu bar and the top of each window on Windows. Menu clicks run the same frontend commands as the keyboard shortcuts in the focused window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22feat(bundle): open independent native windows with CtrlCmd+Shift+N_ov4
macOS only activates a running app, so a second document needs another window in the same process. Each window label gets its own Runner, which is stopped when its window is destroyed or the app exits, and the capability now covers every window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22feat(bundle): color compiler diagnostics in Output_ov4
The runner now passes -fdiagnostics-color=always, since auto only sees a pipe. src/ansi.js turns stderr's SGR sequences into bold and colored runs, keeping style and cut-off sequences across chunks and dropping other sequences such as gcc's erase-line. Program stdout stays verbatim. Colors come from --vscode-terminal-ansi* variables. 2026 Dark leaves them unset, so vendor/vscode/terminal-colors.json pins VS Code's dark terminal defaults from the same upstream commit as the themes; a theme value still wins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22feat(bundle): add platform-adaptive file, find and comment shortcuts_ov4
New, Open, Save and Find are Monaco KeyMod.CtrlCmd bindings matched with StandardKeyboardEvent, so they use Cmd on macOS and Ctrl on Windows and Linux, exactly like the editor's own keybindings. Find also works from Input and Output by focusing the editor first. Toggle Line Comment comes from Monaco's comment contribution and the plugin's "//" lineComment. This replaces the Save handler that accepted Ctrl or Cmd with any other modifiers on every platform. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21refactor(bundle): drive all UI colors from the 2026 Dark theme variables_ov4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21fix(bundle): switch editor to 2026 Dark and set default text foreground_ov4
Plain identifiers rendered black because the TextMate theme had no scope-less default entry. Vendor the 2026 Dark include chain and prepend the editor foreground/background as the default. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21ci(bundle): cache Rust dependencies on Windows and macOS_ov4
Cache compiled dependencies after toolchain selection and save them even when a later smoke check fails. Rebuild project crates for each checkout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21ci(bundle): publish portable Windows and macOS desktop packages_ov4
Build and check Bundle alongside each native compiler. Publish a single Windows exe with an embedded compiler extracted into the startup directory, and a macOS tar.xz containing the app and compiler. Check Linux without publishing a desktop package and require all six nightly attachments. Include licenses in embedded assets and app resources. Verify local builds, package smoke checks and release replacement with a simulated GitHub API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21feat(bundle): run the bundled compiler with input and streaming output_ov4
Save before running, close prefilled stdin at EOF, and stream output bytes through Tauri channels. Stop and reap the child before exit or another run. Disable embedded stdout buffering and exercise the runner with real programs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21feat(bundle): add the Tauri editor with shared Dark+ language support_ov4
Add a single-document Monaco editor, native file dialogs, save handling and prefilled input/output panels. Reuse the plugin's grammar and editor core. Verify frontend behavior and compile the desktop app on Linux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>