Up to [cvs.NetBSD.org] / pkgsrc / emulators / libspectrum
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libspectrum: updated to 1.8.0
libspectrum 1.8.0
* Add PZX tape writing, including conversion of legacy tape blocks,
recordings, generalised data, bounded jumps and finite loops
(Fredrick Meunier).
* Support TZX CSW recording blocks and add tape sample-rate and CSW
accessors (fixes bug 528) (Fredrick Meunier, thanks AJ B).
* Replace libaudiofile with a portable PCM WAV reader, enabling WAV
input in every build (Fredrick Meunier).
* Standardise metadata APIs on UTF-8, converting legacy encodings
with lossy substitution where necessary (Fredrick Meunier).
* Improve waveform, timing and initial polarity preservation when
converting between PZX, TZX and CSW tapes (Fredrick Meunier).
* Recognise ROM pulse recordings when exporting PZX tapes as TAP
(Fredrick Meunier).
* Various minor bug fixes/improvements:
* Increase snapshot RAM storage to 64 pages (Fredrick Meunier).
* Avoid reading past the end of generalised tape data (fixes bug
529) (Fredrick Meunier, thanks AJ B).
* Fix generalised symbol termination and terminal tape transitions
(Fredrick Meunier).
* Fix RLE pulse block lengths for long-form pulses (Fredrick
Meunier).
* Fix TZX message duration encoding and reject overflow (Fredrick
Meunier).
* Use unsigned, endian-safe dword decoding (fixes bug 533)
(Fredrick Meunier, thanks Sergio Baldoví).
* Improve PZX payload bounds checking (Fredrick Meunier).
* Tolerate incorrect byte rates in PCM WAV headers (Fredrick
Meunier).
* Support test builds with static libraries disabled (Fredrick
Meunier, thanks Nico P).
* Extend tape, WAV, metadata and snapshot regression tests
(Fredrick Meunier).
* Fix compiler warnings and improve Windows builds and CI
(Fredrick Meunier, thanks Alberto Garcia).
libspectrum: updated to 1.7.0
1.7.0
* Make tape playback own signal polarity and return absolute levels for
live and cursor playback, with atomic cursor state operations
(Fredrick Meunier).
* Add a resolved-file abstraction for accessing compressed and
uncompressed files (part of bugs 507 and 192) (Fredrick Meunier,
thanks Gergely Szasz and Bernat).
* Add RZX playback input cursor and creator metadata APIs (Fredrick
Meunier).
* Add structured accessors for microdrive block headers, record
descriptors, data and checksums (Fredrick Meunier).
* Require C11 or later (Fredrick Meunier).
* Limit expanded compressed files to 64 MiB (part of bug 168)
(Fredrick Meunier, thanks Gergely Szasz).
* Various minor bug fixes/improvements:
* Preserve pulse polarity when converting PZX tapes to TZX (Fredrick
Meunier).
* Skip empty RZX input blocks during playback (fixes bug 527)
(Fredrick Meunier, thanks Sergio Baldoví).
* Detect 8K Interface 1 ROMs in Z80 snapshots (Fredrick Meunier).
* Handle legacy Spectaculator Scorpion Z80 pages (Fredrick Meunier).
* Remove the beeper capability from Timex machines (Fredrick
Meunier).
* Use guaranteed lock-free atomic flag operations in fake Glib
(Fredrick Meunier).
*: recursive bump for pcre2 10.49
*: revbump for pcre2 symbol versioning change
libspectrum: updated to 1.6.4
1.6.4
* Add a beeper machine capability to the public API (Fredrick
Meunier).
* Add libspectrum_tape_count() to the public tape API (Fredrick
Meunier).
* Fix handling of TZX pure-data blocks with zero used bits.
* Fix ZX string token and graphics conversion (Fredrick Meunier, thanks
C.Born).
* Fix tape insertion and state handling for empty tapes, avoiding null
pointer dereferences (Fredrick Meunier).
* Disable libgcrypt secure memory (Sergio Baldoví).
* Fix writing recorded RLE pulse blocks as CSW files.
* Various minor bug fixes/improvements:
* Optimise Z80 snapshot run-length compression and decompression
(Fredrick Meunier).
* Add unit tests for tape, timing, snapshot, RZX, file
identification, utility, and ZX string APIs (Fredrick Meunier).
* Improve Windows test static-library handling (Fredrick Meunier).
* Add Dependabot configuration and update GitHub Actions dependencies
(Fredrick Meunier).
*: recursive bump for pcre2 10.48
libspectrum: updated to 1.6.3
1.6.3
* Add libspectrum_zx_string_to_utf8() to translate ZX Spectrum strings
to UTF-8 (Fredrick Meunier).
* Fix 64-bit Windows compilation on MSYS2/MINGW64 (Sergio Baldoví).
* Fix use-after-free and RZX input block length handling (Fredrick
Meunier).
* Add const qualifiers to tape block getter parameters (Fredrick
Meunier).
* Various minor bug fixes/improvements:
* Improve error propagation when writing TAP blocks (Fredrick
Meunier).
* Enable extra GCC warnings and fix associated warnings (Fredrick
Meunier).
* Add unit tests for tape, snapshot, timing, file identification,
machine capability, SZX chunk, and utility APIs (Fredrick Meunier).
* Update GitHub Actions and improve CI dependency cache invalidation
(Fredrick Meunier).
libspectrum: updated to 1.6.2
1.6.2
* Fix TZX pulse handling by starting blocks with the pulse level set to
low by default.
* Improve tape block handling by adding CONCAT block support to block
descriptions and edge generation, and fixing related memory leaks in
CONCAT, PULS and PZXT block handling (Fredrick Meunier).
* Various minor bug fixes/improvements:
* Split TZX PULSE_SEQUENCE blocks when needed to keep single-repeat
pulse counts within format limits (Fredrick Meunier).
* Fix error-path memory handling in CSW, SZX and RZX readers
(Fredrick Meunier).
* Improve TZX/PZX string and write handling, including bulk string
writes and simpler NUL-terminated string parsing (Fredrick
Meunier).
* Add unit tests for tape block accessors, RZX handling, and
additional snapshot accessors (Fredrick Meunier).
* Reorganise the test suite into separate modules and rename tests
with more descriptive identifiers (Fredrick Meunier).
* Improve GitHub Actions workflows with cache handling, concurrency
cancellation, and updated Windows action pinning (Fredrick
Meunier).
libspectrum: updated to 1.6.1
1.6.1
* Fix PZX string reading to advance past the null terminator, so that
archive info tag-value pairs after the title in a PZX PZXT block are
no longer silently ignored (Fredrick Meunier).
* Reduce initial buffer allocation from 65536 to 1024 bytes, cutting
peak heap usage during SZX snapshot writes from ~640 KB to ~10 KB
before payload data is written (Fredrick Meunier).
* Optimise reallocate_to_new_size() to compute the final target size
first and call realloc exactly once, instead of once per doubling
step (Fredrick Meunier).
* Zero-initialise struct fields in alloc functions by switching from
libspectrum_new to libspectrum_new0 in tape_block, dck_block,
buffer, rzx, ide, microdrive, and creator alloc functions,
preventing reads of uninitialised memory (Fredrick Meunier).
* Add const to libspectrum_creator getter function parameters, making
them callable with const pointers without a cast (Fredrick Meunier).
* Various minor bug fixes/improvements:
* Add extensive unit tests for snap accessor functions covering Plus
D, DivIDE, DivMMC, AY registers, beta disk, ZXATASP, SpecDrum,
Fuller Box, Multiface, custom ROM, RAM pages, interface1, Z80
registers, and creator API (tests 85-116) (Fredrick Meunier).
* Add unit tests for buffer write functions, buffer_set, and
buffer_append (tests 77-84) (Fredrick Meunier).
* Add microdrive API and serialisation round-trip tests (tests
91-93) (Fredrick Meunier).
* Use byte arrays in libspectrum_buffer_write_word and
libspectrum_buffer_write_dword to avoid type-punning casts
(Fredrick Meunier).
* Make stdatomic usage C23-compatible (Fredrick Meunier).
* Update bundled pkg.m4 from serial 1 (pkg-config 0.24) to serial 12
(pkg-config 0.29.2) (Fredrick Meunier).
* Remove obsolete AC_C_CONST macro from configure.ac (Fredrick
Meunier).
* Upgrade SourceForge URLs from http:// to https:// (Fredrick
Meunier).
* Document need to run ldconfig on some Linux installs
* Add missing and update stale exported function documentation
(Fredrick Meunier).
* Fix typo and remove redundant autoreconf in macOS GitHub Actions
workflow (Fredrick Meunier).
* Remove unused libxml2 dependency from Linux and macOS GitHub
workflows (Fredrick Meunier).
* Use macOS 26 runners for GitHub macOS actions (Fredrick Meunier).
libspectrum: updated to 1.6.0
1.6.0
* Add loading and saving of .S snapshot files as extracted from D40/D80
floppy images (Miroslav Ďurčík, Sergio Baldoví).
* Enable SZX support for Currah uSpeech (Vic Chwe).
* Add GitHub Actions CI workflows for Linux, Windows, Wii and macOS
builds (Miroslav Ďurčík).
* Various minor bug fixes/improvements:
* Fix PZX handling on big endian systems (Alberto Garcia).
* Hide all symbols except the ones in the public API (Alberto
Garcia).
* Run tests on 'make check' invocation (Alberto Garcia).
* Don't generate an edge for the STOP48 TZX block (Fredrick Meunier).
* Use local include directives for config.h and libspectrum.h
(Fredrick Meunier).
* Tests use libspectrum_snap_write() from public API (Sergio
Baldoví).
* Fix a compilation warning in test 72 (Fredrick Meunier).
* Fix function prototypes due to enum/integer mismatch (Sergio
Baldoví).
* Fix running unit tests when gzip is unavailable (Miroslav Ďurčík).
* Use libspectrum's memory management instead of strdup (Sergio
Baldoví).
* Remove unused variable in szx.c (Sergio Baldoví).
* Include strings.h for strcasecmp() in zip.c (Sergio Baldoví).
* Include <string.h> for strlen and memcpy in utilities.c (Fredrick
Meunier).
* Remove obsolete AC_HEADER_STDC macro; update audiofile.m4 (Sergio
Baldoví).
* Note info loss of uSpeech when writing dsnap, sna or z80 snapshots
(Sergio Baldoví).
* Fix RZX recording in competition mode (fixes bug 485) (Sergio
Baldoví, thanks crem).
* Fix core dump when writing SZX snapshots with more than 64 ZXCF
pages (Miroslav Ďurčík).
* Add LIBSPECTRUM_ERROR_MISSING_ZLIB to public error enum (Miroslav
Ďurčík).
* Add native macOS WAV support and LIBSPECTRUM_SUPPORTS_WAV,
replacing the deprecated LIBSPECTRUM_SUPPORTS_AUDIOFILE macro
(Fredrick Meunier).
* Fixes for GitHub Actions CI workflows (Fredrick Meunier).
*: switch all sourceforge HOMEPAGEs to https
*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
*: recursive bump for perl 5.36
revbump for icu and libffi
*: recursive bump for perl 5.34
libspectrum: updated to 1.5.0
libspectrum 1.5.0 released.
* Various minor bug fixes/improvements:
* Autogenerate code for initialising/freeing snap structure (Sergio
Baldoví).
* Fix loading of raw data blocks (Alberto Garcia).
* Ensure trailing TZX pause blocks result in an edge (Alberto
Garcia).
* Fix bits_through_byte calculation in TZX RAW block (Alberto
Garcia).
* Remove spurious first pulse in a raw data block (Alberto Garcia).
* Minimal snapshot support for TTX2000S interface (Sergio Baldoví).
* Fix prototypes and warnings for MorphOS (Stefan Haubenthal).
* Change type of len field in GArray to guint (Sergio Baldoví).
*: bump PKGREVISION for perl-5.32.
*: Convert broken sourceforge HOMEPAGEs back to http
*: recursive bump for libffi
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
Bump PKGREVISIONs for perl 5.30.0
Recursive bump for perl5-5.28.0
libspectrum: updated to 1.4.4 libspectrum 1.4.4: * Various minor bug fixes/improvements: * Fix memory allocation in g_array_set_size() * Cast whole expressions in printf() statements * Fix up printf() related warnings * Fix detection of small files in SZX unit tests
libspectrum: updated to 1.4.3 libspectrum 1.4.3: * Fix TC2048 and TC2068 timings regression * Add peek block function for tape iterators
libspectrum: updated to 1.4.2 1.4.2: * RZX files containing a snapshot which cannot be compressed are now written correctly
libspectrum: update to 1.4.1 libspectrum 1.4.1: * Fix generation of malformed RZXs * Various minor bug fixes/improvements: * Build test program on "make check" rule * Additional unit tests for SZX reading/writing * Free DivIDE/DivMMC memory from snapshots * Remove C99 typedef redefinition of libspectrum_mmc_card * Correct version for MLT class addition
libspectrum 1.4.0: * Add support for MMC / SD card emulation in SPI mode * Add class recognition for MLT files * Various minor bug fixes/improvements: * Fix typo in libspectrum.txt * Additional unit tests for SZX reading/writing
libspectrum 1.3.6:
* Fix Z80 snapshot writing when +D is enabled
* Export pkgconfig file to publish library version
* Fix offset of keyboard mappings in Z80 v3 snaphots
* Various minor bug fixes/improvements:
* Replace '*' in boolean context with '&&' in libspectrum_malloc0_n()
* Fix warning about missing atomic_lock()/atomic_unlock() declarations
in gslock.c
libspectrum 1.3.5: * Add Multiface One/128/3 support * Add self-inflating buffer for writing binary files * Add class recognition for SCR files * Fix crash when saving CSW tapes * Various minor bug fixes/improvements: * Add unit test for CSW writing * Swich to using autoreconf * Use silent builds by default * Remove more const qualifiers from libspectrum_buffer API * Fix GCC warnings about unexpected values in switch statements * Remove unsused variables from libspectrum_buffer refactoring * Fix error messages when reading Opus/+D chunks from SZX files * Distribute standard-tap.tap * Set logical '1' when reading SZX flags * Document Multiface snap accessors
libspectrum 1.3.4: * Work around invalid "used bits in last byte" field in TZX tapes * Save SpecDrum level as unsigned in SZX snapshots * Add support for storing Covox interface state * Replace old ticket numbers from Trac to Allura
Changes 1.3.3: * Silently skip PLTT blocks in SZX snapshots * Document missing disk identifiers * Validate "used bits in last byte" field in TZX tapes * Fix the load of PZX tapes with malformed strings
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
Recursive PKGREVISION bump for libgcrypt-1.6.0 shlib major bump.
Update to 1.1.1:
2013-05-24 Philip Kendall <philip-fuse@shadowmagic.org.uk>
* libspectrum 1.1.1 released.
* Decreased libtool version to allow binaries built against
libspectrum 1.0.0 to run with libspectrum 1.1.1.
2013-05-18 Philip Kendall <philip-fuse@shadowmagic.org.uk>
* libspectrum 1.1.0 released.
* Support for Spectranet in snapshots (Philip Kendall).
* Support for Cheetah SpecDrum in snapshots (Fredrick Meunier).
* Support reading PZX files (Fredrick Meunier).
* Support for the TZX set signal level block (Fredrick Meunier).
* Various minor bug fixes/improvements:
* Add support for detecting POK files (Sergio Baldoví).
* Advertise support for bzip2 compressed and wav files (Sergio
Baldoví).
* Drop support for GLib version 1.x (Alberto Garcia).
* Add support for audiofile 0.3.x (Alberto Garcia).
* Load all snapshot RAM pages for machines with more than 128k
(Fredrick Meunier; thanks, ketmar).
* Support more SZX 1.5 features (Fredrick Meunier).
* Modernise autoconf support (Sergio Baldoví).
Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
recursive bump from libffi shlib major bump (additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
Recursive bump for pcre-8.30* (shlib major change)
Revbump for a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
Recursive bump from audio/libaudiofile, x11/qt4-libs and x11/qt4-tools ABI bump.
recursive bump from gettext-lib shlib bump.
Changes 1.0.0: * New end of tape flag * AF and AF' were swapped when reading and writing SZX files * Support for Fuller Box and Melodik (and similar AY interfaces) in snapshots * Support for Opus Discovery in snapshots * Support for the NTSC 48K Spectrum * Support for stereo sound files * Add proper support for +2A/+3, Pentagon and Scorpion in .z80 files * Various fixes for compiling with Visual Studio 6 * Various minor bug fixes/improvements: * Looser signature checks for .dsk files * --without-(bzip2|zlib) options to configure for Gentoo and similar distributions * Handle querying the block length for turbo and pure data blocks with 0 length * Fix loading of Warajevo TAPs with raw samples * Fail sensibly if file decompression fails * Remove various unused variables, initialisations etc
Fix missing operator in last commit.
Fix DESTDIR.
Changes 0.5.0.1: * Loosen signature checks for .dsk files to allow files not strictly compliant with the specification to work.
Changes 0.5.0: * Memory management change: memory allocation functions now abort on failure. Leads to simpler code both internally and for users of the library. * Support for tape acceleration. * IDE improvements to allow DivIDE to support FATware. * New API to deal with flagging automatic snapshots in RZX files. * New function to get length (time) of a tape block. * 128K SNA files are now treated as being for the Pentagon 128 rather than the Spectrum 128. * SNA files now written out correctly. * Handle MDR write protection flag correctly. * Allow MDR images with bad checksums to load (the error will be handled by the If1 ROM). * Support saving custom ROMs in SZX snapshots. * Support for DivIDE, Kempston mouse and the simple IDE interface in SZX snapshots. * Allow building without libgcrypt. * Amiga and MorphOS compilation fixes. * Don't produce empty libraries to fix build process on OpenSolaris. * Remove deprecated functions. * Tweak timings for TS2068.
Changes 0.4.0: * Add support for loading from WAV files * Add support for CSW tape files * Tweak timings for TC2048 and TC2068 * Add support for the +D in z80 and szx snapshots * Add Pentagon 512/1024 support * Allow Amiga version to decompress files with xfdmaster.library * Allow MorphOS version to use xfdmaster.library * Various other bugfixes
Changes 0.3.0.1: * Avoid crash when reading an invalid TZX file (thanks, crabfists). * Export the TZX Generalized Data Block functions when building a Win32 DLL. * Distribute the hacking/ directory. * Remove warning when building from CVS.
Changes 0.3.0: * Support for RZX rollback, including having snapshots and multiple input recording blocks in input recording files. * Improved IDE emulation. * Support for microdrive images. * TZX Generalized Data Block support. * Support for Z80Em and CSW tape files. * Support for the TS2068. * Support for connected joystick information in snapshots. * Add interrupt length to timing information. * Routines to add and remove a block from a tape image. * Minor feature enhancements. * Minor bugfixes.
Needs pkg-config.
Recursive revision bump / recommended bump for gettext ABI change.
Get rid of USE_PERL5. The new way to express needing the Perl executable around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
For packages that use GNU configure, don't bother adding "TOOL" variables into CONFIGURE_ENV if the new tools framework already takes care of adding them automatically.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Changes 0.2.2: * Support for Scorpion ZS 256, Spectrum +3e, and Spectrum SE * Support for .hdf hard disk images * Support for the ZXATASP and ZXCF interfaces * Support for saving the Timex DOCK and EXROM in .szx snapshots * Support for saving the Interface II state
this needs libbz2, so include archivers/bzip2/buildlink3.mk.
bl3ify
Bump PKGREVISION due to the update of libgcrypt.
LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
Changes 0.2.1: * Transparent reading of bzipped and gzipped files. * Add support for writing emulator custom data to .rzx and .szx files. * Update to the more recent version of gcrypt; version 1.1.42 or later is now required. * Link libspectrum against gcrypt, glib and zlib; this means that client applications no longer need to do this. * Support for 'the last instruction was an EI' in the snapshot code. * Routines to check the versions of libspectrum and gcrypt in use. * Write .rzx files with a version number of 0.12 if we're not signing the data; improves backward compatability. * Fix a segfault when dealing with .slt files. * QNX6 compilation fixes.
Style nits.
Perl is needed for build. Should fix problem seen in the latest hubertf's bulk-build.
Changes 0.2.0.1: fix a possible segfault in rzx.c
install documentation. bump PKGREVISION.
libspectrum is a library designed to make the input and output of some
ZX Spectrum emulator files slightly easier. It is intended to be usable
on Unix variants, Win32 and MacOSX.
Changes 0.2.0:
* libspectrum 0.2.0 released.
* Various data structures (snapshots, tapes, tape blocks) which
were previously directly accessible are now accessible only via
wrapper functions. This should improve future binary
compatability, but at the cost of breaking it for this release
(Philip Kendall).
* Change the API for reading/writing snapshots to be more general.
The old API still exists, but is deprecated (Philip Kendall).
* Support for reading .szx, .zxs, .sp, .snp and +D snapshots
(Philip Kendall).
* Support for writing .szx and .sna snapshots (Philip Kendall).
* Support for reading Warajevo .tap files (Fredrick Meunier).
* Support for signing RZX files with digital signatures (Philip
Kendall).
* Timing fixes for the TC2048 and TC2068 (Fredrick Meunier).
* Fix reading of 128K .sna snapshots (Philip Kendall).
* New capabilities for the Timex dock, and built-in Sinclair and
Kempston joysticks (Fredrick Meunier).
* Use <stdint.h> to give us the <n>-bit types if it's available
(Philip Kendall).
* Ignore links to external snapshots from RZX files, rather than
trying to interpret the path as a snapshot (Philip Kendall).
Initial revision