Fixes for the ten days since 0.6.1, with a lot of them from people who sent pull requests, and spreadsheets and presentations as a new kind of file.
Fixed:
- Battery drain after the first pass. Two causes: a folder where something rewrites files all the time (a database, logs, a build) made DigUp re-scan every folder every few seconds, and iCloud Drive or Google Drive folders made every scan take minutes. Changes that couldn't matter are ignored now, and the crawl no longer asks the cloud about each file. (#68, #101 by @astelmach20; #106, #107 by @afalk42)
- A folder you chose is read whole, whatever it holds. A home folder with its dotfiles in git, or a repo of notes and pictures, used to count as a code project and keep only its screenshots. (#105)
- Settings → Folders says why files aren't searchable: "N not read" next to each folder opens the reasons (inside code projects, only in the cloud, types DigUp doesn't read, a Photos library). (#105, #43)
- The progress bar no longer starts over when new files arrive mid-pass. (#52, from #53 by @dr0pd34d)
- Resume right after Pause starts indexing again; it used to stay stopped until the next change. (#50, from #51 by @dr0pd34d)
- The search panel opens over a fullscreen app while a DigUp window is open or minimized, instead of switching Spaces. (#73, #131 by @TLXyloph)
- A PDF with broken metadata no longer crashes indexing. (#41, #42 by @dr0pd34d)
- Copy-protected songs (.m4p) are skipped instead of failing one by one. (#108, #109 by @afalk42)
- The "Open code in" picker follows what you choose. (#83, #74 by @maniksundar)
- Keyword search is faster on big indexes: the database is memory-mapped, 18–20% on a 29,000-vector index here. (#93, #94 by @Hevarh1, with @Bondyboy2001's measurements)
- Tiny stub files (
DEBUG=true, a two-line .gitignore) no longer top generic searches like "config" or "test". (#139, diagnosed by @Irohoho) - Checking that a folder can be read no longer lists it, which took a while on cloud folders at every scan. (#124, @Arul-)
- A .ts file that's only in the cloud is no longer downloaded to check whether it's a video. (#61)
- Code search no longer runs a repository's own configured git programs (a security fix; details in the advisory). (#78 by @siraben)
- Paired writes to the index happen in one transaction, and two crashes on odd inputs (an empty audio buffer, a zero-sized image) are guarded. (#45, @dowjames)
New:
- Spreadsheets and presentations: xlsx, pptx, ods and odp are read for their text, each sheet's name and rows, each slide's text and speaker notes. (#75, #86 by @njeanselme)
- Typst files (.typ) are indexed as documents. (#127, @martin0pl)
- Skip a Folder… on the Code tab, as on the Folders tab. (#129, @cloudlesssmarthome)
- Folders with a CACHEDIR.TAG (pip, cargo and ccache caches) stay out of both indexes. (#80 by @siraben)
- The Welcome screen says what the folders step does before it runs, and its button says Start Indexing. (#128, @szpak and @cloudlesssmarthome)
- Pictures in a folder named Screenshots count as screenshots, whatever they're called.
- The menu bar icon is the logo.
Also: source builds verify the vendored downloads against pinned checksums (#81 by @siraben). The shared fixes above come to Windows and Linux with the next beta.
Thanks to @astelmach20, @afalk42, @dr0pd34d, @TLXyloph, @maniksundar, @Hevarh1, @siraben and @njeanselme for the fixes and additions that went in, and to @Bondyboy2001, @Irohoho, @Arul-, @martin0pl, @cloudlesssmarthome, @szpak, @dowjames, @Cyboghostginx, @drale2k and @jiaxu0715 for the measurements, diagnoses and reports behind them.
To update, use DigUp → Check for Updates…, or download DigUp-0.6.2.dmg below. DigUp needs an Apple Silicon Mac with macOS 14 or later.