You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(terminal,output): fix PowerShell cd command, output encoding, and process error handling
- features/terminal.py: fix working directory change in PowerShell by omitting unsupported /d flag; use dynamic _output_encoding() for cmd vs PowerShell/POSIX; connect errorOccurred signal
- core/output.py: connect errorOccurred to _on_error in OutputPanel to prevent hanging stop button and silent launch failures; add waitForFinished(1000) after kill and closeEvent cleanup
- tests: add regression tests in test_terminal_encoding.py and test_output_panel.py (115 passed)
- docs: update CHANGELOG.md, README.md, README_de.md, and llms.txt
-`features/terminal.py`: Verzeichniswechsel via `set_working_dir()` für PowerShell korrigiert (PowerShell unterstützt keinen `/d`-Schalter von cmd.exe; `cd` führte zuvor zu `PositionalParameterNotFound`-Fehlern und verweigerte das Wechseln des Arbeitsordners). Output-Dekodierung in `_on_stdout` und `_on_stderr` auf dynamisches `_output_encoding()` (cp1252 für cmd unter Windows, sonst utf-8) umgestellt. Signalverwaltung um `errorOccurred` und sauberes Exception-Handling erweitert.
19
+
-`core/output.py`: `OutputPanel` mit `errorOccurred`-Signalbehandlung (`_on_error`) gegen hängende Stop-Buttons und unterdrückte Fehlermeldungen bei nicht auffindbaren Compilern/Programmen (`FailedToStart`, `Crashed`) abgesichert. `waitForFinished(1000)` nach `kill()` und `closeEvent` für zuverlässige Prozessbereinigung ergänzt.
20
+
-`tests/test_terminal_encoding.py` & `tests/test_output_panel.py`: 6 neue Regressionstests für PowerShell-Verzeichniswechsel, Output-Encoding, Signal-Entkopplung, Fehlerausgabe und Prozessbeendigung ergänzt (115 passed, 1 skipped).
Copy file name to clipboardExpand all lines: llms.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# CodeBox - local PySide6 desktop code editor
2
2
3
-
## Last-checked: 2026-08-21
3
+
## Last-checked: 2026-08-22
4
4
5
5
> CodeBox is a local-first desktop IDE for Windows developers who want a lightweight PySide6 code editor with tabs, a project tree, an integrated terminal, Git helpers, syntax highlighting, Language Server Protocol diagnostics, and an extensible JSON/Python language plugin system.
6
6
@@ -31,7 +31,7 @@ Part of the dev-bricks family. Python, MIT.
31
31
- `python main.py`: Launches the CodeBox desktop interface.
32
32
- `python main.py --open <file>`: Launches and directly opens a target file path.
33
33
- `build_exe.bat`: Uses PyInstaller to bundle the application into a standalone executable.
34
-
- `python -m pytest`: Runs the automated test suite (109 passed, 1 skipped).
34
+
- `python -m pytest`: Runs the automated test suite (115 passed, 1 skipped).
0 commit comments