Skip to content

feat: add opt-in av_log file logging#145

Merged
JackLau1222 merged 8 commits into
masterfrom
develop
May 18, 2026
Merged

feat: add opt-in av_log file logging#145
JackLau1222 merged 8 commits into
masterfrom
develop

Conversation

@JackLau1222

Copy link
Copy Markdown
Collaborator

No description provided.

JackLau1222 and others added 8 commits May 18, 2026 20:04
Add macOS build instructions to CompileGuide.md and create CLAUDE.md
with project structure, build steps, and key patterns for context.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Add a Logger singleton (common/logger) that installs a custom av_log
callback writing timestamped lines to AppData/OpenConverter/openconverter.log
in append mode, while forwarding to the original callback so console
output is preserved.

Toggle via Settings > Enable Log File in the menu bar; state persisted
with QSettings (logging/fileLoggingEnabled). Includes 5 GTest unit tests.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Add Help > About OpenConverter showing version, git commit hash,
Qt version, and FFmpeg version in a vertical layout with app logo.
On macOS, About and Settings are placed in the application menu.
Settings dialog contains the Enable Log File checkbox.

CMake now detects git commit hash at configure time via git rev-parse.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Store language, transcoder, enable-log, and last browsed directory
in ~/Library/Application Support/OpenConverter/settings.ini.

Settings are restored on startup and saved on change (language,
transcoder, log toggle) or on exit (last directory). Add a Settings
dialog with Reset All Settings button for macOS app menu.

SharedData gains a separate lastDirectory field so restoring the
saved path doesn't auto-fill page input boxes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move About and Settings actions into a programmatic Help menu
inserted before Language. On macOS, both actions are moved to the
app menu via AboutRole/PreferencesRole and Help disappears.
On Windows/Linux, Help menu stays visible at the left of the bar.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@JackLau1222
JackLau1222 enabled auto-merge (rebase) May 18, 2026 14:51
@JackLau1222
JackLau1222 disabled auto-merge May 18, 2026 14:51
@JackLau1222
JackLau1222 merged commit 87b757d into master May 18, 2026
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant