Document queue parity and the rename; keep build-release.sh in the repo

CLAUDE.md and CHANGES.md record the shared MatroskaSaver, queue Matroska
semantics, the SublerMKV storage folder, and the module-name trap any
future rename must respect. build-release.sh (local Release build without
hardened runtime) loses its .git/info/exclude entry so it travels to every
machine, and its output line now names SublerMKV.app.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
Scott GarrettandClaude Code committed 2026-11-29 20:34:24 -05:00
1 parent 723db31fc0
commit 85d8ac6dcb
3 files changed
+59 -7

No files matched your search

+32 -2
View File
@@ -8,8 +8,9 @@ original Subler checkout.
from the GitHub Subler project.
- **Since then**: 18 commits in the app repository and 15 in the
**MP42Foundation** submodule (2026-11-25 → 2026-11-28).
- **Fork identity**: version stamped `1.9.5mkv`; development moved from GitHub
to Gitea (`git.technomancer.com:Scott-Files/`).
- **Fork identity**: version stamped `1.9.5mkv`, builds as `SublerMKV.app`
(`org.galad.SublerMKV`); development moved from GitHub to Gitea
(`git.technomancer.com:Scott-Files/`).
## Executive summary
@@ -74,6 +75,16 @@ inside the app bundle so they never drift from the app's own code.
Matroska save path (the raw MP4 writer would corrupt them); direct file
import mirrors the panel's extension dispatch; PGS/MKV naming conventions
respected without MP4-only model reshuffling.
- **Queue parity**: batched MKVs are retagged **in place** instead of being
converted to MP4. The window's whole save branching moved into a shared
`MatroskaSaver` (baseline snapshots + tag-writer-vs-remuxer choice) used
by both `Document` and `QueueItem`: queue items import tags-only, keep the
mkv/mka/mks extension (in place, or stream-copy into a destination folder),
and remux only when an edit demands it (found `.srt/.ass/.ssa` additions,
renamed chapters, optimize, renamed output). MP4-only queue actions
(organize groups, fix fallbacks, color space, atom optimize) no-op on MKV;
send-to-queue from a window hands the item the document's model *and*
pairing baseline; editing a queued MKV opens a real MKV document.
- **Spec traps handled** (all verified against mkvtoolnix-written files):
correct `Language`/`LanguageIETF`/`TrackFlagEnabled` element ids,
`ChapterAtom = 0xB6`, chapter timecodes in absolute nanoseconds, mandatory
@@ -139,6 +150,25 @@ inside the app bundle so they never drift from the app's own code.
item, feed URL/public key, SPM package reference) is gone — this fork
updates itself however its users choose.
- **Fork version stamp `1.9.5mkv`** distinguishes builds from upstream 1.9.5.
- **Build output renamed `SublerMKV.app`**: target renamed and `PRODUCT_NAME`
set to `SublerMKV`; the interpolated bundle id becomes
`org.galad.SublerMKV`, so fork builds are fully independent of an installed
upstream `Subler.app` — own preferences (API tokens re-entered once), own
queue defaults, and its own LaunchServices registration instead of two
same-idded apps competing to open files.
- **Own storage folder**: all App Support data moved from
`Application Support/Subler/` to `Application Support/SublerMKV/` — the
queue (renamed `queue.sbmkvqueue`), presets, downloaded OCR tessdata, and
the debug log — so both apps can run without sharing any file.
`Queue.saveToDisk` also gained the missing parent-directory creation the
old (always-existing) folder had masked; without it the atomic write error
is swallowed and the queue silently never persists.
- **Spec trap found**: the Swift **module name** feeds every class's
ObjC-runtime registration (`Subler.LanguageTransformer`), and XIB binding
value-transformers reference that exact name — renaming the product alone
made the queue-options nib throw `Cannot find value transformer` mid-load
(dead popups, frozen checkboxes). `PRODUCT_MODULE_NAME = Subler` pins the
module whatever the product is called; no XIB edits.
- **Xcode 27.2 project migration** for both the app and the framework.
## 5. Command-line tools shipped in the app bundle