2020-01-12 Hayaki Saito * converters/Makefile.am, converters/Makefile.in, src/loader.c: More tweaks for vpath build 2020-01-11 Hayaki Saito * Makefile.am, Makefile.in, configure.ac, converters/Makefile.am, converters/Makefile.in, python/libsixel/__init__.py, src/Makefile.am, src/Makefile.in: Additional fixes for VPATH build(#56) * python/libsixel/__init__.py: Fix broken python interface 2020-01-09 Hayaki Saito * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Initial support for VPATH build(#56) 2020-01-03 Hayaki Saito * NEWS: Update NEWS * ChangeLog: Update ChangeLog * include/sixel.h.in, python/libsixel/__init__.py: Update python interface 2020-01-01 Hayaki Saito * .travis.yml: travis: drop "--with-gdk-pixbuf2" build on osx * src/frame.c, src/fromsixel.c: Prevent an integer overflow problem(#127) 2019-12-30 Hayaki Saito * src/stb_image.h: Fix for CVE-2019-20056, assertion failure problem(#126). Thanks to @sleicasper 2020-01-01 Hayaki Saito * config.h.in, configure, configure.ac, src/allocator.c, src/chunk.c, src/decoder.c, src/dither.c, src/encoder.c, src/frame.c, src/fromgif.c, src/frompnm.c, src/fromsixel.c, src/loader.c, src/malloc_stub.c, src/output.c, src/pixelformat.c, src/quant.c, src/scale.c, src/status.c, src/tests.c, src/tosixel.c, src/tty.c, src/writer.c: Build fixes 2019-12-31 Hayaki Saito * Makefile.in, config.h.in, configure, configure.ac, src/chunk.c, src/decoder.c, src/fromsixel.c, src/malloc_stub.c, src/pixelformat.c, src/status.c, src/stb_image.h, src/tests.c, src/tosixel.c, src/tty.c: Minor update of configure checks 2019-12-29 Hayaki Saito * include/sixel.h.in, src/frompnm.c, src/writer.c: Add some input param checks to sixel_helper_write_image_file() * src/tosixel.c: Add some input param checks to sixel_encode() * ChangeLog: Update Changelog 2019-12-28 Hayaki Saito * src/encoder.c, src/loader.c, src/output.c, src/pixelformat.c: Strip trailing spaces * configure, configure.ac, package.json: Bump version * ChangeLog, Makefile.in: Update ChangeLog 2019-12-27 Hayaki Saito * Makefile.in, config.h.in, configure, configure.ac, src/loader.c: Avoid illegal longjump() call (#124) * Makefile.in, configure, configure.ac: Strip unnecessary CFLAGS options 2019-12-25 Hayaki Saito * src/fromgif.c: GIF loader: avoid segfault caused by an integer overflow problem(#125, reported by @cuanduo). * src/loader.c: Image loader: normalize requested colors to prevent integer overflow 2019-12-23 Hayaki Saito * include/sixel.h.in, src/allocator.c: Introduce SIXEL_ALLOCATE_BYTES_MAX macro and limit allocation size to 128MB(#74) * config.h.in, configure, configure.ac, src/loader.c: Make stb_image errors more detailed * src/fromgif.c: Minor fixes in load_gif(). * src/fromgif.c: GIF loader: check bad image separator, ensure left/top offset of image don't reach image margins (#122) * include/sixel.h.in, src/fromgif.c: GIF loader: set default gif delay * src/fromgif.c: GIF loader: skip unknown extension block * src/fromgif.c: Avoid a buffer overflow problem on reading graphic control extension block * Makefile.in, converters/Makefile.am, converters/Makefile.in, src/fromgif.c: GIF loader: consider frame-local color table for deciding the number of output colors * src/fromgif.c: Strip first flag check in LZW compression function for issue #118 2019-12-21 Hayaki Saito * src/stb_image.h: Fix memory leak in STBI PSD loader 2019-12-20 Hayaki Saito * src/fromsixel.c: Fix memory leak problem in fromsixel.c (#120) 2019-12-21 Hayaki Saito * Makefile.am: Fix coveralls optoins * src/dither.c: Fix broken unittest 2019-12-19 Hayaki Saito * NEWS: Update NEWS * ChangeLog: Update ChangeLog * src/fromsixel.c: sixel decoder: extend image width and height separately 2019-12-18 Hayaki Saito * Makefile.in, configure, configure.ac, package.json: Bump the package version * ChangeLog: Update ChangeLog * src/fromsixel.c: Suppress gcc -Wsign-conversion warnings * README.md: Update README * src/stb_image.h: Raise an error instead of assert() when wrong color mask is detected (#89) * src/fromsixel.c: Prevent integer overflow reported in #118, thanks to @SuhwanSong 2019-12-17 Hayaki Saito * src/fromsixel.c: Fix typo * converters/sixel2png.c: sixel2png: fix misssing error handling * src/tosixel.c: Add additional error message for SIXEL_BAD_INTEGER_OVERFLOW * src/frompnm.c: Fix for infinite recursive loop problem in load_pnm() (#85), Thanks to @Loginsoft-Research * src/loader.c: Try to suppress gcc -Wclobbered warnings again * Makefile.in, config.h.in, configure, configure.ac, src/loader.c: Check availability of -Wclobbered * src/loader.c: Try to suppress gcc -Wclobbered warnings again * Makefile.in, src/loader.c: Suppress gcc -Werror=clobbered warnings 2019-12-16 Hayaki Saito * src/fromsixel.c: Add error message for 1377517 * src/fromsixel.c: Make safe_addition_for_params() as a static function * Makefile.in, src/fromsixel.c: Add error message for 9c013f2 * README.md: Update README: add more projects using sixels * src/tosixel.c: Fix access violation problem on high color mode (#116), Thanks to SuhwanSong * src/dither.c: Use SIXEL_PALETTE_MAX instead of 256 * src/fromsixel.c: Use SIXEL_PALETTE_MAX instead of 256 2019-12-15 Hayaki Saito * src/fromsixel.c: Add invalid parameter check at image_buffer_init() / image_buffer_resize() (#107) * Makefile.in, src/fromsixel.c: Avoid huge memory allocation caused by integer overflow problems * src/loader.c: Handle libpng error message (#73), thanks to HongxuChen * src/dither.c: Avoid illegal memory access problem with 1 color paletted png(#73), Thanks to HongxuChen. * Makefile.in, aclocal.m4, configure, converters/Makefile.in, include/Makefile.in, m4/ax_gcc_builtin.m4, python/Makefile.in, src/Makefile.in, tools/Makefile.in: Add missing m4 macro m4/ax_gcc_builtin.m4 * README.md: Update README * README.md: Update README * configure, configure.ac, package.json: Bump version * README.md, converters/img2sixel.1: Update contributers section * NEWS: Update NEWS * ChangeLog: Update ChangeLog 2019-12-13 Hayaki Saito * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * src/loader.c: Suppress glib deprecated warnings * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build * .travis.yml: Ammend fix for e18ebe6 * .travis.yml: Drop mingw32 build 2019-12-02 pwd * src/fromsixel.c: use function safe_addition_for_params to check integer overflow * src/frompnm.c: fix issue that the width and the deps miss checks * include/sixel.h.in, src/status.c: define macro SIXEL_BAD_INTEGER_OVERFLOW for integer * src/tosixel.c: check integer overflow in 'map[pix * width + x] |= (1 << i);' 2019-08-29 Takatsugu Nokubi * src/loader.c: check jpeg decoder error * src/fromsixel.c: check size, fix issue #83 2019-08-01 Takatsugu Nokubi * include/sixel.h.in, src/decoder.c: add limitation to width and height 2019-07-25 Takatsugu Nokubi * src/fromsixel.c: position error check 2019-07-24 Takatsugu Nokubi * src/fromsixel.c: prevent to access heap overflow 2019-07-23 Takatsugu Nokubi * src/stb_image.h: assign default error message 2019-07-08 Takatsugu Nokubi * src/allocator.c: Add malloc size check * src/fromsixel.c: size check 2019-07-07 Takatsugu Nokubi * src/status.c: no op when message is NULL 2018-08-06 Hayaki Saito * src/stb_image.h: stb_image: fix for #76 POC h050. detect bad PSD file. 2018-08-05 Hayaki Saito * src/stb_image.h: stb_image: fix for #76 POC h010. detect bad PSD file which has fake size declaration in its image header * src/stb_image.h: stb_image: fix for #76 POC h002. detect bad TGA file which has fake size declaration in its image header * src/fromgif.c: GIF loader: fix for #76 POC h001. don't believe image size declared in the header, use actual size. https://github.com/saitoha/libsixel/issues/76 2018-08-03 Hayaki Saito * src/stb_image.h: Quickfix for issue #72: validate huffman code https://github.com/saitoha/libsixel/issues/72 2018-08-02 Hayaki Saito * src/fromgif.c: gif loader: add some comments * src/fromgif.c: gif loader: check LZW code size (Issue #75) 2018-07-23 Hayaki Saito * src/Makefile.am, src/Makefile.in: Amend travis build fixes again * src/Makefile.am, src/Makefile.in: Amend fix for travis build * src/Makefile.am, src/Makefile.in: Travis build fixes * NEWS: Update NEWS * README.md: Update README.md * README.md: Update README.md * README.md: Update README.md * Makefile.in, README.md, aclocal.m4, compile, config.guess, config.sub, configure, configure.ac, converters/Makefile.in, depcomp, include/Makefile.in, install-sh, missing, package.json, py-compile, python/Makefile.in, src/Makefile.in, tools/Makefile.in: Bump version 1.8.2 * NEWS: Update NEWS * ChangeLog: Update ChangeLog 2018-06-10 Hayaki Saito * converters/img2sixel.1: Fix a typo: a_dither -> x_dither(issue #66) 2018-07-23 Hayaki Saito * src/stb_image.h: Quickfix for issue #69: allocate buffer more 1 lines to prevent heap-buffer-overflow 2018-07-22 Hayaki Saito * src/stb_image.h: Quickfix for issue #70 https://github.com/saitoha/libsixel/issues/70 * src/frompnm.c: Fix again for #71 https://github.com/saitoha/libsixel/issues/71 * src/encoder.c: Fix a memory leak problem in encoder caused by bad reference counting * src/decoder.c: Fix memory leak problems reported in #67 https://github.com/saitoha/libsixel/issues/67 * src/dither.c, src/encoder.c, src/quant.c: Add some comments * src/dither.c, src/quant.c: Issue #68: check invalid color number(<1) https://github.com/saitoha/libsixel/issues/68 * src/quant.c: Issue #68: fix for a bug detect color number of 1x1 image as 0 https://github.com/saitoha/libsixel/issues/68 * src/frompnm.c: Prevent stack-buffer-overflow reported in #71 https://github.com/saitoha/libsixel/issues/71 2018-06-25 Hayaki Saito * src/stb_image.h: Prevent occurence of UndefinedBehaviorSanitizer in stb_image 2018-06-19 Hayaki Saito * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, python/Makefile.in, src/Makefile.in, src/fromsixel.c, tools/Makefile.in: Add missing default case in RGB to HLS converter 2018-06-18 Hayaki Saito * README.md: Add ax_gcc_builtin.m4 for checking GCC built-in functions 2018-06-17 Hayaki Saito * src/encoder.c, src/loader.c, src/output.c, src/pixelformat.c: Strip trailing spaces 2018-06-14 Hayaki Saito * examples/opengl/main.c: example/opengl: use high level API, sixel_encoder_encode_bytes() instead of sixel_encode() 2018-06-10 Hayaki Saito * converters/img2sixel.1: Fix a typo: a_dither -> x_dither(issue #66) * Makefile.in, config.h.in, configure, configure.ac, package.json: Bump version: 1.8.1 * src/quant.c: Fix critical bug: sixel_dither_set_diffusion_type() (called from img2sixel -d option) doesn't work well 2018-06-09 Hayaki Saito * src/chunk.c: Suppress an uninitialized warning on GCC-4.1 * src/chunk.c: Move pragma GCC diagnostic to outside functions because it's not allowed on gcc44 2018-06-05 Hayaki Saito * README.md: Update README, add Fedora Copr 2018-06-04 Hayaki Saito * README.md: Update README.md * README.md: Update README.md 2018-06-03 Hayaki Saito * NEWS: Update NEWS * src/loader.c: Add some debug message to png loader * README.md: Update README: GNUPLOT's "sixel" driver is renamed as "sixeltek" 2017-06-10 Hayaki Saito * README.md: Update README for adding some language bindings 2017-05-18 Hayaki Saito * README.md: README: add mention for forth-sixel 2018-06-03 Hayaki Saito * include/sixel.h.in, python/LICENSE, python/Makefile.am, python/Makefile.in, python/libsixel/__init__.py, python/setup.py: Add python interface to missing pixelformat constants, SIXEL_PIXELFORMAT_{BGRA,ABGR}8888 * NEWS: Update NEWS, added announcement for package maintainers 2018-06-02 Hayaki Saito * LICENSE.pnmcolormap, converters/img2sixel.c: Minor fixes 2018-06-01 Hayaki Saito * src/encoder.c: Avoid memory access violation with img2sixel -v option 2018-05-28 Hayaki Saito * NEWS, README.md, compile, config.guess, config.h.in, config.sub, configure, configure.ac, converters/Makefile.am, converters/img2sixel.1, converters/img2sixel.c, depcomp, install-sh, missing, py-compile, src/allocator.c, src/chunk.c, src/decoder.c, src/dither.c, src/encoder.c, src/frame.c, src/fromgif.c, src/loader.c, src/pixelformat.c, src/quant.c, src/status.c, src/stb_image.h, src/writer.c: Add __declspec(dllexport) to test routines for MinGW * Makefile.in, configure, configure.ac, converters/Makefile.am: Suppress strict-overflow warnings on MinGW 2018-05-27 Hayaki Saito * src/stb_image.h: Suppress unused function waringns (nothings/stb pull request #610) * src/stb_image.h: Upgrade stb_image to v2.19 * NEWS, README.md, converters/Makefile.am, converters/img2sixel.1, converters/img2sixel.c: Marks -D option (read source images from stdin continuously) as deprecated * Makefile.in, compile, config.guess, config.h.in, config.sub, configure, configure.ac, depcomp, install-sh, missing, py-compile, src/encoder.c: Use nanosleep(2) instead of usleep(2) * configure, configure.ac: Define _BSD_SOURCE to use uleep(2) * configure.ac: Define _BSD_SOURCE to use uleep(2) * configure, configure.ac, src/stb_image.h: Fix warnings on gcc-4.7/4.8/4.9 * .travis.yml: Fix typo s/--enable--tests/enable-tests/g * configure, configure.ac, src/quant.c: Don't use variable length array in sixel_quant_apply_palette() * configure, configure.ac, src/encoder.c: Add -D_POSIX_C_SOURCE=200809L compiler option to use usleep * configure.ac: Define _POSIX_SOURCE * src/chunk.c: Use S_ISDIR macro instead of S_IFDIR * src/chunk.c: Add missing sys/select.h inclusion * src/quant.c: Initialize function pointer variables for suppressing warnings -Wmaybe-uninitialized * Makefile.in, aclocal.m4, configure, configure.ac, converters/Makefile.in, include/Makefile.in, python/Makefile.in, src/Makefile.in, tools/Makefile.in: Add compiler flag -std=c99 * src/tosixel.c: Remove comma at end of the enumerator PALETTE_CHANGE * src/fromsixel.c: Remove comma at end of enumerator list parse_state * include/sixel.h.in: Remove comma at end of enumerator list for suppressing -Wpedantic warnings. * NEWS: Update NEWS * ChangeLog, converters/img2sixel.1: Update ChangeLog 2017-06-22 Hayaki Saito * src/fromsixel.c: Fix wrong HLS color handling 2018-05-11 IWAMOTO Kouichi * src/tosixel.c: fix to use dcs_end_size with dcs_start use dcs_start_size instead of dcs_end_size. 2018-04-04 Yusuke Endoh * src/fromgif.c: Allow a deferred clear code in a GIF format img2sixel says `corrupt GIF(reason: too many codes)` but this is a wrong behavior. GIF decoder must do nothing when the table is full. See Section "DEFERRED CLEAR CODE IN LZW COMPRESSION" in [this document](https://www.w3.org/Graphics/GIF/spec-gif89a.txt). 2018-03-17 Hayaki Saito * Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure, converters/Makefile.in, depcomp, include/Makefile.in, install-sh, missing, py-compile, python/Makefile.in, src/Makefile.in, tools/Makefile.in: Update autotools version 2017-06-22 Hayaki Saito * src/fromsixel.c: Fix wrong HLS color handling 2017-06-23 Hayaki Saito * LICENSE.xterm, src/fromsixel.c: Rewrinte HLS handling function hls_to_rgb() * include/sixel.h.in, src/dither.c, src/dither.h, src/quant.c, src/quant.h, src/tosixel.c: Introduce new meta type sixel_index_t (now equals unsigned char) * src/output.h, src/tosixel.c: sixel_node_t::map should be represented as 7bit character, not 8bit * src/encoder.c, src/quant.c: Add annotations for some fixed buffer size * src/dither.c, src/encoder.c, src/quant.c, src/tosixel.c: Respect to constant value SIXEL_PALETTE_MAX * src/tosixel.c: Prevent HLS saturation parameter overflow(>100) 2017-06-22 Hayaki Saito * src/fromsixel.c: Fix wrong HLS color handling 2017-06-10 Hayaki Saito * README.md: Update README for adding some language bindings * examples/drawing/main.c, examples/opengl/main.c, src/output.c: Example: Minor fixes 2017-06-03 Hayaki Saito * examples/opengl/main.c: demo/opengl: don't use deplecated API functions 2017-05-18 Hayaki Saito * README.md: README: add mention for forth-sixel * converters/Makefile.am, converters/Makefile.in: Minor fixes 2017-05-03 Hayaki Saito * README.md: Fix stupid typo, a_dither -> x_dither. * converters/shell-completion/bash/img2sixel, converters/shell-completion/zsh/_img2sixel: Add shell completion info -d option arguments a_dither/x_dither. * converters/img2sixel.c: Fix typo a_dither -> x_dither * README.md, converters/img2sixel.1, converters/img2sixel.c: Mark -D, --pipe-mode option as deprecated. * .travis.yml: Reduce test cases for OSX. * src/encoder.c: Fix for Issue #57, lack of O_TRUNC when open() is called. Thanks to @set135. 2017-05-02 Hayaki Saito * Makefile.in, aclocal.m4, config.h.in, configure, converters/Makefile.am, converters/Makefile.in: Add tests for a_dither/x_dither * src/encoder.c, src/quant.c, src/tosixel.c: Style fixes * converters/img2sixel.c, include/sixel.h.in, python/libsixel/__init__.py, src/encoder.c: Update comments and help information * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac, package.json: Update package version to 1.8.0 * NEWS: Update NEWS * include/sixel.h.in, python/libsixel/__init__.py: Add constants SIXEL_DIFFUSE_{A,X}_DITHER to python interface * src/loader.c: Minor fix * Makefile.in, aclocal.m4, config.h.in, configure: pkg-config v0.29.2 * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac, src/loader.c, src/stb_image.h: Use stb_image v2.15 2017-04-25 Hayaki Saito * src/tosixel.c: Fixed a bug that makes 15bpp dither no effect. * src/tosixel.c: Strip trailing spaces 2017-04-21 Hayaki Saito * converters/sixel2png.c: Show error details when sixel2png fails * README.md: Amend fixes * README.md: More information 2017-04-19 Hayaki Saito * README.md: Additional catching-up * README.md: Catching up 2017-04-11 Hayaki Saito * src/sixel.5: Fix a type fixed a typo pointed out by @silverhammermba(#58). * converters/img2sixel.c, converters/sixel2png.c, src/loader.c: Print configuration info about libsixel, with "img2sixel -V" 2016-12-18 Hayaki Saito * README.md: Update README 2016-12-10 Hayaki Saito * ChangeLog, Makefile.in: Update ChangeLog * converters/Makefile.am, converters/Makefile.in: Amend 2016-12-09 Hayaki Saito * .travis.yml: Fix travis build * .travis.yml, converters/Makefile.am, converters/Makefile.in: Avoid travis Build times out problem 2016-12-08 Hayaki Saito * Makefile.in, README.md, configure, configure.ac, package.json: Update package version to 1.7.3 2016-11-12 Turenar * src/decoder.c: fix wrong ref counting in sixel_decoder_decode 2016-10-11 Hayaki Saito * .travis.yml: travis: change --prefix path to /usr/local in OSX build 2016-10-08 Øyvind Kolås * include/sixel.h.in, src/encoder.c, src/quant.c, src/tosixel.c: add positional/ordered dithers a_dither and x_dither These are dithering methods arising from searching the paramater spaces for simple 2d pattern / pseudo random number generators - optimizing a fitness metric of both statistical measures and human perceptual preference - see http://pippin.gimp.org/a_dither/ - these dithering methods are similar to other AM/FM hybrid digital halftoning methods. 2016-10-10 Hayaki Saito * src/tosixel.c: Small fix for wrong error message * configure, configure.ac: Build with -Bsymbolic option if it's available 2016-10-01 Hayaki Saito * src/sixel.5: manpage: fix wrong description of Xterm's ./configure option (#51, Thanks to @nilqed) * README.md: README: fix wrong description of Xterm's ./configure option (#51, Thanks to @nilqed) "--enable-sixel" -> "--enable-sixel-graphics" 2016-09-14 Hayaki Saito * README.md: README: minor fixes * README.md: Update README 2016-09-12 Hayaki Saito * examples/drawing/main.c: Ensure 256 color sixel register is available in drawing demo * src/fromgif.c: Fix dangling pointer access in GIF loader * configure, configure.ac, package.json: Update version to 1.7.2 2016-09-10 Hayaki Saito * src/tty.c: Suppress unused-label warning 2016-09-09 Hayaki Saito * src/tty.c: Suppress warning on mingw environment 2016-09-08 Hayaki Saito * Makefile.in: Rebuild * src/tty.c: Fix wrong error handling after calling select(2) * src/tty.c: Additional inclusion of sys/time.h and sys/types.h for traditional systems * src/tty.c: Fix a typo: selet -> select 2016-08-11 Hayaki Saito * converters/img2sixel.c, converters/malloc_stub.c, converters/malloc_stub.h, converters/sixel2png.c, include/sixel.h.in, ruby/ext/libsixel/libsixel.c, src/allocator.c, src/allocator.h, src/chunk.c, src/chunk.h, src/decoder.c, src/decoder.h, src/dither.c, src/dither.h, src/encoder.h, src/frame.c, src/frame.h, src/fromgif.c, src/fromgif.h, src/frompnm.c, src/frompnm.h, src/fromsixel.c, src/loader.c, src/loader.h, src/malloc_stub.c, src/malloc_stub.h, src/output.c, src/output.h, src/pixelformat.c, src/pixelformat.h, src/quant.c, src/quant.h, src/scale.c, src/status.c, src/status.h, src/stb_image_write.c, src/tests.c, src/tosixel.c, src/tty.c, src/tty.h, src/writer.c, src/writer.h: Correct file variables for emacs 2016-09-14 Hayaki Saito * README.md: README: minor fixes * README.md: Update README 2016-09-12 Hayaki Saito * examples/drawing/main.c: Ensure 256 color sixel register is available in drawing demo * Makefile.in, src/fromgif.c: Fix dangling pointer access in GIF loader * configure, configure.ac, package.json: Update version to 1.7.2 2016-09-10 Hayaki Saito * src/tty.c: Suppress unused-label warning 2016-09-09 Hayaki Saito * src/tty.c: Suppress warning on mingw environment 2016-09-08 Hayaki Saito * Makefile.in: Rebuild * src/tty.c: Fix wrong error handling after calling select(2) * src/tty.c: Additional inclusion of sys/time.h and sys/types.h for traditional systems * src/tty.c: Fix a typo: selet -> select 2016-08-23 Hayaki Saito * NEWS: Update README 2016-08-22 Hayaki Saito * README.md: Fix wrong description about xterm -ti option * src/loader.c: loader: minor fix in load_jpeg() 2016-08-13 Hayaki Saito * LICENSE.mesa, examples/opengl/Makefile.am, examples/opengl/Makefile.in, examples/opengl/README.md, examples/opengl/main.c: Add missing license terms for examples/opengl/main.c I've forgotten some parts of it are derived from glxpbdemo.c * examples/opengl/main.c: OpenGL example: scroll more 1 line before emit SIXELs * examples/python/Makefile: Add a Makefile to python example * examples/python/converter.py: PIL use Image.tobytes() insted of deprecated Image.tostring() 2016-08-12 Hayaki Saito * .travis.yml: travis: remove "brew install pkg-config" * .travis.yml: travis: prevent duplicated installation of pkg-config * .travis.yml: Correct brew package name: "libgdk-pixbuf" -> "gdk-pixbuf" * .travis.yml: travis: amend fix * .travis.yml: travis: "brew update" before osx build * .travis.yml: travis: use include: * .travis.yml: travis: use build matrix 2016-08-11 Hayaki Saito * .travis.yml: test commit * src/loader.c: Don't use GIF/PNM loader in stb_image.h * converters/img2sixel.1: Update manpage of img2sixel * converters/img2sixel.c, converters/malloc_stub.c, converters/malloc_stub.h, converters/sixel2png.c, include/sixel.h.in, ruby/ext/libsixel/libsixel.c, src/allocator.c, src/allocator.h, src/chunk.c, src/chunk.h, src/decoder.c, src/decoder.h, src/dither.c, src/dither.h, src/encoder.h, src/frame.c, src/frame.h, src/fromgif.c, src/fromgif.h, src/frompnm.c, src/frompnm.h, src/fromsixel.c, src/loader.c, src/loader.h, src/malloc_stub.c, src/malloc_stub.h, src/output.c, src/output.h, src/pixelformat.c, src/pixelformat.h, src/quant.c, src/quant.h, src/scale.c, src/status.c, src/status.h, src/stb_image_write.c, src/tests.c, src/tosixel.c, src/tty.c, src/tty.h, src/writer.c, src/writer.h: Correct file variables for emacs 2016-08-06 Hayaki Saito * Makefile.in, src/dither.c: Minor fixes * include/sixel.h.in: Add more comments to sixel.h 2016-08-03 Hayaki Saito * configure, configure.ac, converters/Makefile.in, package.json: Rebuild * converters/Makefile.am: Amend fix 2016-08-02 Hayaki Saito * .gitignore: Update .gitignore for ignoreing libsixel-config * configure, configure.ac, converters/Makefile.am, converters/Makefile.in: Fix for cygport compilation 2016-07-04 Hayaki Saito * examples/drawing/README.md, examples/python/README.md: Update README for examples * README.md: Update README 2016-06-16 Hayaki Saito * ChangeLog: Update ChangeLog 2016-06-15 Hayaki Saito * python/setup.py: Update Python interface version * setup.py: Update Python interface version * NEWS, README.md: Update README * converters/Makefile.am, converters/Makefile.in: Add missing '$(WINE)' in Makefile to prevent access violation error in mingw-w64 build * .travis.yml: display log with tail -n50 * .travis.yml: travis: display whole error log 2016-06-12 Hayaki Saito * README.md: Minor fixes * examples/drawing/README.md, examples/opengl/README.md: Minor fixes * NEWS: Update NEWS * configure, configure.ac, package.json: Update package version to 1.7.0, libtool version to 1.6.0 * ChangeLog: Update ChangeLog * examples/python/README.md: Update README.md of python example * examples/drawing/README.md: Update README.md of drawing example * converters/Makefile.am, converters/Makefile.in: converters: replace relative path "../" to $(top_srcdir) * src/Makefile.am, src/Makefile.in: Add -no-undefined option to LDFLAGS of libsixel 2016-06-07 Hayaki Saito * Makefile.in: Update ChangeLog * ChangeLog, python/Makefile.in: Update ChangeLog 2016-06-06 Hayaki Saito * examples/python/README.md, examples/python/converter.py: Add python example * ChangeLog: Update ChangeLog * src/fromsixel.c: Don't skip image finalization * src/dither.c, src/encoder.c: Minor fixes * src/encoder.c: Minor fixes * ChangeLog: Update ChangeLog * src/fromsixel.c: Change default allocation size of image object to 1x1 * src/fromsixel.c: Strip an unused case label * src/fromsixel.c: Style fix * src/fromsixel.c: Fix a conditional expression detecting sixel characters 2016-06-05 Hayaki Saito * ChangeLog: Update ChangeLog * python/libsixel/__init__.py: Add sixel_dither_get_palette()/sixel_dither_set_palette() * libsixel/__init__.py: Add sixel_dither_get_palette()/sixel_dither_set_palette() * src/dither.c: Set pixelformat in sixel_dither_get() 2016-05-30 Hayaki Saito * libsixel/__init__.py: Add python interfaces for dither object * python/libsixel/__init__.py: Add python interfaces for dither object * src/dither.c, src/tosixel.c: Fix for loading G1/G2/G4 pixel format * include/sixel.h.in, src/encoder.c: Drop sixel_encoder_encode_bytes_to_output() * NEWS: Update NEWS 2016-05-23 Hayaki Saito * python/libsixel/__init__.py: Add sixel_output_* functions to python interface * libsixel/__init__.py: Add sixel_output_* functions to python interface 2016-05-22 Hayaki Saito * src/encoder.c, src/fromsixel.c: Minor fixes 2016-05-11 Hayaki Saito * ChangeLog: Update ChangeLog * README.md: Update README 2016-05-10 Hayaki Saito * src/fromsixel.c: Style fix * src/fromsixel.c: Fix wrong DCS parameter parsing * src/fromsixel.c: Add missing default case for switching by parser state 2016-05-08 Hayaki Saito * src/fromsixel.c: decoder: parse SIXEL without forward tracking to prevent access violation 2016-05-07 Hayaki Saito * converters/img2sixel.1: Fix typoed email address 2016-05-05 Hayaki Saito * src/fromsixel.c: Suppress a sign-conversion warning * src/fromsixel.c: Introduce parser_context_t structure for internal use in sixel_decode_raw() * src/fromsixel.c: Remove external linkage of image_buffer_* functions * src/fromsixel.c: Tune buffer resize operations * src/Makefile.in, src/fromsixel.c: Introduce image_buffer_t structure for internal use in sixel_decode_raw() 2016-05-04 Hayaki Saito * src/encoder.c: Change function name: sixel_encoder_without_macro to sixel_encoder_output_without_macro 2016-05-03 Hayaki Saito * src/tosixel.c: Minor fix * examples/drawing/Makefile, examples/drawing/main.c: drawing example: clean up * examples/drawing/README.md: Update README * examples/drawing/Makefile, examples/drawing/main.c: drawing example: fix for linux * examples/drawing/main.c, src/Makefile.in: drawing example: scroll on demand before drawing canvas 2016-05-02 Hayaki Saito * examples/drawing/Makefile, examples/drawing/README.md, examples/drawing/main.c, examples/opengl/README.md: Add drawing example * libsixel/__init__.py: Process list-based palette correctly in encode.encode_bytes() * python/libsixel/__init__.py: Process list-based palette correctly in encode.encode_bytes() 2016-05-01 Hayaki Saito * libsixel/__init__.py: Accept string buffer as 1st argument of encoder.encode_bytes() * python/libsixel/__init__.py: Accept string buffer as 1st argument of encoder.encode_bytes() * python/Makefile.am, python/Makefile.in, src/encoder.c: Suppress a sign-conversion warning on OSX * Makefile.am, Makefile.in: Suppress a sign-conversion warning on OSX * libsixel/__init__.py, libsixel/encoder.py: Add encoder.encode_bytes method introduced from libsixel 1.6 * python/libsixel/__init__.py, python/libsixel/encoder.py: Add encoder.encode_bytes method introduced from libsixel 1.6 * python/libsixel/encoder.py: Fix a typo pointed out by @ignisan * libsixel/encoder.py: Fix a typo pointed out by @ignisan 2016-05-01 vagrant * src/Makefile.in, src/chunk.c, src/decoder.c, src/encoder.c, src/fromgif.c, src/loader.c, src/quant.c, src/tty.c, src/writer.c: Suppress sign-conversion warnings in MinGW environment * src/Makefile.am, src/Makefile.in, src/allocator.c, src/malloc_stub.c, src/malloc_stub.h: Add missing rpl_malloc()/rpl_free() function 2016-04-30 Hayaki Saito * Makefile.in, configure, configure.ac, src/quant.c: Suppress sign-conversion warnings in MinGW environment * src/writer.c: Suppress -Wsign-conversion in 3rd argument of fwrite() * src/chunk.c: Avoid a warning when using FD_SET() with -Wsign-conversion and _FORTIFY_SOURCE * src/pixelformat.c: Suppress -Wsign-conversion in 3rd argument of memcpy() * src/frame.c: Suppress -Wsign-conversion in 3rd argument of memmove() * src/quant.c: Minor fix * src/dither.c, src/quant.c: Suppress -Wsign-conversion in 2rd argument of sixel_allocator_calloc() * src/dither.c, src/encoder.c, src/fromgif.c, src/frompnm.c, src/fromsixel.c, src/loader.c, src/quant.c, src/tosixel.c: Suppress -Wsign-conversion in 3rd argument of memcpy()/memset() 2016-04-29 Hayaki Saito * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac, include/sixel.h.in, src/chunk.c, src/decoder.c, src/dither.c, src/encoder.c, src/frame.c, src/fromgif.c, src/frompnm.c, src/fromsixel.c, src/loader.c, src/quant.c, src/quant.h, src/scale.c, src/stb_image_write.c, src/tosixel.c, src/tty.c, src/writer.c: Add -Wsign-conversion compile flags and fix implicit type sign-conversions 2016-04-20 Hayaki Saito * LICENSE.sixel: Update README 2016-04-03 Hayaki Saito * README.md: Update README * src/stb_image_write.h: Update stb_image_write to v1.02 * README.md, converters/img2sixel.1: Update manpage and README * src/stb_image.h: Update stb_image to v2.12 2016-03-26 Hayaki Saito * README.md: Update README * README.md: Update README * README.md: Update README * README.md: Update README 2016-03-25 Hayaki Saito * ChangeLog: Update ChangeLog * src/fromgif.c: Fix broken -S option * README.md: Add a notaion for avoiding xterm's color register limitation (suggested by @ismail in #47) * src/stb_image_write.c: Ignore -Wdouble-promotion warnings during including stb_image_write.h 2016-03-24 Hayaki Saito * src/encoder.c: Don't reset encoder->pixel{width,height} in clipping function * src/encoder.c: Don't reset encoder->pixel{width,height} in scaling function * src/fromgif.c: Fix broken resize feature for animated GIF 2016-03-23 Hayaki Saito * include/sixel.h.in: Suppress a warning(-Wundef) when including sixel.h 2016-03-09 Hayaki Saito * src/tosixel.c: cleanup 2016-03-07 Hayaki Saito * configure, configure.ac: update ABI version 2016-03-06 Hayaki Saito * configure, configure.ac, package.json: Update ABI version * include/sixel.h.in, src/frame.c, src/pixelformat.c, src/writer.c: Add support for new pixelformat ABGR/BGRA * NEWS: Update NEWS * ChangeLog: Update ChangeLog * ChangeLog: Update ChangeLog * Makefile.in, README.md, converters/img2sixel.1, converters/shell-completion/bash/img2sixel, converters/shell-completion/zsh/_img2sixel: Add -R option stuff to README, manpage, shell-completion 2016-03-05 Hayaki Saito * README.md, converters/img2sixel.1, converters/sixel2png.1: Update descriptions in README and manpage for stbi/stbiw * converters/img2sixel.1, converters/sixel2png.1: Update contributors section of manpages 2016-03-03 Hayaki Saito * Makefile.in, configure, configure.ac, package.json: Update ABI version * converters/img2sixel.c, include/sixel.h.in, src/encoder.c, src/encoder.h: New option -R, --gri-limit * Makefile.in, include/sixel.h.in, src/output.c: New API: sixel_output_set_gri_arg_limit() * Makefile.in, configure, configure.ac, package.json: Update ABI version * include/sixel.h.in, src/encoder.c, src/loader.c, src/tosixel.c: Add new API: sixel_encoder_encode_bytes 2016-02-29 Hayaki Saito * README.md: Update README * README.md: Add @hattya to contributers list 2016-02-27 Hayaki Saito * Makefile.in, src/output.c, src/output.h, src/quant.c, src/quant.h, src/tosixel.c: Introduce DECGRI('!') compatibility flag 2016-02-27 Akinori Hattori * configure, configure.ac: Fix check for gdImageCreateFromPngPtr availability 2016-02-22 Hayaki Saito * src/tty.c: Fix compile error on MinGW environment * src/Makefile.am, src/Makefile.in, src/encoder.c, src/tty.c, src/tty.h: Add tty.c and tty.h * converters/Makefile.am, converters/Makefile.in, include/sixel.h.in, src/encoder.c, src/encoder.h: Solve encoder option confliction between -m/-e/-I/-b 2016-02-21 Hayaki Saito * src/allocator.c, src/chunk.c, src/decoder.c: Add more tests * src/encoder.c: Minor fixes in encoder.c * src/decoder.c: Add more tests for decoder.c * src/decoder.c: Fix bad initialization check of decoder object * Makefile.in, src/decoder.c: Add more tests for decoder.c * include/sixel.h.in, src/decoder.c: Minor fixes for decoder.c * src/decoder.c, src/decoder.h, src/tests.c: Add tests for decoder.c * include/sixel.h.in, src/allocator.c: Add an allocation test with bad allocator * src/decoder.c: Fix bad initalization problem of decoder object 2016-02-20 Hayaki Saito * include/sixel.h.in, src/allocator.c: Publish bad allocators to test functions * src/stb_image_write.c: Ignore strict-overflow warnings in stb_image_write.h * src/stb_image_write.c, src/writer.c: Amend fix of 39042435e * src/writer.c: Suppress GCC warnings against stb_image_write.h * src/loader.c: Suppress warnings caused by shadowing global declarations * src/writer.c: Suppress a warning caused by missing default case in switch statement * src/encoder.c, src/scale.c: Suppress warnings caused by shadowing global declarations * src/fromgif.c: Suppress a warning caused by missing default case in switch statement * src/frompnm.c: Suppress warnings caused by shadowing global declarations * config.h.in, configure, configure.ac, src/loader.c: Amend fix for suppressing GCC warnings against stb_image.h * Makefile.in, config.h.in, configure, configure.ac, src/encoder.c, src/loader.c: Suppress GCC warnings against stb_image.h * src/quant.c: Suppress warnings caused by shadowing global declarations * src/fromsixel.c: Suppress a warning caused by missing default case in switch statement * include/sixel.h.in, src/decoder.c, src/encoder.c, src/frame.c, src/output.c: Add some comments to functions * README.md: Update README * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Update copyright notice * LICENSE, converters/img2sixel.c, converters/malloc_stub.c, converters/malloc_stub.h, converters/sixel2png.c, python/libsixel/__init__.py, python/libsixel/decoder.py, python/libsixel/encoder.py, src/allocator.c, src/allocator.h, src/chunk.c, src/chunk.h, src/decoder.c, src/decoder.h, src/dither.c, src/dither.h, src/encoder.c, src/encoder.h, src/frame.c, src/frame.h, src/fromgif.c, src/fromgif.h, src/frompnm.c, src/frompnm.h, src/loader.c, src/loader.h, src/output.c, src/output.h, src/pixelformat.c, src/pixelformat.h, src/quant.c, src/quant.h, src/scale.c, src/status.c, src/status.h, src/stb_image_write.c, src/tests.c, src/writer.c, src/writer.h: Update copyright notice * src/encoder.c: Minor improvements for encoder.c * Makefile.in, configure, configure.ac: Add some gcc/clang warning option flags to CFLAGS * converters/img2sixel.c: Fix a overlength-strings warnings * src/loader.c: Fix for a warning with gcc -Wpedantic option * src/decoder.c, src/encoder.c: Fix warnings of declaration shadows a local variable * LICENSE.stb: Update LICENSE file of stb project * src/stb_image_write.h: Upgrade stb_image_write.h to v1.01 * src/stb_image.h: Upgrade stb_image to 2.10 * src/quant.c: Fix a gnu-folding-constant warning * src/quant.c: Fix warnings of declaration shadows a local variable 2016-02-17 Hayaki Saito * README.md: README Minor fixes 2015-09-05 Hayaki Saito * ChangeLog: Update ChangeLog * configure, configure.ac, package.json: Update version 2015-09-04 Hayaki Saito * configure, configure.ac: Let it build without python * tools/libsixel-config.in: Add --datarootdir option to libsixel-config 2015-08-30 Hayaki Saito * LICENSE, README.rst, setup.py: Merge commit '6a63778c44312484bdef9b3a3d394272f8bc98d3' * LICENSE, README.rst, setup.py: Include license file * LICENSE, package.xml, package2.xml, php_sixel.h, sixel.c, sixel.xml: Change the license to MIT 2015-08-26 Hayaki Saito * setup.py: Update version * README.rst, libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py, setup.py: Merge commit '99bac207a2032e77717e376b17aec29fbac46727' * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Support various python versions, 2.5 to 3.4 * README.rst: Update README * libsixel/decoder.py: Fix inconsistent use of tabs and spaces in indentation 2015-08-22 Hayaki Saito * ChangeLog, configure, configure.ac, package.json: Update version * NEWS: Update NEWS * sixel.c, sixel.xml: Use sixel_encoder_new() instead of sixel_encoder_create() * README.md: Update README 2015-08-08 Hayaki Saito * MANIFEST: Update MANIFEST * lib/Image/LibSIXEL.xs: Use sixel_encoder_new/sixel_decoder_new * builder/MyBuilder.pm, minil.toml: Add custom builder 2015-08-07 Hayaki Saito * ext/libsixel/libsixel.c, lib/libsixel/version.rb: Use sixel_encoder_new/sixel_decoder_new 2015-08-04 Hayaki Saito * src/chunk.c, src/decoder.c, src/writer.c: Use fixed error message in some case to prevent buffer overflow * src/decoder.c, src/encoder.c, src/fromgif.c, src/frompnm.c, src/fromsixel.c, src/loader.c, src/output.c, src/tosixel.c: Set additional messages when bad allocation error occured 2015-08-03 Hayaki Saito * libsixel/decoder.py, libsixel/encoder.py, setup.py: Update version * src/loader.c: Suppress warning for using deprecated function * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Merge commit 'ed4631fe8bcd0f777eb012a0c1661da7f31d6a35' into develop * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Add some wrapper functions and constants 2015-08-02 Hayaki Saito * README.md, include/sixel.h.in: Update README * README.md, include/sixel.h.in, src/loader.c: Make sixel_decode() as deprecated * include/sixel.h.in, src/encoder.c, src/frame.c: Make sixel_frame_create() as deprecated * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/encoder.c: Make sixel_dither_create() as deprecated * include/sixel.h.in, src/dither.c, src/encoder.c: Mark sixel_dither_create() function as deprecated * include/sixel.h.in, src/frame.c, src/scale.c: Use allocator object in scale.c * include/sixel.h.in, src/encoder.c, src/output.c, src/output.h: Use allocator object in output.c * src/tosixel.c: Use allocator object in tosixel.c * include/sixel.h.in, src/decoder.c, src/fromsixel.c, src/writer.c: Use allocator object in writer.c * src/fromsixel.c: Use allocator object in fromsixel.c * src/chunk.c: Suppress a sign-compare warnings * src/frompnm.c, src/frompnm.h, src/loader.c: Use allocator object in frompnm.c * src/loader.c: Use allocator object in STBI loader * src/dither.c, src/quant.c, src/quant.h: Use allocator object in quant.c * src/allocator.c, src/dither.c: Amend fix for miss-operation of reference counter * src/fromgif.c, src/fromgif.h, src/loader.c: Use allocator object in fromgif.c * include/sixel.h.in, src/allocator.c, src/allocator.h, src/chunk.c, src/decoder.c, src/dither.c, src/dither.h, src/encoder.c, src/frame.c, src/status.c, src/tests.c: Add new allocator API: sixel_allocator_calloc() 2015-07-29 Hayaki Saito * configure, configure.ac, src/chunk.c, src/loader.c: Add more handlers for libcurl errors * src/chunk.c, src/decoder.c, src/encoder.c: Fix leaks and segmentation faults * src/chunk.c: Fix leaks around chunk object initialization * include/sixel.h.in, src/decoder.c, src/frame.c, src/frame.h: Use allocator in frame.c * src/loader.c: Use allocator in loader.c 2015-07-28 Hayaki Saito * src/chunk.c: Minor fixes around chunk.c * converters/img2sixel.c: Use sixel_encoder_new() in img2sixel * converters/sixel2png.c, include/sixel.h.in, src/decoder.c, src/decoder.h: Introduce sixel_decoder_new(), the constructor of decoder with custom allocator 2015-07-25 Hayaki Saito * src/encoder.c: Additional test for encoder.c * src/encoder.c: Minor fixes 2015-07-23 Hayaki Saito * include/sixel.h.in, src/allocator.c, src/encoder.c: Fix memory access violation issue 2015-07-22 Hayaki Saito * include/sixel.h.in, src/allocator.c, src/encoder.c: Add APIs for calling custom allocator functions * include/sixel.h.in, src/allocator.c, src/allocator.h, src/encoder.c, src/tests.c: Introduce reference counter to allocator object 2015-07-21 Hayaki Saito * Makefile.in, config.h.in, configure, configure.ac, converters/img2sixel.c, include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/allocator.c, src/allocator.h, src/chunk.c, src/chunk.h, src/encoder.c, src/encoder.h, src/loader.c: Introduce allocator object 2015-07-20 Hayaki Saito * src/tests.c: Enable tests for chunk.c * include/sixel.h.in, src/decoder.c, src/decoder.h, src/encoder.c, src/encoder.h, src/frame.c, src/frame.h, src/tests.c: Minor fixes * include/sixel.h.in, src/dither.h, src/fromsixel.c, src/output.c, src/output.h, src/tosixel.c: Minor fixes * src/chunk.c, src/chunk.h, src/loader.c, src/tests.c: Suppress build warning: implicit-function-declaration * converters/Makefile.am, converters/Makefile.in: Fix travis build again 2015-07-19 Hayaki Saito * converters/Makefile.am, converters/Makefile.in: Try to fix broken travis build * LICENSE.stb: Add license notice of src/fromgif.c * converters/img2sixel.1: Add documentation for the environment variables $SIXEL_COLORS * src/encoder.c: Introduce SIXEL_COLORS environment (for Issue #27) * converters/img2sixel.c: Minor fix 2015-07-18 Hayaki Saito * src/encoder.c: Ammend fixes * src/encoder.c: Minor fixes * src/encoder.c: Minor fixes for encoder.c 2015-07-14 Hayaki Saito * src/dither.c, src/encoder.c, src/frame.c, src/fromgif.c, src/fromgif.h, src/frompnm.c, src/frompnm.h, src/fromsixel.c, src/loader.c, src/loader.h, src/output.c, src/output.h, src/quant.c, src/scale.c, src/status.h, src/tosixel.c: Minor fixes 2015-07-13 Hayaki Saito * src/loader.c: Add missing stdio.h inclusion to loader.c * src/Makefile.am, src/Makefile.in, src/chunk.c, src/chunk.h, src/frame.h, src/loader.c: Add chunk.c/chunk.h * src/loader.c: Minor fixes around sixel_chunk_t 2015-07-12 Hayaki Saito * src/writer.c: Minor fixes * README.md, converters/img2sixel.1, converters/img2sixel.c: Add documentation of the environment variables $SIXEL_BGCOLOR * src/decoder.c: Add missing header io.h to decoder.c * converters/sixel2png.c: Add missing header io.h to sixel2png.c * ChangeLog: Update ChangeLog * Makefile.in, src/Makefile.in: Rebuild * config.h.in, configure, configure.ac, src/loader.c: Add missing header: _setmode() requires inclusion * config.h.in, configure, configure.ac, converters/loader.c: Add missing header: _setmode() requires inclusion * Makefile.in, configure, configure.ac, package.json: Update version * ChangeLog: Update ChangeLog * Makefile.in, configure, configure.ac: Hotfix for broken libcurl/libpng/libjpeg detection * src/encoder.c: Build fix for MinGW environment * src/encoder.c: Add error handling for sixel_write_callback() and sprintf() 2015-07-11 Hayaki Saito * src/frame.c, src/loader.c: Minor fixes * src/fromgif.c: Fix broken GIF loader 2015-07-05 Hayaki Saito * src/fromgif.c: Minor fixes * src/loader.c: Suppress gcc warnings * src/loader.c: Don't test memory_write() function if libcurl integration is not enabled * src/fromgif.c: Add missing "config.h" inclusion to fromgif.c * src/encoder.c, src/fromgif.c, src/fromgif.h, src/quant.c, src/tests.c: Minor fixes * include/sixel.h.in, src/encoder.c: Add more tests for encoder.c * src/encoder.c: Add more tests for encoder.c * include/sixel.h.in, src/encoder.c, src/frame.h: Add tests for encoder.c * include/sixel.h.in, src/Makefile.am, src/decoder.h, src/encoder.h, src/loader.c, src/loader.h, src/tests.c: Add initial tests for loader.c * Makefile.in, config.h.in, configure, configure.ac, src/frame.c, src/loader.c, src/writer.c: Checks availability of #pragma GCC diagnostic ignored "-Wtypedef-redefinition" * ChangeLog: Update ChangeLog * converters/img2sixel.c, examples/opengl/main.c, src/encoder.c: Minor fixes 2015-07-01 Hayaki Saito * src/encoder.c: Fix a bug of returning wrong status in prepare_builtin_palette() 2015-06-30 Hayaki Saito * src/fromgif.c, src/loader.c, src/quant.c: Minor improvements 2015-06-29 Hayaki Saito * src/encoder.c: Use sixel_helper_set_additional_message() instead of using stderr printing * src/decoder.c, src/dither.c, src/encoder.c, src/loader.c: Minor improvements 2015-06-28 Hayaki Saito * src/encoder.c, src/frame.c, src/loader.c, src/pixelformat.c: Minor improvements * src/writer.c: Add more tests for status.c * src/status.c: Strip extra free() call * src/status.c: Strip extra '"' character * src/status.c: Update tests * src/writer.c: Add more error handling and tests to writer.c * src/status.c: Update tests in status.c * src/status.c, src/writer.c: Update tests * src/Makefile.am, src/Makefile.in, src/status.c, src/status.h, src/tests.c, src/writer.c: Add more tests * ChangeLog: Update ChangeLog * src/loader.c: Fix segmentation error when set -e option with loading 1/2/4 bpp grayscale image * converters/Makefile.am, converters/Makefile.in: Add tests for -B option * Makefile.in, config.h.in, configure, configure.ac, src/tosixel.c: Check ldiv() availability with ./configure script 2015-06-27 Hayaki Saito * src/encoder.c: Ammend fix * src/encoder.c: Set pixelformat to dither context when input format is grayscale * src/loader.c, src/status.c: Fix regression of returning invalid status when using libjpeg * src/tosixel.c: Use builtin functions instead of sprintf() 2015-06-26 Hayaki Saito * META.json, META.yml: Update META.json/META.yml * Build.PL: Update Build.PL for linking to libsixel * lib/Image/LibSIXEL.xs: Remove debugging code * lib/Image/LibSIXEL.xs: Remove include derective "ppport.h" * Build.PL, Changes, META.json, README.md, minil.toml: Add missing files: minil.toml and Changes * perl/Build.PL, perl/MANIFEST, perl/META.yml, perl/README.md, perl/lib/Image/{Sixel.pm => LibSIXEL.pm}, perl/lib/Image/{Sixel.xs => LibSIXEL.xs}, perl/lib/Image/LibSIXEL/Decoder.pm, perl/lib/Image/LibSIXEL/Encoder.pm, perl/lib/Image/Sixel/Decoder.pm, perl/lib/Image/Sixel/Encoder.pm, perl/t/{sixel.t => libsixel.t}: perl: change module name: Image::Sixel -> Image::LibSIXEL * Build.PL, MANIFEST, META.yml, README.md, lib/Image/{Sixel.pm => LibSIXEL.pm}, lib/Image/{Sixel.xs => LibSIXEL.xs}, lib/Image/LibSIXEL/Decoder.pm, lib/Image/LibSIXEL/Encoder.pm, lib/Image/Sixel/Decoder.pm, lib/Image/Sixel/Encoder.pm, t/{sixel.t => libsixel.t}: perl: change module name: Image::Sixel -> Image::LibSIXEL 2015-06-25 Hayaki Saito * php/README, php/sixel/.cvsignore, php/sixel/CREDITS, php/sixel/EXPERIMENTAL, php/sixel/README, php/sixel/config.m4, php/sixel/config.w32, php/sixel/manual/file-entities.ent, php/sixel/manual/functions.xml, php/sixel/manual/manual.xml.in, php/sixel/manual/sixel/configure.xml, php/sixel/manual/sixel/constants.xml, php/sixel/manual/sixel/ini.xml, php/sixel/manual/sixel/reference.xml, php/sixel/package.xml, php/sixel/package2.xml, php/sixel/php_sixel.h, php/sixel/sixel.c, php/sixel/sixel.dsp, php/sixel/sixel.xml, php/sixel/tests/SixelEncoder____construct.phpt, php/sixel/tests/SixelEncoder____destruct.phpt, php/sixel/tests/SixelEncoder__encode.phpt, php/sixel/tests/SixelEncoder__setopt.phpt: Remove php extension directory * .gitmodules, ruby: Remove submodule directory 2015-06-23 Hayaki Saito * include/sixel.h.in: core: Add SIXEL_OPTFLAG_xxx definitions * .gitignore, CREDITS, EXPERIMENTAL, LICENSE, README, config.m4, config.w32, manual/Makefile, manual/file-entities.ent, manual/functions.xml, manual/manual.xml.in, manual/sixel/configure.xml, manual/sixel/constants.xml, manual/sixel/ini.xml, manual/sixel/reference.xml, package.xml, package2.xml, php_sixel.h, sixel.c, sixel.dsp, sixel.xml, tests/SixelEncoder____construct.phpt, tests/SixelEncoder____destruct.phpt, tests/SixelEncoder__encode.phpt, tests/SixelEncoder__setopt.phpt: Initial commit * NEWS: Update NEWS * README.md: Update README * .gitmodules, ruby: Add dubmodule libsixel-ruby 2015-06-22 Hayaki Saito * ruby/README, ruby/images/egret.jpg, ruby/images/egret.six, ruby/setup.rb, ruby/sixel.c: Drop Ruby interface * .gitignore, .travis.yml, Gemfile, LICENSE.txt, README.md, Rakefile, ext/libsixel/extconf.rb, ext/libsixel/libsixel.c, ext/libsixel/libsixel.h, images/egret.jpg, images/egret.six, lib/libsixel.rb, lib/libsixel/version.rb, libsixel-ruby.gemspec, test/minitest_helper.rb, test/test_libsixel.rb: Initial commit 2015-06-16 Hayaki Saito * src/writer.c: Fix build error caused by calling undeclared function * NEWS: Update README * ruby/sixel.c: ruby: show detailed error messages * NEWS: Update NEWS * ruby/sixel.c: Minor fix * src/status.c: Add missing file: src/status.c * converters/img2sixel.c, include/sixel.h.in, src/decoder.c, src/encoder.c, src/loader.c, src/writer.c: Improve error handling * Makefile.in, configure, configure.ac, converters/img2sixel.c, include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/loader.c: Introduce newv APIs for semantic error handling: - sixel_helper_set_additional_message() - sixel_helper_get_additional_message() - sixel_helper_format_error() 2015-06-15 Hayaki Saito * src/loader.c: Supperss uninitialized warnings caused by MinGW gcc 2015-06-14 Hayaki Saito * ruby/README, ruby/images/egret.jpg, ruby/images/egret.six, ruby/setup.rb, ruby/sixel.c: Add initial implementation of ruby interface * src/decoder.c, src/encoder.c: Handle some ignored allocation errors * converters/img2sixel.c, converters/sixel2png.c: Do semantic error handling (on progress) * src/loader.c: Suppress unused-label GCC warning * src/encoder.c: Do semantic error handling (on progress) * include/sixel.h.in, src/loader.c: Handle curl errors * src/encoder.c, src/loader.c: Do semantic error handling (on progress) * src/loader.c: Fix compile errors caused by missing symbol * README.md, converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, converters/shell-completion/bash/img2sixel, converters/shell-completion/zsh/_img2sixel, src/encoder.c: Add new -b option values: gray1/2/4/8 * include/sixel.h.in, src/dither.c, src/encoder.c: Add new built-in palette profiles, gray1/2/4/8 * src/encoder.c, src/loader.c: Do semantic error handling (on progress) * examples/opengl/main.c, include/sixel.h.in, src/dither.c, src/tosixel.c: Do semantic error handling (on progress) 2015-06-13 Hayaki Saito * src/dither.c, src/encoder.c: Do semantic error handling (on progress) * include/sixel.h.in, src/encoder.c, src/fromgif.c, src/loader.c: Introduce SIXELSTATUS and related macros * include/sixel.h.in: Define LIBSIXEL_VERSION and LIBSIXEL_ABI_VERSION as string * include/sixel.h.in: Correct typoed version macro * include/sixel.h.in: Correct typoed version macro 2015-06-12 Hayaki Saito * ChangeLog: Update ChangeLog 2015-06-11 Hayaki Saito * src/Makefile.am, src/Makefile.in: Add rgblookup.gprf to distributed files * src/Makefile.am, src/Makefile.in, src/rgblookup.h: Re-generate rgblookup.h * src/rgblookup.gperf: Add gperf file generated from X11's rgb.txt 2015-06-10 Hayaki Saito * src/encoder.c: Fix segfault occurs when environment variable $SIXEL_BGCOLOR is not set * src/Makefile.am, src/Makefile.in, src/encoder.c, src/rgblookup.h: Parse X11 color name which is specified with -B option * src/encoder.c: Introduce SIXEL_BGCOLOR environment (for Issue #27) * src/encoder.c: Strip unneeded substitution to palette type option when -B option is specified * NEWS: Update README 2015-06-09 Hayaki Saito * NEWS: Update NEWS * NEWS: Update NEWS for release 1.5 * README.md: Update README: update version of stb_image.h/stb_image_write.h * LICENSE.stb: Update license file of stb * src/fromgif.c: gif loader: cleanup * src/fromgif.c: gif loader: update license notice * src/fromsixel.c: Minor fix * patches/applied/stb_image.h.diff: Remove directory "patches" * src/loader.c, src/stb_image.h: Update stb_image to version 2.06 2015-06-08 Hayaki Saito * LICENSE: Update LICENCE file * include/sixel.h.in, src/decoder.c, src/dither.c, src/encoder.c, src/frame.c, src/fromgif.c, src/frompnm.c, src/loader.c, src/output.c, src/pixelformat.c, src/quant.c, src/scale.c, src/tosixel.c, src/writer.c: Use constant symbols which start with the prefix SIXEL_ * cpanfile: Add cpanfile for perl interface * perl/cpanfile: Add cpanfile for perl interface * README.md, lib/Image/Sixel.pm: Update README and POD of perl interface * perl/README.md, perl/lib/Image/Sixel.pm: Update README and POD of perl interface 2015-06-07 Hayaki Saito * README.md, t/sixel.t: Minor fixes * perl/README.md, perl/t/sixel.t: Minor fixes * MANIFEST, README => README.md: Rename the README of perl module * perl/MANIFEST, perl/{README => README.md}: Rename the README of perl module * README: Update README of perl module * perl/README: Update README of perl module * README.md: Update README 2015-06-06 Hayaki Saito * configure, configure.ac, package.json: Update version to 1.4.12 2015-06-05 Hayaki Saito * ChangeLog: Update ChangeLog * src/loader.c: Fix segmentation fault caused by previous commit * converters/loader.c: Copy gdk's pixbuf memory to libsixel-internal chunk with attention to image stride (reported by @ttdoda, Issue #43) 2015-06-02 Hayaki Saito * NEWS: Update NEWS 2015-05-30 Hayaki Saito * ChangeLog: Update ChangeLog 2015-05-29 Hayaki Saito * configure, configure.ac: Correct wrong help string of ./configure * tools/Makefile.am, tools/Makefile.in, tools/libsixel-config.in: Add missing build files * Build.PL, MANIFEST, MANIFEST.SKIP, META.yml, Makefile.PL, README, images/egret.jpg, images/egret.six, lib/Image/Sixel.pm, lib/Image/Sixel.xs, lib/Image/Sixel/Decoder.pm, lib/Image/Sixel/Encoder.pm, lib/Image/ppport.h, t/sixel.t: Initial commit of libsixel perl interface * perl/Build.PL, perl/MANIFEST, perl/MANIFEST.SKIP, perl/META.yml, perl/Makefile.PL, perl/README, perl/images/egret.jpg, perl/images/egret.six, perl/lib/Image/Sixel.pm, perl/lib/Image/Sixel.xs, perl/lib/Image/Sixel/Decoder.pm, perl/lib/Image/Sixel/Encoder.pm, perl/lib/Image/ppport.h, perl/t/sixel.t: Initial commit of libsixel perl interface * Makefile.am, Makefile.in, configure, configure.ac: Add a helper tool libsixel-config 2015-05-28 Hayaki Saito * src/encoder.c: Don't close STDOUT with -o option 2015-05-27 Hayaki Saito * README.rst: Show python package path after ./configure is succeeded * configure, configure.ac, python/README.rst, src/Makefile.am, src/Makefile.in: Show python package path after ./configure is succeeded * README.rst: Update README of python bindings * python/README.rst: Update README of python bindings * Makefile.am, Makefile.in: Add test-output.png to CLEANFILES * src/Makefile.am, src/Makefile.in: Add src/tests to CLEANFILES * python/README.rst: Fix syntax errors of README.rst * README.rst: Fix syntax errors of README.rst * python/Makefile.am, python/Makefile.in: Add python/Makefile.am python/Makefile.in * Makefile.am, Makefile.in: Add python/Makefile.am python/Makefile.in * python/sample1.py: Remove a trivial sample file * sample1.py: Remove a trivial sample file * py-compile: Add py-compile, distributed under special exception to the GNU General Public License * setup.py: Add setup.py for python bindings * python/setup.py: Add setup.py for python bindings * README.rst: Add README.rst for python bindings * python/README.rst: Add README.rst for python bindings * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Add license blocks to python modules * python/libsixel/__init__.py, python/libsixel/decoder.py, python/libsixel/encoder.py: Add license blocks to python modules * Makefile.am, Makefile.in, aclocal.m4, configure, configure.ac, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Build and install python bindings by 'make install' * libsixel/__init__.py, libsixel/decoder.py, libsixel.py => libsixel/encoder.py: Update python modules * python/libsixel/__init__.py, python/libsixel/decoder.py, python/{libsixel.py => libsixel/encoder.py}: Update python modules 2015-05-26 Hayaki Saito * src/encoder.c, src/encoder.h: Aggregate a sixel_dither_t instance to encoder object * examples/opengl/Makefile.in, examples/opengl/aclocal.m4, examples/opengl/compile, examples/opengl/config.guess, examples/opengl/config.h.in, examples/opengl/config.sub, examples/opengl/configure, examples/opengl/configure.ac, examples/opengl/depcomp, examples/opengl/install-sh, examples/opengl/main.c, examples/opengl/missing: Update OpenGL example: add on-demand scrolling feature * Makefile.in, converters/Makefile.am, converters/Makefile.in, src/dither.c, src/encoder.c, src/frame.c, src/pixelformat.c, src/quant.c, src/tests.c, src/writer.c: Add more tests for quant.c and encoder.c 2015-05-25 Hayaki Saito * src/frame.c: Add more tests for frame.c 2015-05-24 Hayaki Saito * Makefile.in, converters/Makefile.am, converters/Makefile.in: Add 'testfile' to CLEANFILES 2015-05-21 Hayaki Saito * Makefile.in, converters/Makefile.in, src/frame.c: Add more tests for frame.c * src/frame.c: Drop unused function sixel_frame_set_palette() * src/quant.c, src/quant.h, src/tests.c, src/writer.c: Add initial tests for quant.c 2015-05-20 Hayaki Saito * src/encoder.c: Strip extra debug code * converters/Makefile.am, converters/Makefile.in, src/encoder.c: Fix broken -B option test * src/Makefile.am, src/Makefile.in, src/writer.c: Add more test cases for writer.c * src/Makefile.am, src/Makefile.in, src/tests.c, src/writer.c, src/writer.h: Add initial tests for writer.c * converters/Makefile.am, converters/Makefile.in: sixel2png: Add test of specifing invalid output file name * converters/Makefile.in, src/frame.c: Add more tests for frame.c 2015-05-19 Hayaki Saito * src/dither.h, src/frame.c, src/frame.h, src/tests.c: Add initial test of frame.c * src/pixelformat.c: Add more tests for pixelformat.c * ChangeLog: Update ChangeLog * Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure, converters/Makefile.in, depcomp, include/Makefile.in, install-sh, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4, missing, src/Makefile.in: Rebuild * configure.ac: Evaluate arguments of --with-xxx option of ./configure more strictly 2015-05-18 Hayaki Saito * src/pixelformat.h: Add missing header file pixelformat.h * src/pixelformat.c: Add more tests for pixelformat.c * Makefile.in, src/Makefile.am, src/Makefile.in, src/dither.h, src/encoder.c, src/encoder.h, src/pixelformat.c, src/tests.c: Add tests for pixelformat * Makefile.am, Makefile.in: Run unittests on travis 2015-05-17 Hayaki Saito * Makefile.in, configure, configure.ac, src/fromgif.c, src/fromgif.h: Cleanup * converters/Makefile.in: Minor fix * converters/Makefile.am: Drop a surplus test for -k option * src/loader.c: Suppress an unused-parameter gcc warning * converters/Makefile.am: Add tests for invalid permission file * package.json.in.in: Strip --with-curl from package.json * include/sixel.h.in, src/decoder.c, src/dither.c, src/encoder.c, src/frame.c, src/fromsixel.c, src/loader.c, src/output.c, src/pixelformat.c, src/quant.c, src/scale.c, src/tosixel.c, src/writer.c: Add __declspec for mingw * converters/Makefile.am: Add test cases for -B and -o option * src/Makefile.am, src/Makefile.in, src/{easy_decode.c => decoder.c}, src/{easy_decode.h => decoder.h}, src/{easy_encode.c => encoder.c}, src/{easy_encode.h => encoder.h}: Rename files: easy_encode.c -> encoder.c, easy_decode -> decoder.c * ChangeLog: Update ChangeLog * libsixel.py: Update python-ctypes binding * python/libsixel.py: Update python-ctypes binding * php/sixel/package.xml, php/sixel/package2.xml, php/sixel/php_sixel.h, php/sixel/sixel.c, php/sixel/sixel.xml, ..._easy_encode.phpt => SixelEncoder__encode.phpt}, ...ncode_setopt.phpt => SixelEncoder__setopt.phpt}: Update php extension * src/loader.c: Fix segmentation error when cancel_flag is not set * src/easy_encode.c: Drop sixel_callback_context_t * include/sixel.h.in, src/easy_decode.c, src/easy_encode.c: Add const qualifier to some arguments of sixel_{en,de}coder_setopt() * converters/img2sixel.c, include/sixel.h.in, src/easy_encode.c, src/easy_encode.h: Add new API sixel_encoder_set_cancel_flag() * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, src/loader.c: Wait input data with select() only if input file is a tty device * include/sixel.h.in, src/easy_encode.c: Use sixel_write_callback() instead of printf() to fix broken -n option 2015-05-16 Hayaki Saito * converters/img2sixel.c, converters/sixel2png.c, include/sixel.h.in, src/easy_decode.c, src/easy_decode.h, src/easy_encode.c, src/easy_encode.h: Rename easy encoder/decoder structures and releated APIs * src/easy_encode.c: Suppress warnings in MinGW environment * converters/shell-completion/zsh/_img2sixel: Update zsh completion file * converters/shell-completion/bash/img2sixel: Update bash completion file * converters/img2sixel.1: Update manpage of img2sixel * src/loader.c: Minor fixes * src/loader.c: Suppress gcc unused-parameter warnings 2015-05-15 Hayaki Saito * include/sixel.h.in, src/easy_encode.c, src/loader.c: Passes cancel flag to image loader * src/easy_encode.c, src/loader.c: Minor fix * src/easy_encode.c: Don't close stdout/stderr on exit 2015-05-14 Hayaki Saito * converters/img2sixel.c, src/easy_encode.c, src/easy_encode.h, src/loader.c: Implement -o(--outfile) option 2015-05-12 Hayaki Saito * converters/Makefile.am, converters/Makefile.in: Add pngsuite background tests * Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure, converters/Makefile.in, depcomp, include/Makefile.in, install-sh, missing, src/Makefile.in: Rebuild with automake-1.15 * src/fromgif.c: Fix leaks around GIF loader * converters/img2sixel.c: Stop memory leaks 2015-05-11 Hayaki Saito * php/README, php/sixel/.cvsignore, php/sixel/CREDITS, php/sixel/EXPERIMENTAL, php/sixel/README, php/sixel/config.m4, php/sixel/config.w32, php/sixel/manual/file-entities.ent, php/sixel/manual/functions.xml, php/sixel/manual/manual.xml.in, php/sixel/manual/sixel/configure.xml, php/sixel/manual/sixel/constants.xml, php/sixel/manual/sixel/ini.xml, php/sixel/manual/sixel/reference.xml, php/sixel/package.xml, php/sixel/package2.xml, php/sixel/php_sixel.h, php/sixel/sixel.c, php/sixel/sixel.dsp, php/sixel/sixel.xml, php/sixel/tests/SixelEncoder____construct.phpt, php/sixel/tests/SixelEncoder____destruct.phpt, .../tests/SixelEncoder__sixel_easy_encode.phpt, .../SixelEncoder__sixel_easy_encode_setopt.phpt: Add php extension 2015-05-10 Hayaki Saito * Makefile.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4, package.json, src/Makefile.in: Update package version and libtool version * Makefile.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4, src/Makefile.in: Update package version and libtool version * src/easy_encode.c: Fix segmentation errors around evaluating cancel_flag 2015-05-06 Hayaki Saito * src/fromgif.c: Add missing memset() initialization of the structure stbi__gif (for Issue #42, reported by @msmhrt) 2015-05-05 Hayaki Saito * src/Makefile.am, src/Makefile.in, src/loader.c: Use built-in gif loader * src/easy_encode.c, src/loader.c: Minor fixes * src/fromgif.c, src/fromgif.h: Add new file fromgif.{c,h} 2015-05-04 Hayaki Saito * src/easy_encode.c: Emit CAN(\x18) when received signals * src/easy_encode.c: Minor fix around auto-scrolling * src/easy_encode.c: Fix a memory leak 2015-05-02 Hayaki Saito * libsixel.py: Rename python class names * python/libsixel.py: Rename python class names * src/easy_encode.c: Suppress a gcc warning [-Werror=unused-variable] * src/easy_decode.c, src/easy_decode.h: Add missing files, src/easy_decode.{c,h} * src/loader.c: Respect fuse_palette flag when decoding GIF images 2015-04-30 Hayaki Saito * libsixel.py, sample1.py: Add ctypes(ffi) python binding examples * python/libsixel.py, python/sample1.py: Add ctypes(ffi) python binding examples * src/easy_encode.c: Minor fixes * src/loader.c: Fix leak around playing GIF animation * src/frame.c: Resize PAL8 formatted pixel buffer correctly * src/easy_encode.c: Strip unused code around resize/crop * src/easy_encode.c: Minor fix * src/easy_encode.c: Allow NULL as 2nd argument in sixel_easy_encode() * converters/sixel2png.c, include/sixel.h.in: Abolish cancel_flag argument of sixel_easy_decode() * src/easy_encode.c: Allow NULL as cancel_flag argument in sixel_easy_encode() * converters/sixel2png.c, include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/easy_encode.c, src/easy_encode.h: Add easy decode API set * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/easy_encode.c, src/easy_encode.h, src/frame.c, src/frame.h: Add easy converter API set 2015-04-29 Hayaki Saito * converters/img2sixel.c: Clean up * Makefile.in: Rebuild * src/loader.c: Load paletted PNG with keycolor (for Issue #28) * include/sixel.h.in, src/loader.c: Cleanup * converters/img2sixel.c, include/sixel.h.in, src/frame.c, src/frame.h: Minor fixes * converters/img2sixel.c, include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/loader.c: Introduce frame API * src/frame.c, src/frame.h: Add frame.c/frame.h * include/sixel.h.in: Add reference counter to struct sixel_frame_t 2015-04-28 Hayaki Saito * libsixel.pc.in: Strip -lsixel-imageio from libsixel.pc 2015-04-26 Hayaki Saito * src/loader.c: Respect -B option regarding with GIF images with transparent index (for Issue #25) * src/loader.c: Prevent segmentation fault when receiving SIGINT during playing gif animation * converters/img2sixel.c: Handle SIGINT correctly 2015-04-25 Hayaki Saito * converters/img2sixel.c: Minor fix * src/tosixel.c: Don't output palette definition of the keycolor * src/loader.c: Set default transparent color index in with_load_gdkpixbuf() and load_with_gd() * converters/img2sixel.c, src/loader.c: Pass the keycolor of gif to the encoder by using sixel_dither_set_transpaernt() * include/sixel.h.in, src/dither.c: Add new API: sixel_dither_set_transparent() * include/sixel.h.in, src/loader.c: Retrieve transparent color index from gif 2015-04-22 Hayaki Saito * src/loader.c: Convert PIXELFORMAT_ARGB8888 into PIXELFORMAT_RGB888 in sixel_strip_alpha() 2015-04-19 Hayaki Saito * src/loader.c, src/stb_image.h: Load gif as PAL8 pixelformat 2015-04-13 Hayaki Saito * Makefile.in: Rebuild * converters/img2sixel.c: Fix a gcc warning (unused parameter) * Makefile.in, converters/img2sixel.c: Set timeout on waiting CPR response * config.h.in, configure, configure.ac, converters/img2sixel.c: Check the availability of isatty(), termios.h, sys/ioctl.h * converters/img2sixel.c: Scroll the terminal on demand when playing gif animation 2015-04-12 Hayaki Saito * converters/img2sixel.c, include/sixel.h.in, src/loader.c, src/stb_image.h: Detect if the image has multi-frames by builtin gif loader * converters/img2sixel.c, src/loader.c: Fix a double free error in gdk-pixbuf loader * src/loader.c: Minor fix * src/loader.c: Suppress a GCC warning when specified --with-gdk-pixbuf2 configure option * converters/img2sixel.c, src/pixelformat.c: Fix broken sixel_helper_normalize_pixelforma(), return dst_pixelformat correctly 2015-04-11 Hayaki Saito * .travis.yml: Update .travis.yml to check --without-png configure option correctly * converters/img2sixel.c: Fix a memory leak found in cropping routine * converters/img2sixel.c: Fix a segmentation error occurs when resizing * src/loader.c: Suppress GCC warnings * Makefile.in: Rebuild * src/loader.c: Support callback loader API with libgd loader * src/loader.c: Support callback loader API with gdk-pixbuf loader 2015-04-09 Hayaki Saito * converters/img2sixel.c: Implement macro invocation with callback * converters/img2sixel.c, include/sixel.h.in, src/loader.c: Fix loop control without macro * converters/img2sixel.c, include/sixel.h.in, src/loader.c: Fix broken animation without macro * converters/Makefile.am, converters/Makefile.in: Update tests 2015-04-05 Hayaki Saito * configure, configure.ac, package.json: Update version * ChangeLog: Update ChangeLog * converters/stb_image.h: Fix an existing bug in stb_image v1.41 of building color palette, reported by @msmhrt (for Issue #41) * converters/img2sixel.c: Don't use fuse_palette flag when using fixed palette * converters/img2sixel.c, include/sixel.h.in, src/loader.c: Load image frame with callback function (on progress) * Makefile.in, configure, configure.ac, converters/Makefile.am, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Add tests for pngsuite basic images 2015-03-20 Hayaki Saito * converters/img2sixel.c: Rebuild multi-frame data when expanding 1/2/4bpp image 2015-03-17 Hayaki Saito * converters/img2sixel.c: Support cropping for 1/2/4bpp images (Issue #38) * converters/img2sixel.c: Expand pixelformat to RGB888 before resizing (for Issue #34) 2015-03-16 Hayaki Saito * src/dither.c: Omit an extra malloc() call * Makefile.in, configure, configure.ac: Add libjpeg check with PKG_CHECK_MODULES 2015-03-13 saitoha * src/loader.c: Handle depth=1 returned by stb_image v2.0 2015-03-13 Hayaki Saito * Makefile.in, src/loader.c: Add more debug logs * .travis.yml: Update .travis.yml * src/loader.c: Handle depth=4 returned by stb_image v2.0 * src/loader.c: Fix typo: unknwon -> unknown * configure, configure.ac: Don't override env variable xxx_CFLAGS/xxx_LIBS (Issue #35) 2015-03-10 Hayaki Saito * configure, configure.ac, package.json: Update version * ChangeLog: Update ChangeLog 2015-03-07 Hayaki Saito * converters/frompnm.c, converters/frompnm.h, converters/loader.c: Resolve confliction of parameter declarations of load_pnm(), reported by @tautschnig. (for Issue #40) 2015-03-05 Hayaki Saito * converters/stb_image.h: Parse GIF application extension block correctly (Issue #39) * src/stb_image.h: Parse GIF application extension block correctly (Issue #39) * src/loader.c: Prevent segmentation fault reported by @msmhrt (Issue #39) 2015-02-28 Hayaki Saito * ChangeLog: Update ChangeLog * configure, configure.ac, package.json: Update package version to 1.4.9 * Makefile.in, package.json: Rebuild * configure, configure.ac: Fix miss-detection for libcurl/libpng (for Issue #35) * converters/loader.c: Workaround for libpng 1.2 with grayscale-alpha PNG (for Issue #36) 2015-02-27 saitoha * converters/loader.c: Workaround for libpng 1.2 (for Issue #34) 2015-02-26 Hayaki Saito * src/loader.c: Fix inverted test condition added in 3d6ca7d6 (for Issue #32) * converters/img2sixel.c: Fix wrong boundary test added by 19417c6 (for Issue #33). 2015-02-25 Hayaki Saito * Makefile.in, converters/loader.c: Fix broken -p option with 8bpp grayscale PNG (concerned with Issue #34) * Makefile.in, converters/loader.c: Fix broken -p option with 8bpp grayscale PNG (concerned with Issue #34) * converters/loader.c: Fix broken resize option(-w/-h) with 1/2/4bpp grayscale png (for Issue #34) 2015-02-24 Hayaki Saito * package.json: Update package.json * Makefile.in, configure, configure.ac: Clear additional CFLAGS/LIBS when ./configure --with-libcurl=auto and libcurl is missing * src/Makefile.am, src/Makefile.in: Add some lines to Makefile.am, for fix build from tarballs created by 'make dist' * configure, configure.ac: Update version in configure.ac * src/loader.c: Style fixes 2015-02-23 Hayaki Saito * src/loader.c: Add missing error handler for load_jpeg() and load_png() * configure, configure.ac: Respect prefix path specified with --with-gd configure option * Makefile.in, configure, configure.ac: Check whether --with-xxx options are directories * src/frompnm.c, src/frompnm.h, src/loader.c: Don't use component depth internally * Makefile.in: Rebuild 2015-02-22 Hayaki Saito * converters/img2sixel.c: More strict validation for -c option * configure, configure.ac: Respect prefix path specified with --with-png configure option * configure, configure.ac: Respect prefix path specified with --with-jpeg configure option * configure, configure.ac: Respect prefix path specified with --with-libcurl configure option * config.h.in, configure, configure.ac, src/loader.c: Check whether given filename is a directory * LICENSE.pngsuite, README.md, images/pngsuite/background/bgai4a08.png, images/pngsuite/background/bgai4a16.png, images/pngsuite/background/bgan6a08.png, images/pngsuite/background/bgan6a16.png, images/pngsuite/background/bgbn4a08.png, images/pngsuite/background/bggn4a16.png, images/pngsuite/background/bgwn6a08.png, images/pngsuite/background/bgyn6a16.png, images/pngsuite/basic/basn0g01.png, images/pngsuite/basic/basn0g02.png, images/pngsuite/basic/basn0g04.png, images/pngsuite/basic/basn0g08.png, images/pngsuite/basic/basn0g16.png, images/pngsuite/basic/basn2c08.png, images/pngsuite/basic/basn2c16.png, images/pngsuite/basic/basn3p01.png, images/pngsuite/basic/basn3p02.png, images/pngsuite/basic/basn3p04.png, images/pngsuite/basic/basn3p08.png, images/pngsuite/basic/basn4a08.png, images/pngsuite/basic/basn4a16.png, images/pngsuite/basic/basn6a08.png, images/pngsuite/basic/basn6a16.png, images/pngsuite/chunk/ccwn2c08.png, images/pngsuite/chunk/ccwn3p08.png, images/pngsuite/chunk/cdfn2c08.png, images/pngsuite/chunk/cdhn2c08.png, images/pngsuite/chunk/cdsn2c08.png, images/pngsuite/chunk/cdun2c08.png, images/pngsuite/chunk/ch1n3p04.png, images/pngsuite/chunk/ch2n3p08.png, images/pngsuite/chunk/cm0n0g04.png, images/pngsuite/chunk/cm7n0g04.png, images/pngsuite/chunk/cm9n0g04.png, images/pngsuite/chunk/cs3n2c16.png, images/pngsuite/chunk/cs3n3p08.png, images/pngsuite/chunk/cs5n2c08.png, images/pngsuite/chunk/cs5n3p08.png, images/pngsuite/chunk/cs8n2c08.png, images/pngsuite/chunk/cs8n3p08.png, images/pngsuite/chunk/ct0n0g04.png, images/pngsuite/chunk/ct1n0g04.png, images/pngsuite/chunk/cten0g04.png, images/pngsuite/chunk/ctfn0g04.png, images/pngsuite/chunk/ctgn0g04.png, images/pngsuite/chunk/cthn0g04.png, images/pngsuite/chunk/ctjn0g04.png, images/pngsuite/chunk/ctzn0g04.png, images/pngsuite/corrupted/xc1n0g08.png, images/pngsuite/corrupted/xc9n2c08.png, images/pngsuite/corrupted/xcrn0g04.png, images/pngsuite/corrupted/xcsn0g01.png, images/pngsuite/corrupted/xd0n2c08.png, images/pngsuite/corrupted/xd3n2c08.png, images/pngsuite/corrupted/xd9n2c08.png, images/pngsuite/corrupted/xdtn0g01.png, images/pngsuite/corrupted/xhdn0g08.png, images/pngsuite/corrupted/xlfn0g04.png, images/pngsuite/corrupted/xs1n0g01.png, images/pngsuite/corrupted/xs2n0g01.png, images/pngsuite/corrupted/xs4n0g01.png, images/pngsuite/corrupted/xs7n0g01.png, images/pngsuite/filter/f00n0g08.png, images/pngsuite/filter/f00n2c08.png, images/pngsuite/filter/f01n0g08.png, images/pngsuite/filter/f01n2c08.png, images/pngsuite/filter/f02n0g08.png, images/pngsuite/filter/f02n2c08.png, images/pngsuite/filter/f03n0g08.png, images/pngsuite/filter/f03n2c08.png, images/pngsuite/filter/f04n0g08.png, images/pngsuite/filter/f04n2c08.png, images/pngsuite/filter/f99n0g04.png, images/pngsuite/gamma/g03n0g16.png, images/pngsuite/gamma/g03n2c08.png, images/pngsuite/gamma/g03n3p04.png, images/pngsuite/gamma/g04n0g16.png, images/pngsuite/gamma/g04n2c08.png, images/pngsuite/gamma/g04n3p04.png, images/pngsuite/gamma/g05n0g16.png, images/pngsuite/gamma/g05n2c08.png, images/pngsuite/gamma/g05n3p04.png, images/pngsuite/gamma/g07n0g16.png, images/pngsuite/gamma/g07n2c08.png, images/pngsuite/gamma/g07n3p04.png, images/pngsuite/gamma/g10n0g16.png, images/pngsuite/gamma/g10n2c08.png, images/pngsuite/gamma/g10n3p04.png, images/pngsuite/gamma/g25n0g16.png, images/pngsuite/gamma/g25n2c08.png, images/pngsuite/gamma/g25n3p04.png, images/pngsuite/interlacing/basi0g01.png, images/pngsuite/interlacing/basi0g02.png, images/pngsuite/interlacing/basi0g04.png, images/pngsuite/interlacing/basi0g08.png, images/pngsuite/interlacing/basi0g16.png, images/pngsuite/interlacing/basi2c08.png, images/pngsuite/interlacing/basi2c16.png, images/pngsuite/interlacing/basi3p01.png, images/pngsuite/interlacing/basi3p02.png, images/pngsuite/interlacing/basi3p04.png, images/pngsuite/interlacing/basi3p08.png, images/pngsuite/interlacing/basi4a08.png, images/pngsuite/interlacing/basi4a16.png, images/pngsuite/interlacing/basi6a08.png, images/pngsuite/interlacing/basi6a16.png, images/pngsuite/odd/s01i3p01.png, images/pngsuite/odd/s01n3p01.png, images/pngsuite/odd/s02i3p01.png, images/pngsuite/odd/s02n3p01.png, images/pngsuite/odd/s03i3p01.png, images/pngsuite/odd/s03n3p01.png, images/pngsuite/odd/s04i3p01.png, images/pngsuite/odd/s04n3p01.png, images/pngsuite/odd/s05i3p02.png, images/pngsuite/odd/s05n3p02.png, images/pngsuite/odd/s06i3p02.png, images/pngsuite/odd/s06n3p02.png, images/pngsuite/odd/s07i3p02.png, images/pngsuite/odd/s07n3p02.png, images/pngsuite/odd/s08i3p02.png, images/pngsuite/odd/s08n3p02.png, images/pngsuite/odd/s09i3p02.png, images/pngsuite/odd/s09n3p02.png, images/pngsuite/odd/s32i3p04.png, images/pngsuite/odd/s32n3p04.png, images/pngsuite/odd/s33i3p04.png, images/pngsuite/odd/s33n3p04.png, images/pngsuite/odd/s34i3p04.png, images/pngsuite/odd/s34n3p04.png, images/pngsuite/odd/s35i3p04.png, images/pngsuite/odd/s35n3p04.png, images/pngsuite/odd/s36i3p04.png, images/pngsuite/odd/s36n3p04.png, images/pngsuite/odd/s37i3p04.png, images/pngsuite/odd/s37n3p04.png, images/pngsuite/odd/s38i3p04.png, images/pngsuite/odd/s38n3p04.png, images/pngsuite/odd/s39i3p04.png, images/pngsuite/odd/s39n3p04.png, images/pngsuite/odd/s40i3p04.png, images/pngsuite/odd/s40n3p04.png, images/pngsuite/order/oi1n0g16.png, images/pngsuite/order/oi1n2c16.png, images/pngsuite/order/oi2n0g16.png, images/pngsuite/order/oi2n2c16.png, images/pngsuite/order/oi4n0g16.png, images/pngsuite/order/oi4n2c16.png, images/pngsuite/order/oi9n0g16.png, images/pngsuite/order/oi9n2c16.png, images/pngsuite/palette/pp0n2c16.png, images/pngsuite/palette/pp0n6a08.png, images/pngsuite/palette/ps1n0g08.png, images/pngsuite/palette/ps1n2c16.png, images/pngsuite/palette/ps2n0g08.png, images/pngsuite/palette/ps2n2c16.png, images/pngsuite/transparency/tbbn0g04.png, images/pngsuite/transparency/tbbn2c16.png, images/pngsuite/transparency/tbbn3p08.png, images/pngsuite/transparency/tbgn2c16.png, images/pngsuite/transparency/tbgn3p08.png, images/pngsuite/transparency/tbrn2c08.png, images/pngsuite/transparency/tbwn0g16.png, images/pngsuite/transparency/tbwn3p08.png, images/pngsuite/transparency/tbyn3p08.png, images/pngsuite/transparency/tm3n3p02.png, images/pngsuite/transparency/tp0n0g08.png, images/pngsuite/transparency/tp0n2c08.png, images/pngsuite/transparency/tp0n3p08.png, images/pngsuite/transparency/tp1n3p08.png, images/pngsuite/zlib/z00n2c08.png, images/pngsuite/zlib/z03n2c08.png, images/pngsuite/zlib/z06n2c08.png, images/pngsuite/zlib/z09n2c08.png: Import PngSuite images and add its license description * configure, configure.ac, converters/img2sixel.c, converters/sixel2png.c, include/Makefile.am, include/Makefile.in, include/sixel-imageio.h.in, include/sixel.h.in, src/loader.c, src/writer.c: Aggregate sixel-imageio.h and sixel.h into the one header * Makefile.in, converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Combine libsixel-imageio with core library 2015-02-21 Hayaki Saito * Makefile.in, converters/Makefile.am, converters/Makefile.in: Add convenient tests for -B option (issue #25) * converters/img2sixel.c: Raise error if invalid -B option is given * converters/img2sixel.c, converters/loader.h, converters/malloc_stub.c, converters/malloc_stub.h, converters/sixel2png.c, include/sixel-imageio.h.in, include/sixel.h.in, src/dither.c, src/dither.h, src/frompnm.c, src/frompnm.h, src/loader.c, src/output.c, src/output.h, src/pixelformat.c, src/quant.c, src/quant.h, src/scale.c, src/stb_image_write.c, src/writer.c: Update copyright notice * include/sixel.h.in, src/dither.c, src/dither.h, src/pixelformat.c, src/scale.c, src/tosixel.c, src/writer.c: Integrate some duplicated code around sixel_helper_normalize_pixelformat() * src/loader.c: Apply default background color to paletted PNG with tRNS chunk * src/loader.c: Suppress printf() formatter warings * src/dither.c: Add some parentheses for suppressing GCC warnings * src/stb_image.h: Retrive delay information from animated GIF correctory * src/loader.c: Add some malloc() error handlings and fix leaks 2015-02-20 Hayaki Saito * src/dither.c, src/dither.h, src/tosixel.c: Change the signature of sixel_normalize_pixelformat() * src/dither.c: Fixes for passing PngSuite odd sizes test (for Issue #25) http://www.schaik.com/pngsuite/pngsuite_siz_png.html * src/dither.c: Logging to stderr instead of stdout * src/loader.c: Expand grayscale PNG to RGB format if needed * converters/loader.c: Add more logs * src/dither.c: Expand 1/2/4 bpp palette with considering surplus bits * converters/loader.c: Reset bitdepth after calling png_set_strip_16() 2015-02-19 Hayaki Saito * converters/loader.c: Suppress printf() formatter warings * ChangeLog: Update ChangeLog * Makefile.in: Rebuild * converters/loader.c, src/dither.c: Add logging * converters/img2sixel.1: Add descriptions about source image formats to manpage of img2sixel(for Issue #24) 2015-02-18 Hayaki Saito * converters/loader.c: Call png_set_strip_alpha() when expanding paletted PNG to RGB888 pixelformat (for Issue #29) Mon Feb 16 00:41:06 2015 +0900 saitoha * converters/loader.c: Squashed commit of the following: commit 808aeaedf18532f04210c7c35ed1c9b74496e52a Use png_set_packing to expand 1/2/4bpp paletted PNG (for Issue #29) commit cb53ae183c25b140e9e0c53bc9318d97f04827fc Revert "libpng loader: expand 1/2/4bpp palette to 8bpp (for issue #29)" This reverts commit b6748d1a49477200a7dfb93c767207d96aec53d5. commit b6748d1a49477200a7dfb93c767207d96aec53d5 libpng loader: expand 1/2/4bpp palette to 8bpp (for issue #29) 2015-02-17 Hayaki Saito * converters/loader.c: Use png_set_packing to expand 1/2/4bpp paletted PNG (for Issue #29) * converters/loader.c: Revert "libpng loader: expand 1/2/4bpp palette to 8bpp (for issue #29)" This reverts commit b6748d1a49477200a7dfb93c767207d96aec53d5. 2015-02-16 Hayaki Saito * converters/sixel2png.c, include/sixel-imageio.h.in, src/writer.c: Fix sixel2png available (for issue #30) * converters/loader.c: Always set background color and respect bKGD chunk again (for Issue #31) 2015-02-16 saitoha * converters/loader.c: libpng loader: expand 1/2/4bpp palette to 8bpp (for issue #29) 2015-02-15 Hayaki Saito * converters/loader.c, converters/stb_image.h: Respect -B option regarding with GIF images with transparent index (for Issue #25) * src/loader.c: Blend background color to RGBA image pixels with respecting alpha channel * converters/loader.c: libpng loader: background color support for glayscale-alpha PNG (for issue #25) * converters/img2sixel.c: Pass PLTE chunk of 1/2/4 bpp paletted PNG specified by -m option directly to dither object * converters/img2sixel.c, converters/loader.c, include/sixel.h.in, src/dither.c, src/tosixel.c: libpng loader: Support 4bpp paletted PNG with tRNS chunk (for issue #25) * converters/img2sixel.c, converters/loader.c, include/sixel.h.in, src/dither.c, src/tosixel.c: libpng loader: Support 1bpp paletted PNG with tRNS chunk (for issue #25) * converters/img2sixel.c, converters/loader.c, include/sixel.h.in, src/dither.c, src/tosixel.c: libpng loader: Support 2bpp paletted PNG with tRNS chunk (for issue #25) * converters/loader.c: Don't check bKGD chunk before setting background color * converters/loader.c: Respect -B/--bgcolor option in libpng loader when PNG color type is RGB (for issue #25) * converters/img2sixel.1, converters/sixel2png.1: Update CONTRIBUTERS section of man pages * converters/sixel2png.c, include/sixel-imageio.h.in, src/loader.c, src/writer.c: Minor fixes 2015-02-14 Hayaki Saito * converters/Makefile.am, converters/Makefile.in: Add test case whether stb_image can load a progressive jpeg (for issue #24) * README.md: README.md: add @msmhrt to the contributer section * Makefile.in: Rebuild Makefile.in * converters/img2sixel.c: histogram_colors should be initialized after sixel_dither_initialize() function call * ChangeLog: Update ChangeLog * ChangeLog: Update ChangeLog * Makefile.in, converters/img2sixel.c: Add some parentheses arithmetic operator '|', for suppressing GCC warnings * converters/stb_image.h: Fix GCC a warning caused by comparison of signed and unsigned type in conditional expression * Makefile.in, config.h.in, configure, configure.ac, src/dither.c, src/quant.c: Check strtoul and availability * converters/img2sixel.c: Parse X11 color spec without strtoul/strtoull 2015-02-13 Hayaki Saito * Makefile.in, converters/img2sixel.c: Fix a syntax error caused by a typo 2015-02-12 Hayaki Saito * converters/img2sixel.c: Fix a leak around parsing -B option * converters/img2sixel.c: Fix a typo in the output of -H * converters/img2sixel.c: Fix a tiny memory leak when duplicated -m option are specified 2015-02-11 Hayaki Saito * converters/loader.c: Minor style fix * converters/shell-completion/bash/img2sixel, converters/shell-completion/zsh/_img2sixel: Add -B option to shell completion settings 2015-02-10 Hayaki Saito * converters/loader.c: Background color support for 8bpp paletted PNG with tRNS chunk using libpng (for Issue #25) 2015-02-09 Hayaki Saito * converters/loader.c: Consider the behavior of libpng1.2 around background color support(for Issue #25) 2015-02-08 Hayaki Saito * README.md, converters/img2sixel.1, converters/img2sixel.c: Add the brief of -B option to README and manpage * converters/loader.c: Fix build error when --without-png configure option is specified * converters/img2sixel.c, converters/loader.c, converters/loader.h: Add -B/--bgcolor option (for Issue #25) * converters/img2sixel.c: Fix noise problem when applying palette (for issue #26) * src/quant.c: Correct wrong histgram processing (for Issue #26) 2015-02-05 Hayaki Saito * Makefile.in, converters/Makefile.am, converters/Makefile.in: Minor fixes 2015-02-04 Hayaki Saito * converters/loader.c, converters/stb_image.h, patches/applied/stb_image.h.diff: Update stb_image to v2.02 (for Issue #24) * ChangeLog: Update ChnageLog 2015-02-03 Hayaki Saito * examples/opengl/README.md: Add README of OpenGL example * examples/opengl/main.c: Minor fix * .gitignore: Update gitignore * converters/Makefile.am, converters/Makefile.in: Add converters/unittest.log to clean targets * Makefile.in, configure, configure.ac: Detect availabilies for GD functions correctly if gd.h is not in default include path 2015-02-02 Hayaki Saito * config.h.in, converters/loader.c: Fix some wrong config.h declaration: HAVE_XXX -> HAVE_DECL_XXX (for #23) * config.h.in, configure, configure.ac, converters/loader.c, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: Check availability of png_set_{,expand_}gray_1_2_4_to_8 (#23) 2015-02-02 saitoha * converters/loader.c: Workaround for 1/2/4bpp grayscaled image with libpng1.2, reported by @msmhrt(#23) 2015-02-01 Hayaki Saito * ChangeLog: Update ChangeLog * NEWS: Update NEWS * converters/loader.c: Fix wrong bit depth handling issue reported by @msmhrt (#22) 2015-01-27 Hayaki Saito * ChangeLog: Update ChangeLog * examples/opengl/main.c: OpenGL example: performance improvement 2015-01-24 Hayaki Saito * src/fromsixel.c: Fix a bad allocation error * examples/opengl/config.guess, examples/opengl/config.sub: Add missing config.sub and config.guess * examples/opengl/Makefile.am, examples/opengl/Makefile.in, examples/opengl/config.h.in, examples/opengl/configure, examples/opengl/configure.ac, examples/opengl/main.c: Detect CGL/GLX availability in opengl example configuration * src/writer.c: Fix mingw build * src/fromsixel.c: Do not free temporary buffer allocated by custom allocator 2015-01-23 Hayaki Saito * README.md: Update README * examples/opengl/Makefile.am, examples/opengl/Makefile.in, examples/opengl/aclocal.m4, examples/opengl/compile, examples/opengl/config.h.in, examples/opengl/configure, examples/opengl/configure.ac, examples/opengl/depcomp, examples/opengl/install-sh, examples/{osx/opengl/opengl.c => opengl/main.c}, examples/opengl/missing, examples/osx/opengl/Makefile: Use osmesa for opengl-sixel demo 2015-01-13 Hayaki Saito * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in, src/loader.c: Add check-am target to makefiles 2014-12-30 Hayaki Saito * configure, configure.ac, package.json: Update version * ChangeLog, NEWS: Update NEWS and ChangeLog * src/dither.c: Add a comment block regarding the behavior of VT340 palette(Issue #12) * src/dither.c: Hotfix for VT-340's rotated palette(Issue #12) * converters/Makefile.am, converters/Makefile.in, converters/sixel2png.c, include/sixel-imageio.h.in, src/Makefile.am, src/Makefile.in, src/loader.c, {converters => src}/stb_image_write.c, {converters => src}/stb_image_write.h, src/writer.c: Add new API: sixel_helper_write_image_file * converters/Makefile.am, converters/Makefile.in, converters/sixel2png.c, src/Makefile.am, src/Makefile.in, src/loader.c: Cleanup sixel2png.c * src/fromsixel.c: Arrange palette with 3byte per color format * src/Makefile.am, src/Makefile.in: Build fix for MinGW * converters/Makefile.am, converters/Makefile.in: Build fix 2014-12-29 Hayaki Saito * src/Makefile.am, src/Makefile.in: Add -lm to LDADD of libsixel * converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Minor fixes * include/sixel-imageio.h.in: Add missing sixel-imageio.h.in * libsixel.pc.in: Update libsixel.pc.in * converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Remove unused dependencies from LIBADD and LDADD * configure, configure.ac, converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, converters/loader.h, converters/stb_image.c, include/Makefile.am, include/Makefile.in, src/Makefile.am, src/Makefile.in, {converters => src}/frompnm.c, {converters => src}/frompnm.h, {converters => src}/loader.c, {converters => src}/stb_image.h: Add new API: sixel_helper_load_image_file * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, converters/scale.h, include/sixel.h.in, src/Makefile.am, src/Makefile.in, {converters => src}/scale.c: Add new API sixel_helper_scale_image * converters/img2sixel.c, converters/loader.c, converters/loader.h, src/pixelformat.c: Cleanup loader.c * Makefile.am, Makefile.in: Make sure to remove test.log in clean target * converters/img2sixel.c, converters/scale.c, converters/scale.h, include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/dither.c, src/pixelformat.c, src/quant.c, src/tosixel.c: Add new API sixel_helper_compute_depth and sixel_helper_normalize_pixelformat * converters/img2sixel.c, converters/scale.c, converters/scale.h: Cleanup scale.c 2014-12-28 Hayaki Saito * converters/tests.c: Add missing tests.c * .travis.yml, Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in, src/dither.c, src/dither.h: Add basic tests of dither.c 2014-12-26 Hayaki Saito * config.h.in, configure, configure.ac: Add --enable-tests configure option * converters/img2sixel.c: Minor style improvement * converters/img2sixel.c: Strip an unreached return statement 2014-12-24 Hayaki Saito * ChangeLog, configure, configure.ac, package.json: Update version * converters/img2sixel.c: Fix wrong crop option(-c) behavior * src/tosixel.c: Fix memory leak and segmentation fault in rare cases * src/tosixel.c: Minor fixes 2014-12-19 Hayaki Saito * configure, configure.ac, package.json: Bump version * ChangeLog, NEWS: Update ChangeLog and NEWS * Makefile.in, configure, configure.ac, converters/Makefile.am, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Define _ALL_SOURCE only in Interix environment 2014-12-18 Hayaki Saito * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c: Prohibit use of -8 and -P options at same time * src/tosixel.c: Cleanup * src/tosixel.c: Avoid using magic strings * src/tosixel.c: Define some macros for DCS processing 2014-12-18 IWAMOTO Kouichi * converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: fix include path priority. 2014-12-09 Hayaki Saito * converters/Makefile.am, converters/Makefile.in: Fix the typo of preprocesser definition _ALL_SOURCE 2014-12-08 Hayaki Saito * converters/img2sixel.c: Don't define the variable 'lag' if usleep(3) is not available 2014-12-07 Hayaki Saito * converters/img2sixel.c, converters/sixel2png.c: Don't use unportable strdup(3) * ChangeLog, NEWS: Update ChangeLog * converters/Makefile.am, converters/Makefile.in: Don't use unportable grep arguments for test * converters/Makefile.am, converters/Makefile.in: Don't use shell-builtin '!' * Makefile.am, Makefile.in: Don't use -C option of make command, for the portability * converters/Makefile.am, converters/Makefile.in: Add definition _ALL_SOURCES for some platforms * config.h.in, converters/img2sixel.c, converters/sixel2png.c: Add support for strdup-missing environments * configure, configure.ac: Check strdup availability 2014-12-06 Hayaki Saito * configure, configure.ac: Build fix for Interix * Makefile.in, configure, configure.ac, converters/Makefile.am, converters/Makefile.in, include/Makefile.in, src/Makefile.am, src/Makefile.in: Checks the availability of some C compiler warning flags * configure, configure.ac: Add conditional variable for makefile: HAVE_GETOPT_LONG * converters/Makefile.am, converters/Makefile.in: Fix tests as respecting POSIX compliant behavior of getopt * converters/img2sixel.c: Minor style fixes 2014-12-05 Hayaki Saito * converters/img2sixel.c, converters/sixel2png.c: Suppress warnings for Interix build(without HAVE_GEtOPT_LONG) * configure, configure.ac, converters/Makefile.am, converters/Makefile.in: Fix tests for some environments that have not getopt_long * src/tosixel.c: Replace integer literals 32768 to 'maxcolors' * src/tosixel.c: Move a long case statement to a new function * converters/loader.c: Suppress a clang warning: -Wunused-parameter * configure, configure.ac, package.json: Bump version * ChangeLog: Update ChangeLog * NEWS: Update NEWS * converters/loader.c, src/fromsixel.c: Style fixes 2014-12-04 Hayaki Saito * converters/img2sixel.c: Fix a stupid typo * README.md, converters/Makefile.am, converters/Makefile.in, converters/img2sixel.1, converters/img2sixel.c, converters/loader.c, converters/loader.h, converters/shell-completion/bash/img2sixel, converters/shell-completion/zsh/_img2sixel: Introduce -k, --insecure option for libcurl integration * converters/Makefile.am, converters/Makefile.in: Add test for SSL access with libcurl 2014-12-03 OBATA Akio * configure, configure.ac: Kill bashizm '=' operator for test(1) is not portable. 2014-12-01 Hayaki Saito * NEWS: Update NEWS * ChangeLog, configure, configure.ac, package.json: Bump version * converters/img2sixel.c: Build fix * converters/img2sixel.c, converters/loader.c: Fix broken -m(--mapfile option) * README.md: Revert "Update README" This reverts commit 4dfed12be17c10d0161c51eca0b38369e93023d4. * README.md: Update README * README.md: Update README * include/sixel.h.in, src/dither.c: A bit of fixes of API signature 2014-11-30 Hayaki Saito * ChangeLog: Update ChangeLog * converters/Makefile.am, converters/Makefile.in: Minor fix * NEWS: Update NEWS * README.md: Add a link to @arakiken's document(libsixel.pdf) to README * src/fromsixel.c: Minor style fix 2014-11-30 saitoha * converters/img2sixel.c: Fix a segmentation error caused by illigal depth dealing 2014-11-30 Hayaki Saito * converters/Makefile.am, converters/Makefile.in: Add tests for some edge cases of sixel decoding * converters/Makefile.am, converters/Makefile.in: Ammend fix for DCS parameter parsing tests * converters/Makefile.am, converters/Makefile.in: Fix test for wine environment * converters/Makefile.am, converters/Makefile.in: Add a test of parsing sixel DCS parameters * converters/Makefile.am, src/fromsixel.c: Add a test of decoding big sixel * src/tosixel.c: Add a pair of ref/unref call for output context * converters/img2sixel.c: Don't trust loop_count report of gdk-pixbuf loader * converters/Makefile.am, converters/Makefile.in: Add tests for -E(--encode-policy) option * converters/Makefile.am, converters/Makefile.in: Add a test for option "-l auto" * converters/Makefile.am, converters/Makefile.in: Add a test for combination of options, -u and -g * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, converters/loader.c, converters/loader.h: If input data is empty or 1byte LF, the loader ignores it and returns successfully 2014-11-30 arakiken * src/tosixel.c: Search a next node from nodes after a current node instead of context->node_top in sixel_encode_body(). 2014-11-30 Hayaki Saito * converters/Makefile.am, converters/Makefile.in: Add tests for applying vt340 built-in palette * converters/img2sixel.c: Separate convert_sixel into 3 functions * converters/Makefile.am, converters/Makefile.in: Fix pipe-mode test for mingw build * converters/Makefile.am, converters/Makefile.in: Don't test -D option(pipe mode) in wine environment 2014-11-30 arakiken * src/tosixel.c: Search a next node from nodes after a current node instead of context->node_top in sixel_encode_body(). 2014-11-30 Hayaki Saito * converters/Makefile.am, converters/Makefile.in: Add tests for applying vt340 built-in palette * NEWS: Update NEWS * converters/img2sixel.c: Separate convert_sixel into 3 functions * converters/Makefile.am, converters/Makefile.in: Fix pipe-mode test for mingw build * converters/Makefile.am, converters/Makefile.in: Don't test -D option(pipe mode) in wine environment * README.md, configure, configure.ac, package.json: Update minor version * configure, configure.ac: Update libtool version to 1.3.0 * NEWS: Update NEWS * ChangeLog: Update ChangeLog * NEWS: Update NEWS * src/quant.c: Minor change of mehod of creating histogram * converters/Makefile.am: Add some tests of loading grayscaled PNG * converters/img2sixel.c: Make palette from grayscaled PNG with -m option * converters/loader.c: Expand 8bpp grayscale input into 24bit colors if it is needed * README.md, converters/img2sixel.1, converters/img2sixel.c, converters/shell-completion/bash/img2sixel, converters/shell-completion/zsh/_img2sixel: Add new argument definitions of -b option, vt340mono and vt340color * include/sixel.h.in, src/dither.c: Add new built-in palette definition, VT340 mono and VT340 color * src/dither.c: Style improvement 2014-11-29 Hayaki Saito * converters/loader.c: libpng loader supports 8bit grayscale as an output format * converters/img2sixel.c: 8bit grayscale input format is supported internally by img2sixel * src/tosixel.c: Accept grayscaled input correctly * images/snake-monochrome.png: Add a monochrome test image * include/sixel.h.in: Reserve some new grayscale pixelformats * .travis.yml, converters/stb_image_write.h: Revert 2ab568c, 52129e9 * .travis.yml: Update .travis.yml * converters/stb_image_write.h: Suppress warnings of breaking strict-aliasing rules on i586-mingw32msvc build target * converters/loader.c: Make sure the local variable 'stride' is initialized 2014-11-28 Hayaki Saito * converters/stb_image.h: Fix acesss violation error on 32bit mingw build 2014-11-27 Hayaki Saito * src/quant.c: Enable detailed trace if img2sixel is built with --enable-debug option 2014-11-26 Hayaki Saito * converters/stb_image.h: Retrive bit depth of indexed PNG from IHDR chunk * .travis.yml, converters/Makefile.am, converters/Makefile.in: Print more detailed logs on travis * converters/stb_image.h: Load 4bpp indexed PNG without libpng loader * converters/img2sixel.c: Fix warnings of ordered comparison of pointer with integer zero * converters/img2sixel.c, converters/loader.c, converters/loader.h: Don't use internal indexed processing if less number of colors than the source palette are specified by -p option * converters/img2sixel.c: Don't use indexed processing if -m,-e,-I,-b options are specified * converters/img2sixel.c: Strip trailing spaces * converters/img2sixel.c: Crop images with preserving PAL8 pixel format * converters/Makefile.am, converters/Makefile.in: Add tests for internal indexed processing 2014-11-25 Hayaki Saito * images/map8.six, images/snake.six: Add test sixel images * converters/loader.c: Move the sixel loader process as a separated function * converters/img2sixel.c, converters/loader.c: SIXEL loader preserves PAL8 pixel format if possible * converters/img2sixel.c, converters/loader.c, converters/loader.h: Pass pixelformat value returned by loader component to dithering context initializer * converters/loader.c: Add missing break statement 2014-11-24 Hayaki Saito * converters/loader.c: Retrive pixelformat from png loader * converters/frompnm.c, converters/frompnm.h, converters/loader.c: Change the signature of pnm loader to retrive pixelformat * converters/frompnm.c, converters/loader.c: Style improvements * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, converters/loader.c, converters/loader.h, include/sixel.h.in, src/dither.c, src/tosixel.c: Support paletted input * images/map16-palette.png, images/map8-palette.png, images/snake-palette.png: Add paletted PNG images 2014-11-23 Hayaki Saito * converters/Makefile.am, converters/Makefile.in, images/snake-grayscale.jpg, images/snake-grayscale.png: Add tests of loading grayscaled jpeg/png images * ChangeLog, configure, configure.ac, package.json: Bump version * converters/loader.c: Fix a segmentation fault while loading grayscaled PNG * converters/shell-completion/bash/img2sixel: Update bash completion file * converters/shell-completion/zsh/_img2sixel: Update zsh completion file 2014-11-22 Hayaki Saito * converters/Makefile.am, converters/Makefile.in: Add tests for completion * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/dither.h, src/quant.c, src/tosixel.c: Chenage symbols of enum pixelFormat 2014-11-20 Hayaki Saito * converters/img2sixel.c, converters/sixel2png.c, examples/osx/opengl/opengl.c: Fix for DCL20-C compliant: "Explicitly specify void when a function accepts no arguments" https://www.securecoding.cert.org /confluence/display/seccode/DCL20-C.++Explicitly+specify+void+when+a+functio n+accepts+no+arguments * NEWS: Update NEWS * converters/Makefile.am, converters/Makefile.in: Add more tests for -b option * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c: Add invalid option handler for -b option * converters/Makefile.am, converters/Makefile.in: Add some tests for -b option 2014-11-19 arakiken * src/tosixel.c: Fix a bug which outputs sixel sequence exceeding the size of an original image if encode_policy is ENCODEPOLICY_SIZE. 2014-11-19 Hayaki Saito * ChangeLog, configure, configure.ac, package.json: Bump micro version * converters/img2sixel.c: Suppress color expansion on loading mapfiles 2014-11-18 Hayaki Saito * converters/Makefile.in: Rebuild 2014-11-18 saitoha * converters/Makefile.am: Fix test for MinGW environment 2014-11-18 Hayaki Saito * .travis.yml: Update .travis.yml 2014-11-17 Hayaki Saito * .travis.yml: Update .travis.yml 2014-11-17 saitoha * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.1: Fix for passing manpage test 2014-11-17 Hayaki Saito * converters/img2sixel.c: Amend fixes for -b option * converters/img2sixel.c: Update optstring which is passed to getopt() * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.1: Add the explanation of -E option to manpage * converters/Makefile.am, converters/Makefile.in: Add a test for avoid forgetting to write about new options in manpage * README.md, converters/img2sixel.1, converters/img2sixel.c: Add missing options in manpage * README.md, converters/img2sixel.1, converters/img2sixel.c: Introduce -b/--builtin-palette option instead of -x/-y options 2014-11-16 arakiken * converters/img2sixel.c: Fix help message. * converters/img2sixel.c, include/sixel.h.in, src/output.c, src/output.h, src/tosixel.c: Add -E, --encode-policy mode. 2014-11-16 saitoha * src/quant.c: Minor style improvement 2014-11-16 Hayaki Saito * src/quant.c: Prevent memory access violation * src/quant.c: Reduce working memory allcation size during prepare histogram 2014-11-15 Hayaki Saito * src/dither.c: Skip memcpy only when pixelformat is RGB888 * src/quant.c: Add missing parameter type definition * src/dither.c, src/quant.c, src/quant.h: Pass pixelformat instead of depth to sixel_quant_make_palette * src/dither.c, src/quant.c, src/quant.h: Rename functions prefixed by 'LSQ' to sixel_quant_xxx * src/dither.c, src/tosixel.c: convert pixelformat in sixel_dither_apply_palette * src/tosixel.c: Use dither->pixelformat internally * include/sixel.h.in, src/dither.c, src/tosixel.c: Introduce new API: sixel_dither_set_pixelformat * src/dither.c, src/dither.h: Introduce a new member for dithering context object: pixelformat * src/dither.c, src/dither.h, src/tosixel.c: Rename internal API sixel_apply_palette to sixel_dither_apply_palette 2014-11-15 saitoha * converters/loader.c: Fix a maybe-uninitialized GCC warning 2014-11-15 Hayaki Saito * converters/loader.c: Get rid of unused variables 2014-11-15 saitoha * src/fromsixel.c: Revert "Fix overflow issue in sixel_decode" This reverts commit 0ae94a3e6fcfc574c7a32fc3e9c80594de4d778b. * converters/loader.c, converters/sixel2png.c: Don't use setjmp for the future because it's thread-unsafe * converters/loader.c: Make PNG loader using libpng as a separated function * converters/stb_image.h: Suppress an -Wsigned error in converters/stb_image.h * converters/loader.c: Strip an unused local variable * converters/img2sixel.c: Strip an extra conditional directive * converters/img2sixel.c: Strip an extra conditional clause 2014-11-15 Hayaki Saito * include/sixel.h.in: Add dummy members to some structs in sixel.h because empty struct is a GNU extension * converters/img2sixel.c, src/quant.c, src/tosixel.c: Suppress sign-compare and unused-parameter warnings by clang * src/fromsixel.c: Fix overflow issue in sixel_decode * converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Build with extra waning flags 2014-11-14 arakiken * src/tosixel.c: Optimize encoding to sixel sequence. (http://mlterm.sf.net/optimize-sixel.png) 2014-11-14 Hayaki Saito * src/quant.c: Apply dither to more pixels in the edge 2014-11-13 Hayaki Saito * src/dither.c, src/dither.h, src/tosixel.c: Change symbol names: 'bitfield' -> 'pixelformat' * .travis.yml: Update .travis.yml * converters/sixel2png.c: Correct wrong correspondence between short and long options: --help/--version * src/dither.c: Suppress GCC warnings * converters/Makefile.am, converters/Makefile.in: Add more tests * converters/loader.c: Use malloc instead of calloc * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/dither.h, src/quant.c, src/quant.h, src/tosixel.c: Add new API: sixel_dither_set_optimize_palette * src/quant.c: Improve dithering performance 2014-11-12 Hayaki Saito * include/sixel.h.in: Reformat sixel.h.in 2014-11-11 Hayaki Saito * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c: Cleanup 2014-11-11 saitoha * aclocal.m4, config.guess, config.h.in, config.sub, configure, configure.ac, converters/loader.c, ltmain.sh, m4/libtool.m4: Don't include setjmp.h 2014-11-10 Hayaki Saito * config.h.in, converters/Makefile.am, converters/Makefile.in: Update tests * README.md, converters/img2sixel.1: Update documents * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/quant.c: Implement new quality mode: full * src/quant.c: Fix broken lookup_normal strategy function * converters/quant.h: Remove an unused file * src/quant.c, src/tosixel.c: Style improvements * src/fromsixel.c: Change default background color of sixel2png to 15 2014-11-09 Hayaki Saito * configure, configure.ac, converters/Makefile.am, converters/Makefile.in, converters/loader.c, converters/sixel2png.c: Check setjmp availability * src/quant.c: Correct reversed test condition for HAVE_CALLOC * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c: Test -s option more efficiently * converters/Makefile.am: Add tests for loading big sixel image * converters/Makefile.am, converters/Makefile.in: Update tests * converters/Makefile.am: Update tests * converters/Makefile.in: Update tests * converters/Makefile.am, converters/Makefile.in: Update tests * converters/Makefile.am, converters/Makefile.in, images/seq2gif.gif: Add tests for GIF animation rendering 2014-11-08 Hayaki Saito * converters/frompnm.c: Cherry-picked edd88d0: Make img2sixel enable to load pbm files 2014-11-09 Hayaki Saito * converters/loader.c: Prevent segfault with -m option in libpng loader * configure, configure.ac, package.json: Bump version * converters/loader.c: Fix segfault on using gdk-pixbuf loader with -m option 2014-11-09 OBATA Akio * configure, configure.ac: Kill bashizm '=' operator for test(1) is not portable. 2014-11-09 Hayaki Saito * .travis.yml: Update .travis.yml * .travis.yml, converters/Makefile.am, converters/Makefile.in: Update .travis.yml * converters/Makefile.am, converters/Makefile.in: Update .travis.yml * configure, configure.ac, converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/tosixel.c: Rename the option "-F,--fullcolor" to "-I,--high-color" 2014-11-08 Hayaki Saito * converters/frompnm.c: Make img2sixel enable to load pbm files * converters/Makefile.in: Update tests * converters/Makefile.am: Update tests * images/snake-ascii.pbm, images/snake-ascii.pgm, images/snake-ascii.ppm, images/snake.pbm, images/snake.pgm, images/{snake.pnm => snake.ppm}: Add various ppm images for testing * converters/Makefile.in: Update tests * converters/img2sixel.c: Fix leaks for the combinated case that 15bpp mode and pipe mode are enabled * converters/Makefile.am: Update tests * converters/img2sixel.c: Build fix for some system which don't provide clock or usleep * ChangeLog, configure, configure.ac, package.json: Update version * converters/Makefile.am, converters/Makefile.in, src/dither.c: Update tests * aclocal.m4, configure, converters/Makefile.am, converters/Makefile.in: Update tests * converters/img2sixel.c, src/dither.c: Enable some options(-f, -s, and -q) ignored unintentionally * converters/Makefile.am, converters/Makefile.in: Add some tests * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, src/tosixel.c: Cleanup 2014-11-08 saitoha * .travis.yml: Update .travis.yml 2014-11-08 Hayaki Saito * .travis.yml: Build with --enable-debug on travis * converters/sixel2png.c: Don't include stb_image_write.h if libpng is used * converters/Makefile.am, converters/Makefile.in, converters/sixel2png.c: Add failure cases to tests * src/fromsixel.c: ColTab -> color_table * src/fromsixel.c: Fix leaks on some error cases * .travis.yml: Update .travis.yml * converters/Makefile.am, converters/Makefile.in, src/quant.c: Update tests * .travis.yml, converters/Makefile.am: Add more tests * converters/Makefile.am, converters/Makefile.in: Add tests for various options 2014-11-07 Hayaki Saito * configure, configure.ac, converters/Makefile.am, converters/Makefile.in: Add a test for libcurl integration * converters/Makefile.am, converters/Makefile.in: Add tests for various image formats * converters/Makefile.am, converters/Makefile.in: Add tests for pipe-mode 2014-11-07 saitoha * .travis.yml: Update .travis.yml * aclocal.m4, configure, configure.ac, converters/img2sixel.c: Various fixes for MinGW build 2014-11-06 Hayaki Saito * src/tosixel.c: Implement various dithering method for 15bpp mode 2014-11-05 Hayaki Saito * src/tosixel.c: Apply floyd steinberg dithering with 15bpp output mode * src/tosixel.c: Cleanup 2014-11-05 saitoha * converters/malloc_stub.c, src/tosixel.c: Suppress warings on MinGW environment 2014-11-04 arakiken * src/tosixel.c: Remove unnecessary variables 'src' and 'orig_src'. * src/tosixel.c: Allocate 'rgbhit' and 'rgb2pal' on heap instead of stack. * src/tosixel.c: Remove an extra space. 2014-11-04 Hayaki Saito * src/dither.c, src/quant.c: Amend fix for suppressing GCC warnings * src/dither.c, src/quant.c: Revert "Suppress GCC 4.9.1 warnings" This reverts commit 289b2d7ec4f0e06fe5fc85a8b11eafe536331e04. * src/dither.c, src/quant.c: Suppress GCC 4.9.1 warnings * converters/img2sixel.c: Include sys/types.h to use fd_set * converters/img2sixel.c: Minor fix * config.h.in, configure, configure.ac, converters/img2sixel.c: Include sys/select.h to fix build on MinGW environment 2014-11-03 Hayaki Saito * README.md, converters/img2sixel.1, converters/img2sixel.c: Update document for --pipe-mode 2014-11-03 arakiken * src/tosixel.c: Remove a performance hack which inserts '\n' after palette definition. 2014-11-03 Hayaki Saito * configure, configure.ac, package.json: Bump version * converters/loader.c: Interpret an image expanded by png_set_palette_to_rgb as a 3-channel image * converters/img2sixel.1: Delete duplicated contributers * config.h.in, configure, configure.ac, converters/img2sixel.c, converters/loader.c, converters/loader.h: Use clearerr instead of fseek * config.h.in, configure, configure.ac, converters/img2sixel.c, converters/loader.c, converters/loader.h: Use fseek instead of rewind, and check the availability of fseek * converters/img2sixel.c, converters/loader.c: Add pipe mode feature(-D/--pipe-mode) * converters/img2sixel.c: Avoid scanf buffer overflow * converters/img2sixel.c: Add missing options in brevity help * ChangeLog: Update ChangeLog * configure, configure.ac, package.json: Update version * converters/loader.c: Fix a segmentation fault occurs when using libpng loader * src/output.h, src/tosixel.c: Drop unnecessary variable sixel_output_t::conv_palette 2014-11-02 arakiken * src/tosixel.c: Remove unnecessary check. (nwrite <= 0) Cherry-picked from cf00bed Conflicts: src/tosixel.c 2014-11-03 Hayaki Saito * src/fromsixel.c: Strip unused variables * converters/loader.c: Replace some indent tabs to spaces * include/sixel.h.in, src/dither.c: Fix a typo of API signature(#10). old one is still remained. 2014-11-02 arakiken * src/tosixel.c: Separate sixel_encode_impl() into sixel_encode_header(), sixel_encode_body() and sixel_encode_footer(). Cherry-picked from 339d958. Conflicts: src/tosixel.c * src/tosixel.c: Remove unnecessary check. (nwrite <= 0) * src/tosixel.c: Separate sixel_encode_impl() into sixel_encode_header(), sixel_encode_body() and sixel_encode_footer(). * src/tosixel.c: Remove a trailing space. Add sixel_dither_unref() before return (-1). * src/dither.c: Replace indent tabs to spaces. * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/tosixel.c: Support 15bpp color sixel. (-F option) 2014-11-01 Hayaki Saito * README.md: Update README 2014-10-29 Hayaki Saito * src/image.c: Remove unused source file image.c 2014-10-28 Hayaki Saito * converters/img2sixel.1: Add contributers * converters/img2sixel.1: Correct swapped explanation of dithering methods atkinson and fs 2014-10-27 Vertis Sidus * converters/img2sixel.c: Added command line options to use XTERM palettes. 2014-10-26 Hayaki Saito * NEWS: Update NEWS * configure, configure.ac, package.json: Bump version * README.md: Update README * README.md: Update README * README.md: Update README * README.md: Update README * NEWS: Update NEWS * ChangeLog: Update ChangeLog * converters/shell-completion/bash/img2sixel: Update bash completion file * converters/shell-completion/zsh/_img2sixel: Update zsh completion file * README.md, converters/img2sixel.1: Update manpage and README.md * converters/img2sixel.c: Update help * converters/sixel2png.c: Write png data using libpng by sixel2png * converters/sixel2png.c: Fix a typo * converters/sixel2png.c: Cleanup * converters/loader.c: Accepts sixel as input format by img2sixel * README.md: Update README * configure, configure.ac, package.json: Bump version * ChangeLog: Update ChangeLog * converters/img2sixel.c: Fix segmentation fault on quitting GIF animation with -u option * ChangeLog, NEWS: Update ChangeLog and NEWS * converters/img2sixel.c, src/tosixel.c: Support HLS palette 2014-10-25 Hayaki Saito * configure, configure.ac: Don't terminate configure process if --with-libcurl=auto * .travis.yml: Update .travis.yml * .travis.yml: Update .travis.yml * configure, configure.ac: Don't check pkg-config availability if $cross_compile == yes * Makefile.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Use $PKG_CONFIG environment variable instead of $have_pkg_config * configure, configure.ac: Don't use system pkg-config if $cross_compile == "yes" * .travis.yml: Update .travis.yml * .travis.yml: Update .travis.yml * .travis.yml, configure, configure.ac: Update .travis.yml * .travis.yml: Update .travis.yml * configure, configure.ac: Checks zlib availability with libpng, workaround for MinGW build * README.md, configure, configure.ac: Links libcurl automatically * Makefile.in, NEWS, configure, configure.ac, converters/Makefile.am, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Build with libjpeg/libpng automatically * converters/loader.c: Strip alpha in png loader 2014-10-22 Hayaki Saito * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in, images/snake.png: Add test for loading png with libpng * configure, configure.ac, converters/Makefile.am, converters/Makefile.in, images/snake-progressive.jpg: Add a test for loading progressive jpeg * include/sixel.h.in, src/output.c, src/output.h: Add new API sixel_output_set_palette_type * converters/img2sixel.c, include/sixel.h.in: Add --palette-type option 2014-10-20 Hayaki Saito * README.md: Update README * README.md: Update README * configure, configure.ac, include/sixel.h.in, src/dither.c, src/dither.h, src/tosixel.c: Add new API, sixel_dither_set_body_only * converters/img2sixel.c: Update usage * ChangeLog, NEWS, README.md: Update README and ChangeLog * configure: Minor fix * configure, configure.ac: Minor fix * configure.ac: Fix build error * converters/loader.c: Fix build error * converters/loader.c: Use libpng reader * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.am, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Add --with-png configure option * LICENSE.xterm, README.md, src/fromsixel.c: Fix wrong HLS-to-RGB conversion routine 2014-10-19 Hayaki Saito * README.md: Update README 2014-10-18 Hayaki Saito * converters/img2sixel.c: Introduce --verbose option * src/fromsixel.c: Rename some functions as snake case * src/fromsixel.c: Rename some functions as snake case 2014-10-17 Hayaki Saito * configure, configure.ac, package.json: Bump version * README.md: Update README * src/tosixel.c: Omit DCS parameters by default * src/tosixel.c: Strip an extra DECGNL character at the end of output data * src/tosixel.c: Strip an extra LF character from output data * converters/loader.c: Suppress gdk-pixbuf assersion on processing some GIF images, reported by @ttdoda 2014-10-14 Hayaki Saito * configure, configure.ac, package.json: Bump version * LICENSE.sdump, Makefile.in, README.md, config.h.in, configure, configure.ac, converters/Makefile.am, converters/Makefile.in, converters/loader.c, include/Makefile.in, src/Makefile.in: Add libjpeg support with --with-jpeg configure option 2014-10-12 Hayaki Saito * package.json.in.in: clib integration: add --with-libcurl option by default * NEWS: Add missing items to NEWS * converters/loader.c: Include errno.h in loader.c * converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Add -Werror to CFLAGS when --enable-debug configure option is specified * config.h.in, configure, configure.ac: Introduce --enable-debug configure option * converters/img2sixel.c: Fix a double free error * README.md: Update README * README.md: Update README * README.md: Update README 2014-10-11 Hayaki Saito * README.md: Update README * NEWS, README.md: Document updates * README.md: Update README * converters/loader.c, src/quant.c: Suppress some compiler wanings * src/quant.c: Fix a bug caused by an uninitialized variable * converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Add missing -Wall option to cflags to privent stupid bugs like #9 * converters/loader.c: Quick fix for Issue #9 * README.md: Update README * README.md: Update README 2014-10-11 Bruce Mitchener * converters/loader.c, converters/shell-completion/bash/img2sixel, converters/sixel2png.1, include/sixel.h.in, src/output.c: Remove whitespace at EOL. * ChangeLog, README.md, converters/img2sixel.1, converters/img2sixel.c, converters/quant.h, converters/shell-completion/bash/img2sixel, converters/shell-completion/zsh/_img2sixel, include/sixel.h.in, src/dither.h, src/quant.c: Fix typos. * converters/img2sixel.c: Fix uninitialized variable. * converters/img2sixel.c, converters/scale.c: Remove unused functions. * converters/img2sixel.c, converters/loader.c, converters/sixel2png.c, src/quant.c, src/tosixel.c: Remove unused variables. * include/sixel.h.in, src/output.c, src/quant.c: Remove invalid const specifier on return type. 2014-10-11 Hayaki Saito * README.md: Update README * README.md: Update README * Makefile.in, NEWS: Add NEWS 2014-10-09 Hayaki Saito * converters/shell-completion/bash/img2sixel: Update bash completion file * converters/shell-completion/zsh/_img2sixel: Update zsh completion file * converters/img2sixel.1: Add missing descriptions to img2sixel manpage * README.md, converters/img2sixel.1, converters/img2sixel.c: Update documents * data/example_opengl.gif, data/ffmpeg.png, data/gnuplot.png, data/gs.png, data/libsixel-1.png, data/q_libsixel.png, data/q_ppmtosixel.png, data/q_ppmtosixel2.png, data/q_sixel.png, data/q_sixelconv.png, data/qemu.png, data/sixel.gif, data/w3m-sixel.png, data/wesnoth.png, data/xsdl.png, data/xsixel.png, data/zx81.png: Remove data directory 2014-10-08 Hayaki Saito * README.md, converters/img2sixel.1, converters/img2sixel.c: Update documents * converters/img2sixel.c, converters/loader.c, converters/loader.h: Introduce --static option * converters/img2sixel.c: @uobikiemukot's patch in the conversation of #8 * include/sixel.h.in: Keep compatibility 2014-10-07 Hayaki Saito * src/dither.c: Swap bytes if depth == 2 * ChangeLog: Update ChangeLog * configure, configure.ac, package.json: Bump version * converters/img2sixel.c: Fix for animation GIF quality degradation * include/sixel.h.in, src/dither.c, src/dither.h, src/tosixel.c: Apply @uobikiemukot's patch (various pixel-format support) https://gist.github.com/uobikiemukot/7adab29310caf0be6f7a 2014-10-06 Hayaki Saito * LICENSE.sixel, README.md: Add a mention about the License of kmiya's sixel * ChangeLog: Update ChangeLog 2014-10-05 Hayaki Saito * README.md: Update README.md * configure, configure.ac, package.json: Bump version * converters/stb_image.h: Skip an unknown code(0x3c) at GIF decoder 2014-10-02 Hayaki Saito * ChangeLog: Update Changelog 2014-10-01 Hayaki Saito * configure, configure.ac: Update libtool minor version * configure, configure.ac: Update libtool micro version * LICENSE.stb: Declare patches/applied/stb_image.h.diff is in public domain * configure, configure.ac, package.json: Bump version * .gitignore: Update .gitignore * Makefile.am, Makefile.in, configure, configure.ac, package.json.in => package.json.in.in: Issue #7: prevent to erase package.json in "make distclean" target * Makefile.am, Makefile.in: Issue #7: Add test.log to CLEANFILES * converters/Makefile.am, converters/Makefile.in: Issue #7: correct wrong CLEANFILES definition 2014-09-29 Hayaki Saito * src/tosixel.c: Merge arakiken's amend patch: http://mlterm.sourceforge.net/libsixel-penetrate2.patch * converters/img2sixel.c: Print short usage explanation if invalid option is given. * src/dither.c: Change the behavior of sixel_dither_set_diffusion_type, improvement for sdump. 2014-09-28 Hayaki Saito * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/dither.h, src/quant.c, src/quant.h: Introduce -C(complexion score) option and implement complexion correction * include/sixel.h.in, src/tosixel.c: Fix build broken by fb1cd8a * converters/img2sixel.c, src/output.c, src/output.h, src/tosixel.c: Apply arakiken's patch for GNU Screen integration: http://mlterm.sourceforge.net/libsixel-penetrate.patch * converters/img2sixel.c, include/sixel.h.in, src/output.c, src/output.h, src/tosixel.c: Introduce new APIs: sixel_output_{get,set}_skip_dcs_envelope * configure, configure.ac, package.json: Bump version * src/Makefile.am, src/Makefile.in, src/dither.c, src/dither.h, src/image.c, src/image.h, src/tosixel.c: Drop sixel_image_t object and related functions 2014-09-27 Hayaki Saito * src/dither.c, src/output.c: Add NULL checks * src/dither.c, src/output.c: Add NULL checks * src/dither.c, src/image.c: Add input parameter validation for some functions 2014-09-26 Hayaki Saito * converters/img2sixel.c: Fix a compile error * converters/img2sixel.c: Fix a compile error * src/image.c: Fix a regression bug introduced by 0221665 * sixel_orig/Makefile, sixel_orig/frompnm.c, sixel_orig/fromsixel.c, sixel_orig/main.c, sixel_orig/tosixel.c: Remove original sixel (kmiya's sixel), Mirror repo is now here: https://github.com/saitoha/sixel * converters/img2sixel.c, src/dither.c, src/image.c: Fix Issue #6: Remove unnecessary null pointer checks 2014-09-25 Hayaki Saito * converters/sixel2png.c: Fix for some environment missing "getopt_long" * configure, configure.ac, package.json: Update version * converters/sixel2png.c, src/image.c: Issue #5: Completion of error handling 2014-09-24 Hayaki Saito * ChangeLog: Update ChangeLog * README.md, converters/img2sixel.1, converters/img2sixel.c: Fix typos * configure, configure.ac, package.json: Bump version * converters/shell-completion/bash/img2sixel: Update bash completion file * converters/shell-completion/zsh/_img2sixel: Update zsh completion file 2014-09-24 mattn * converters/loader.c: Avoid crash 2014-09-24 Hayaki Saito * converters/img2sixel.c: Do cropping after resizing by changing the order of arguments 2014-09-23 Hayaki Saito * README.md, converters/img2sixel.1, converters/img2sixel.c: Update documents * README.md: Fix a typo * README.md: Update README * README.md: Update README * data/w3m-sixel.png, data/xsdl.png, data/xsixel.png: Add some images * configure, configure.ac: Bump version * converters/img2sixel.c: Apply clipping region before scaling process * converters/img2sixel.c: Apply arakiken's patch to add clipping options http://mlterm.sourceforge.net/libsixel-addcopton.patch 2014-09-09 Hayaki Saito * README.md: Update README 2014-09-02 Hayaki Saito * config.h.in, configure, configure.ac, package.json: v1.0.3 revert stb_image.h to 1.41 * configure, configure.ac, package.json: v1.0.3 revert stb_image.h to 1.41 * README.md, converters/stb_image.h: Revert stb_image.h to 1.41 for preventing segfault 2014-09-01 Hayaki Saito * README.md: Update README 2014-08-29 Hayaki Saito * README.md: Fix a typo * data/qemu.png, data/wesnoth.png: Add some images for README * configure, configure.ac, package.json: Update version * README.md: Update README * converters/shell-completion/bash/img2sixel: Update bash completion file 2014-08-25 Hayaki Saito * converters/shell-completion/zsh/_img2sixel: Update zsh completion file * patches/applied/stb_image.h.diff: Add an applied patch file for original stb_image.h * README.md, converters/stb_image.h: Update stb_image.h version to 1.44 2014-08-23 Hayaki Saito * configure, configure.ac, package.json: Bump version * src/dither.c, src/quant.c: Don't create cache table when it is not needed * src/quant.c: Make faster monochrome dithering * converters/img2sixel.c: Fix a typo of --quality option value 2014-08-17 Hayaki Saito * src/dither.c, src/dither.h, src/quant.c, src/quant.h: Add quant.h and fix signature confusion of some functions * README.md: Update README * README.md, data/ffmpeg.png: Update README * configure, configure.ac, package.json: Bump version: 1.0.0 * README.md, data/example_opengl.gif, examples/osx/opengl/Makefile, examples/osx/opengl/opengl, include/sixel.h.in: Update README * src/output.h: Add a missing header * Makefile.in, aclocal.m4, configure, configure.ac, converters/Makefile.in, converters/img2sixel.c, converters/sixel2png.c, examples/osx/opengl/opengl, examples/osx/opengl/opengl.c, include/Makefile.in, include/sixel.h.in, src/Makefile.in, src/dither.c, src/dither.h, src/fromsixel.c, src/image.c, src/image.h, src/output.c, src/quant.c, src/tosixel.c: ABI version 1.0.0 * src/dither.c, src/dither.h: Add missing files * configure, configure.ac, converters/img2sixel.c, examples/osx/opengl/opengl, examples/osx/opengl/opengl.c, include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/image.c, src/output.c, src/quant.c, src/tosixel.c: ABI version 0.3.0 2014-08-16 Hayaki Saito * include/sixel.h.in, src/quant.c: Performance optimization * converters/img2sixel.c, examples/osx/opengl/opengl.c, include/sixel.h.in, src/quant.c: Minor update * converters/img2sixel.c, converters/loader.c, include/sixel.h, include/sixel.h.in, src/quant.c: Add new function sixel_dither_get * converters/img2sixel.c, converters/sixel2png.c, examples/osx/opengl/opengl, examples/osx/opengl/opengl.c, include/sixel.h, include/sixel.h.in, src/image.c, src/quant.c, src/tosixel.c: Update interface symbols * src/quant.c: Fix a bug of memory layout of palette structure * converters/loader.c: Minor fix * src/quant.c, src/tosixel.c: Minor fix 2014-08-15 Hayaki Saito * src/quant.c: Keep compatiblity with abi-1.0.0 branch * Makefile.in, README.md, aclocal.m4, config.h.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, include/sixel.h, include/sixel.h.in, m4/ax_gcc_func_attribute.m4, m4/ax_gcc_var_attribute.m4, src/Makefile.in: Add deprecated attribute to some functions * configure, configure.ac, converters/img2sixel.c, converters/loader.c, include/sixel.h, src/image.c, src/quant.c, src/tosixel.c: ABI version 0.2.0 * converters/frompnm.c: Prevent invalid memory access * examples/osx/opengl/opengl, examples/osx/opengl/opengl.c: Add an example: opengl test 2014-08-13 Hayaki Saito * src/tosixel.c: Reset active palette by every frame 2014-08-08 Hayaki Saito * README.md: Update README * src/tosixel.c: Minor fix 2014-08-07 Hayaki Saito * config.h.in, configure, configure.ac, include/sixel.h, src/output.c, src/tosixel.c: + * src/quant.c, src/tosixel.c: Minor fixes 2014-08-06 Hayaki Saito * converters/img2sixel.c, include/sixel.h, src/quant.c: Allocate cache table only once to improve performance * converters/img2sixel.c: Strip extra malloc * converters/img2sixel.c, include/sixel.h, src/quant.c: Minor fix of applying palette * src/quant.c: Improve performance 2014-08-04 Hayaki Saito * Makefile.am, Makefile.in: Minor fix * Makefile.am, Makefile.in: Update .travis.yml * Makefile.am: Remove needless workarounds for coveralls 2014-08-03 Hayaki Saito * README.md: Update README * .travis.yml: Ignore segmentation fault of coveralls command * configure, configure.ac, converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, include/sixel.h, src/Makefile.am, src/Makefile.in, {converters => src}/quant.c: Move quantization APIs to library domain * .travis.yml: Update .travis.yml * ChangeLog: Add ChangeLog * .travis.yml: Update .travis.yml * README.md, converters/img2sixel.c, converters/sixel2png.c: Add --version and --help option * configure, configure.ac, package.json: Bump version * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, src/Makefile.in, {src => wic}/wic.cc, wic_install.reg.in => wic/wic_install.reg.in, wic_uninstall.reg.in => wic/wic_uninstall.reg.in: Temporary drop wic integration * README.md: Update README * README.md, data/gnuplot.png, data/gs.png, data/libsixel-1.png, data/q_libsixel.png, data/q_ppmtosixel.png, data/q_ppmtosixel2.png, data/q_sixel.png, data/q_sixelconv.png, data/sixel.gif, data/zx81.png: Update README 2014-08-02 Hayaki Saito * config.h.in, configure, configure.ac: Bump version * README.md, converters/img2sixel.c: Add --macro-number option 2014-08-01 Hayaki Saito * converters/img2sixel.c: Minor fix 2014-07-28 Hayaki Saito * configure, configure.ac, package.json: Update version * config.h.in, configure, configure.ac, converters/img2sixel.c: Improve time precision of animation rendering * configure, configure.ac, package.json: Update micro version * converters/img2sixel.c: Do not insert delay after drawing frames, but before doing * README.md: Update README 2014-07-27 Hayaki Saito * converters/loader.c: Fix a double free error * converters/loader.c: Fix an error when glib version < 2.36 * converters/loader.c: Revert "Fix static image processing with gdk-pixbuf2" This reverts commit 5e5f2aed34dc1356c151513d5e31d9f14ce64c8e. * converters/loader.c: Fix static image processing with gdk-pixbuf2 2014-07-26 Hayaki Saito * converters/loader.c: Fix build error * converters/loader.c: Strip an unneeded malloc call * converters/loader.c: Fix a typo * converters/img2sixel.c: Fix segfault of accessing delay value * converters/img2sixel.c, converters/loader.c, converters/loader.h: Respect delay by each frame * configure, configure.ac, package.json: Bump version * src/tosixel.c: Reset parser state before parsing each frames 2014-07-25 Hayaki Saito * configure, configure.ac, package.json: Bump version * src/tosixel.c: Always reset active palette no 2014-07-24 Hayaki Saito * src/output.c: Minor fix * LICENSE.images, LICENSE.stb: Minor update of LICENSE files * configure, configure.ac, package.json: Bump version 2014-07-23 Hayaki Saito * converters/img2sixel.c: Minor fix * converters/img2sixel.c: Minor fix * configure, configure.ac, package.json: Bump version * converters/img2sixel.c: Strip a pair of malloc/free 2014-07-22 Hayaki Saito * converters/img2sixel.c: Emit DECDMAC sequence more faster (apply the patch written by @arakiken) http://mlterm.sourceforge.net/img2sixel-fixhex.patch 2014-07-21 Hayaki Saito * configure, configure.ac, package.json: Bump version * README.md, converters/img2sixel.1: Add some descriptions for new options to documents * converters/img2sixel.c: Add --ignore-delay option * converters/img2sixel.c, converters/loader.c, converters/stb_image.h: Initial implementation for --use-macro option * converters/img2sixel.c: Improve the color sampling method for makeing adaptive palette 2014-07-19 Hayaki Saito * converters/img2sixel.c: Fix a stupid typo * converters/shell-completion/zsh/_img2sixel: Add zsh completion candidates for --loop-control option * converters/shell-completion/bash/img2sixel: Add bash completion candidates of --loop-control option * configure, configure.ac, package.json: Bump version * converters/img2sixel.c: Fix the wrong option for getopt * configure, configure.ac, package.json: Update version * README.md, converters/img2sixel.1: Update document * README.md, converters/img2sixel.1: Update img2sixel document * package.json: Rebuild * converters/img2sixel.c: Enable delay only if delay value < 100 * converters/loader.c: Reset BMP component value to 3 * converters/loader.c: Fix build of gdk-pixbuf integration * config.h.in, configure, configure.ac, converters/img2sixel.c: Check usleep(3) availabiliey * converters/img2sixel.c: Fix a memory leak issue * converters/img2sixel.c, converters/loader.c, converters/loader.h: Respect "delay time" setting in GIF header * converters/stb_image.h: Retrieve "delay time" from GIF header * converters/img2sixel.c, converters/loader.c, converters/loader.h: Implement "loop control" option 2014-07-17 Hayaki Saito * converters/stb_image.h: Retrive loop count of GIF animation * converters/img2sixel.c, converters/loader.c, converters/loader.h: Add new CLI argument: --loop-control * config.h.in, configure, configure.ac, converters/img2sixel.c: Checks availability of SIGINT/SIGTERM/SIGHUP * converters/img2sixel.c: Handle SIGTERM instead of SIGKILL * Makefile.am, Makefile.in: Except libsixel.pc from CLEANFILES * configure, configure.ac: Style improvement * config.h.in, configure, configure.ac, converters/img2sixel.c: Checks signal(3) availability * converters/img2sixel.c: Emit ST when we catch SIGINT/SIGHUP/SIGTERM * configure, configure.ac: Bump version 2014-07-17 saitoha * converters/loader.c: Fix a segmentation error when loading GIF with setting requested component = 4 2014-07-16 Hayaki Saito * converters/loader.c: Minor fix * converters/loader.c: Don't load GIF with GD backend * converters/loader.c: Load animation GIF with gdk-pixbuf2 * converters/img2sixel.c: Move to (1, 1) if loaded image is an animation file * converters/loader.c: Prevent overrun * converters/img2sixel.c: Implement multiple frame output * converters/loader.c: Minor fix * converters/loader.c: Do GIF specific processing * converters/loader.c: Change the signature of load_with_builtin * converters/loader.c: Add GIF detector function * converters/loader.c: Add the chunk initializer function * converters/img2sixel.c, converters/loader.c, converters/loader.h: Change the signature of load_image_file * converters/Makefile.am, converters/Makefile.in, converters/loader.c: Include stb_image.h into loader.c 2014-07-09 Hayaki Saito * package.json: Rebuild * configure, configure.ac: Update version * package.json: Minor fix * package.json: Add package.json * libsixel.pc.in: Updaate the pkg-config file * Makefile.in, configure, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Rebuild build files * configure.ac, package.json.in: clib's package.json integration * configure.ac: Add new macro PACKAGE_DESCRIPTION * configure, configure.ac: Bump version 2014-07-01 Hayaki Saito * src/sixel.5: Minor fix of sixel(5) manpage 2014-06-27 Hayaki Saito * configure: Rebuild configure script * configure.ac: Bump version * converters/stb_image.h: Update stb_image.h version to 1.41 2014-06-21 Hayaki Saito * src/sixel.5: Update the manpage of sixel(5) * LICENSE.images: Update license notation file for test images 2014-06-20 Hayaki Saito * LICENSE.stb, LICENSE.stbi, LICENSE.stbiw: Update some LICENSE files * configure, configure.ac: Fix a typo * configure, configure.ac: Fix linker error: gdImageCreateFromTiffPtr not found in ArchLinux * configure, configure.ac: Bump version 2014-06-19 Hayaki Saito * configure, configure.ac: Do PKG_PROG_PKG_CONFIG out of if-clause * converters/stb_image.h: Revert "Apply the fix for 1bpp PNG (adb44619) again" This reverts commit 5229d3d8f0139f407be79ea427e5e4f45dc23d84. * converters/stb_image.h: Fix a merge misstake * configure, configure.ac: Bump version * converters/stb_image.h: Apply the fix for 1bpp PNG (adb44619) again 2014-06-18 Hayaki Saito * configure, configure.ac: Bump version * Makefile.am, Makefile.in: Fix travis build * config.guess, config.h.in, config.sub, configure, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4: Update libtool version to 2.4.2 * configure, configure.ac: Fix wrong AC_ARG_WITH option parsing, reported by @ttdoda * Makefile.am, Makefile.in: Fix a typo in valgrind target 2014-06-16 Hayaki Saito * Makefile.am, Makefile.in: Fix travis build 2014-06-15 Hayaki Saito * configure: Rebuild configure script * configure.ac: Minor fix * Makefile.am, Makefile.in: Minor fix * Makefile.in, configure, configure.ac, include/Makefile.in, src/Makefile.in: Add new configure option, --with-zshcompletiondir * converters/Makefile.am, converters/Makefile.in: Add a zsh completion file to install target * converters/shell-completion/zsh/_img2sixel: Add zsh completion file for img2sixel * converters/stb_image_write.h: Strip trailing spaces * converters/sixel2png.c, converters/stb_image_write.h: Update stb_image_write version to 0.94 * configure, configure.ac: Update version * Makefile.in, config.guess, config.h.in, config.sub, configure, configure.ac, include/Makefile.in, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4, src/Makefile.in: Add new configure option, --with-bashcompletiondir * converters/Makefile.am, converters/Makefile.in: Add bash-completion file to install target * converters/shell-completion/bash/img2sixel: Add bash-completion definition file * configure, configure.ac: Update version * images/snake.gif: Add a test GIF image * converters/stb_image.h: Do be sure to rewind in bitmap test, to fix broken GIF loader 2014-06-14 Hayaki Saito * README.md: Mention yaft, as a sixel-featured terminal 2014-06-11 Hayaki Saito * configure: Rebuild configure script * configure.ac: Bump version * images/snake.tga, images/snake.tiff: Add TGA/TIFF test images * images/snake.bmp: Add a bmp v5 test image * converters/stb_image.h: Support to load bitmap v5 header * README.md: Update coverage status badge * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in: Update tests * images/snake.pnm: Add new test image snake.pnm * converters/Makefile.am, converters/Makefile.in: Minor fixes * configure: Rebuild configure script * Makefile.am, Makefile.in: Minor fix * Makefile.am, Makefile.in: Update makefile * Makefile.am, Makefile.in: Allow "possibly lost" and "still reachable" on checking leaks with valgrind * Makefile.am: Add --show-leachable=no option to valgrind * converters/loader.c: Strip surplus g_object_ref/g_object_unref pair 2014-06-11 saitoha * converters/quant.c: Fix invalid memory access warnings reported by valgrind 2014-06-10 Hayaki Saito * Makefile.am, Makefile.in: Strip garbage output from valgrind.log * converters/loader.c: Fix a typo * converters/loader.c: Handle the error if malloc is failed in load_with_gd * .travis.yml: Update .travis.yml * converters/loader.c: Dereference gdk-pixbuf loader after using it * .travis.yml: Amend fix of .travis.yml * .travis.yml: Update .travis.yml cat valgrind.log if valgrind test fails * .travis.yml: Use libgd2-xpm-dev package instead of libgd2-devel * .travis.yml: Install libgd-dev when --with-gd option is enabled * converters/loader.c: Use GLIB_CHECK_VERSION to detect that g_type_init is deprecated * converters/loader.c: Call g_type_init() before using gdk-pixbuf * aclocal.m4, configure: Update configure script * configure.ac: Bump version * Makefile.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Fix a configuration bug where gdk-pixbuf flags are not set * .travis.yml: Update .travis.yml * .travis.yml: Update .travis.yml 2014-06-10 saitoha * .travis.yml: Install pkg-config when configuring with gdk-pixbuf 2014-06-10 Hayaki Saito * .travis.yml: Update .travis.yml 2014-06-10 saitoha * .travis.yml, Makefile.am, Makefile.in, aclocal.m4, configure, src/tosixel.c: Add --disable-shared configure option with gcov target 2014-06-09 Hayaki Saito * converters/stb_image.h: Parse application extension block when loading GIF 2014-06-10 Hayaki Saito * Makefile.am, Makefile.in: Remove valgrind.log in clean target * .travis.yml: Install libyaml-dev in .travis.yml * .travis.yml, Makefile.am, Makefile.in: Add valgrind target to Makefile * Makefile.am: Update makefile * Makefile.in, converters/Makefile.in: Minor fixes * .travis.yml: Install PyYAML when running coveralls on travis * .gitignore: Update gitignore * Makefile.am, converters/Makefile.am: Add some CLEANFILES * Makefile.am: Minor fix * Makefile.am, Makefile.in: Add workaround for a cpp-coveralls problem * converters/.coveralls.yml => .coveralls.yml, Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in, src/Makefile.am: Fix travis build * .travis.yml: Update .travis.yml * .travis.yml: Update .travis.yml: add --enable-gcov build target * README.md: Add coveralls badge to README * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in, src/Makefile.am: Add coveralls tqrget to makefiles 2014-06-09 Hayaki Saito * converters/.coveralls.yml: Add .coveralls.yml * configure, configure.ac, converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Add new configure option --enable-gcov * converters/loader.c, converters/stb_image.c, converters/stb_image.h: Headerify stb_image 2014-06-08 Hayaki Saito * converters/stb_image.c: Update stb_image version to 1.38 * sixel_orig/tosixel.c, src/tosixel.c: Add workarounds for old version of mlterm 2014-06-07 Hayaki Saito * README.md: Update README * LICENSE.tw, converters/quant.c: Drop unused pattern-dither function 2014-06-06 Hayaki Saito * .gitignore: Update gitigore * converters/frompnm.c, converters/loader.c: Fix linker error for mingw environment * configure.ac: Bump version * Makefile.in, configure, configure.ac, wic_install.reg => wic_install.reg.in, wic_uninstall.reg => wic_uninstall.reg.in: Add new configure output target: wic_install.reg/wic_uninstall.reg * Makefile.in, config.guess, config.h.in, config.sub, configure, configure.ac, converters/Makefile.in, include/Makefile.in, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4, src/Makefile.in: Update build files 2014-06-06 U-WIN-FOH0MAR4FJ6\user * configure.ac: Minor fix * configure.ac: Minor fix 2014-06-05 Hayaki Saito * src/wic.cc, wic_install.reg, wic_uninstall.reg: Add some files for WIC integration * Makefile.in, config.h.in, configure, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Update build files * configure.ac: Check libs for WIC integration * configure.ac: Add new configure option --with-wic * configure, configure.ac: Update configure script * build-gdkpixbuf.sh: Drop unused build script build-gdkpixbuf.sh 2014-06-04 Hayaki Saito * README.md: Update README * images/vimperator3.png: Add an additional test image 2014-05-30 Hayaki Saito * config.h.in, configure, configure.ac: Add a config.h definition which represents getopt_long avilability * converters/img2sixel.c: Support some environments lack getopt_long * configure: Rebuild configure script * configure.ac: Bump version * configure: Rebuild * converters/Makefile.in: Rebuild Makefile.in * converters/Makefile.am: Add some private header files to the source distribution * config.h.in: Rebuild config.h.in * configure: Rebuild * converters/loader.c: Use standard jpeg loader if available * configure.ac: Check standard jpeg loader with GD integration * configure, configure.ac: Check libiconv avilability if --with-gd is specified * configure, configure.ac: Check host environment * converters/loader.c: Compile loader module without missing GD symbols * configure.ac: Check each of gdImageCreateFromXXX availabilities * converters/loader.c: Revert "Don't compile unused code in stbi_image.c such as stbi_load_from_file" This reverts commit 9415149ac20f5ab26b8e97b26c8d9989bdd61572. * converters/loader.c: Don't compile unused code in stbi_image.c such as stbi_load_from_file * configure: Rebuild configure script * converters/stb_image.c: Fix a segmentation fault issue reported by @arakiken 2014-05-28 Hayaki Saito * configure: Rebuild configure script * configure, configure.ac: Continue to configure without pkg-config if GDK_PIXBUF_CFLAGS and GDK_PIXBUF_LIBS is set * configure.ac: Bump version * configure, configure.ac: Don't use addition assingment operator in configure, it's an extension of bash. reported by @ttdoda 2014-05-26 Hayaki Saito * configure: Rebuild * configure.ac: Bump version * converters/loader.c: Fix an error caused by duplicated free * converters/loader.c: Load pnm more efficiently * converters/loader.c: Minor fix * converters/loader.c: Minor fix * converters/loader.c: Minor fix 2014-05-25 Hayaki Saito * src/sixel.5: Update reference section * converters/img2sixel.1, converters/sixel2png.1: Update "See Also" section of img2sixel/sixel2png * src/Makefile.in: Rebuild Makefile.in * src/Makefile.am: Install sixel(5) by default * src/sixel.5: Add new manpage "sixel(5)" * Makefile.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Rebuild * Makefile.am: Update Makefile.am * configure.ac: Add new configure option, --with-pkgconfigdir * Makefile.in, configure: Rebuild * configure.ac: Add new config file libsixel.pc * libsixel.pc.in: Add a template file for pkg-config integration * converters/malloc_stub.c, converters/stb_image.c: Fix for some environment lacks memory.h * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Drop unused gio-2.0 detection * configure: Rebuild configure script * configure.ac: Update minor version * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in, converters/loader.c, include/Makefile.in, src/Makefile.in: Fix segmentation errors when loading stdin with gdk-pixbuf * converters/loader.c: Fix a GDK error caused by loading image from stdin with gdk-pixbuf * converters/img2sixel.1: Update manpage of img2sixel * converters/loader.c: Issue #2 Fix segmentation faults caused when libcurl integration is enabled * converters/loader.c: Minor fix * converters/loader.c: Do not use stbi loader if image format is pnm/sixel * converters/loader.c: Add functions detect pnm/sixel image format * converters/loader.c: Don't use stbi_load_from_file * converters/Makefile.am, converters/Makefile.in: Build with frompnm.c * converters/scale.h: Minor fix * converters/loader.c: Enable pnm format loader in loader.c * converters/frompnm.c, converters/frompnm.h: Add PNM loader imported from kmiya's sixel 2014-05-24 Hayaki Saito * converters/loader.c: Cleanup * config.h.in, configure: Rebuild configure script * converters/malloc_stub.c, converters/malloc_stub.h: Drop unused posix_memalign stub function * configure.ac: Drop the preparation for SIMD enhancement * configure: Rebuild configure script * configure.ac: Bump version * Makefile.in, configure, converters/Makefile.am, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Update build scripts * configure.ac: Improve configure script avilability 2014-05-23 Hayaki Saito * configure.ac: Fix for environments that do not have pkg-config 2014-05-22 Hayaki Saito * converters/img2sixel.c: Fix build 2014-05-21 Hayaki Saito * converters/img2sixel.1: Update manpage of img2sixel * configure, configure.ac: Minor fix * README.md: Update README * configure: Update configure script * configure.ac: Update minor version * converters/img2sixel.c, converters/loader.c: Fix segfault when source image is GIF 2014-05-20 Hayaki Saito * converters/loader.c: Add test for HDR format * converters/loader.c: Add detection for PSD file format * converters/loader.c: Add missing include directive * converters/loader.c: Minor fix * configure: Rebuild * configure.ac: Minor fix * configure, configure.ac: Display configure summary * README.md: Update README * README.md: Update README * src/fromsixel.c, src/tosixel.c: Cleanup * converters/loader.c: Minor fix * converters/img2sixel.1: Update manpage * README.md: Update README * converters/img2sixel.1: Update manpage * converters/img2sixel.c: Use free() indted of stbi_image_free * configure: Rebuild * configure.ac: Update version * converters/loader.c: Minor fix * converters/loader.c: Fallback other loader if loading process fails * converters/loader.c: Add header/footer comments * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c, converters/loader.c, converters/loader.h: Add loader.c * converters/img2sixel.c: Linting * .travis.yml: Update .travis.yml * .travis.yml: Add some new travis build targets * converters/img2sixel.c: Add integration for when both of gdlib and libcurl are enabled * converters/img2sixel.c: Fix run-time errors * converters/img2sixel.c: Fix some build error * config.h.in: Add HAVE_GD definition * converters/img2sixel.c: Initial implementation of gd integration 2014-05-19 Hayaki Saito * configure, configure.ac: Search package gdlib not but libgd * Makefile.in, configure, configure.ac, converters/Makefile.am, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Add --with-gd option * .gitignore, .travis.yml, configure, configure.ac: Up to date * .travis.yml: Update .travis.yml * configure.ac: Change configure options: --enable-gdk-pixbuf to --with-gdk-pixbuf --enable-libcurl to --with-libcurl * configure.ac: Cleanup * .travis.yml: Fix travis test with using wine * .travis.yml: Add --prefix=/usr to configure option in travis script * .travis.yml: Check memory leaks and access violation only when WINE is not used * configure: Rebuild configure script * configure.ac: Bump version * configure, configure.ac, converters/Makefile.am, converters/Makefile.in: Raise errors if gdk-pixbuf/libcurl are not available when they are enabled * .travis.yml: Update .travis.yml * converters/img2sixel.c: Minor fix * configure, configure.ac: Add new configure options, --enable-gdk-pixbuf2 and --enable-libcurl * build-gdkpixbuf.sh: Drop build-gdkpixbuf.sh * converters/img2sixel.c: Minor fix * converters/Makefile.am, converters/Makefile.in: Update CFLAGS and LDADD for img2sixel * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, src/Makefile.in: Check gdk-pixbuf2 and libcurl availability * build-gdkpixbuf.sh, converters/img2sixel.c: Integrate libcurl only if gdk-pixbuf is not available 2014-05-18 Hayaki Saito * converters/img2sixel.c: Minor fix * converters/img2sixel.c: Minor fix * build-gdkpixbuf.sh, converters/img2sixel.c: * img2sixel.c: Use gdk-pixbuf and libcurl. * build-gdkpixbuf.sh: Added. this commit is imported from arakiken/libsixel. https://bitbucket.org/arakiken/libsixel/commits/fda0bcab1 ec2598bada3d102d8f0cf35d848f6ff * build-gdkpixbuf.sh, converters/img2sixel.c: * img2sixel.c: Use gdk-pixbuf and libcurl. * build-gdkpixbuf.sh: Added. this commit is imported from arakiken/libsixel. https://bitbucket.org/arakiken/libsixel/commits/fda0bcab1 ec2598bada3d102d8f0cf35d848f6ff * configure: Rebuild * configure.ac: Update version * converters/img2sixel.c: Fixup for the effect of invert option * src/tosixel.c: Assume default SIXEL palette as fore-color 2014-05-17 Hayaki Saito * converters/img2sixel.c: Fixup for correcting getopt option * README.md, converters/img2sixel.1: Update manpage and README * README.md, converters/img2sixel.1, converters/img2sixel.c: Fix typos: sence -> sense * converters/img2sixel.c: Add invert option * converters/quant.c: Minor fix * README.md, configure: Rebuild * configure.ac: Update minor version * converters/img2sixel.c: Enable missing -q/--quality option * .gitignore: Update .gitignore 2014-05-16 Hayaki Saito * configure, configure.ac: Update version * converters/Makefile.am, converters/Makefile.in: Add some smoke tests 2014-05-15 Hayaki Saito * src/tosixel.c: Define and select color index #1 when monochrome sixel mode * converters/quant.c: Improve the quality of monochrome dithering * .travis.yml: Update .travis.yml * .travis.yml: Amend fix of yml syntax error * .travis.yml: Update .travis.yml * converters/quant.c: Revert "Omit some needless conditions", to fix access violations This reverts commit 2cb46ca69a68a9eb837e0696080e27708286915c. 2014-05-14 Hayaki Saito * .travis.yml: Integrate valgrind to .travis.yml * configure: Rebuild * configure.ac: Update version * converters/quant.c: Omit some needless conditions * converters/img2sixel.c: Load map file with high quality mode * README.md: Update README * configure, configure.ac: Update version * converters/img2sixel.1: Update manpage * README.md: Add tw license notice to README * LICENSE.tw: Add license file of arakiken's tw * converters/img2sixel.c, converters/quant.c: Use pattern dither when doing monochrome quantization * converters/img2sixel.1: Update manpage * README.md, converters/img2sixel.c: Minor fix * README.md: Update README * converters/quant.c: Handle some out of memory errors * converters/img2sixel.c, converters/quant.c: Minor fix * converters/img2sixel.c, converters/quant.c, converters/quant.h: Implement --quality option 2014-05-13 Hayaki Saito * converters/quant.c: Catch unhandled errors * README.md, converters/img2sixel.1, converters/img2sixel.c, converters/quant.c, converters/scale.c, converters/scale.h: Add welsh resampling filter 2014-05-12 Hayaki Saito * converters/quant.c: Minor fix * README.md, converters/img2sixel.1: Add reference notations of ImageMagick 2014-05-11 Hayaki Saito * configure, configure.ac: Bump version * converters/img2sixel.c: Implement options, --width=auto/--height=auto * converters/img2sixel.1: Update manpage * README.md, converters/img2sixel.c: Update README * converters/img2sixel.c: Accept units(%/px) with -w and -h options * config.h.in, configure, configure.ac, converters/malloc_stub.c, converters/malloc_stub.h: Prepare for SSE2 extension 2014-05-11 hsaito * converters/quant.c: Optimize dithering 2014-05-10 Hayaki Saito * converters/quant.c: Fix a worng comment * configure, configure.ac: Update version * converters/quant.c: Fix bugs caused by some typos * README.md, converters/img2sixel.1, converters/img2sixel.c, converters/quant.c, converters/quant.h: Add burkes' dithering method * README.md, converters/img2sixel.1, converters/img2sixel.c, converters/quant.c, converters/quant.h: Add stucki's dithering method * configure, configure.ac: Bump version * README.md: Update README * converters/img2sixel.1, converters/img2sixel.c, converters/quant.c, converters/quant.h: Add Bill Atkinson's dithering method 2014-05-09 Hayaki Saito * converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Strip -O3 option * converters/scale.c: Make nearest neighbor method faster * README.md, converters/img2sixel.1, converters/img2sixel.c, converters/scale.c, converters/scale.h: Add gaussian/hanning/hamming filter for resampling 2014-05-08 Hayaki Saito * configure, configure.ac: Update version * README.md, converters/img2sixel.1, converters/img2sixel.c: Add and implement -f and -s option * converters/img2sixel.c, converters/quant.c, converters/quant.h, converters/scale.c, converters/scale.h: Cleanup * converters/img2sixel.c, converters/quant.c: Cleanup * converters/quant.c: Minor fix of lookup method * converters/img2sixel.c, converters/quant.h: Minor fix for processing options, -d and -r * src/tosixel.c: Strip unused code * .travis.yml: Update .travis.yml * README.md, converters/img2sixel.1, converters/img2sixel.c, converters/scale.c: Change default re-sampling option to bilinear method * configure, configure.ac: Update version * converters/img2sixel.c, converters/quant.c, converters/quant.h: Add "foptimize" strategy option to LSQ_ApplyPalette * converters/img2sixel.1: Update manpage * converters/img2sixel.1: Update manpage * README.md: Update README * converters/img2sixel.c: Fix an incompatible type argument substitution * converters/img2sixel.c: Minor fix * converters/img2sixel.c: Fix a segmentation error * converters/img2sixel.c: Fix a memory leak * converters/img2sixel.c: Add missing argument for getopt * converters/img2sixel.c: Implement --resampling option * converters/img2sixel.c: Cleanup * converters/img2sixel.c: Add -r/--resampling option to img2sixel * converters/scale.c: Make LSS_scale enable to switch scaling method * converters/scale.c: Minor fix of normalize function * converters/scale.c: Add various resampling functions * converters/scale.c: Add missing include delective * converters/scale.c: Workaround for the environment where M_PI is not defined * converters/img2sixel.c, converters/quant.c, converters/scale.c, converters/scale.h: Add methodForResampling argument to LSS_scale signature * converters/scale.h: Add enum definition identifying methods for re-sampling * converters/img2sixel.1: Strip a trailing space 2014-05-07 Hayaki Saito * converters/quant.c: Minor fix around switching diffusion method * converters/Makefile.am, converters/Makefile.in, src/Makefile.am, src/Makefile.in: Add -O3 to CFLAGS * converters/img2sixel.c, converters/scale.c, converters/scale.h: Fix the signature of LSS_Scale * converters/quant.c: Handle out-of-memory errors * converters/quant.c: Fix memory leak * converters/quant.c: Optimization for applying palette * converters/Makefile.am, converters/Makefile.in: enable HDR image format * converters/Makefile.am, converters/Makefile.in: Fix build * README.md, converters/img2sixel.1: Update README and manpage * converters/img2sixel.c: Update --help description * converters/Makefile.am, converters/Makefile.in: Rebuild * converters/img2sixel.c: Implement --width/--height using LSS_scale * converters/img2sixel.c: Add new options, --width and --height * converters/scale.c: Add missing include derectives * converters/scale.c, converters/scale.h: Add the image resizing function 2014-05-04 Hayaki Saito * config.h.in, converters/Makefile.in: Update configure script * converters/Makefile.am: Add manpages to distributed files * converters/sixel2png.1: Add the manpage of sixel2png * converters/img2sixel.1: Add the manpage of img2sixel * converters/img2sixel.c: Fix --help descriptions 2014-05-02 Hayaki Saito * .travis.yml: Remove amd64-mingw32msvc target * .travis.yml: Add new targets {i586,amd64}-mingw32msvc * converters/img2sixel.c: Cleanup * README.md: Add travis status image to README.md Fri May 2 09:57:59 2014 +0900 Hayaki Saito * .travis.yml: Squashed commit of the following: commit ff949f9d7e3118634c6c8aed513f0709fe6a05bc Fix a typo commit d551b421e9cfae2e2dc5eedea83c2d3fae2edbe9 Update travis build commit d98e174afe4cc353ff5aa154f3e0c55b65c8d6e6 Update travis build commit bccc8145faa03b2fd56c777ace7aedd38cd5a0b6 Fix travis build commit 53c98ad4740eeffaf179e314c21a690d3a0524f9 Fix travis build commit aef80bdbbdb36d51073326477894c837672975f6 Update .travis.yml 2014-05-02 Hayaki Saito * .travis.yml: Fix a typo * .travis.yml: Update travis build * .travis.yml: Update travis build * .travis.yml: Fix travis build * .travis.yml: Fix travis build * .travis.yml: Update .travis.yml * converters/sixel2png.c: Fix a segmentation error * .travis.yml: Minor fix * .travis.yml: Update .travis.yml * .travis.yml: Update .travis.yml * .travis.yml: Update .travis.yml * .travis.yml: Update .travis.yml * .travis.yml: Fix travis build errors * .travis.yml: Add .travis.yml * converters/quant.h: Minor fix * configure, configure.ac: Bump version * configure: Update configure script * configure.ac, converters/img2sixel.c, converters/sixel2png.c: Fix broken build for non-win32 environment 2014-05-01 Hayaki Saito * config.h.in, configure, converters/Makefile.in: Rebuild configure script * converters/sixel2png.c: Fix build for some environment which have only _O_BINARY * configure.ac: Checks also _O_BINARY * Makefile.am, Makefile.in, converters/Makefile.am: Add new target winetest * converters/quant.c, converters/sixel2png.c: Get rid of utf8_t * converters/sixel2png.c: Improve error handling * converters/sixel2png.c: Support STDIN on windows console * converters/img2sixel.c, converters/sixel2png.c, converters/stb_image_write.h: Respect HAVE_O_BINARY, HAVE_SET_MODE, HAVE__SET_MODE * converters/img2sixel.c, converters/sixel2png.c: Respect HAVE_ERRNO_H * config.h.in, configure: Rebuild configure script * configure.ac: Check errno.h * configure.ac: Check O_BINARY definition * converters/Makefile.am, converters/Makefile.in, converters/sixel2png.c: Link malloc_stub.c with sixel2png * config.h.in, configure, configure.ac, converters/img2sixel.c: Don't use _O_BINARY to prevent build error * converters/img2sixel.c: Fix for reading STDIN of windows console * converters/img2sixel.c, converters/quant.c: Include malloc_stub.h * converters/Makefile.am, converters/Makefile.in: Add malloc_stub.c to target source files * converters/malloc_stub.c, converters/malloc_stub.h: Add malloc stub files * converters/img2sixel.c, converters/sixel2png.c: Implement rpl_malloc/rpl_realloc for mingw target * converters/img2sixel.c: Define STBI_HEADER_FILE_ONLY more explicitly * README.md, converters/img2sixel.c: Fix wrong english 2014-04-30 Hayaki Saito * configure, configure.ac: Initial package relase * configure, configure.ac, converters/Makefile.am, converters/Makefile.in: Update configure option 2014-04-28 Hayaki Saito * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in, include/Makefile.in, src/Makefile.am, src/Makefile.in: Start to define ABI version * converters/Makefile.am, converters/Makefile.in: img2sixel, sixel2png: stop ambiguous link using LDADD instead of using -l and -L flags 2014-04-24 Hayaki Saito * configure: Rebuild ./configure * configure.ac: Update version * converters/img2sixel.c, src/tosixel.c: Implement 7bit/8bit mode * converters/img2sixel.c: Fix a typo (reported by @arakiken) * src/fromsixel.c, src/tosixel.c: Minor fix * src/tosixel.c: Minor fix * include/sixel.h, src/output.c: Add some compatibility options to LSOutputContext structure * converters/quant.c: Minor fix * configure: Rebuild * configure.ac: Bump version * include/sixel.h, src/tosixel.c: Add error handling, and change the signature of LibSixel_LSImageToSixel * src/tosixel.c: Style fix * src/tosixel.c: Drop unused function, GetColIdx * src/tosixel.c: Minor fix * configure, configure.ac, converters/quant.c, src/fromsixel.c, src/image.c, src/tosixel.c: Don't use stdint.h for old compilers * converters/img2sixel.c: Propagate the result of convert_to_sixel and return correct exit status code 2014-04-20 Hayaki Saito * converters/quant.c, converters/quant.h: Linting 2014-04-16 Hayaki Saito * README.md: Update document 2014-04-18 Hayaki Saito * converters/stb_image.c: Experimental support for 1bpp PNG 2014-04-17 Hayaki Saito * converters/img2sixel.c: Cleanup 2014-04-16 Hayaki Saito * converters/img2sixel.c: Minor fix * converters/img2sixel.c: Print stbi_failure_reason when stbi_load failed * converters/img2sixel.c: Implement --diffusion option * converters/img2sixel.c: Free diffusion argument * converters/img2sixel.c: Update help string * converters/img2sixel.c: Change the signature of convert_to_sixel * converters/img2sixel.c: Add --diffusion option * converters/img2sixel.c: Minor fix 2014-04-14 Hayaki Saito * src/Makefile.am, src/Makefile.in: Fix a build error (sixel.h is missing, reported by @ttdoda). * configure: Rebuild * configure.ac: Update version * converters/Makefile.in, include/Makefile.in: Add missing build files * README.md, converters/img2sixel.c, converters/sixel2png.c: Update usage description * src/tosixel.c: Implement monochrome option * converters/quant.c: Fix a style issue * converters/img2sixel.c: Add monochrome option * converters/img2sixel.c: Use diffusion when -m option is enabled * config.h.in, configure, configure.ac, converters/img2sixel.c, converters/sixel2png.c: Support long options 2014-04-18 Hayaki Saito * converters/stb_image.c: Experimental support for 1bpp PNG 2014-04-17 Hayaki Saito * converters/img2sixel.c: Cleanup 2014-04-16 Hayaki Saito * README.md: Update document * converters/img2sixel.c: Minor fix * converters/img2sixel.c: Print stbi_failure_reason when stbi_load failed * converters/img2sixel.c: Implement --diffusion option * converters/img2sixel.c: Free diffusion argument * converters/img2sixel.c: Update help string * converters/img2sixel.c: Change the signature of convert_to_sixel * converters/img2sixel.c: Add --diffusion option * converters/img2sixel.c: Minor fix 2014-04-14 Hayaki Saito * src/Makefile.am, src/Makefile.in: Fix a build error (sixel.h is missing, reported by @ttdoda). * configure: Rebuild * configure.ac: Update version * converters/Makefile.in, include/Makefile.in: Add missing build files * README.md, converters/img2sixel.c, converters/sixel2png.c: Update usage description * src/tosixel.c: Implement monochrome option * converters/quant.c: Fix a style issue * converters/img2sixel.c: Add monochrome option * converters/img2sixel.c: Use diffusion when -m option is enabled * config.h.in, configure, configure.ac, converters/img2sixel.c, converters/sixel2png.c: Support long options 2014-04-13 Hayaki Saito * converters/img2sixel.c: Enable diffusion with -m option * converters/img2sixel.c, converters/quant.c, converters/quant.h: Use Floyd-Steinberg diffusion method only if original colors is more than reduced colors * configure, configure.ac: Add new configure switch --disable-img2sixel --disable-sixel2png * converters/Makefile.am, include/Makefile.am: Add new Makefiles for separated directories 2014-04-10 Hayaki Saito * Makefile.am, Makefile.in, config.h.in, configure, configure.ac, {src => converters}/img2sixel.c, {src => converters}/quant.c, {src => converters}/quant.h, {src => converters}/sixel2png.c, {src => converters}/stb_image.c, {src => converters}/stb_image_write.c, {src => converters}/stb_image_write.h, src/Makefile.am, src/Makefile.in: Move source files of converter programs to new directory converters/ * Makefile.am, Makefile.in, configure, configure.ac, {src => include}/sixel.h, src/Makefile.am, src/Makefile.in: Move the include file sixel.h to separated directory 2014-04-09 Hayaki Saito * README.md: Update README 2014-04-04 saitoha * src/img2sixel.c, src/stb_image_write.c: Use bcopy/bmove if memcpy/memmove is not availabe * config.h.in, configure: Update ./configure * configure.ac: Check memset availability in ./configure 2014-04-04 Hayaki Saito * README.md: Update README * README.md: Update README * README.md: Update README * README.md: Update README * README.md: Update README 2014-04-02 Hayaki Saito * src/fromsixel.c, src/image.c, src/sixel.h: Remove uint8_t from public interface * src/sixel.h: Strip needless extern * configure: Rebuild ./configure * configure.ac: Update version * src/fromsixel.c, src/img2sixel.c, src/output.c, src/sixel.h, src/sixel2png.c, src/tosixel.c: Change interface signature of output.c * configure: Rebuild ./configure * configure.ac: Bump version * src/quant.c: Respect methodForLargest and methodForRep when choosing adaptive palette * src/quant.c: Respect methodForDiffuse when applying palette * src/img2sixel.c, src/quant.c, src/quant.h: Change interface signature of quant.c * Makefile.in, src/Makefile.in: Rebuild * src/Makefile.am: Makefile tweak * src/Makefile.am: Don't install stb_image_write.h to system include directory * Makefile.am: Makefile tweak * src/quant.c: Minor fix * src/quant.c: Fix a memory leak problem * src/quant.c: Redule malloc invokation * src/img2sixel.c: Fix a style issue * src/img2sixel.c: Fix a memory leak * src/img2sixel.c, src/quant.c: Include quant.h and change signatures exported from quant.c * src/quant.h: Add new header quant.h * src/quant.c: Fix style issues * src/img2sixel.c: Fix a memory leak when exiting * src/img2sixel.c: Initialize image object with proper parameter * src/image.c: Fix a memory leak when setting pixel to image object * src/image.c: Fix style * src/image.c: Minor fix around creating paletted image object 2014-04-01 Hayaki Saito * src/quant.c: Linting 2014-03-31 Hayaki Saito * src/image.c, src/quant.c, src/stb_image.c, src/stb_image_write.h: Strip trailing spaces * src/stb_image.c, src/stb_image_write.h: Change end of line style of some files, CRLF to LF * src/stb_image.c: Read and discard stdin data only when fseek failed 2014-03-30 Hayaki Saito * src/img2sixel.c: Free palette image * src/img2sixel.c: Add some statements that print error messages * src/stb_image.c: Apply the patch from arakiken which prevents to seek STDIN http://mlterm.sourceforge.net/libsixel-fixstb.patch * src/quant.c: Make it enable to skip dithering process * src/quant.c: Change the signature of the helper function for dithering * src/quant.c: Add new enum for selecting dithering method * src/quant.c: Minor fix for the process applying palette * src/quant.c: Add new function for dithering * src/quant.c: Minor fix for creating palette * src/quant.c: Minor fix around creating histgram * src/quant.c: Add new parameter for selecting method for detecting largest splitting dimention * src/quant.c: Import largestByLuminosity function from pnmcolormap.c 2014-03-29 Hayaki Saito * README.md: Update README * src/quant.c: Minor fix for color mapping * src/quant.c: Fix a memory leak problem * src/tosixel.c: Comment out unused code which makes histgram * src/quant.c: Minor fix * src/tosixel.c: Disable palette number shuffling * src/quant.c: Change palette order * configure, configure.ac: Rebuild * Makefile.am, Makefile.in, config.h.in, configure, configure.ac, src/Makefile.am, src/Makefile.in: Update version * src/quant.c: Add a debug trace statement * src/quant.c: Fix a duplicated memory allocation bug * src/quant.c: Fix a stupid bug which causes illegal memory access * src/quant.c: Expand freqTotal function * src/quant.c: Fix for the case tupletable memory allocation failed * src/quant.c: Expand MIN/MAX macro * src/quant.c: Add pragma pack(1) for preventing memory corruption * Makefile.am, Makefile.in, config.h.in, configure, configure.ac, src/Makefile.am, src/Makefile.in, fromsixel.c => src/fromsixel.c, image.c => src/image.c, img2sixel.c => src/img2sixel.c, output.c => src/output.c, quant.c => src/quant.c, sixel.h => src/sixel.h, sixel2png.c => src/sixel2png.c, stb_image.c => src/stb_image.c, stb_image_write.c => src/stb_image_write.c, stb_image_write.h => src/stb_image_write.h, tosixel.c => src/tosixel.c: Move source files to src directory * Makefile.am, Makefile.in, images/map8.png, quant.c: Minor fix * img2sixel.c: Strip debug code * README.md, quant.c: Update README * img2sixel.c: Minor fix * README.md: Update README * README.md, images/map16.png, images/map8.png: Add color map image files * fromsixel.c, img2sixel.c, quant.c: Tweak for applying palette 2014-03-28 Hayaki Saito * quant.c: Reduce sample pixels for creating histgram * quant.c: Improve the allocation method for creating histgram * quant.c: Minor fix * tosixel.c: Do palette definition after emitting header section * LICENSE.pnmquant => LICENSE.pnmcolormap: Rename a license file * LICENSE.sixel_original_version => LICENSE.sixel, {sixel_original_version => sixel_orig}/Makefile, {sixel_original_version => sixel_orig}/frompnm.c, {sixel_original_version => sixel_orig}/fromsixel.c, {sixel_original_version => sixel_orig}/main.c, {sixel_original_version => sixel_orig}/tosixel.c: Rename the directory of sixel original version * configure, configure.ac: Fix typo 2014-03-27 Hayaki Saito * configure: Minor fix * configure.ac: Minor fix * configure, configure.ac: Minor fix * configure, configure.ac: Minor fix * Makefile.in, aclocal.m4, config.guess, config.sub, configure, configure.ac, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4, missing: Update timestamps of some files during running configure script * m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: Add m4 directory again 2014-03-26 Hayaki Saito * config.guess, config.sub, install-sh, missing: Rebuild * configure.ac: AD LT_PREREQ * Makefile.in, aclocal.m4, configure, configure.ac, ltmain.sh: Recreate build files in automake-1.14/libtool-2.4 environment * Makefile.in, aclocal.m4, configure, configure.ac: Revert "Rebuild" This reverts commit 7ade769de10cacf4600e3c8a210cde4e5e61502b. * m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: Revert "Add m4 scripts" This reverts commit 5a5009899499b7dd18a978fb39b867f039b97947. * aclocal.m4, configure, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: Rebuild * Makefile.in, aclocal.m4, configure, configure.ac: Rebuild * m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: Add m4 scripts * img2sixel.c: Add -m option (specify fixed palette) * fromsixel.c, quant.c: Linting * configure: Rebuild * Makefile.in: Rebuild Makefile.in * Makefile.am, Makefile.in, config.h.in, configure, configure.ac, image.c, img2sixel.c, quant.c, sixel2png.c, tosixel.c: Minor fix 2014-03-24 Hayaki Saito * README.md: Update README * README.md: Update README * README.md: Update README * README.md: Update README * aclocal.m4, configure: Rebuild * README.md: Update README * configure: Rebuild configure script * configure.ac: Update version * quant.c: Disable the debug trace function * LICENSE.pnmquant, README.md: Add license notice of pnmquant.c * img2sixel.c, quant.c: Imported mediancut algorithm implementation from pnmquant.c of netpbm 2014-03-23 Hayaki Saito * aclocal.m4, configure, configure.ac: Build fix for ubuntu jessy environment * sixel.h: Minor fix * README.md: Update README * images/egret.jpg, images/snake.jpg: Resize images * configure: Rebuild * configure.ac: Update version * README.md: Update README * img2sixel.c: Minor fix * tosixel.c: Separate color designation from color definition * tosixel.c: Minor fix * configure: Rebuild * configure.ac: Update version * image.c: Fix an off-by-one issue of fillrectangle implementation * fromsixel.c, tosixel.c: Linting * configure: Rebuild * configure.ac: Bump version * img2sixel.c, sixel.h, sixel2png.c, tosixel.c: Drop OutputContext::fn_puts * Makefile.am, Makefile.in: Update makefile * output.c: Add output.c * configure: Rebuild * configure.ac: Update version to 0.2.1 * image.c, img2sixel.c, quant.c, sixel.h, sixel2png.c: Add license blocks * stb_image_write.c: Add stb_image_write.c * Makefile.am, Makefile.in: Update makefile 2014-03-22 Hayaki Saito * Makefile.am, Makefile.in: Build tweak * configure: Rebuild * configure.ac: Bump version * fromsixel.c, image.c, img2sixel.c, sixel.h, sixel2png.c, tosixel.c: Rename public symbols * LICENSE: Update LICENSE * .gitignore: Update gitignore * Makefile.am, Makefile.in: Add missing LD flag -lm * fromsixel.c, image.c, img2sixel.c, quant.c, sixel.h, sixel2png.c, tosixel.c: Add some modlines for editors * Makefile.am, Makefile.in: Add test target * Makefile.am: Add missing file Makefile.am * Makefile.in, aclocal.m4, compile, config.guess, config.h.in, config.sub, configure, configure.ac, depcomp, ltmain.sh, missing: Use automake * configure, configure.ac: Bump version * sixel.h, tosixel.c: Fix for the case putchar is implemented as macro * Makefile.in, img2sixel.c: Fix for cygwin environment 2014-03-22 saitoha * Makefile.in, fromsixel.c, image.c, img2sixel.c, quant.c, sixel.h, sixel2png.c, tosixel.c: Build fix for linux environment 2014-03-22 Hayaki Saito * sixel2png.c: Minor fix * Makefile.in, sixel2png.c: Implement -i and -o option for sixel2png * Makefile.in: update Makefile * fromsixel.c, image.c, quant.c, sixel.h, sixel2png.c, tosixel.c: Linting * Makefile.in: Update makefile to build sixel2png * fromsixel.c, image.c, img2sixel.c, sixel.h, sixel2png.c: Add sixel2png.c * fromsixel.c, sixel.h: Minor fix * fromsixel.c, image.c, img2sixel.c, sixel.h, tosixel.c: Linting * Makefile.in: Makefile tweak 2014-03-21 Hayaki Saito * Makefile.in: Add missing Makefile.in * install-sh: Add install-sh * README.md: Minor fix * README.md: Update README * README.md: Update README * Makefile, config.h.in, configure, configure.ac: Use autoconf * fromsixel.c, img2sixel.c, tosixel.c: use uint8_t insted of unsigned char * Makefile, fromsixel.c, image.c, sixel.h: Add image.c * .gitignore: Update gitignore * LICENSE.sixel_original_version, LICENSE.stb_image, LICENSE.stbi, Makefile, fromsixel.c, main.c => img2sixel.c, sixel.h, tosixel.c: Minor fix * LICENSE.images, images/egret.jpg, images/snake.jpg: Add test images * LICENSE.stbiw, stb_image_write.h: Add stb_image_write.h and license file * LICENSE, LICENSE.sixel_original_version, LICENSE.stb_image, tosixel.c: Add license files * Makefile, main.c, quant.c: Minor fix * sixel_original_version/Makefile, sixel_original_version/frompnm.c, sixel_original_version/fromsixel.c, sixel_original_version/main.c, sixel_original_version/tosixel.c: Add original version (2014-3-2) of sixel * Makefile, main.c: implement -p option * quant.c: Add quant.c 2014-03-20 Hayaki Saito * Makefile: Add makefile * main.c: Add main.c * tosixel.c: Minor fix * sixel.h: Minor fix * tosixel.c: Independent from GD * sixel.h: Add sixel.h 2014-03-19 Hayaki Saito * fromsixel.c: Drop sixel decoder * fromsixel.c, tosixel.c: Import sixel encoder/decoder written by kmiya http://nanno.dip.jp/softlib/man/rlogin/sixel.tar.gz * stb_image.c: Import stbi-1.33 from http://www.nothings.org/ 2013-08-20 Hayaki Saito * .gitignore, LICENSE, README.md: Initial commit