Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libansilove for openSUSE:Factory checked in at 2026-11-26 15:54:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libansilove (Old) and /work/SRC/openSUSE:Factory/.libansilove.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libansilove" Thu Nov 26 15:54:15 2026 rev:22 rq:1400648 version:1.4.7 Changes: -------- --- /work/SRC/openSUSE:Factory/libansilove/libansilove.changes 2026-11-17 17:20:30.754901513 +0100 +++ /work/SRC/openSUSE:Factory/.libansilove.new.1340718/libansilove.changes 2026-11-26 15:54:54.592576583 +0100 @@ -1,0 +2,10 @@ +Wed Nov 25 19:12:57 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 1.4.6 + * Expand manual pages with API usage and reference documentation. + * Fix image memory leak on Tundra parsing errors. + * Prevent IDF RLE records from consuming embedded font or palette + bytes. + * Reject incomplete IDF character and RLE records. + +------------------------------------------------------------------- Old: ---- libansilove-1.4.6.tar.gz New: ---- libansilove-1.4.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libansilove.spec ++++++ --- /var/tmp/diff_new_pack.RUFKd9/_old 2026-11-26 15:54:55.310606968 +0100 +++ /var/tmp/diff_new_pack.RUFKd9/_new 2026-11-26 15:54:55.312607053 +0100 @@ -20,7 +20,7 @@ %global sover 1 %global libname %{name}%{sover} Name: libansilove -Version: 1.4.6 +Version: 1.4.7 Release: 0 Summary: Library for converting ANSI, ASCII, and other formats to PNG License: BSD-2-Clause ++++++ libansilove-1.4.6.tar.gz -> libansilove-1.4.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/CMakeLists.txt new/libansilove-1.4.7/CMakeLists.txt --- old/libansilove-1.4.6/CMakeLists.txt 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/CMakeLists.txt 2026-11-25 16:22:14.000000000 +0100 @@ -2,7 +2,7 @@ set(LIB_VERSION_MAJOR 1) set(LIB_VERSION_MINOR 4) -set(LIB_VERSION_PATCH 6) +set(LIB_VERSION_PATCH 7) set(LIB_VERSION_STRING ${LIB_VERSION_MAJOR}.${LIB_VERSION_MINOR}.${LIB_VERSION_PATCH}) set(CMAKE_C_STANDARD 99) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/ChangeLog new/libansilove-1.4.7/ChangeLog --- old/libansilove-1.4.6/ChangeLog 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/ChangeLog 2026-11-25 16:22:14.000000000 +0100 @@ -1,3 +1,12 @@ +libansilove 1.4.7 (2026-11-25) + +- Expand manual pages with API usage and reference documentation +- Fix image memory leak on Tundra parsing errors +- Prevent IDF RLE records from consuming embedded font or palette bytes +- Reject incomplete IDF character and RLE records + + + libansilove 1.4.6 (2026-11-16) - Use IDF header width when calculating image height diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/include/ansilove.h new/libansilove-1.4.7/include/ansilove.h --- old/libansilove-1.4.6/include/ansilove.h 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/include/ansilove.h 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * ansilove.h - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus @@ -28,11 +28,11 @@ #endif /* Version number */ -#define ANSILOVE_VERSION "1.4.6" +#define ANSILOVE_VERSION "1.4.7" #define ANSILOVE_VERSION_MAJOR 1 #define ANSILOVE_VERSION_MINOR 4 -#define ANSILOVE_VERSION_PATCH 6 +#define ANSILOVE_VERSION_PATCH 7 /* Error codes */ #define ANSILOVE_INVALID_PARAM 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/libansilove.spec new/libansilove-1.4.7/libansilove.spec --- old/libansilove-1.4.6/libansilove.spec 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/libansilove.spec 2026-11-25 16:22:14.000000000 +0100 @@ -1,5 +1,5 @@ Name: libansilove -Version: 1.4.6 +Version: 1.4.7 Release: 1%{?dist} Summary: Library for converting ANSI, ASCII, and other formats to PNG diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_ansi.3 new/libansilove-1.4.7/man/ansilove_ansi.3 --- old/libansilove-1.4.6/man/ansilove_ansi.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_ansi.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_ANSI 3 .Os .Sh NAME @@ -34,10 +34,51 @@ .In ansilove.h .Ft int .Fn ansilove_ansi "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh DESCRIPTION +The +.Fn ansilove_ansi +function renders ANSI or plain ASCII data from +.Va ctx->buffer , +using +.Va ctx->length +bytes of input and the settings in +.Fa options . +Initialize both structures with +.Xr ansilove_init 3 +and load the input with +.Xr ansilove_loadfile 3 +before calling this function. +.Pp +On success, +.Va ctx->png.buffer +contains the encoded PNG image and +.Va ctx->png.length +contains its size in bytes. +Use +.Xr ansilove_savefile 3 +to write the image to disk, or read the PNG buffer directly. +The buffer belongs to the context and is released by +.Xr ansilove_clean 3 . +.Pp +See +.Xr libansilove 3 +for rendering options and the context lifecycle. +.Sh RETURN VALUES +The +.Fn ansilove_ansi +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_artworx 3 , .Xr ansilove_binary 3 , .Xr ansilove_icedraw 3 , .Xr ansilove_pcboard 3 , .Xr ansilove_tundra 3 , -.Xr ansilove_xbin 3 +.Xr ansilove_xbin 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_artworx.3 new/libansilove-1.4.7/man/ansilove_artworx.3 --- old/libansilove-1.4.6/man/ansilove_artworx.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_artworx.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_ARTWORX 3 .Os .Sh NAME @@ -34,10 +34,53 @@ .In ansilove.h .Ft int .Fn ansilove_artworx "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh DESCRIPTION +The +.Fn ansilove_artworx +function renders Artworx data from +.Va ctx->buffer , +using +.Va ctx->length +bytes of input and the settings in +.Fa options . +Initialize both structures with +.Xr ansilove_init 3 +and load the input with +.Xr ansilove_loadfile 3 +before calling this function. +.Pp +On success, +.Va ctx->png.buffer +contains the encoded PNG image and +.Va ctx->png.length +contains its size in bytes. +Use +.Xr ansilove_savefile 3 +to write the image to disk, or read the PNG buffer directly. +The buffer belongs to the context and is released by +.Xr ansilove_clean 3 . +.Pp +See +.Xr libansilove 3 +for rendering options and the context lifecycle. +.Pp +The font and palette are taken from the input file. +.Sh RETURN VALUES +The +.Fn ansilove_artworx +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_ansi 3 , .Xr ansilove_binary 3 , .Xr ansilove_icedraw 3 , .Xr ansilove_pcboard 3 , .Xr ansilove_tundra 3 , -.Xr ansilove_xbin 3 +.Xr ansilove_xbin 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_binary.3 new/libansilove-1.4.7/man/ansilove_binary.3 --- old/libansilove-1.4.6/man/ansilove_binary.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_binary.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_BINARY 3 .Os .Sh NAME @@ -34,10 +34,55 @@ .In ansilove.h .Ft int .Fn ansilove_binary "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh DESCRIPTION +The +.Fn ansilove_binary +function renders Binary data from +.Va ctx->buffer , +using +.Va ctx->length +bytes of input and the settings in +.Fa options . +Initialize both structures with +.Xr ansilove_init 3 +and load the input with +.Xr ansilove_loadfile 3 +before calling this function. +.Pp +On success, +.Va ctx->png.buffer +contains the encoded PNG image and +.Va ctx->png.length +contains its size in bytes. +Use +.Xr ansilove_savefile 3 +to write the image to disk, or read the PNG buffer directly. +The buffer belongs to the context and is released by +.Xr ansilove_clean 3 . +.Pp +See +.Xr libansilove 3 +for rendering options and the context lifecycle. +.Pp +The default width is 160 columns; set +.Va options->columns +to override it. +.Sh RETURN VALUES +The +.Fn ansilove_binary +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_ansi 3 , .Xr ansilove_artworx 3 , .Xr ansilove_icedraw 3 , .Xr ansilove_pcboard 3 , .Xr ansilove_tundra 3 , -.Xr ansilove_xbin 3 +.Xr ansilove_xbin 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_clean.3 new/libansilove-1.4.7/man/ansilove_clean.3 --- old/libansilove-1.4.6/man/ansilove_clean.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_clean.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_CLEAN 3 .Os .Sh NAME @@ -34,8 +34,38 @@ .In ansilove.h .Ft int .Fn ansilove_clean "struct ansilove_ctx *ctx" +.Sh DESCRIPTION +The +.Fn ansilove_clean +function releases the input file mapping and PNG buffer owned by +.Fa ctx . +The context must have been initialized with +.Xr ansilove_init 3 . +Call this function after conversion, including when loading, rendering, +or saving fails. +.Pp +The +.Va ctx->buffer +pointer is reset to +.Dv MAP_FAILED , +and +.Va ctx->png.buffer +is reset to +.Dv NULL . +Their associated lengths are reset to zero. +The error code is preserved. +The context structure itself is not freed. +Calling this function again on the same initialized context is safe. +.Sh RETURN VALUES +The +.Fn ansilove_clean +function returns 0, or \-1 if +.Fa ctx +is +.Dv NULL . .Sh SEE ALSO .Xr ansilove_error 3 , .Xr ansilove_init 3 , .Xr ansilove_loadfile 3 , -.Xr ansilove_savefile 3 +.Xr ansilove_savefile 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_error.3 new/libansilove-1.4.7/man/ansilove_error.3 --- old/libansilove-1.4.6/man/ansilove_error.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_error.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_ERROR 3 .Os .Sh NAME @@ -34,8 +34,47 @@ .In ansilove.h .Ft char * .Fn ansilove_error "struct ansilove_ctx *ctx" +.Sh DESCRIPTION +The +.Fn ansilove_error +function returns a description of the error code stored in +.Va ctx->error . +The returned string must not be modified or freed. +Successful operations do not generally clear a previous error code. +Check each function's return value before consulting this function. +.Pp +The following error codes are defined in +.In ansilove.h : +.Bl -tag -width ANSILOVE_FILE_WRITE_ERROR +.It Dv ANSILOVE_INVALID_PARAM +A required pointer argument is +.Dv NULL . +.It Dv ANSILOVE_FORMAT_ERROR +The input is empty, malformed, or invalid for the selected renderer. +.It Dv ANSILOVE_MEMORY_ERROR +Memory allocation or input file mapping failed. +.It Dv ANSILOVE_RANGE_ERROR +A value is outside the supported range. +.It Dv ANSILOVE_FILE_READ_ERROR +Opening the input file or obtaining its status failed. +.It Dv ANSILOVE_FILE_WRITE_ERROR +Opening, writing, or closing the output file failed. +.It Dv ANSILOVE_GD_ERROR +A GD image operation or PNG encoding failed. +.El +.Sh RETURN VALUES +The +.Fn ansilove_error +function returns an error string, or +.Dv NULL +if +.Fa ctx +is +.Dv NULL +or its error code is zero or unrecognized. .Sh SEE ALSO .Xr ansilove_clean 3 , .Xr ansilove_init 3 , .Xr ansilove_loadfile 3 , -.Xr ansilove_savefile 3 +.Xr ansilove_savefile 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_icedraw.3 new/libansilove-1.4.7/man/ansilove_icedraw.3 --- old/libansilove-1.4.6/man/ansilove_icedraw.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_icedraw.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_ICEDRAW 3 .Os .Sh NAME @@ -34,10 +34,53 @@ .In ansilove.h .Ft int .Fn ansilove_icedraw "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh DESCRIPTION +The +.Fn ansilove_icedraw +function renders iCE Draw data from +.Va ctx->buffer , +using +.Va ctx->length +bytes of input and the settings in +.Fa options . +Initialize both structures with +.Xr ansilove_init 3 +and load the input with +.Xr ansilove_loadfile 3 +before calling this function. +.Pp +On success, +.Va ctx->png.buffer +contains the encoded PNG image and +.Va ctx->png.length +contains its size in bytes. +Use +.Xr ansilove_savefile 3 +to write the image to disk, or read the PNG buffer directly. +The buffer belongs to the context and is released by +.Xr ansilove_clean 3 . +.Pp +See +.Xr libansilove 3 +for rendering options and the context lifecycle. +.Pp +The font and palette are taken from the input file. +.Sh RETURN VALUES +The +.Fn ansilove_icedraw +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_ansi 3 , .Xr ansilove_artworx 3 , .Xr ansilove_binary 3 , .Xr ansilove_pcboard 3 , .Xr ansilove_tundra 3 , -.Xr ansilove_xbin 3 +.Xr ansilove_xbin 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_init.3 new/libansilove-1.4.7/man/ansilove_init.3 --- old/libansilove-1.4.6/man/ansilove_init.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_init.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_INIT 3 .Os .Sh NAME @@ -34,8 +34,47 @@ .In ansilove.h .Ft int .Fn ansilove_init "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh DESCRIPTION +The +.Fn ansilove_init +function initializes the caller-allocated structures pointed to by +.Fa ctx +and +.Fa options . +Neither +.Fa ctx +nor +.Fa options +may be +.Dv NULL . +.Pp +All fields are cleared, except that +.Va ctx->buffer +is set to +.Dv MAP_FAILED +and +.Va options->bits +is set to 8. +Set any desired options after calling this function. +.Pp +This function does not release existing resources. +Before reinitializing a context that owns an input mapping or PNG buffer, +release those resources with +.Xr ansilove_clean 3 . +.Sh RETURN VALUES +The +.Fn ansilove_init +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_clean 3 , .Xr ansilove_error 3 , .Xr ansilove_loadfile 3 , -.Xr ansilove_savefile 3 +.Xr ansilove_savefile 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_loadfile.3 new/libansilove-1.4.7/man/ansilove_loadfile.3 --- old/libansilove-1.4.6/man/ansilove_loadfile.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_loadfile.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_LOADFILE 3 .Os .Sh NAME @@ -34,8 +34,46 @@ .In ansilove.h .Ft int .Fn ansilove_loadfile "struct ansilove_ctx *ctx" "const char *input" +.Sh DESCRIPTION +The +.Fn ansilove_loadfile +function opens +.Fa input +for reading and maps its contents into memory. +The context +.Fa ctx +must have been initialized with +.Xr ansilove_init 3 . +.Pp +On success, +.Va ctx->buffer +points to a read-only mapping, and +.Va ctx->maplen +and +.Va ctx->length +contain the file size in bytes. +The file descriptor is closed before the function returns. +An empty file cannot be mapped and causes this function to fail. +.Pp +This function does not detect the file format or render the input. +Call the appropriate rendering function after loading the file. +Release the mapping with +.Xr ansilove_clean 3 +before loading another file into the same context. +.Sh RETURN VALUES +The +.Fn ansilove_loadfile +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_clean 3 , .Xr ansilove_error 3 , .Xr ansilove_init 3 , -.Xr ansilove_savefile 3 +.Xr ansilove_savefile 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_pcboard.3 new/libansilove-1.4.7/man/ansilove_pcboard.3 --- old/libansilove-1.4.6/man/ansilove_pcboard.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_pcboard.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_PCBOARD 3 .Os .Sh NAME @@ -34,10 +34,51 @@ .In ansilove.h .Ft int .Fn ansilove_pcboard "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh DESCRIPTION +The +.Fn ansilove_pcboard +function renders PCBoard data from +.Va ctx->buffer , +using +.Va ctx->length +bytes of input and the settings in +.Fa options . +Initialize both structures with +.Xr ansilove_init 3 +and load the input with +.Xr ansilove_loadfile 3 +before calling this function. +.Pp +On success, +.Va ctx->png.buffer +contains the encoded PNG image and +.Va ctx->png.length +contains its size in bytes. +Use +.Xr ansilove_savefile 3 +to write the image to disk, or read the PNG buffer directly. +The buffer belongs to the context and is released by +.Xr ansilove_clean 3 . +.Pp +See +.Xr libansilove 3 +for rendering options and the context lifecycle. +.Sh RETURN VALUES +The +.Fn ansilove_pcboard +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_ansi 3 , .Xr ansilove_artworx 3 , .Xr ansilove_binary 3 , .Xr ansilove_icedraw 3 , .Xr ansilove_tundra 3 , -.Xr ansilove_xbin 3 +.Xr ansilove_xbin 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_savefile.3 new/libansilove-1.4.7/man/ansilove_savefile.3 --- old/libansilove-1.4.6/man/ansilove_savefile.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_savefile.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_SAVEFILE 3 .Os .Sh NAME @@ -34,8 +34,35 @@ .In ansilove.h .Ft int .Fn ansilove_savefile "struct ansilove_ctx *ctx" "const char *output" +.Sh DESCRIPTION +The +.Fn ansilove_savefile +function writes the +.Va ctx->png.length +bytes at +.Va ctx->png.buffer +to the file named by +.Fa output . +Call a rendering function successfully before saving its output. +.Pp +The output file is created if it does not exist and truncated if it does. +A failure may leave an empty or partially written file. +The PNG buffer remains owned by the context and is released by +.Xr ansilove_clean 3 . +.Sh RETURN VALUES +The +.Fn ansilove_savefile +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_clean 3 , .Xr ansilove_error 3 , .Xr ansilove_init 3 , -.Xr ansilove_loadfile 3 +.Xr ansilove_loadfile 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_tundra.3 new/libansilove-1.4.7/man/ansilove_tundra.3 --- old/libansilove-1.4.6/man/ansilove_tundra.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_tundra.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_TUNDRA 3 .Os .Sh NAME @@ -34,10 +34,51 @@ .In ansilove.h .Ft int .Fn ansilove_tundra "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh DESCRIPTION +The +.Fn ansilove_tundra +function renders TundraDraw data from +.Va ctx->buffer , +using +.Va ctx->length +bytes of input and the settings in +.Fa options . +Initialize both structures with +.Xr ansilove_init 3 +and load the input with +.Xr ansilove_loadfile 3 +before calling this function. +.Pp +On success, +.Va ctx->png.buffer +contains the encoded PNG image and +.Va ctx->png.length +contains its size in bytes. +Use +.Xr ansilove_savefile 3 +to write the image to disk, or read the PNG buffer directly. +The buffer belongs to the context and is released by +.Xr ansilove_clean 3 . +.Pp +See +.Xr libansilove 3 +for rendering options and the context lifecycle. +.Sh RETURN VALUES +The +.Fn ansilove_tundra +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_ansi 3 , .Xr ansilove_artworx 3 , .Xr ansilove_binary 3 , .Xr ansilove_icedraw 3 , .Xr ansilove_pcboard 3 , -.Xr ansilove_xbin 3 +.Xr ansilove_xbin 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/ansilove_xbin.3 new/libansilove-1.4.7/man/ansilove_xbin.3 --- old/libansilove-1.4.6/man/ansilove_xbin.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/ansilove_xbin.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt ANSILOVE_XBIN 3 .Os .Sh NAME @@ -34,10 +34,51 @@ .In ansilove.h .Ft int .Fn ansilove_xbin "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh DESCRIPTION +The +.Fn ansilove_xbin +function renders XBin data from +.Va ctx->buffer , +using +.Va ctx->length +bytes of input and the settings in +.Fa options . +Initialize both structures with +.Xr ansilove_init 3 +and load the input with +.Xr ansilove_loadfile 3 +before calling this function. +.Pp +On success, +.Va ctx->png.buffer +contains the encoded PNG image and +.Va ctx->png.length +contains its size in bytes. +Use +.Xr ansilove_savefile 3 +to write the image to disk, or read the PNG buffer directly. +The buffer belongs to the context and is released by +.Xr ansilove_clean 3 . +.Pp +See +.Xr libansilove 3 +for rendering options and the context lifecycle. +.Sh RETURN VALUES +The +.Fn ansilove_xbin +function returns 0 on success and \-1 on failure. +On failure, if +.Fa ctx +is not +.Dv NULL , +.Va ctx->error +is set to an error code described in +.Xr ansilove_error 3 . .Sh SEE ALSO .Xr ansilove_ansi 3 , .Xr ansilove_artworx 3 , .Xr ansilove_binary 3 , .Xr ansilove_icedraw 3 , .Xr ansilove_pcboard 3 , -.Xr ansilove_tundra 3 +.Xr ansilove_tundra 3 , +.Xr libansilove 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/man/libansilove.3 new/libansilove-1.4.7/man/libansilove.3 --- old/libansilove-1.4.6/man/libansilove.3 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/man/libansilove.3 2026-11-25 16:22:14.000000000 +0100 @@ -24,26 +24,29 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 23 2026 $ +.Dd $Mdocdate: November 25 2026 $ .Dt LIBANSILOVE 3 .Os .Sh NAME .Nm libansilove .Nd Library for converting ANSI, ASCII, and other formats to PNG +.Sh SYNOPSIS +.In ansilove.h .Sh DESCRIPTION .Nm is a library to convert ANSi and artscene related file formats into PNG images, supporting ANSI (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF), iCE Draw (.IDF), Tundra (.TND) and XBin (.XB) formats. .Pp -It creates size optimized 4-bit PNG files and supports 80x25 and 80x50 -PC fonts (including all the 14 MS-DOS charsets), Amiga fonts, and -iCE colors. +It produces size-optimized indexed-color PNG images for most formats, +with truecolor output when requested or required. +It also supports 80x25 and 80x50 PC fonts (including all 14 MS-DOS +character sets), Amiga fonts, and iCE colors. .Pp All library functions take a context, defined as an .Em ansilove_ctx structure in -.Pa include/ansilove.h : +.In ansilove.h : .Bd -literal struct ansilove_ctx { uint8_t *buffer; @@ -54,10 +57,20 @@ }; .Ed .Pp +The +.Va ctx->png +member stores the encoded PNG image and its length in bytes: +.Bd -literal +struct ansilove_png { + uint8_t *buffer; + int length; +}; +.Ed +.Pp Options are passed to the different loaders using the .Em ansilove_options structure in -.Pa include/ansilove.h : +.In ansilove.h : .Bd -literal struct ansilove_options { bool diz; @@ -71,6 +84,94 @@ uint8_t scale_factor; }; .Ed +.Ss Context lifecycle +Allocate a context and options structure, then call +.Xr ansilove_init 3 . +Set rendering options, load an input file with +.Xr ansilove_loadfile 3 , +and call the renderer for its format. +The library does not automatically select a renderer from a filename. +After successful rendering, save the PNG with +.Xr ansilove_savefile 3 +or consume +.Va ctx->png.buffer +and +.Va ctx->png.length +directly. +.Pp +Once +.Xr ansilove_init 3 +has succeeded, release resources with +.Xr ansilove_clean 3 +after each conversion, including if loading or rendering fails. +Loading or rendering again does not release the previous mapping or PNG +buffer. +Clean and reinitialize the context before starting another conversion. +Pointers into either buffer must not be used after cleanup. +.Ss Rendering options +The +.Xr ansilove_init 3 +function initializes the options structure to zero, except for +.Va bits , +which is set to 8. +Renderers may update option fields, including filling in a default column +count and enabling truecolor when ANSI input requests RGB colors. +.Bl -tag -width scale_factor +.It Va diz +Crop ANSI output to the used columns, up to the configured column count. +.It Va dos +Apply DOS aspect ratio correction by vertically resampling the image +by a factor of 1.35. +.It Va icecolors +Enable high-intensity background colors in ANSI and Binary input. +.It Va truecolor +Use a truecolor canvas for ANSI rendering. +RGB color sequences also enable this option automatically. +.It Va columns +Number of character columns for ANSI, Binary, PCBoard, and TundraDraw. +Zero selects 80 columns, except for Binary, which defaults to 160. +Explicit values must be between 1 and 4096. +Other formats derive their dimensions from the input. +.It Va font +Select a built-in font using an +.Dv ANSILOVE_FONT_* +constant from +.In ansilove.h . +Used by ANSI, Binary, PCBoard, and TundraDraw. +Zero selects the standard IBM PC 80x25 font. +.It Va bits +Character cell width, in pixels, for ANSI, Binary, PCBoard, and TundraDraw. +Must be 8 or 9. +.It Va mode +Zero selects normal rendering. +.Dv ANSILOVE_MODE_CED +and +.Dv ANSILOVE_MODE_WORKBENCH +select alternative rendering modes for ANSI input. +CED mode uses black text on a gray background and a width of 78 columns, +unless +.Va diz +is enabled. +Workbench mode uses the Amiga Workbench palette. +.Dv ANSILOVE_MODE_TRANSPARENT +marks color zero as transparent during output processing. +.It Va scale_factor +Integer image scaling factor, applied after DOS aspect ratio correction. +Zero disables scaling; supported factors are 2 through 8. +.El +.Sh SEE ALSO +.Xr ansilove_ansi 3 , +.Xr ansilove_artworx 3 , +.Xr ansilove_binary 3 , +.Xr ansilove_clean 3 , +.Xr ansilove_error 3 , +.Xr ansilove_icedraw 3 , +.Xr ansilove_init 3 , +.Xr ansilove_loadfile 3 , +.Xr ansilove_pcboard 3 , +.Xr ansilove_savefile 3 , +.Xr ansilove_tundra 3 , +.Xr ansilove_xbin 3 .Sh AUTHORS .An -nosplit .Nm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/clean.c new/libansilove-1.4.7/src/clean.c --- old/libansilove-1.4.6/src/clean.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/clean.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * clean.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/config.h new/libansilove-1.4.7/src/config.h --- old/libansilove-1.4.6/src/config.h 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/config.h 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * config.h - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/drawchar.c new/libansilove-1.4.7/src/drawchar.c --- old/libansilove-1.4.6/src/drawchar.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/drawchar.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * drawchar.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/drawchar.h new/libansilove-1.4.7/src/drawchar.h --- old/libansilove-1.4.6/src/drawchar.h 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/drawchar.h 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * drawchar.h - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/error.c new/libansilove-1.4.7/src/error.c --- old/libansilove-1.4.6/src/error.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/error.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * error.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/fonts.c new/libansilove-1.4.7/src/fonts.c --- old/libansilove-1.4.6/src/fonts.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/fonts.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * fonts.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/fonts.h new/libansilove-1.4.7/src/fonts.h --- old/libansilove-1.4.6/src/fonts.h 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/fonts.h 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * fonts.h - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/init.c new/libansilove-1.4.7/src/init.c --- old/libansilove-1.4.6/src/init.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/init.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * init.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/loaders/ansi.c new/libansilove-1.4.7/src/loaders/ansi.c --- old/libansilove-1.4.6/src/loaders/ansi.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/loaders/ansi.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * ansi.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/loaders/artworx.c new/libansilove-1.4.7/src/loaders/artworx.c --- old/libansilove-1.4.6/src/loaders/artworx.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/loaders/artworx.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * artworx.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/loaders/binary.c new/libansilove-1.4.7/src/loaders/binary.c --- old/libansilove-1.4.6/src/loaders/binary.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/loaders/binary.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * binary.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/loaders/icedraw.c new/libansilove-1.4.7/src/loaders/icedraw.c --- old/libansilove-1.4.6/src/loaders/icedraw.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/loaders/icedraw.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * icedraw.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus @@ -106,7 +106,7 @@ /* RLE compressed data */ idf_sequence_length = *cursor; - if (loop + 3 >= ctx->length) { + if (loop + 3 >= ctx->length - IDF_FONT_LENGTH - IDF_PALETTE_LENGTH) { ctx->error = ANSILOVE_FORMAT_ERROR; goto error; } @@ -132,6 +132,11 @@ } } + if (state != STATE_CHARACTER) { + ctx->error = ANSILOVE_FORMAT_ERROR; + goto error; + } + width = x2 * 8; height = i / 2 / x2 * 16; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/loaders/pcboard.c new/libansilove-1.4.7/src/loaders/pcboard.c --- old/libansilove-1.4.6/src/loaders/pcboard.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/loaders/pcboard.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * pcboard.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/loaders/tundra.c new/libansilove-1.4.7/src/loaders/tundra.c --- old/libansilove-1.4.6/src/loaders/tundra.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/loaders/tundra.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * tundra.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus @@ -42,7 +42,7 @@ struct fontStruct fontData; /* libgd image pointers */ - gdImagePtr canvas; + gdImagePtr canvas = NULL; if (ctx == NULL || options == NULL) { if (ctx) @@ -245,6 +245,9 @@ return output(ctx, options, canvas); error: + if (canvas != NULL) + gdImageDestroy(canvas); + ctx->error = ANSILOVE_FORMAT_ERROR; return -1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/loaders/xbin.c new/libansilove-1.4.7/src/loaders/xbin.c --- old/libansilove-1.4.6/src/loaders/xbin.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/loaders/xbin.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * xbin.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/loadfile.c new/libansilove-1.4.7/src/loadfile.c --- old/libansilove-1.4.6/src/loadfile.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/loadfile.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * loadfile.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/output.c new/libansilove-1.4.7/src/output.c --- old/libansilove-1.4.6/src/output.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/output.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * output.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/output.h new/libansilove-1.4.7/src/output.h --- old/libansilove-1.4.6/src/output.h 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/output.h 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * output.h - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libansilove-1.4.6/src/savefile.c new/libansilove-1.4.7/src/savefile.c --- old/libansilove-1.4.6/src/savefile.c 2026-11-16 13:09:38.000000000 +0100 +++ new/libansilove-1.4.7/src/savefile.c 2026-11-25 16:22:14.000000000 +0100 @@ -1,6 +1,6 @@ /* * savefile.c - * libansilove 1.4.6 + * libansilove 1.4.7 * https://www.ansilove.org * * Copyright (c) 2011-2026 Stefan Vogt, Brian Cassidy, and Frederic Cambus
