Skip to content

Releases

Mackit 1.0.21

Choose a tag to compare

@virskor virskor released this 26 Nov 05:17

Mackit 1.0.21

The tray panel is fully opaque and stops re-rendering while closed.

  • The tray panel no longer shows the wallpaper through its background — the panel window paints its own opaque surface instead of the system's translucent popover chrome, and the panel follows light and dark appearance like every other surface.
  • The tray agent stops re-rendering while the panel is closed — the hidden panel no longer re-lays-out on every monitoring tick, and the process ranking is sampled only while the panel is open, with a forced fresh sample taken right before it appears.

Under the hood

  • The tray panel is a borderless, non-activating NSPanel rather than an NSPopover: the popover's chrome is window-drawn material that samples the desktop behind the window, with no view to reach and nothing content, a layer or the window background can paint over, so the whole panel surface is painted by SwiftUI.
  • A sampled profile of the running agent showed the SwiftUI layout engine as its top consumer: a hosted view re-lays-out its tree on every state change even when its window is ordered out, so the panel body collapses to a placeholder while hidden (isPanelPresented) and the all-process ranking is only sampled while presented.
  • The transient popover's dismissal is reproduced explicitly: a global mouse-down monitor closes the panel on any click outside the app, clicks inside the panel or on the status item keep it open, and the panel never takes key focus (nonactivatingPanel, becomesKeyOnlyIfNeeded).
  • The window's shadow derives from the hosting view's alpha, so it follows the rounded outline, and the corner radius is the shared Theme.Radius.lg.

Mackit 1.0.20

Choose a tag to compare

@virskor virskor released this 19 Nov 04:44

Mackit 1.0.20

A right-click context menu on the tray icon, and the desktop floating stats window is gone.

  • The tray icon now has a right-click context menu — one native menu carries the main window and settings entries, every tool page, the CPU / memory / temperature display switches with their current states, check for updates, about and quit, without opening the panel first.
  • The desktop floating stats window is gone — CPU / memory / temperature remain in the menu-bar item and the tray panel, and the settings page and tray menu no longer offer the overlay.

Under the hood

  • The status item is an AppKit-owned NSStatusItem (TrayStatusController) rather than SwiftUI's MenuBarExtra — which cannot tell a left click from a right click — so left-click opens the panel popover and right-click pops the menu, and the panel's sizing and dismissal are explicit popover methods instead of matches against SwiftUI's internal window class name.
  • The menu's display switches read and write the shared settings store in both directions, so the tray menu, the panel and the settings page always show the same state, and check-for-updates forwards to the main app when the up-to-date feed allows it.
  • The overlay's removal drops its controller, settings toggle, tray menu row, shared-settings keys, catalog entries, tests and the three theme tokens only it used.
  • The About item feeds the standard panel the product name and icon explicitly: the agent bundle's own identity reads as "Mackit Agent", and the icns now ships inside the agent bundle for the panel to draw.

Mackit 1.0.19

Choose a tag to compare

@virskor virskor released this 15 Nov 09:15

Mackit 1.0.19

A tabbed tray panel with Processor and Memory pages, and size sorting in the duplicate-file tool.

  • The tray panel is now tabbed, with Processor and Memory pages beside the overview — the tabs sit in a folder-style header, and the shared bottom bar keeps the panel's clean, settings and main-window actions.
  • The Processor page shows live load, per-core rings, load averages, user/system/temperature figures, a stacked CPU history from live to 24 hours, and the processes using the most CPU — process rows group an app's helpers and show a multi-process group's count.
  • The Memory page shows pressure, the app/wired/compressed/cached/free composition, page-in and page-out rates, swap usage, a history for used, compressed and swap memory, and the processes holding the most memory — it uses the same grouped process rows as the Processor page.
  • The duplicate-file tool can sort its groups by size — a menu beside the threshold orders them largest-first (the new default) or smallest-first, and re-orders the groups already found while a scan is still running.
  • The overview's app memory rows now include each app's helper processes — the row reports the whole process group, so its figure agrees with the Memory page instead of showing only the main process.
  • Memory Used now matches Activity Monitor's figure — app memory, wired memory and compressed memory sum the same way, and the menu-bar percentage, overview row and Memory page all report that total.

Under the hood

  • The panel's process table samples every four seconds, groups each helper under its outer .app, and converts rusage's mach absolute-time counters with the machine's timebase so CPU fractions are comparable to Activity Monitor.
  • The Processor page keeps 24 hours of two-second CPU samples in a ring buffer and sends the panel a 60-point downsample; the Memory page keeps a two-minute window per metric.
  • The Memory page derives app, wired, compressed, cached and free from one vm_statistics64 read, and Used is the same app + wired + compressed total Activity Monitor reports.
  • The size order is computed when the list is read rather than written into the scan results, so a sort change applies mid-scan without restarting it, and the duplicate and large-file pages share one SortMenuPill control.

Mackit 1.0.18

Choose a tag to compare

@virskor virskor released this 07 Nov 07:08

Mackit 1.0.18

A light / dark / follow-the-system appearance picker in Settings, a duplicate-file finder and cleaner, and a Java category for the JVM build caches.

  • An appearance picker in Settings chooses light, dark or following the system — it applies to the main window, the tray panel and every sheet immediately, without a restart.
  • Gradle, Maven and JDK caches now sit in a Java category of their own — the Android category keeps the SDK, Android Studio and Kotlin/Native caches.
  • A duplicate-file tool finds content that exists more than once — it scans your home folder, groups files with byte-identical content, marks the copy it suggests keeping, and moves only what you check to the Trash.

Under the hood

  • Every screen's colors, type sizes, corner radii and shadows now come from one Theme layer instead of values written into each view, which is what let the appearance choice reach the whole interface from a single modifier.
  • Duplicate groups are proven by full-content SHA-256 digests after size and head-digest prefiltering, and deletion rides the shared clean engine's Trash, protected-path and vnode re-checks.
  • Rules keep their old ignore-list entries across the category move: RulesCatalog.renamedRuleIDs translates the Android-era ids when settings load, so a rule you had ignored stays ignored.

Mackit 1.0.17

Choose a tag to compare

@virskor virskor released this 03 Nov 12:07

Mackit 1.0.17

Three more interface languages, a detail sheet on double-click, and full paths inside the results table.

  • Russian, Spanish and French join the interface languages — every screen is translated in all three, selectable in Settings or followed from the system language, and Russian count phrases follow Russian grammar (1 файл / 2 файла / 5 файлов).
  • Double-clicking a scan result opens its detail sheet — the entry's full path, size, modification date and risk, with clean, show-in-Finder, copy-path and close actions.
  • Each scan result's path now lives inside its name column — it moved out of its own narrow column, where it truncated to a fraction of its width, into the name column as a third line with the full path on hover, and the category filters moved from the window's sidebar into a draggable rail beside the table.

Under the hood

  • Count phrases pick their plural form per language through one L10n.plural helper — Russian takes its three integer forms, French counts zero with the singular — replacing the per-call-site one/other ternary, and LocalizationTests now checks all four forms' placeholder layouts.

Mackit 1.0.16

Choose a tag to compare

@virskor virskor released this 03 Nov 01:22

Mackit 1.0.16

The monitoring surfaces now show the CPU's real temperature, the scans behind every page got faster, and apps you removed leave less behind.

  • The temperature is shown in degrees — read through the SMC and shown in whole degrees on the menu bar, in the panel and on the desktop stats, orange from 95°C up, with the thermal-state word as the fallback when no sensor answers.
  • Scans finish sooner — the project-junk walk, Downloads scan, app-residue probe and Application Support index read each directory in one bulk call instead of stat'ing every entry, the shared ~/Library listings and language subtags are resolved once per scan, and the merge dedup index is maintained incrementally instead of rebuilt per batch.
  • The result pages render lighter — the general cleanup page's hundreds of sub-rows render lazily, large-file rows cache their size text, and the treemap skips its re-sort when children already arrive largest-first.
  • Leftover caches of removed apps surface — an app dragged to the Trash leaves its cache directories behind, and the scan now lists the unclaimed ones as an opt-in row with everything your installed apps and the other rules already own subtracted — a live app's helper and extension caches included — so no byte is offered twice.
  • Xcode's device logs are cleanable — the logs collected from connected devices are re-collected on the next connect, listed at the same review level as the device-support files.
  • Spotify's cache is no longer swept wholesale — it holds your offline library rather than regenerable bytes, so it stays out of the app-junk sweep while the uninstall tool still removes it together with the app.
  • Ignore what you want to keep — right-click any scan result to never see that path or that rule again; both lists live in a new settings tab, survive restarts and reach the tray agent, so an ignored rule costs nothing on the next scan.
  • Long lists fold — the unused-language and app-junk rows start collapsed when they carry more than six entries and expand from the arrow in the row header, keeping their total and selection while folded, so a checked row still sweeps everything it holds.
  • Manage what opens at login — the new Startup Items page lists every launch agent, launch daemon and legacy login item grouped by app, with a switch per entry and a master switch per app, and system-level services ask for your password once to install the Mackit helper service, whose whole job is flipping launchd's enabled state.

Under the hood

  • The SMC read opens one connection per sample and closes it on the way out, and its selection, filtering and decoding are a pure function over an injected key reader, so the logic is unit-tested without an SMC.
  • The kext record's offsets are named constants, because a struct-derived data8 lands in the record's padding, where the kext reads a zero command and every call fails.
  • The merge's dedup index answers "is any already-listed entry inside this path?" by inverting it: the strict ancestors of every listed path are collected as items are appended, and the query is one set lookup.
  • The leftover scan uses a pool design — enumerate ~/Library/Caches and the sandbox containers' cache trees once, then subtract the claims of every static rule's literal target prefix and every installed app's bundle id matched at dot boundaries (so a live app's helper, extension and team-prefixed cache spellings are all claimed), app name and bundle-id last segment — and it errs toward claiming, because a live app's cache offered for deletion is a bug while a missed leftover is only a missed cleanup.
  • Deletion re-checks each entry's vnode identity (device, inode) after the re-measure walk, closing the swap window the path-only protected check leaves open.
  • Ignoring is enforced at the two funnels: the rule tables the engine builds its work units from, so an ignored rule costs nothing to run, and the merge funnels every scanner reports through — the rule stream's event and the dynamic scanners' batch alike — so one check covers the static rules, the app junk and leftover scans, the language and Downloads scanners and the project walk — while the leftover scanner's claim set still reads the whole catalog, because ignoring a rule must not turn the paths it used to own into leftover candidates.
  • A grouped row's fold lives on the view model keyed by row id and invalidates the general page's cache through its own revision dimension, so a rescan rebuilds the rows without unfolding what the user folded, while a fold leaves the item and selection caches warm — and folding never moves the selection, so a collapsed checked row still sweeps everything it holds.
  • The startup-items scan reads launchd's override database (print-disabled) rather than which services happen to be running, so a loaded-but-disabled service correctly reads as disabled — the state that decides the next login — and the Mackit helper service is a separate executable whose command set is five fixed launchctl argv vectors over validated labels, with no shell and no arbitrary command, that removes only its own two files when uninstalled — through the daemon when it answers and through an elevated one-shot run when it does not, so a broken install can always be repaired or removed.
  • The privileged helper serves only the app installs that have installed it: the daemon's XPC listener enforces the authorized-client requirements recorded in its plist — each installing app's own designated requirement, so the check holds under a Developer ID and an ad-hoc development build alike — and the installed binary is chowned to root so the installing user cannot rewrite a root daemon's code.
  • Toggling a launch agent reads the override back from launchd instead of trusting the exit status, because launchctl enable and disable exit zero even for a label that names no service.

Mackit 1.0.15

Choose a tag to compare

@virskor virskor released this 01 Nov 06:45

Mackit 1.0.15

The sidebar and the settings tab bar now lay themselves out correctly in every language, and the DMG's install arrow is drawn by hand.

  • The sidebar no longer cuts off its own contents in Japanese and other longer translations. The sidebar's list demanded more width than the column it was given, and what didn't fit was clipped off the left edge: in Japanese every item lost the first characters of its name — すべての項目 showed as ての項目 — the icons beside each row and the ツール section heading disappeared entirely, and the storage block at the foot lost its 起動ディスク title and its settings capsule. The list now fills the width it is given and shortens titles with an ellipsis the way every system sidebar does, so the sidebar reads correctly at any width and in all five languages.
  • The settings tabs take their labels' widths instead of stretching across the card. Five equal segments left the longest label cramped between its neighbours — "Project Directories" reads プロジェクトのディレクトリ in Japanese. The tab bar now follows the native Mac segmented control's proportions with the selection centered in the toolbar, and if a translation ever outgrows the card the labels shorten instead of running off its edge.
  • The DMG's install arrow is drawn by hand. The shaft flicks up as it leaves the app icon, bows through its span and settles at the head, a lighter retrace rides its first half, and the head is an open V of two strokes rather than a filled triangle — a marker's line on the soft gradient instead of vector clip-art. The arrow stays inside the icon band, so where the icons sit and how large the window opens are unchanged.

Under the hood

  • The clip was a width fight: the sidebar list carried .frame(minWidth: 232) while the split-view column renders narrower than that on current macOS — it can even render below its own declared minimum — so the list's content overflowed its column and the overflow came back as a leading-edge clip. The minimum is gone; the column's width belongs to navigationSplitViewColumnWidth, and the rows already truncated at the tail. The footer's capsule labels and the section headers gained lineLimit(1) so a narrow sidebar shortens them instead of overflowing.
  • The tab bar's picker no longer sizes itself to its labels on current macOS: .pickerStyle(.segmented) fills whatever width it is offered and ignores .fixedSize(), which is what stretched the five tabs across the card. SegmentedBlock — the app's own segmented control, already used by the Homebrew filter band — gained a .content width mode that hugs each label, and ViewThatFits falls back to the existing equal-width mode, where labels truncate, should a translation ever exceed the card.
  • Both layouts were verified in a reproduction harness carrying the real SegmentedBlock and the same Japanese strings, before and after, including at the window's minimum width; the full suite passes at 673 test functions, unchanged since 1.0.13.

Mackit 1.0.13

Choose a tag to compare

@virskor virskor released this 28 Oct 11:40

Mackit 1.0.13

"Show in Finder" now really shows the item, and the READMEs link straight to the download page.

  • "Show in Finder" reveals the item you clicked. Everywhere else on the Mac the command brings a Finder window forward with the file or folder selected. Mackit's reveal probed the Finder automation permission first and never asked, so on a machine whose answer was not already "granted" — never asked, or Finder closed, which the probe reports the same way — every reveal opened the enclosing folder with nothing selected, a click that reads as a no-op. The reveal now asks for consent the first time it needs it, with the dialog any other app's first reveal shows: allow it and Finder comes forward with the item selected, refuse it and the enclosing folder still opens. The system records the answer, so the ask happens at most once and a refusal goes straight to the fallback instead of asking again on every click.
  • A folder is revealed selected, not opened into, and an app bundle is never launched. "Show in Finder" on a folder now selects it in its enclosing window, exactly as a file is revealed — what the label always promised — and an application bundle is selected rather than opened, so revealing Xcode.app can never launch Xcode. The junk list, the disk analysis page, the large-file page, the crash log viewer and the uninstall page all reveal through the same code.
  • The READMEs link to the download page. Each of the five READMEs carries a download link to mingcui.cn in its own language — the root path for Simplified Chinese, /en, /zh-Hant, /ko and /ja for the others — beside the existing GitHub Releases link.

Under the hood

  • Selecting is an AppleEvent to Finder, and an app not permitted to automate Finder gets silence rather than an error, which is why the click used to read as a no-op. The reveal now asks at the moment it first needs consent instead of gating on a probe that can never prompt, running the ask off the reveal's call stack because it blocks for as long as its dialog is up. The permission-free fallback — open the enclosing folder — is what a recorded refusal gets, and the selecting path still never hands a path to NSWorkspace.open itself, because LaunchServices opens a bundle with whatever app claims that kind of resource.
  • RevealInFinder.decision(for:) maps the probe's answers onto the reveal: granted selects, never-asked requests once, refused opens without selecting, and a target that is not running still sends — with consent on record the event launches Finder and selects. Five unit tests pin each direction, 673 test functions in all (+3 since 1.0.12).

Mackit 1.0.12

Choose a tag to compare

@virskor virskor released this 27 Oct 15:04

Mackit 1.0.12

Mackit now speaks Korean and Japanese, and the README comes in Traditional Chinese as well.

  • Korean and Japanese interface languages. All 956 strings are translated in ko and ja, and Settings → General's language picker offers them by their endonyms — 한국어 and 日本語 — beside the existing Simplified Chinese, English and Traditional Chinese, following the system when set to "Follow system". Both the app and the menu bar agent declare the five localizations, so the tray agent's menu is localized too.
  • Cleaning no longer strips Korean or Japanese out of other apps. The unused-language-pack rule keeps ko and ja per bundle the way it already kept Chinese and English: whoever runs Mackit reads at least one of the five shipped UI languages, so no other app on the machine loses its Korean or Japanese interface files.
  • READMEs in Korean, Japanese and Traditional Chinese (README_KO.md / README_JA.md / README_ZH_HANT.md). Each is the full README translated with the app's own terminology — 스캔 / スキャン, 정리 / クリーンアップ, 캐시 / キャッシュ, 휴지통 / ゴミ箱 — so the documentation and the product read as one, with every command, path, identifier and URL byte-identical to the English source. All five READMEs cross-link, own language first.

Under the hood

  • The translations follow the project's placeholder and separator conventions throughout — positional %1$@ / %2$lld, the unspaced · of the treemap tile line, the newline in the welcome message — and an independent review pass against the sources, the glossary and the call sites fixed 46 entries: dangling Japanese verb fragments, wrong particles and counters, terminology collisions such as 서비스 / サービス naming both LaunchAgents and brew services, Korean spelling and missing toast predicates.
  • LocalizationTests now checks all five .lproj key sets instead of three, AppLanguageTests covers the new cases, and LanguageFileScannerTests uses genuinely foreign languages (fr / de / pt) as its removable samples plus a regression test that the five shipped UI languages survive on any system. 668 tests (+49 since 1.0.11).

Mackit 1.0.11

Choose a tag to compare

@virskor virskor released this 27 Oct 12:19

Mackit 1.0.11

Settings now reports the app's own permissions, and the cleanup covers fourteen more language ecosystems.

  • Settings → General reports the app's own permissions. Full Disk Access, the Finder and Terminal automation consents and administrator authorization each get a row with their live status, what the permission unlocks, and a button that opens the exact settings row. The statuses re-probe whenever the app returns to the foreground, so a grant made while Mackit sat in the background shows up without a relaunch.
  • Cache cleanup for fourteen more language ecosystems. Ruby, PHP, .NET, Scala, Haskell, Clojure, Elixir/Erlang, Lua, Julia, OCaml, Zig, Nim, Crystal and Perl each join the scan as their own category with its brand mark — 30 scan rules and 5 command-line rules on top of the eight ecosystems already covered. Every path was verified against the installed tool or its official source rather than assumed, which caught the two places the obvious guess is wrong: modern cabal uses the XDG layout (~/.cache/cabal, ~/.local/state/cabal) with ~/.cabal only as a legacy fallback, and Zig and Crystal both honor XDG_CACHE_HOME ahead of their ~/.cache defaults.
  • The unreadable-folders notice appears only when it can help. With Full Disk Access in place, the large-file analysis ignores the folders the walk still could not read — a grant cannot unlock a system-protected or locked folder, so the notice only offered a permission you already have.
  • The uninstall page drops last-opened times. Those dates are Spotlight metadata that exists only while the index serves the app's volume, so an unindexed machine read "never launched" for every third-party app; the dates, the guess and the notice are gone. Every row keeps its icon, version, size and leftover-file count.
  • Settings moves to the sidebar's foot. The Settings row leaves the bottom of the list and becomes a capsule beside the brand and share capsules; the menu bar item, the keyboard shortcut and the tray agent's entry keep working unchanged.

Under the hood

  • The Full Disk Access probe now tests the filesystem gate itself instead of asking the Spotlight index for Mackit's own last-used date, which cannot tell a missing grant from an index that is not running — with indexing off the lookup is nil either way, so the permissions page reported "not granted" on a machine that had already granted it. The probe opens one of the folders TCC hides without the grant; measured on macOS 27, every candidate fails with EPERM while ~/Library/Calendars and ~/Library/Reminders open normally, so the gate is the permission and not the folder's mode.
  • Risk follows what deleting each location costs: package stores and toolchains that re-download wholesale — user gems, NuGet global packages, sbt boot, cabal's store, stack's toolchains, LuaRocks, Nimble — are review-level, while pure caches stay safe. Hex's glob targets only its cache files, so the API credentials in hex.config are never offered.
  • The home-prefix abbreviation and the Documents / Desktop / Downloads skip set each lived in two places that had drifted apart; both now share one cached helper (Formatters.abbreviateHome, FileSystem.protectedHomePaths), with the moved logic pinned by new unit tests.
  • 619 tests (+21 since 1.0.10) cover the permission probes, the new ecosystems' path contracts and the moved helpers.