Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
047b11b
fix: Quick Look sorts, shows columns and writes sizes as the window d…
sarensw Nov 23, 2026
8e38560
feat: the archive window lists with the outline Quick Look shows (#251)
sarensw Nov 23, 2026
7d42494
fix: a column or a sort direction pinned at launch counts as meant (#…
sarensw Nov 23, 2026
16e5db4
feat: the archive window shows the archive as a tree, or as a table (…
sarensw Nov 23, 2026
4ce1af7
feat: change an archive inside the archive like a folder, written bac…
sarensw Nov 23, 2026
e6e051b
feat: a file dropped on the list goes where the row says, the card ov…
sarensw Nov 23, 2026
48d3631
fix: after a drag over the list the window takes the next one, and a …
sarensw Nov 24, 2026
ff6852a
fix: a file dragged over a row's icon stays the list's, and names rea…
sarensw Nov 24, 2026
2e5e08e
fix: a drag opens an archive inside as it opens a folder, and strayin…
sarensw Nov 24, 2026
9ae80c8
fix: save a file added inside a folder without its own zip entry in t…
sarensw Nov 23, 2026
ab3ae59
feat: an archive holding a single folder at its top opens it in the t…
sarensw Nov 25, 2026
6b8599e
fix: the status bar's Cancel no longer empties the window during a sa…
sarensw Nov 25, 2026
aabaa0f
test: the use cases the tree touches, without a window (#251)
sarensw Nov 25, 2026
d273fa2
feat: in the table, a folder a dragged file rests on springs open, an…
sarensw Nov 25, 2026
4c8871d
fix: what the review of the tree view found (#251)
sarensw Nov 25, 2026
84ab444
Merge main into the tree view: #441, #442, #443 (#251)
sarensw Nov 29, 2026
8b53ee9
test: ⌘↑ at the top level ends a search in the outline too (#426)
sarensw Nov 29, 2026
a07461f
test: bump TestArchives for a zip that holds only hidden files (#251)
sarensw Nov 29, 2026
61bab01
fix: Quick Look says so when an archive holds only hidden files (#251)
sarensw Nov 23, 2026
a350024
refactor: drop SystemHelper, which only forwarded to EntryText (#251)
sarensw Nov 29, 2026
4a5e52a
refactor: the toolbar's drop card gives its window back while hidden …
sarensw Nov 29, 2026
30f8634
refactor: rename ArchivePreviewUI to ArchiveUI (#251)
sarensw Nov 29, 2026
7311c9f
refactor: permissions come from libc's strmode, as ls writes them (#251)
sarensw Nov 29, 2026
2095d95
refactor: one way up the tree for the state and the list (#251)
sarensw Nov 29, 2026
8fdb871
refactor: the drop hint is the state's, and the status bar words it (…
sarensw Nov 29, 2026
f6f2945
refactor: Back no longer springs during a drag (#251)
sarensw Nov 29, 2026
2536d8c
feat: a drag over the list works as in BetterZip, and the table goes …
sarensw Nov 30, 2026
7339cd4
fix: permissions without a type read as a file's again (#251)
sarensw Nov 30, 2026
ec5bd20
fix: the list stays where it was scrolled when an archive inside open…
sarensw Nov 30, 2026
1c35f11
fix: files in a tar.gz inside an archive open (#251)
sarensw Nov 30, 2026
c7c5ed2
docs: changelog for 1.4.0, the tree and the tar.gz fix (#251)
sarensw Nov 30, 2026
a6c0674
lang: one string catalog for the app, Finder and Quick Look (#251)
sarensw Nov 30, 2026
2ad98f7
fix: CodeRabbit's findings on new archives, archives inside and saves…
sarensw Nov 30, 2026
0467650
fix: an archive added but not saved is a file until saved, so nothing…
sarensw Nov 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ version X". Naming a version in a changelog entry or commit message is fine.
tracks upstream unmodified. Fix in the bridging layer or in MacPacker code.

**New UI strings: an id with its English and a comment.**
`MacPacker/Localizable.xcstrings`, which the Finder extension shares, is keyed by
`MacPacker/Localizable.xcstrings`, which the Finder and Quick Look extensions
share, is keyed by
hand-named ids that the code reads through the symbols Xcode generates
(`Text(.archiveSaveFormat)`, `String(localized: .commonCompressTo(name))`).
Literal keys (`Text("…")`) don't belong in it. Add a new string as an entry with
Expand All @@ -47,11 +48,12 @@ until it has, those languages show the raw id, so the round trip comes before a
release. `MacPacker/LeanBytes.xcstrings` is not in POEditor: fill every app
language yourself.

The package catalogs (`Modules/Sources/ArchivePreviewUI/`,
`Modules/Sources/Core/`) are keyed by their English literals,
`String(localized: "…", bundle: .module, comment: "…")`, each its own fallback.
No app build writes them back: build the package target, then
`xcrun xcstringstool sync` its `.stringsdata` into the catalog.
The packages have no catalog of their own: they read the same one by id,
`String(localized: "archiveStatusLoading", defaultValue: "Loading", bundle: .main)`,
as Xcode generates no symbols for them. `Bundle.main` is the app or the
extension running the code; `defaultValue` is the English where a language has
no value yet, and in `swift test`. `StringCatalogTests` checks every id is in the
catalog.

**Bug fixes start with a failing test** in `Modules/Tests/CoreTests`.

Expand Down
64 changes: 64 additions & 0 deletions Config/products/macpacker.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,70 @@
"hi": "आर्काइव के लिए ट्री व्यू + अधिक फ़ॉर्मैट का सपोर्ट"
},
"versions": [
{
"version": "1.4.0",
"items": [
{
"type": "feat",
"highlight": true,
"title": {
"en": "Browse archives as a tree",
"zh-Hans": "以树状视图浏览压缩包",
"fr": "Parcourir les archives en arborescence",
"de": "Archive als Baum durchsuchen",
"it": "Sfogliare gli archivi ad albero",
"ja": "アーカイブをツリー表示で閲覧",
"fa": "مرور آرشیوها به‌صورت درختی",
"pl": "Przeglądanie archiwów w widoku drzewa",
"pt-BR": "Navegar por arquivos compactados em árvore",
"ru": "Просмотр архивов в виде дерева",
"uk": "Перегляд архівів у вигляді дерева",
"es-MX": "Explorar archivos comprimidos en vista de árbol",
"ko": "트리 보기로 압축 파일 탐색",
"nl": "Archieven als boomstructuur doorbladeren",
"tr": "Arşivlere ağaç görünümünde göz atma",
"vi": "Duyệt tệp nén ở dạng cây",
"ar": "تصفح الأرشيفات في عرض شجري",
"ca": "Explora els arxius en forma d’arbre",
"el": "Περιήγηση σε συμπιεσμένα αρχεία ως δέντρο",
"nb": "Bla gjennom arkiver i trevisning",
"zh-TW": "以樹狀檢視瀏覽壓縮檔",
"hi": "आर्काइव को ट्री व्यू में ब्राउज़ करें",
"cs": "Procházení archivů ve stromové struktuře"
},
"issues": ["251"]
},
{
"type": "fix",
"title": {
"en": "Files in a tar.gz inside an archive won't open",
"zh-Hans": "压缩包内 tar.gz 中的文件无法打开",
"fr": "Les fichiers d’un tar.gz dans une archive ne s’ouvrent pas",
"de": "Dateien in einem tar.gz im Archiv öffnen sich nicht",
"it": "I file in un tar.gz dentro un archivio non si aprono",
"ja": "アーカイブ内の tar.gz にあるファイルを開けない",
"fa": "فایل‌های داخل tar.gz درون آرشیو باز نمی‌شوند",
"pl": "Pliki w tar.gz wewnątrz archiwum nie otwierają się",
"pt-BR": "Arquivos em um tar.gz dentro de um arquivo compactado não abrem",
"ru": "Файлы из tar.gz внутри архива не открываются",
"uk": "Файли з tar.gz усередині архіву не відкриваються",
"es-MX": "Los archivos de un tar.gz dentro de un archivo comprimido no se abren",
"ko": "압축 파일 안 tar.gz의 파일이 열리지 않음",
"nl": "Bestanden in een tar.gz in een archief openen niet",
"tr": "Arşivdeki tar.gz içindeki dosyalar açılmıyor",
"vi": "Tệp trong tar.gz nằm trong tệp nén không mở được",
"ar": "الملفات داخل tar.gz في أرشيف لا تُفتح",
"ca": "Els fitxers d’un tar.gz dins d’un arxiu no s’obren",
"el": "Τα αρχεία σε tar.gz μέσα σε συμπιεσμένο αρχείο δεν ανοίγουν",
"nb": "Filer i en tar.gz inni et arkiv åpnes ikke",
"zh-TW": "壓縮檔內 tar.gz 中的檔案無法開啟",
"hi": "आर्काइव के अंदर tar.gz की फ़ाइलें नहीं खुलतीं",
"cs": "Soubory v tar.gz uvnitř archivu se neotevřou"
},
"issues": ["440"]
}
]
},
{
"version": "1.3.1",
"items": [
Expand Down
39 changes: 23 additions & 16 deletions MacPacker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
25404BB52ECB50D5004A4380 /* tb in Frameworks */ = {isa = PBXBuildFile; productRef = 25404BB22ECB50D5004A4380 /* tb */; };
25404BB62ECB5DEB004A4380 /* tb in Frameworks */ = {isa = PBXBuildFile; productRef = 25404BB32ECB5DEB004A4380 /* tb */; };
25404BB82ED71F86004A4380 /* tb in Frameworks */ = {isa = PBXBuildFile; productRef = 25404BB72ED71F86004A4380 /* tb */; };
2540AB010000000000000002 /* ArchivePreviewUI in Frameworks */ = {isa = PBXBuildFile; productRef = 2540AB010000000000000001 /* ArchivePreviewUI */; };
2540AB010000000000000004 /* ArchivePreviewUI in Frameworks */ = {isa = PBXBuildFile; productRef = 2540AB010000000000000003 /* ArchivePreviewUI */; };
2540AB010000000000000002 /* ArchiveUI in Frameworks */ = {isa = PBXBuildFile; productRef = 2540AB010000000000000001 /* ArchiveUI */; };
2540AB010000000000000004 /* ArchiveUI in Frameworks */ = {isa = PBXBuildFile; productRef = 2540AB010000000000000003 /* ArchiveUI */; };
2540FE020000000000000001 /* FinderMenu in Frameworks */ = {isa = PBXBuildFile; productRef = 2540FE010000000000000001 /* FinderMenu */; };
2540FE020000000000000002 /* FinderMenu in Frameworks */ = {isa = PBXBuildFile; productRef = 2540FE010000000000000002 /* FinderMenu */; };
2540FE020000000000000003 /* FinderMenu in Frameworks */ = {isa = PBXBuildFile; productRef = 2540FE010000000000000003 /* FinderMenu */; };
Expand All @@ -32,7 +32,7 @@
25D7B4F22FBFB84B00021B10 /* products/macpacker.json in Resources */ = {isa = PBXBuildFile; fileRef = 25D7B4F02FBFB82E00021B10 /* products/macpacker.json */; };
25D80C9E2E80204A00A55040 /* FinderExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 252F12022E7ABDD9004CCEBE /* FinderExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
25E426CA2E6BEB3800F10BE5 /* XADMasterSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 25E426C92E6BEB3800F10BE5 /* XADMasterSwift */; };
25E6DA782FE5A6FC00AD47BB /* ArchivePreviewUI in Frameworks */ = {isa = PBXBuildFile; productRef = 25E6DA772FE5A6FC00AD47BB /* ArchivePreviewUI */; };
25E6DA782FE5A6FC00AD47BB /* ArchiveUI in Frameworks */ = {isa = PBXBuildFile; productRef = 25E6DA772FE5A6FC00AD47BB /* ArchiveUI */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -156,10 +156,17 @@
);
target = 252F12012E7ABDD9004CCEBE /* FinderExtension */;
};
25B7C0DE2F0000000000A010 /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
Localizable.xcstrings,
);
target = 2567C82E2E8FB75F008E1BD8 /* QuickLookExtension */;
};
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */

/* Begin PBXFileSystemSynchronizedRootGroup section */
251114B22DC6D3AA0056D272 /* MacPacker */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (251114F72DC6D3AA0056D272 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 251114F82DC6D3AA0056D272 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 257A675B2E829CF100532C84 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = MacPacker; sourceTree = "<group>"; };
251114B22DC6D3AA0056D272 /* MacPacker */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (251114F72DC6D3AA0056D272 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 251114F82DC6D3AA0056D272 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 257A675B2E829CF100532C84 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 25B7C0DE2F0000000000A010 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = MacPacker; sourceTree = "<group>"; };
252F12032E7ABDD9004CCEBE /* FinderExtension */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (252F120E2E7ABDD9004CCEBE /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = FinderExtension; sourceTree = "<group>"; };
2567C8322E8FB75F008E1BD8 /* QuickLookExtension */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (2567C8412E8FB75F008E1BD8 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = QuickLookExtension; sourceTree = "<group>"; };
25B7C0DE2F0000000000A002 /* MacPackerUITests */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = MacPackerUITests; sourceTree = "<group>"; };
Expand All @@ -179,7 +186,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
25E6DA782FE5A6FC00AD47BB /* ArchivePreviewUI in Frameworks */,
25E6DA782FE5A6FC00AD47BB /* ArchiveUI in Frameworks */,
25C764272E6C6D6200464CF5 /* XADMasterSwift in Frameworks */,
2540451B2ECB50D5004A4380 /* Core in Frameworks */,
2540FE020000000000000002 /* FinderMenu in Frameworks */,
Expand All @@ -195,7 +202,7 @@
2567C8312E8FB75F008E1BD8 /* Quartz.framework in Frameworks */,
2540451D2ECB5DEB004A4380 /* Core in Frameworks */,
25404BB62ECB5DEB004A4380 /* tb in Frameworks */,
2540AB010000000000000002 /* ArchivePreviewUI in Frameworks */,
2540AB010000000000000002 /* ArchiveUI in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -217,7 +224,7 @@
25404BB42ECB50CD004A4380 /* tb in Frameworks */,
25C69EAC2FE49643002287A0 /* SandboxPilotKit in Frameworks */,
254BB55D2ABBE8F50059A1D5 /* Sparkle in Frameworks */,
2540AB010000000000000004 /* ArchivePreviewUI in Frameworks */,
2540AB010000000000000004 /* ArchiveUI in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -324,7 +331,7 @@
2540FE010000000000000002 /* FinderMenu */,
25404BB22ECB50D5004A4380 /* tb */,
25C69EAD2FE4969F002287A0 /* SandboxPilotKit */,
25E6DA772FE5A6FC00AD47BB /* ArchivePreviewUI */,
25E6DA772FE5A6FC00AD47BB /* ArchiveUI */,
);
productName = MacPacker;
productReference = 254BB5592ABBE8430059A1D5 /* MacPackerStore.app */;
Expand All @@ -349,7 +356,7 @@
packageProductDependencies = (
2540451C2ECB5DEB004A4380 /* Core */,
25404BB32ECB5DEB004A4380 /* tb */,
2540AB010000000000000001 /* ArchivePreviewUI */,
2540AB010000000000000001 /* ArchiveUI */,
);
productName = QuickLookExtension;
productReference = 2567C82F2E8FB75F008E1BD8 /* QuickLookExtension.appex */;
Expand Down Expand Up @@ -405,7 +412,7 @@
2540FE010000000000000003 /* FinderMenu */,
25404BB12ECB50CD004A4380 /* tb */,
25C69EAB2FE49643002287A0 /* SandboxPilotKit */,
2540AB010000000000000003 /* ArchivePreviewUI */,
2540AB010000000000000003 /* ArchiveUI */,
);
productName = MacPacker;
productReference = 25C0A8A42A78DE5F002C1C2A /* MacPacker.app */;
Expand Down Expand Up @@ -1440,13 +1447,13 @@
package = 25404E0A2ED71F86004A4380 /* XCRemoteSwiftPackageReference "tailbeatkit" */;
productName = tb;
};
2540AB010000000000000001 /* ArchivePreviewUI */ = {
2540AB010000000000000001 /* ArchiveUI */ = {
isa = XCSwiftPackageProductDependency;
productName = ArchivePreviewUI;
productName = ArchiveUI;
};
2540AB010000000000000003 /* ArchivePreviewUI */ = {
2540AB010000000000000003 /* ArchiveUI */ = {
isa = XCSwiftPackageProductDependency;
productName = ArchivePreviewUI;
productName = ArchiveUI;
};
2540FE010000000000000001 /* FinderMenu */ = {
isa = XCSwiftPackageProductDependency;
Expand Down Expand Up @@ -1489,9 +1496,9 @@
isa = XCSwiftPackageProductDependency;
productName = XADMasterSwift;
};
25E6DA772FE5A6FC00AD47BB /* ArchivePreviewUI */ = {
25E6DA772FE5A6FC00AD47BB /* ArchiveUI */ = {
isa = XCSwiftPackageProductDependency;
productName = ArchivePreviewUI;
productName = ArchiveUI;
};
/* End XCSwiftPackageProductDependency section */
};
Expand Down
100 changes: 0 additions & 100 deletions MacPacker/Core/Utility/SystemHelper.swift

This file was deleted.

Loading
Loading