./graphics/libansilove, Library for converting ANSI, ASCII, and other formats to PNG

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.8, Package name: libansilove-1.2.8, Maintainer: fcambus

Library for converting ANSI, ASCII, and other formats to PNG, allowing
to render ANSI and artscene-related file formats into PNG images, and
supporting ANSI (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF),
iCE Draw (.IDF), Tundra (.TND) and XBin (.XB) formats.

It creates size optimized 4-bit PNG files and supports SAUCE (Standard
Architecture for Universal Comment Extentions), 80x25 and 80x50 PC fonts
(including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors.


Required to run:
[graphics/gd]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 54532e1c741d4b828f5a7f7e6bf3140ca35b45b1
RMD160: 8a6a7371e2b43d27ac515f9997aabd1a4cf9fe94
Filesize: 58.296 KB

Version history: (Expand)


CVS history: (Expand)


   2020-10-28 00:05:01 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
libansilove: update to 1.2.8.

libansilove 1.2.8 (2020-10-25)

- Add LibFuzzer-based fuzzers for each supported format
- Do not hardcode CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt
- Only enable FORTIFY_SOURCE level 2 for release builds
- Add #ifdef __cplusplus extern "C" to allow calling library functions \ 
from C++
- Constify input and output arguments of ansilove_loadfile() and
  ansilove_savefile()
   2020-10-22 22:52:16 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
libansilove: update to 1.2.7.

libansilove 1.2.7 (2020-10-21)

- Error out early with ANSILOVE_FORMAT_ERROR in case ctx->length is 0
- Enable FORTIFY_SOURCE level 2
- Set CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt
- Move variables declaration to the top of each loader function
- Initialize ansi_buffer and pcboard_buffer to NULL
- Refactor the IceDraw loader to use a state machine
- Check strndup() return value and error out on failed allocations
- Add some file format integrity checks in the IceDraw loader
- Add range integrity checks for scale_factor values in the output() function
- Return error code directly if ctx->length is 0 in the ANSI and PCBoard loaders
- Add range integrity checks for columns value in relevant loaders
- Add range integrity checks for bits value in relevant loaders
- Add additional file format integrity check in the XBin loader
   2020-10-01 11:35:13 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
libansilove: update to 1.2.6.

libansilove 1.2.6 (2020-09-30)

- Introduce canvas' width/height variables and refactor canvas creation
- Refactor calls to drawchar() in the ANSI loader
- Refactor the ANSI loader to use a state machine
- Remove systematic filtering of Form Feed characters in Amiga mode
- Correct values for TUNDRA_COLOR_FOREGROUND and TUNDRA_COLOR_BACKGROUND
- Switch to using reallocarray(3) in the ANSI and PCBoard loaders
- Add a compat layer for systems which do not have reallocarray(3)
- Refactor canvas allocation for retina output
- Introduce the ANSILOVE_RANGE_ERROR macro, for values out of allowed range
- Error gracefully if canvas' width or height is equal to zero
- Remove an useless comparison in drawchar()
- Add some file format integrity checks in the Tundra loader
- Refactor error handling in several loaders
   2020-09-24 11:40:19 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
libansilove: update to 1.2.5.

libansilove 1.2.5 (2020-09-24)

- Add missing parentheses in an if statement in output()
- Define CR, LF, TAB, SUB, and ESC macros only once
- Refactor error handling in the PCBoard loader
- Stop parsing for PCBoard cursor position sequences
- Add bound checks for {back,fore}ground color values in the PCBoard loader
- Fix default background and foreground colors in the PCBoard loader
- Refactor the PCBoard loader to use a state machine
- Refactor the Binary loader to use a state machine
- Refactor the Artworx loader to use a state machine
- Add some file format integrity checks in the XBin loader
   2020-08-17 22:20:41 by Leonardo Taccari | Files touched by this commit (2202)
Log message:
*: revbump after fontconfig bl3 changes (libuuid removal)
   2020-06-21 10:01:25 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
libansilove: update to 1.2.4.

libansilove 1.2.4 (2020-06-21)

- Use size_t in for loops setting color palettes
- Remove unneeded gdImageFill() call when using Workbench mode
- Define _GNU_SOURCE in CMakeLists.txt to avoid cluttering source files
- Use size_t type for variables used to loop over arrays
- Separate RGB values for palettes, makes color allocation code more
  readable and efficient
- Move ADF color mapping array to config.h
   2020-05-25 19:09:09 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
libansilove: update to 1.2.3.

ChangeLog:

libansilove 1.2.3 (2020-05-25)

- Call memset() to set all fontData struct fields to zero in all loaders
- Refactor error handling in ansilove_savefile()
- Add error handling for fwrite() in ansilove_savefile()
- Fix includes in various source files
   2020-05-01 11:31:45 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
libansilove: update to 1.2.2.

ChangeLog:

libansilove 1.2.2 (2020-04-30)

- Refactor the output function, to allow combining DOS aspect ratio and Retina
- Remove the im_ prefix for all gdImagePtr variables
- Various README changes and improvements