9 Commits

Author SHA1 Message Date
wongyiekheng
489ede3d71 Change clear log shortcut from Ctrl+C to Ctrl+Q
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 10:21:52 +08:00
wongyiekheng
21e16d9872 Fix search: Enter advances to next match, invalidate on new content
- Pressing Enter in find bar now advances to next match instead of
  re-running search when needle is unchanged
- Invalidate search cache when new log lines flush or log is cleared
- Extract _invalidate_search() helper for consistent state reset

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 10:00:06 +08:00
wongyiekheng
5b873aefc4 Rework keyboard shortcuts with app-level event filter
- Replace QShortcut with QApplication eventFilter to intercept
  Ctrl+C/S/N/W/D/F/R before widgets consume them
- New bindings: Ctrl+N (new tab), Ctrl+C (clear log), Ctrl+S (find),
  Ctrl+F (flash), Ctrl+D (connect/disconnect), Ctrl+R (normal mode)
- Single bindings tuple as source of truth for key map and help dialog
- Apply saved font settings via one-shot showEvent (after stylesheet)
- Add Shortcuts entry under Help menu
- Remove unused imports (QShortcut, QKeySequence, QMenuBar)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 10:00:00 +08:00
wongyiekheng
eee479b02a Fix Ubuntu File Browser crash
Remove /devices/ from Flash/.gitignore and track Flash/Devices/
(Floaders + Profiles) required for flashing on packaged builds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 17:52:07 +08:00
wongyiekheng
72d22acc5b Fix Ubuntu File Browser crash 2026-03-29 16:49:10 +07:00
wongyiekheng
5faf1e6d14 Add .gitignore and remove tracked __pycache__/*.pyc files
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 14:36:08 +08:00
wongyiekheng
547e8e8665 Third Commit
Add Ubuntu 22.04/24.04 compatibility and Linux packaging script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 14:32:08 +08:00
wongyiekheng
c92fbe7548 Second Commit
Major refactor of Ameba Control Panel v3.1.0:
- Three-column layout: icon sidebar, config+history, log view
- Dracula PRO theme with light/dark toggle
- DTR/RTS GPIO control (replaces ASCII commands)
- Multi-CDC firmware support for AmebaSmart control device
- Dynamic DUT tabs with +/- management
- NN Model flash image support
- Settings dialog (Font, Serial, Flash, Command tabs)
- Background port scanning, debounced session store
- Adaptive log flush rate, format cache optimization
- Smooth sidebar animation, deferred startup
- pytest test framework with session/log/settings tests
- Thread safety fixes: _alive guards, parented timers, safe baud parsing
- Find highlight: needle-only highlighting with focused match color
- Partial line buffering for table output
- PyInstaller packaging with version stamp and module exclusions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 13:01:12 +08:00
wongyiekheng
ef919b9053 first commit 2026-02-06 09:52:23 +08:00