Repository navigation
Releases
Releases · nitros9project/toolshed
ToolShed v2.7.0
ToolShed v2.7.0
New Features & Enhancements
- Disk image formats: Added
libdiskimage, a shared library for raw, DMK, SDF, JVC, and VDK images, and moveddecbandos9onto it. Image write protection is honored, anddecb dskiniandos9 formataccept-f<name>to select the output format (#96,#99). - Dragon DOS support: Added
libdragondosand thedgndosutility for formatting disks, managing files and attributes, and inspecting Dragon DOS images. Includes Dragon BASIC tokenization/detokenization, binary header decoding, backup directory recovery, and integration withlibcocoandcocofuse(#97). - Image information: Added
infosubcommands todecb,os9, anddgndosto report container format, track layout, sector errors, and possible filesystems, replacing the intermediate standalonediskinfoutility (#96,#99,#103). - Image inspection: Added
decb revealanddgndos reveal, and madeos9 revealcontainer-aware. Inspect filesystem metadata, file ownership, free space, and container headers/gaps by LSN or image byte offset (#102,#104). - Command usability: Added two-letter subcommand aliases and descriptive command listings (
#107). - Shared dump implementation: Unified dump formatting and binary decoding around bounded, streaming reads, preserving hexadecimal, assembler, and C output modes. Added shared formatting options to
cecb dumpblock, terminal-only ASCII highlighting, and improved error reporting (#85). - File copying and scripts: Added
dgndos dsave, shared save-script generation, and protection against accidentally overwriting host disk images with copy commands (#97,#99).
Bug Fixes
- OS-9 disk layout and allocation:
- Corrected short-track-zero formatting and I/O across the track boundary, including OS-9/68000 track-zero geometry. Invalid geometry is rejected before modifying an image (
#94). - Fixed allocation cleanup after failed creates, allocation beyond the disk's last cluster, segment-list bounds checks, and reads from truncated segment lists (
#111). - Fixed raw read lengths and write positions, line lengths across segments, and deletion of write-only files (
#83). - Corrected largest-free-block reporting, access to metadata for files without permissions, segment limits, cluster release/truncation, and
dchecksegment/bitmap handling (#100).
- Corrected short-track-zero formatting and I/O across the track boundary, including OS-9/68000 track-zero geometry. Invalid geometry is rejected before modifying an image (
- Disk BASIC files and commands:
- Fixed overwrite lengths, line lengths across granules, and segmented binary handling, including address
$FFFFand execution-address extraction (#82). - Fixed copies into native directories, same-format copies with
-l, and empty-file metadata preservation (#88). - Rejected raw paths in
killandattrto prevent directory corruption. Made copy/rename name comparisons case-insensitive and preserved errors fromattr,fstat, and multi-source copy (#113,#116).
- Fixed overwrite lengths, line lengths across granules, and segmented binary handling, including address
- Cassette files and commands:
- Fixed line reads, full load/execution addresses, rewind buffering, and rejection of writes through read-only paths (
#84). - Fixed BASIC data-file types, native directory destinations, same-format line-ending preservation, and ASCII metadata for detokenized BASIC (
#91). - Fixed rejected seeks changing the read position, rewind of 24/32-bit WAV files, and trailing WAV metadata writes (
#114).
- Fixed line reads, full load/execution addresses, rewind buffering, and rejection of writes through read-only paths (
- Directory listings: Hardened directory commands against cyclic allocation chains, truncated WAV files, unreadable sectors, overlong paths, and malformed names. OS-9 recursive listings avoid repeatedly traversing the same directory; printable output escapes control characters where needed (
#99,#112). - Error reporting and filenames:
- Fixed
os9 delcrashing on paths without a comma and madeos9 attr,decb attr, andos9 copyreturn failures correctly (#89,#95). - Preserved
os9 cmpopen/read errors and madeos9 listprocess all input files and return read failures (#115). - Reported missing disk images as "pathname not found", corrected cassette and Disk BASIC filename validation, rejected empty OS-9 names, and prevented creation of OS-9 names containing spaces (
#93,#108,#109).
- Fixed
- Shared libraries: Fixed native line-read counts, write-only opens, seek errors, and renames; corrected queue tail deletion and unsigned 32-bit decoding (
#86,#87).
Build, Testing & Documentation
- Expanded regression coverage for file I/O, command errors, damaged images, BASIC metadata, allocation bitmap boundaries, and container formats. Added command timeouts and ensured TinyTest retains earlier failures (
#82–#94,#99,#107,#111–#116). - Fixed CECB dependency tracking and propagation of sub-build failures, plus Linux GCC and Windows MinGW format-checking failures (
#110,#113). - Retained command-line packages as CI artifacts for Linux, Windows, and macOS ARM64/Intel (
#106). - Fixed DiskShed AppImage icon packaging, pinned wxWidgets source builds for macOS CI, and corrected DiskShed release tag version extraction (
#98,#105,#118). - Documented the modular library architecture, library reuse, new commands, and release procedures (
#101,#117).
What's Changed
- Refactor dump commands into a shared streaming implementation by @tlindner in #85
- Fix libdecb file I/O and segmented binary handling by @tlindner in #82
- Fix librbf raw I/O, segmented line reads, and write-only file deletion by @tlindner in #83
- libcecb: fix four cassette I/O bugs and add regression tests by @tlindner in #84
- Fix native file I/O bugs and add regression coverage by @tlindner in #86
- Fix libmisc queue tail deletion and unsigned 32-bit decoding by @tlindner in #87
- Fix three decb copy bugs and add regression coverage by @tlindner in #88
- Fix os9 copy exit status and add regression coverage by @tlindner in #89
- test(librbf): cover allocation bitmap sector boundaries by @tlindner in #90
- Feature/decb token metadata test by @tlindner in #92
- Feature/os9 short track0 by @tlindner in #94
- Fix libsys filename validation and add regression coverage by @tlindner in #93
- Fix four cecb copy bugs and add regression coverage by @tlindner in #91
- Feature: libdiskimage and diskinfo by @tlindner in #96
- Fix os9 del crash and attr exit status on specs with no comma by @tlindner in #95
- dgndos command & libdragondos by @tlindner in #97
- Fix DiskShed AppImage raster icon packaging by @tlindner in #98
- Retarget decb and os9 to libdiskimage by @tlindner in #99
- os9: bugs fixed by @tlindner in #100
- docs: describe modular architecture and library reuse by @tlindner in #101
- Replace diskinfo with info subcommands by @tlindner in #103
- Make os9 reveal container-aware by @tlindner in #102
- Add reveal commands for Disk BASIC and Dragon DOS images by @tlindner in #104
- Ci keep cli artifacts by @tlindner in #106
- Fix macOS CI by building pinned wxWidgets source by @tlindner in #105
- Add two-letter subcommand aliases and descriptive command listings by @tlindner in #107
- os9: refuse a space in an OS-9 file name by @markrvmurray in #108
- libcoco: report a missing image as "pathname not found" by @markrvmurray in #109
- Fix CECB dependency tracking and propagate sub-build failures by @tlindner in #110
- Fix rbf create cleanup cluster by @tlindner in #111
- Harden dir commands by @tlindner in #112
- Fix three decb bugs: raw kill, case-blind copy and rename by @tlindner in #113
- Fix cassette seeks and WAV trailing metadata writes by @tlindner in #114
- Fix os9 cmp error reporting and list multiple-file handling by @tlindner in #115
- Fix four DECB command regressions and add tests by @tlindner in #116
- small edit to release instructions by @tlindner in #117
- Fix DiskShed release tag version extraction by @tlindner in #118
- Release ToolShed v2.7.0 by @tlindner in #119
New Contributors
- @markrvmurray made their first contribution in #108
Full Changelog: v2.6.1...v2.7.0
DiskShed v1.0.0
DiskShed-v1.0.0 DiskShed v1.0.0
v2.6.1
What's Changed
- Unset SOURCE_DATA_EPOCH in os9commandtest by @hpmachining in #79
- This PR fixes logic bugs in
cecbcassette tape handling, properly r… by @tlindner in #80 - libcecb: Allow _cecb_create to create new cassette image files in write mode by @rlucente-retro in #81
New Contributors
- @hpmachining made their first contribution in #79
- @rlucente-retro made their first contribution in #81
Full Changelog: v2.6.0...v2.6.1
v2.6.0
ToolShed Release Notes
🆕 New Features & Utilities
- DiskShed Graphical Disk Image Editor: Introduced DiskShed, a new native GUI application for managing and inspecting disk images interactively.
- Added contextual OS-9 module identification and
Identdisplay for OS-9 modules. - Added native application icons, improved macOS compatibility, and optimized Windows builds with static wxWidgets caching.
- Included complete documentation and CI workflows for prebuilt binaries across supported platforms.
- Added contextual OS-9 module identification and
os9 reveal: Added a new command to inspect and explain OS-9 RBF disk image contents at specific LSNs or byte offsets (#77).- Translates LSNs, byte offsets, and directory structures into clear, human-readable descriptions.
- Traverses active directory trees, identifies LSN0/bitmap/file descriptor locations, and reports deleted file remnants or free space.
- Detects and reports filesystem corruption, truncated images, and invalid sector references.
decb binbust: Added a new utility to strip DECB binary record headers and trailers (#62).- Concatenates multi-record DECB binaries into contiguous raw binary files (ideal for ROM extraction and disassembly).
- Validates record headers/trailers and operates natively across host, DECB, OS-9, and CECB paths.
cecb dumpblock: Added a newcecbsubcommand to dump raw cassette block structures with terminal-aware color formatting (#64).
⚡ Enhancements & Updates
os9 genRefactoring: Major update to support copying boot structures directly from existing OS-9 disk images (#71).- Added support for embedding kernel track (
-t) andOS9Boot(-b) components sourced directly from existing disk images. - Centralized boot track LSN calculation via a unified
get_boottrack_lsn()helper. - Added strict image validation, file position tracking in
_os9_seek(), and updated manual documentation.
- Added support for embedding kernel track (
os9 copyAttributes: Added the-aflag to assign OS-9 file attributes directly during copy operations (e.g.,-a=erpepr) without needing a secondaryos9 attrstep (#60).- Reproducible Builds: Integrated standard
SOURCE_DATE_EPOCHenvironment variable support acrosslibcoco,librbf, andlibtoolshed(#76).- Ensures deterministic file creation and modification timestamps using
gmtime(). - Improved OS-9 2-digit year handling,
mktime()/localtime()null-checks, and error reporting.
- Ensures deterministic file creation and modification timestamps using
os9 makdir: Improved handling when creating existing directories—reports existence gracefully without returning a hard error (#70).cecbImprovements:cecb copy: Enforced WAV extension for bulk erase, stripped DECB headers when copying binary BASIC, defaulted copy destinations to end-of-file, and improved CLI help text (#67).cecb dir: Resolved issue where directory listings stopped after reading the first file (#65,#67).
🛠️ Bug Fixes & Infrastructure Updates
- Core Library & Memory Fixes:
- Fixed a heap use-after-free issue in
qDeleteLastNode(#73). - Fixed uninitialized variable and checksum error handling in
_cecb_read_next_blockand_cecb_read_next_dir_entry(#67).
- Fixed a heap use-after-free issue in
- Build System & Tooling:
- Honored system
LDFLAGSacross Makefiles and ensured proper trailing newlines (#73,#74). - Updated
cocoromsscripts to dynamically detect available MD5 tools (md5vs.md5sum) across BSD, macOS, and Linux (#59).
- Honored system
- CI & Release Automation:
- Adjusted Windows CI builds to link runtime statically (
#75). - Upgraded GitHub Actions dependencies (
actions/checkoutto v5,upload-artifactto v7, and Node.js runtime to v24).
- Adjusted Windows CI builds to link runtime statically (
DiskShed vDiskShed-v0.9.0
DiskShed v0.9.0