Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2020-06-21 07:24Release libansilove 1.2.4.Frederic Cambus22+24-24
2020-06-21 07:23Update ChangeLog.Frederic Cambus1+12-0
2020-06-19 21:26Move ADF color mapping array to config.h.Frederic Cambus2+3-3
2020-06-19 21:13Separate RGB values for palettes, makes color allocation code more readable and efficient.Frederic Cambus5+53-28
2020-06-19 20:38Use size_t type for variables used to loop over arrays.Frederic Cambus6+6-10
2020-06-11 19:33Switch link to to HTTPS.Frederic Cambus1+1-1
2020-06-09 14:05Define _GNU_SOURCE in CMakeLists.txt to avoid cluttering source files.Frederic Cambus2+1-4
2020-06-06 06:05Remove unneeded gdImageFill() call when using Workbench mode.Frederic Cambus1+0-2
2020-06-06 05:44Use size_t in for loops setting color palettes.Frederic Cambus4+5-5
2020-05-31 21:50Remove a few useless parentheses.Frederic Cambus1+2-2
2020-05-25 16:47Release libansilove 1.2.3.Frederic Cambus22+24-24
2020-05-25 16:35Update ChangeLog.Frederic Cambus1+9-0
2020-05-25 16:28Remove forgotten TODO, the gdFree() call happens in ansilove_clean().Frederic Cambus1+0-2
2020-05-25 15:06Fix includes in drawchar.{c,h}.Frederic Cambus2+1-2
2020-05-25 15:05Remove unneeded <string.h> include.Frederic Cambus1+0-1
2020-05-20 18:39Remove forgotten TODO item.Frederic Cambus1+0-1
2020-05-20 18:15Add error handling for fwrite() in ansilove_savefile().Frederic Cambus1+6-1
2020-05-20 18:12Refactor error handling in ansilove_savefile().Frederic Cambus1+9-7
2020-05-20 17:01Add missing <string.h> include.Frederic Cambus1+1-0
2020-05-07 14:51Call memset() to set all fontData struct fields to zero in all loaders.Frederic Cambus3+3-0
2020-04-30 11:40Release libansilove 1.2.2.Frederic Cambus22+24-24
2020-04-30 11:37Update ChangeLog.Frederic Cambus1+8-0
2020-04-30 11:28Remove the im_ prefix for all gdImagePtr variables.Frederic Cambus1+22-22
2020-04-30 11:24Refactor the output function, to allow combining DOS aspect ratio and Retina.Frederic Cambus1+24-25
2020-03-17 21:10Reformat authors section and use Markdown syntax for links.Frederic Cambus1+5-1
2020-03-17 21:09Add a list of available operating systems packages.Frederic Cambus1+19-0
2020-03-17 20:29Add dependencies installation instructions for Fedora.Frederic Cambus1+1-0
2020-03-17 20:28Add missing 'build-essential' to Debian / Ubuntu dependencies installation instructions.Frederic Cambus1+1-1
2020-03-17 13:35Release libansilove 1.2.1.Frederic Cambus22+24-24
2020-03-17 12:47Update ChangeLog.Frederic Cambus1+8-1
2020-03-17 12:35Use the ternary operator to simplify character attributes assignments.Frederic Cambus1+5-9
2020-03-17 10:44Remove a few useless parentheses.Frederic Cambus1+4-7
2020-03-03 09:19Call memset() to set all fontData struct fields to zero.Frederic Cambus1+1-0
2020-02-17 11:50Release libansilove 1.2.0.Frederic Cambus22+26-26
2020-02-17 10:44Update ChangeLog.Frederic Cambus1+9-0
2020-02-17 08:21Small tweaks in the THANKS file.Frederic Cambus1+1-1
2020-02-17 08:21Add support for user-specified columns in the PCBoard loader.Frederic Cambus1+5-2
2020-02-14 22:59Stop calculating columnMax in the PCBoard loader, it's unused.Frederic Cambus1+2-7
2020-02-14 21:24Move all manual pages to their own directory.Frederic Cambus14+13-13
2020-02-14 10:22Add initial manual pages for all file formats renders.Frederic Cambus8+308-0
2020-02-14 10:04Linting for the manual pages.Frederic Cambus2+1-2
2020-02-14 09:45Remove TODO.Frederic Cambus1+0-3
2020-02-14 09:45Add install targets for the newly added manual pages.Frederic Cambus1+5-0
2020-02-14 09:44Add initial manual page for ansilove_clean(3).Frederic Cambus1+41-0
2020-02-14 09:25Add initial manual page for ansilove_error(3).Frederic Cambus1+41-0
2020-02-14 09:23Add initial manual page for ansilove_loadfile(3) and ansilove_savefile(3).Frederic Cambus2+82-0
2020-02-14 08:36Remove hardcoded stuff in ansilove_init(3), and add prototype.Frederic Cambus1+4-3
2020-02-13 22:08Use OpenBSD style(9) for main() in the example.Frederic Cambus1+2-1
2020-02-13 22:05Add initial manual page for ansilove_init(3).Frederic Cambus1+41-0
2020-02-13 22:04Correct section number in manual page.Frederic Cambus1+1-1
2020-01-20 15:08Release libansilove 1.1.9.Frederic Cambus22+24-24
2020-01-20 15:05Update ChangeLog.Frederic Cambus1+8-0
2020-01-20 14:49Update TODO: no more rendering bugs for 24-bit ANSI artworks.Frederic Cambus1+0-1
2020-01-20 00:02Small formatting tweaks.Frederic Cambus1+2-4
2020-01-19 23:59Reset background24 to 0 when encountering blink attribute in an SGR sequence.Frederic Cambus1+1-0
2020-01-19 10:50Remove unneeded gdImageColorAllocate calls in the ADF and IDF loaders.Frederic Cambus2+0-3
2020-01-18 22:51Fix libansilove 1.1.8 release date in the ChangeLog.Frederic Cambus1+1-1
2020-01-18 22:48Release libansilove 1.1.8.Frederic Cambus22+24-24
2020-01-18 22:45Update ChangeLog.Frederic Cambus1+10-0
2020-01-18 22:19Use a while loop instead of a for loop, makes the code easier to read.Frederic Cambus1+2-2
2020-01-18 22:17Use IDF_HEADER_LENGTH and IDF_PALETTE_LENGTH instead of magic values.Frederic Cambus1+2-2
2020-01-18 22:12Allow more granularity for the IDF_*_LENGTH macros.Frederic Cambus1+6-4
2020-01-18 22:05Simplify the code around idf_sequence_length.Frederic Cambus1+2-8
2020-01-18 22:01Simplify things a bit regarding columns handling.Frederic Cambus1+3-3
2020-01-17 21:35Bump copyright year to 2020.Frederic Cambus22+23-23
2020-01-17 15:33Do not use background and foreground variables to handle 24-bit colors.Frederic Cambus1+17-4
2020-01-17 14:48Use memcmp() instead of testing each character one by one.Frederic Cambus1+3-4
2020-01-17 14:47Properly reset pcboard buffer when CLS is encountered.Frederic Cambus1+3-0
2019-12-26 14:25Use OpenBSD style(9) for function prototypes and declarations.Frederic Cambus3+5-5
2019-12-19 16:22Release libansilove 1.1.7.Frederic Cambus22+24-24
2019-12-19 16:14Update ChangeLog.Frederic Cambus1+7-0
2019-12-19 16:02Only export symbols which are part of the public API.Frederic Cambus2+16-13
2019-12-19 14:45Small formatting tweak in CMakeLists.txt.Frederic Cambus1+3-2
2019-12-19 14:43Rename the alSelectFont() function to select_font().Frederic Cambus6+6-6
2019-11-18 09:15Release libansilove 1.1.6.Frederic Cambus21+23-23
2019-11-18 09:14Update ChangeLog.Frederic Cambus1+10-0
2019-11-18 08:41Add another format validation check (palette size) in the XBin loader.Frederic Cambus1+5-0
2019-11-17 22:32Use XBIN_HEADER_LENGTH and XBIN_PALETTE_LENGTH macros instead of magic numbers.Frederic Cambus1+2-2
2019-11-17 22:31Introduce a XBIN_PALETTE_LENGTH macro.Frederic Cambus1+1-0
2019-11-17 22:04Use CMAKE_INSTALL_{LIB,INCLUDE}DIR instead of hardcoding directories.Frederic Cambus1+2-2
2019-10-26 17:57Do not attempt to build on macOS, dependencies are not installed (Travis CI).Frederic Cambus1+0-2
2019-10-15 18:07Add arm64 arch and a build matrix to also build on macOS (Travis CI).Frederic Cambus1+13-0
2019-10-15 18:05Switch 'branch_pattern' to 'coverity_scan' to avoid triggering analysis for each commit (Travis CI).Frederic Cambus1+1-1
2019-10-14 10:03Release libansilove 1.1.5.Frederic Cambus21+23-23
2019-10-14 10:01Update ChangeLog.Frederic Cambus1+9-0
2019-10-04 07:56Use type size_t for loop and structIndex variables.Frederic Cambus2+2-6
2019-10-04 07:43No need to use another intermediate variable, we can use structIndex.Frederic Cambus2+2-7
2019-10-04 07:42Add extern declaration for fonts data arrays.Frederic Cambus1+24-24
2019-10-03 20:26Group gdImageDestroy() calls, makes code easier to read.Frederic Cambus1+5-4
2019-10-03 20:23Also allow setting transparent background for retina images.Frederic Cambus1+4-0
2019-10-03 20:23Move background transparency operations in the output function.Frederic Cambus2+3-8
2019-09-13 07:48Release libansilove 1.1.4.Frederic Cambus21+23-23
2019-09-13 07:45Update ChangeLog.Frederic Cambus1+7-0
2019-09-13 07:02Return ANSILOVE_FORMAT_ERROR if xbin_fontsize > 32.Frederic Cambus1+5-0
2019-09-13 06:57Force xbin_fontsize to 16 when using default 80x25 font.Frederic Cambus1+1-0
2019-08-23 07:51Release libansilove 1.1.3.Frederic Cambus20+22-22
2019-08-23 07:49Update ChangeLog.Frederic Cambus1+12-0
2019-08-22 20:02Infer font height to 16, the default in absence of font data.Andrew Herbert1+4-0
2019-06-07 13:24Also remove superfluous background color allocation in the XBin loader.Frederic Cambus1+0-3
2019-06-07 13:21Fix minor style issue.Frederic Cambus1+1-3
2019-06-07 13:20Modify the PCBoard loader to use a cursor pointer to parse input.Frederic Cambus1+7-8
2019-06-07 12:56Remove superfluous background color allocations in the Binary and PCBoard loaders.Frederic Cambus2+0-7
2019-06-07 12:44Remove innacurate comment, we do process PabloDraw 24-bit ANSI sequences.Frederic Cambus1+1-1
2019-06-07 12:43Use a switch statement to set 24-bit background and foreground values.Frederic Cambus1+8-5
2019-05-09 14:50Omit implicit return in the example program.Frederic Cambus1+0-2
2019-04-30 19:27Release libansilove 1.1.2.Frederic Cambus22+32-23
2019-04-30 15:24Perform format validation checks before allocating memory, avoids leaking memory in case we error out.Frederic Cambus1+5-5
2019-04-30 07:15More format validation checks for the XBin loader.Frederic Cambus1+10-4
2019-04-29 09:10Rename the 'binary_palette' array to 'vga_palette'.Frederic Cambus3+5-6
2019-04-29 07:20Use 'xbin_fontsize' for character height instead of an hardcoded value.Frederic Cambus1+3-3
2019-03-26 09:14Add a comment showing how to generate the token for Coverity, and update version (Travis CI).Frederic Cambus1+2-1
2019-03-25 08:15Add Coverity Scan back to the pipeline, it's back up (Travis CI).Frederic Cambus1+16-0
2019-02-11 09:04Release libansilove 1.1.1.Frederic Cambus22+24-24
2019-02-11 08:59Some more realloc love in the IDF loader.Frederic Cambus1+4-3
2019-02-09 08:37Update ChangeLog prior to 1.1.1 release.Frederic Cambus1+10-0
2019-02-08 20:21Remove now inaccurate comment.Frederic Cambus1+0-1
2019-02-08 20:17Remove useless parentheses, perform style nitpicks.Frederic Cambus1+2-2
2019-02-08 13:09Also call gdImageDestroy() when generating Retina or DOS aspect ratio output.Frederic Cambus1+2-0
2019-02-08 13:08Merge pull request #5 from andrewmichaelson/masterFrederic Cambus1+1-0
2019-01-22 11:24Use the correct idiom for realloc in the IDF loader as well.Frederic Cambus1+5-4
2019-01-22 11:17Use the correct idiom for realloc, to avoid leaking memory if allocation fails.Frederic Cambus2+10-8
2019-01-16 14:43Remove Coverity Scan from the pipeline, it's down (Travis CI).Frederic Cambus1+0-16
2019-01-15 15:34Add install target for man page.Frederic Cambus1+1-0
2019-01-15 13:38Release libansilove 1.1.0.Frederic Cambus22+27-25
2019-01-15 12:40Update ChangeLog and TODO.Frederic Cambus2+3-1
2019-01-15 12:39Bump copyright year to 2019.Frederic Cambus21+22-22
2019-01-12 14:19Remove Coverity badge, it's down again.Frederic Cambus1+1-3
2019-01-12 09:12Small README improvements for the compiling and installation sections.Frederic Cambus2+6-4
2018-12-31 10:15Document the ansilove_ctx and ansilove_options structuresFrederic Cambus1+32-0
2018-12-31 08:07Add initial man page for libansiloveFrederic Cambus1+49-0
2018-12-31 08:04Update ChangeLog and fix typo in READMEFrederic Cambus2+4-1
2018-12-12 22:54Increment ansi_buffer by more than one element at a time when using reallocFrederic Cambus2+14-11
2018-12-12 18:26Update TODOFrederic Cambus1+0-4
2018-12-12 18:26Various formatting fixesFrederic Cambus2+4-7
2018-12-12 17:18Wrap lines longer than 80 columnsFrederic Cambus5+30-15
2018-12-12 14:04Add format validation checks for the XBin loaderFrederic Cambus2+7-2
2018-12-12 13:44Update ChangeLogFrederic Cambus1+15-0
2018-11-25 16:39Move the include guards to the top of header filesFrederic Cambus3+9-9
2018-11-22 13:09Avoid using seqValue uninitializedFrederic Cambus1+13-12
2018-11-22 12:36Always check that seqTok is not NULL before using it (Fixes #4)Frederic Cambus1+5-4
2018-11-18 11:29Use 'X' instead of integer value for the start of SGR sequencesFrederic Cambus1+1-1
2018-11-18 11:28Formatting fixes for functionsFrederic Cambus14+32-15
2018-11-17 22:21Use macros instead of hardcoded values in the Tundra loaderFrederic Cambus1+4-2
2018-11-17 22:11Wrap lines longer than 80 columnsFrederic Cambus24+8037-6016
2018-11-17 20:28Split fonts data to have one include file per fontFrederic Cambus26+6089-6087
2018-11-16 13:42Check for the TUNDRA24 string in TND files headerFrederic Cambus2+4-3
2018-11-16 11:08Unmap ctx->buffer on cleanup. From Joris Vink, thanks!Frederic Cambus2+11-0
2018-11-16 11:03Introduce a maplen variable to allow tracking mmap size, as we can't rely on the length variable because of SAUCEFrederic Cambus2+3-2
2018-11-16 10:18No need for buffer pointers to be const, they're passed to functions taking non consts. From Joris Vink, thanks!Frederic Cambus1+2-2
2018-11-16 10:16Only call gdFree() if the PNG buffer was allocated. From Joris Vink, thanks!Frederic Cambus1+2-1
2018-11-16 08:06libansilove 1.0.0 releaseFrederic Cambus1+1-1
2018-11-16 07:55Formatting fixes for ansilove.hFrederic Cambus1+12-12
2018-11-16 07:55Add ANSILOVE_VERSION_{MAJOR|MINOR|PATCH} macrosFrederic Cambus1+5-0
2018-11-15 22:16Update TODOFrederic Cambus1+2-0
2018-11-15 22:11Stop using uint32_t everywhere, start using more appropriate typesFrederic Cambus3+8-8
2018-11-15 14:46Fix regression in the ANSI parserFrederic Cambus1+1-1
2018-11-15 11:36Add dummy ChangeLog, 1.0.0 is coming soonFrederic Cambus1+3-0
2018-11-15 11:35Use uint8_t instead of unsigned char everywhereFrederic Cambus9+64-64
2018-11-15 10:50Remove next_character variable, it's now unusedFrederic Cambus1+1-2
2018-11-15 10:46Add some checks in the ansi sequence parser to avoid out of bound readsFrederic Cambus1+4-2
2018-11-15 10:40Define and use the ESC macro for escapeFrederic Cambus1+2-1
2018-11-15 10:36Reorder CR and LF to follow ascii values orderingFrederic Cambus2+4-4
2018-11-15 10:35Actually use macro values for charactersFrederic Cambus1+4-4
2018-11-15 10:25Refactor ANSI parser to use a switch statementFrederic Cambus1+212-219
2018-11-15 10:24Add some macros to define CR, LF, TAB, and SUB charactersFrederic Cambus1+5-0
2018-11-03 20:19Use '@' instead of integer value for the start of PCB sequencesFrederic Cambus1+1-1
2018-11-03 20:01Refactor PCBoard format parsing using a switch caseFrederic Cambus1+42-45
2018-11-03 20:00Add some macros to define CR, LF, TAB, and SUB charactersFrederic Cambus1+5-0
2018-11-02 17:52Add error handling for realloc, and get rid of tempFrederic Cambus1+8-3
2018-11-01 09:17Free seqGrab instead of setting it to NULLFrederic Cambus1+1-2
2018-11-01 09:02Add Coverity badge to the READMEFrederic Cambus1+5-1
2018-11-01 08:51Stop abusing C++ style comments, and remove useless commentsFrederic Cambus14+77-97
2018-11-01 07:12Modify the strtok while loop for SGR sequences to avoid leaking memoryFrederic Cambus1+3-2
2018-11-01 07:11Initialize seqGrab and seqTok to NULLFrederic Cambus1+2-2
2018-10-31 22:01The colors[] array is not initialized if we use CED mode, so don't attempt to read from itFrederic Cambus1+6-6
2018-10-31 21:49Don't attempt to call close() if open() failedFrederic Cambus1+0-1
2018-10-31 21:43Do proper cleanup on error path in the XBin loaderFrederic Cambus1+4-1
2018-10-31 21:36Stop abusing C++ style commentsFrederic Cambus1+61-60
2018-10-31 21:21Better error handling for realloc, and get rid of temp in the IDF loaderFrederic Cambus1+7-9
2018-10-31 21:18Add error handling for realloc, and get rid of tempFrederic Cambus1+8-3
2018-10-31 21:01Free the IDF buffer if realloc failsFrederic Cambus1+2-0
2018-10-31 20:48Separate assignement and test for the file descriptorFrederic Cambus1+3-1
2018-10-31 20:45Free the ANSI and PCBoard buffers on error pathsFrederic Cambus2+8-2
2018-10-31 20:38Free the IDF buffer on error pathsFrederic Cambus1+4-1
2018-10-28 14:58Harmonize and uppercase #include guardsFrederic Cambus5+15-15
2018-10-28 14:43Stop abusing C++ style comments in files headerFrederic Cambus20+220-200
2018-10-27 11:39Change "AnsiLove/C" to "libansilove" in header filesFrederic Cambus19+19-19
2018-10-27 11:23Remove unnecessary dots in paths, we can now include headers directlyFrederic Cambus15+45-44
2018-10-27 11:18Change include_directories to add "include" and "src" directoriesFrederic Cambus1+2-2
2018-10-26 17:09Call ansilove_clean() to clean on exit in the exampleFrederic Cambus1+2-0
2018-10-26 17:06Fix some style issuesFrederic Cambus6+165-165
2018-10-26 16:54Fix build on Linux, sighFrederic Cambus1+2-1
2018-10-26 16:41Update TODOFrederic Cambus1+0-2
2018-10-26 16:35Fix some filenames in headersFrederic Cambus2+2-2
2018-10-26 16:34Remove src/ansilove.h, it's now unusedFrederic Cambus1+0-32
2018-10-26 16:33Run include-what-you-use to remove unnecessary headersFrederic Cambus18+82-32
2018-10-26 15:57Add an ansilove_clean() function to free PNG dataFrederic Cambus3+29-1
2018-10-25 20:18Reformat error codesFrederic Cambus1+7-6
2018-10-25 20:17Add ANSILOVE_FILE_READ_ERROR and ANSILOVE_FILE_WRITE_ERROR to return more granular errorsFrederic Cambus4+12-8
2018-10-25 10:37Add missing free() calls in the ansi loaderFrederic Cambus1+2-0
2018-10-25 08:00Update token for Coverity (Travis CI)Frederic Cambus1+1-1
2018-10-25 07:36Attempt to hook Coverity scan again (Travis CI)Frederic Cambus1+15-0
2018-10-24 20:19Add comments, reorder, and change some types in structuresFrederic Cambus1+7-7
2018-10-24 19:41Rename the retinaScaleFactor struct member to scale_factorFrederic Cambus2+5-5
2018-10-24 17:10Add format validation check for the Tundra loaderFrederic Cambus1+5-0
2018-10-24 17:09Introduce and use TUNDRA_HEADER_LENGTH macroFrederic Cambus1+4-2
2018-10-24 17:06Add error checking for the output functionFrederic Cambus8+11-15
2018-10-24 16:53Return an error if gdImageCreate() or gdImageCreateTrueColor() failFrederic Cambus1+10-0
2018-10-24 13:34Add format validation checks for ADF and IDF loadersFrederic Cambus2+10-0
2018-10-24 13:18Update TODOFrederic Cambus1+0-2
2018-10-24 13:18Reformat the Tundra loader to wrap lines longer than 80 columnsFrederic Cambus1+36-24
2018-10-24 12:58Set LIB_VERSION_MAJOR to 1 in CMakeLists.txt, we are approaching releaseFrederic Cambus1+1-1
2018-10-24 12:52Create DOS aspect ratio in a single pass, this makes things faster, uses less RAM, and output is similarFrederic Cambus1+4-13
2018-10-22 20:14Store characters as unsigned char in the ansiChar and pcbChar structuresFrederic Cambus2+8-8
2018-10-22 20:12Stop storing bold attribute in the ansiChar structure, it's not used thereFrederic Cambus1+0-3
2018-10-22 20:11Do not process or store attributes for italics and underline as we do not use those attributes for rendering charactersFrederic Cambus1+1-15
2018-10-21 16:24Add a check for negative rows for the cursor up sequenceFrederic Cambus1+3-0
2018-10-21 16:19Switch back to using int32_t for columns and rows variables, using uint32_t complicated things and introduced bugsFrederic Cambus4+15-13
2018-10-19 12:09Remove unnecessary include in exampleFrederic Cambus1+0-1
2018-10-19 12:08Add an ansilove_error() function to return an error stringFrederic Cambus3+44-2
2018-10-19 11:49Add a ANSILOVE_VERSION macroFrederic Cambus1+2-0
2018-10-19 10:13Return error codes in ansilove_loadfile() and ansilove_savefile()Frederic Cambus2+4-4
2018-10-19 10:13Add a new ANSILOVE_FILE_ERROR error macroFrederic Cambus1+2-1
2018-10-18 15:03Update TODOFrederic Cambus1+1-1
2018-10-18 14:57Check that ctx and options aren't NULL in the loadersFrederic Cambus7+49-0
2018-10-18 14:47Add error handling for ansilove_init(), ansilove_loadfile() and ansilove_savefile()Frederic Cambus3+20-0
2018-10-18 14:46Change return type of ansilove_init() to intFrederic Cambus2+4-2
2018-10-18 13:32Add an example showing how to use the libraryFrederic Cambus3+37-0
2018-10-18 13:31Make buffers const in the ansilove_ctx and ansilove_png structuresFrederic Cambus1+2-2
2018-10-18 12:04Use new ANSILOVE_FONT macros to process options->font valueFrederic Cambus2+133-142
2018-10-18 12:02We memset the structure to 0 so this is not required anymoreFrederic Cambus1+0-3
2018-10-18 12:02In the ansilove_options structure, font is now an integerFrederic Cambus1+1-1
2018-10-18 12:02Update comments for the font selection macrosFrederic Cambus1+2-2
2018-10-18 09:48Update TODOFrederic Cambus1+6-0
2018-10-18 09:08Use new ANSILOVE_MODE macros to process options->mode valueFrederic Cambus1+10-6
2018-10-18 09:07In the ansilove_options structure, mode is now an integerFrederic Cambus1+1-1
2018-10-18 08:54Add macro definitions for rendering modesFrederic Cambus1+5-0
2018-10-18 08:49Add macros which will be used to revamp the font selection functionFrederic Cambus1+28-0
2018-10-18 08:22Prefix the error macros with ANSILOVE_Frederic Cambus8+16-16
2018-10-15 11:08Check that loop < ctx->length instead, to avoid out of bound readsFrederic Cambus1+13-9
2018-10-15 11:06Remove the check forcing binary files to have an even size, as SAUCE can provide wrong infosFrederic Cambus1+0-6
2018-10-08 20:41Modify the previously added check to silence compiler warningsFrederic Cambus1+1-1
2018-10-08 20:33Since column is now uint32_t, remove always false check and add check for integer underflowFrederic Cambus1+4-4
2018-10-08 20:17Add missing header, fixes build on Linux with GCCFrederic Cambus1+1-0
2018-10-04 08:34Update TODOFrederic Cambus1+1-0
2018-10-04 08:33Introduce and use ADF_HEADER_LENGTH and IDF_HEADER_LENGTH macrosFrederic Cambus2+8-4
2018-10-04 08:20Use unsigned types everywhere possibleFrederic Cambus5+26-26
2018-10-04 08:09Use UCHAR_MAX as maxval in strtonum() for 24-bit ANSI sequencesFrederic Cambus1+4-4
2018-10-04 07:48Remove some now unused options struct membersFrederic Cambus1+0-2
2018-10-03 11:41Update TODOFrederic Cambus1+1-0
2018-10-03 11:04Add initial support for PabloDraw 24-bit ANSI sequences, there are still some bugsFrederic Cambus1+35-2
2018-10-03 10:52Add new options structure member for truecolor ANSI colorsFrederic Cambus1+1-0
2018-10-03 10:51Remove some debug ouputFrederic Cambus1+0-3
2018-09-28 21:24Add initial documentationFrederic Cambus1+57-0
2018-09-28 20:46Merge pull request #3 from Kirkman/masterFrederic Cambus1+10-3
2018-09-26 16:55Modify the output function to allow creating output using DOS aspect ratio. Thanks to Nail/Fire for the suggestions and tips!Frederic Cambus1+23-1
2018-09-26 16:52Modify the output function to take ansilove_options struct as parameterFrederic Cambus9+12-12
2018-09-26 16:45Add new options structure member for toggling DOS aspect ratioFrederic Cambus1+1-0
2018-09-26 10:32Check if iCE colors are enabled before incrementing background color in blink modeFrederic Cambus1+1-1
2018-09-26 09:18Fix includes to not use header which might not be installed yetFrederic Cambus2+1-2
2018-09-26 08:53Allow to specify the number of columns for the ANSI renderer as wellFrederic Cambus1+8-5
2018-09-26 08:47Use uint32_t everywhere in the ANSI loaderFrederic Cambus1+18-18
2018-09-26 08:34Merge pull request #1 from jan2642/masterFrederic Cambus1+16-3
2018-09-26 08:32Set default value for columns in the binary loaderFrederic Cambus1+3-0
2018-09-26 08:31Do not set default value for columns in ansilove_init(), this needs to be moved to the loadersFrederic Cambus1+0-3
2018-09-11 21:24Fix indentation in ansilove_loadfile()Frederic Cambus1+26-26
2018-09-11 21:20Modify all loaders to use the new output functionFrederic Cambus7+7-7
2018-09-11 21:18Add ansilove_savefile() function to output PNG data to a fileFrederic Cambus3+35-1
2018-09-11 21:14Modify output function to create a pointer to a memory area with PNG dataFrederic Cambus2+11-25
2018-09-11 21:11Move ansilove_png struct declaration up, and change type of length to intFrederic Cambus1+5-4
2018-09-11 19:33Add ansilove_png structureFrederic Cambus1+5-0
2018-09-11 19:22Introduce the ANSI_SEQUENCE_MAX_LENGTH macro, instead of harcoding the valueFrederic Cambus1+3-1
2018-07-29 20:12Use UINT32_MAX for strtonum() maxvalFrederic Cambus1+9-9
2018-07-17 11:54Do not leak file descriptors on error pathsFrederic Cambus1+3-0
2018-07-17 11:46Zero out both structs in ansilove_init() before filling default valuesFrederic Cambus1+3-0
2018-07-16 18:07Add the two new functions in CMakeLists.txtFrederic Cambus1+1-1
2018-07-16 18:07Add an ansilove_loadfile() function to load a file from diskFrederic Cambus2+50-0
2018-07-16 18:06Add an ansilove_init() function to set default context valuesFrederic Cambus2+25-0
2018-07-15 21:35Use const for font dataFrederic Cambus2+50-50
2018-07-15 20:54Unhook Coverity scans for now, auth fails (Travis CI)Frederic Cambus1+0-15
2018-07-15 20:50Get rid of explode, we now use standard C functions to parse ANSI sequencesFrederic Cambus5+1-70
2018-07-15 20:48Use strtok instead of the explode function to get CUP attributesFrederic Cambus1+25-16
2018-07-15 18:20Add error handling for gdImageCreate in the PCBoard loaderFrederic Cambus1+5-0
2018-07-04 09:58Update token and library version for Coverity (Travis CI)Frederic Cambus1+2-2
2018-07-04 09:43Hook Coverity Scan to the buildFrederic Cambus1+16-0
2018-07-04 09:33Fix headers for drawchar()Frederic Cambus2+1-2
2018-07-04 09:28Add missing script directive (Travis CI)Frederic Cambus1+2-0
2018-07-04 09:25Update TODOFrederic Cambus1+0-3
2018-07-04 09:21Initial Travis CI configuration fileFrederic Cambus1+9-0
2018-07-04 09:10Rename the output struct to ansilove_options, and its consumers as wellFrederic Cambus8+43-43
2018-07-04 09:04Do not print anything and return error codes insteadFrederic Cambus1+4-4
2018-07-04 09:04Change return value of the ouput function to int, for error handlingFrederic Cambus2+2-2
2018-07-04 08:51Save error codes in the ansilove_ctx contextFrederic Cambus6+12-12
2018-07-04 08:51Define some error codesFrederic Cambus1+5-0
2018-07-04 08:42Add an error member to the ansilove_ctx structFrederic Cambus1+1-0
2018-07-04 08:41Rename the input struct to ansilove_ctx, and its consumers as wellFrederic Cambus8+110-110
2018-07-04 07:55Use uint32_t everywhere in drawchar()Frederic Cambus2+7-7
2018-07-04 06:58Rework DIZ files handling, there is now a diz bool in the output structureFrederic Cambus2+2-7
2018-07-02 19:28Use strtok instead of the explode function to get SGR attributesFrederic Cambus1+6-9
2018-07-02 18:58Simplify the preprocessing pass in the Tundra loaderFrederic Cambus1+4-10
2018-07-02 18:53Use the switch statement to test for Tundra control codesFrederic Cambus1+21-17
2018-07-02 17:22Add some macros instead of having magic values everywhereFrederic Cambus1+16-9
2018-07-02 16:36Formatting fixes, try to use 1TBS everywhereFrederic Cambus9+79-160
2018-07-02 16:17We do not need the tundra_header array, we can use strndup on the buffer directlyFrederic Cambus1+0-2
2018-07-02 16:03Remove strtolower(), it's unused in the libraryFrederic Cambus3+1-46
2018-07-02 09:52Rename some fields in the input structFrederic Cambus8+101-101
2018-07-02 09:46Move columns field to the output structFrederic Cambus2+4-4
2018-07-02 09:43Remove now useless stdio headersFrederic Cambus7+2-8
2018-07-02 09:42Remove pledge stuff, the library is not using pledgeFrederic Cambus1+1-2
2018-07-02 08:42Prefix all loaders with ansilove_, for namespacingFrederic Cambus8+14-14
2018-06-29 22:13All loaders now return -1 in case of failureFrederic Cambus6+12-12
2018-06-29 22:06Change return value of the loaders to int, for error handlingFrederic Cambus8+28-14
2018-06-29 21:53Simplify font data handling in the IceDraw loaderFrederic Cambus1+1-15
2018-06-29 21:48Simplify font data handling in the Artwork loaderFrederic Cambus1+1-17
2018-06-29 19:52The columns value from the input struct should only be used in the binary loaderFrederic Cambus2+2-2
2018-06-29 19:12Add code to skip PabloDraw 24-bit ANSI sequencesFrederic Cambus1+7-0
2018-06-29 19:09Increment maximum ansi sequences lengthFrederic Cambus1+1-1
2018-06-29 19:05Fix an off by one allocationFrederic Cambus1+1-1
2018-06-29 19:03From the C99 standard, sizeof(unsigned char) is always 1Frederic Cambus3+5-5
2018-06-29 18:50Unbreak Tundra and XBin loadersFrederic Cambus2+8-4
2018-06-29 18:48Harmonize copyright symbolsFrederic Cambus21+21-21
2018-06-19 09:28Do not use -Werror by defaultFrederic Cambus1+1-1
2018-06-14 21:00Remove useless bracesFrederic Cambus6+4-48
2018-06-14 20:33Remove unused macroFrederic Cambus1+0-3
2018-06-14 20:32First pass of fixing some OpenBSD's style(9) offensesFrederic Cambus10+42-43
2018-06-14 20:22Minimize includes in drawchar.cFrederic Cambus1+1-1
2018-04-09 20:36Formatting fixesFrederic Cambus9+41-41
2018-04-09 17:53Assign value at declarationFrederic Cambus1+1-2
2018-03-16 14:49Add version informationFrederic Cambus1+1-1
2018-03-16 14:49Bump copyright yearFrederic Cambus21+21-21
2018-01-22 20:34Formatting fixesFrederic Cambus2+13-13
2018-01-22 20:25Use input and output structures to pass parameters to the loadersFrederic Cambus9+184-163
2017-12-25 23:44Add an ansilove.h header with prototypes for all loadersFrederic Cambus2+24-0
2017-12-25 23:44Remove separate headers for each loaderFrederic Cambus14+28-165
2017-12-25 23:41Move drawchar() to its own fileFrederic Cambus4+27-6
2017-12-25 23:40Add .gitignoreFrederic Cambus1+13-0
2017-12-25 22:27Initial commitFrederic Cambus32+8326-0