Run the Windows build to completion before invoking the CPack package
target. This avoids a file-access race in which fixup_bundle() attempts
to inspect runtime DLLs in the build/bin directory while DLL-copy
commands may still be running.
The separate steps eliminate the observed libsigmf.dll access failure
with Ninja. The underlying build-ordering issue has not yet been
identified.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Add a shared Git hook to reject trailing whitespace in staged changes.
Document how developers enable the hook locally. Keep the GitHub
Actions check as a server-side safeguard for pull requests.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Reject trailing whitespace, including in new files and lines.
Trailing spaces and tabs provide no value, can cause
inconsistent rendering, complicate diffs and merges, and
create needless whitespace-only changes in future edits.
Keeping them out makes source files cleaner and reviews
easier.
Use .gitattributes to limit checks to text files.
Fetch full history to make the PR base and head commits available.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Renaming a collapsed preset or configuration group lost its collapsed
state and left a stale entry under the old name. Deleting a group left a
stale entry too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Device Set Presets and Configurations dialogs expanded every group each
time they were opened. With many groups, finding a preset means scrolling
through the whole list.
Remember which groups the user collapses (QSettings keys
presets.collapsed_groups and configurations.collapsed_groups, same mechanism
as graphics.ui_scale_factor) and restore that state when the dialogs are
reopened. The initially selected item is now picked from expanded groups
only, so the selection does not re-expand a collapsed group.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>