Skip to content

v1.5.1

Choose a tag to compare

@thatonemacosdev thatonemacosdev released this 19 Aug 06:48
· 40 commits to main since this release

Tossy v1.5.1 Release Notes

Release Tag: v1.5.1
Release Target: macOS 14.0+ (Apple Silicon & Intel)
License: GPL-3.0 (Standalone, zero external dependencies)
Download Asset: Tossy-1.5.1-macOS.zip


Highlights

Tossy v1.5.1 is a stability and precision release following a comprehensive line-by-line codebase audit across all 45 source files, encoding services, view models, and build pipelines. It delivers critical hardening against concurrent drag-and-drop data races, APFS case-insensitive overwrite safety, full propagation of ImageIO CLI format knobs, audio bitrate slider synchronization, and accurate rotated vector PDF rasterization.


Detailed Changes & Bug Fixes

1. Concurrency & Drag-and-Drop Ingestion

  • Fixed Concurrent Data Race in Queue Ingestion: Fixed a potential heap corruption and EXC_BAD_ACCESS crash caused by unsynchronized collected.append(url) calls across concurrent background GCD completion queues in ContentView, VideoConvertView, and AudioConvertView.
  • Direct URL / NSURL Item Provider Handling: Resolved an issue where files dropped from Finder could be silently dropped if delivered directly as NSURL / URL objects rather than raw Data.

2. File Collision & Overwrite Protection

  • APFS Case-Insensitive Source Deletion Bug: Fixed a critical edge case in OutputNaming.swift where converting a file with case changes (e.g. photo.JPG -> photo.jpg) in overwrite mode could trigger case-sensitive string inequality, leading to premature deletion of the source file before conversion started.
  • Concurrent Overwrite Path Reservation: Synchronized claimedPaths in overwrite mode to prevent simultaneous batch jobs from clashing over the same output filename.

3. ImageIO Format Knobs & Engine Propagation

  • JPEG Progressive & Chroma Subsampling: Wired AppSettings.shared.jpegConfig directly into CGImageDestination JFIF dictionary, enabling true progressive scan JPEG outputs and chroma subsampling settings.
  • PNG Adam7 Interlacing: Connected PNG Adam7 interlace configuration to kCGImagePropertyPNGDictionary.
  • TIFF Compression Schemes: Implemented full support for LZW, Deflate/ZIP, PackBits, and uncompressed TIFF outputs via kCGImagePropertyTIFFDictionary.

4. Audio Quality & Bitrate Slider Calibration

  • CBR Quality Slider Mapping: Decoupled CBR audio encoding from hardcoded config defaults, allowing the UI slider (64 kbps - 320 kbps) in the Audio tab to dynamically govern the output bitrate for CBR conversions.

5. Settings State & Safety Limit Persistence

  • "No limit" Maximum File Size Persistence: Fixed an issue in AppSettings.swift where choosing "No limit" for the safety size threshold removed the key from UserDefaults, inadvertently resetting the threshold back to 4 GB upon restarting the application.

6. Vector & PDF Rendering Engine

  • Rotated PDF Page Matrix Support: Updated VectorImageRenderer.renderPDF to compute page crop/media bounds, page rotation angles (90 degrees, 180 degrees, 270 degrees), and apply page.getDrawingTransform(...) before rasterizing, eliminating clipping and incorrect rotation on scanned documents.

7. Video Filter Chain Stacking

  • Animated GIF Custom Width Scaling: Fixed filter chain duplication in VideoConverter.swift where specifying a target width for Animated GIF exports prepended an extra scale filter in front of the default scale=480:-1 filter.

8. UX Feedback & Audio Alert Polish

  • Single Completion Alert: Removed redundant secondary chime sound in UNMutableNotificationContent when TossySound.playCompletion() is already active, preventing doubled audio chimes on batch completion.
  • Export JSON Toast Readout: Corrected toast notification banner text when exporting JSON benchmark reports from BenchmarkView.
  • IEC Byte Size Parsing: Added support for binary units (KiB, MiB, GiB) and improved unit validation in ByteSize.parse.

Verification & Test Harness Summary

The entire suite of 96 automated integration tests passed with 0 failures across all media modules:

[Phase 1] Base media generation ............................ PASSED
[Phase 2] Image format conversions (20 formats) ............ PASSED
[Phase 3] Video format conversions (27 formats) ............ PASSED
[Phase 4] Audio format conversions (14 formats) ............ PASSED
[Phase 5] Target-size compression convergence .............. PASSED
[Phase 6] Concurrency & multi-task batch queue ............. PASSED
[Phase 7] Presets & UserDefaults serialization ............. PASSED
[Phase 8] Vector & RAW rasterization ....................... PASSED
[Phase 9] TossyMark 32-Workload Benchmark Suite ............ PASSED
-------------------------------------------------------------------
96 test cases executed, 96 passed, 0 failed, 4 skipped (optional codecs)

Installation & Upgrading

Download Tossy-1.5.1-macOS.zip, unzip, and drag Tossy.app to /Applications.
All required tools (ffmpeg, cwebp, dwebp, img2webp, cjxl, djxl) are bundled inside the app bundle and run 100% locally.