2015-08-22  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

2015-08-08  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * ext/libsixel/libsixel.c, lib/libsixel/version.rb: Use
  sixel_encoder_new/sixel_decoder_new

2015-08-04  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/loader.c: Suppress warning for using deprecated function

  * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Add some
  wrapper functions and constants

2015-08-02  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/encoder.c: Additional test for encoder.c

  * src/encoder.c: Minor fixes

2015-07-23  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in, src/allocator.c, src/encoder.c: Fix memory access
  violation issue

2015-07-22  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/encoder.c: Ammend fixes

  * src/encoder.c: Minor fixes

  * src/encoder.c: Minor fixes for encoder.c

2015-07-14  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * config.h.in, configure, configure.ac, src/loader.c: Add missing header:
  _setmode() requires <io.h> inclusion

  * 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 <user@zuse.jp>

  * src/frame.c, src/loader.c: Minor fixes

  * src/fromgif.c: Fix broken GIF loader

2015-07-05  Hayaki Saito <user@zuse.jp>

  * 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"

  * converters/img2sixel.c, examples/opengl/main.c, src/encoder.c: Minor fixes

2015-07-01  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Fix a bug of returning wrong status in
  prepare_builtin_palette()

2015-06-30  Hayaki Saito <user@zuse.jp>

  * src/fromgif.c, src/loader.c, src/quant.c: Minor improvements

2015-06-29  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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/LibSIXEL.pm, perl/lib/Image/LibSIXEL.xs,
  perl/lib/Image/LibSIXEL/Decoder.pm, perl/lib/Image/LibSIXEL/Encoder.pm,
  perl/lib/Image/Sixel.pm, perl/lib/Image/Sixel.xs,
  perl/lib/Image/Sixel/Decoder.pm, perl/lib/Image/Sixel/Encoder.pm,
  perl/t/libsixel.t, perl/t/sixel.t: perl: change module name: Image::Sixel ->
  Image::LibSIXEL

  * Build.PL, MANIFEST, META.yml, README.md, lib/Image/LibSIXEL.pm,
  lib/Image/LibSIXEL.xs, lib/Image/LibSIXEL/Decoder.pm,
  lib/Image/LibSIXEL/Encoder.pm, lib/Image/Sixel.pm, lib/Image/Sixel.xs,
  lib/Image/Sixel/Decoder.pm, lib/Image/Sixel/Encoder.pm, t/libsixel.t,
  t/sixel.t: perl: change module name: Image::Sixel -> Image::LibSIXEL

2015-06-25  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * include/sixel.h.in: core: Add SIXEL_OPTFLAG_xxx definitions

  * NEWS: Update NEWS

  * .gitmodules, ruby: Add dubmodule libsixel-ruby

2015-06-22  Hayaki Saito <user@zuse.jp>

  * ruby/README, ruby/images/egret.jpg, ruby/images/egret.six, ruby/setup.rb,
  ruby/sixel.c: Drop Ruby interface

2015-06-16  Hayaki Saito <user@zuse.jp>

  * src/writer.c: Fix build error caused by calling undeclared function

  * 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 <user@zuse.jp>

  * src/loader.c: Supperss uninitialized warnings caused by MinGW gcc

2015-06-14  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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-11  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

2015-06-09  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

  * NEWS: Update NEWS for release 1.5

  * 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 <user@zuse.jp>

  * 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

2015-06-07  Hayaki Saito <user@zuse.jp>

  * 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, perl/README.md: Rename the README of perl
  module

2015-06-05  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * NEWS: Update NEWS

2015-05-29  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Correct wrong help string of ./configure

  * tools/Makefile.am, tools/Makefile.in, tools/libsixel-config.in: Add missing
  build files

  * Makefile.am, Makefile.in, configure, configure.ac: Add a helper tool
  libsixel-config

2015-05-28  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Don't close STDOUT with -o option

2015-05-27  Hayaki Saito <user@zuse.jp>

  * 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

  * 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.py, libsixel/__init__.py, libsixel/decoder.py,
  libsixel/encoder.py: Update python modules

  * python/libsixel.py, python/libsixel/__init__.py,
  python/libsixel/decoder.py, python/libsixel/encoder.py: Update python modules

2015-05-26  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/frame.c: Add more tests for frame.c

2015-05-24  Hayaki Saito <user@zuse.jp>

  * Makefile.in, converters/Makefile.am, converters/Makefile.in: Add 'testfile'
  to CLEANFILES

2015-05-21  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * configure.ac: Evaluate arguments of --with-xxx option of ./configure more
  strictly

2015-05-18  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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/decoder.c, src/decoder.h,
  src/easy_decode.c, src/easy_decode.h, src/easy_encode.c, src/easy_encode.h,
  src/encoder.c, src/encoder.h: Rename files: easy_encode.c -> encoder.c,
  easy_decode -> decoder.c

  * 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,
  php/sixel/tests/SixelEncoder__encode.phpt,
  php/sixel/tests/SixelEncoder__setopt.phpt,
  .../tests/SixelEncoder__sixel_easy_encode.phpt,
  .../SixelEncoder__sixel_easy_encode_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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/img2sixel.c, src/easy_encode.c, src/easy_encode.h, src/loader.c:
  Implement -o(--outfile) option

2015-05-12  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Add pngsuite background
  tests

  * src/fromgif.c: Fix leaks around GIF loader

  * converters/img2sixel.c: Stop memory leaks

2015-05-11  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/fromgif.c: Add missing memset() initialization of the structure
  stbi__gif (for Issue #42, reported by @msmhrt)

2015-05-05  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/img2sixel.c: Clean up

  * 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 <user@zuse.jp>

  * libsixel.pc.in: Strip -lsixel-imageio from libsixel.pc

2015-04-26  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/loader.c: Convert PIXELFORMAT_ARGB8888 into PIXELFORMAT_RGB888 in
  sixel_strip_alpha()

2015-04-19  Hayaki Saito <user@zuse.jp>

  * src/loader.c, src/stb_image.h: Load gif as PAL8 pixelformat

2015-04-13  Hayaki Saito <user@zuse.jp>

  * 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 <saitoha@me.com>

  * 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 <user@zuse.jp>

  * 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

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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-17  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/dither.c: Omit an extra malloc() call

  * Makefile.in, configure, configure.ac: Add libjpeg check with
  PKG_CHECK_MODULES

2015-03-13  saitoha <user@zuse.jp>

  * src/loader.c: Handle depth=1 returned by stb_image v2.0

2015-03-13  Hayaki Saito <user@zuse.jp>

  * Makefile.in, src/loader.c: Add more debug logs

  * 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-07  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * configure, configure.ac, package.json: Update package version to 1.4.9

  * 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 <user@zuse.jp>

  * converters/loader.c: Workaround for libpng 1.2 (for Issue #34)

2015-02-26  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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'

2015-02-23  Hayaki Saito <user@zuse.jp>

  * 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

2015-02-22  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/loader.c: Suppress printf() formatter warings

  * 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 <user@zuse.jp>

  * converters/loader.c: Call png_set_strip_alpha() when expanding paletted PNG
  to RGB888 pixelformat (for Issue #29)

2015-02-17  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Use png_set_packing to expand 1/2/4bpp paletted PNG
  (for Issue #29)

2015-02-16  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/loader.c: libpng loader: expand 1/2/4bpp palette to 8bpp (for
  issue #29)

2015-02-15  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * converters/img2sixel.c: histogram_colors should be initialized after
  sixel_dither_initialize() function call

  * 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 <limits.h> availability

  * converters/img2sixel.c: Parse X11 color spec without strtoul/strtoull

2015-02-13  Hayaki Saito <user@zuse.jp>

  * Makefile.in, converters/img2sixel.c: Fix a syntax error caused by a typo

2015-02-12  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/shell-completion/bash/img2sixel,
  converters/shell-completion/zsh/_img2sixel: Add -B option to shell completion
  settings

2015-02-10  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Background color support for 8bpp paletted PNG with
  tRNS chunk using libpng (for Issue #25)

2015-02-09  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Consider the behavior of libpng1.2 around background
  color support(for Issue #25)

2015-02-08  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * Makefile.in, converters/Makefile.am, converters/Makefile.in: Minor fixes

2015-02-04  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * examples/opengl/README.md: Add README of OpenGL example

  * examples/opengl/main.c: Minor fix

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/loader.c: Workaround for 1/2/4bpp grayscaled image with
  libpng1.2, reported by @msmhrt(#23)

2015-02-01  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

  * converters/loader.c: Fix wrong bit depth handling issue reported by @msmhrt
  (#22)

2015-01-27  Hayaki Saito <user@zuse.jp>

  * examples/opengl/main.c: OpenGL example: performance improvement

2015-01-24  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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/opengl/main.c, examples/opengl/missing,
  examples/osx/opengl/Makefile, examples/osx/opengl/opengl.c: Use osmesa for
  opengl-sixel demo

2015-01-13  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in,
  src/loader.c: Add check-am target to makefiles

2014-12-30  Hayaki Saito <user@zuse.jp>

  * 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,
  converters/stb_image_write.c, converters/stb_image_write.h,
  include/sixel-imageio.h.in, src/Makefile.am, src/Makefile.in, src/loader.c,
  src/stb_image_write.c, 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 <user@zuse.jp>

  * 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/frompnm.c, converters/frompnm.h, converters/img2sixel.c,
  converters/loader.c, converters/loader.h, converters/stb_image.c,
  converters/stb_image.h, include/Makefile.am, include/Makefile.in,
  src/Makefile.am, src/Makefile.in, src/frompnm.c, src/frompnm.h, src/loader.c,
  src/stb_image.h: Add new API: sixel_helper_load_image_file

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c,
  converters/scale.c, converters/scale.h, include/sixel.h.in, src/Makefile.am,
  src/Makefile.in, 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <sue@iwmt.org>

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: fix include path priority.

2014-12-09  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Fix the typo of
  preprocesser definition _ALL_SOURCE

2014-12-08  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Don't define the variable 'lag' if usleep(3) is not
  available

2014-12-07  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c, converters/sixel2png.c: Don't use unportable
  strdup(3)

  * 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 <user@zuse.jp>

  * 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

2014-12-05  Hayaki Saito <user@zuse.jp>

  * 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

  * NEWS: Update NEWS

2014-12-04  Hayaki Saito <user@zuse.jp>

  * 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 <obata@lins.jp>

  * configure, configure.ac: Kill bashizm  '=' operator for test(1) is not
  portable.

2014-12-01  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

  * converters/img2sixel.c: Build fix

  * converters/img2sixel.c, converters/loader.c: Fix broken -m(--mapfile
  option)

  * include/sixel.h.in, src/dither.c: A bit of fixes of API signature

2014-11-30  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Minor fix

  * NEWS: Update NEWS

  * README.md: Add a link to @arakiken's document(libsixel.pdf) to README

2014-11-30  saitoha <user@zuse.jp>

  * converters/img2sixel.c: Fix a segmentation error caused by illigal depth
  dealing

2014-11-30  Hayaki Saito <user@zuse.jp>

  * 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 <arakiken@users.sf.net>

  * 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 <user@zuse.jp>

  * 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 <arakiken@users.sf.net>

  * 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 <user@zuse.jp>

  * 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

  * 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 <user@zuse.jp>

  * 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

  * 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 <user@zuse.jp>

  * converters/stb_image.h: Fix acesss violation error on 32bit mingw build

2014-11-27  Hayaki Saito <user@zuse.jp>

  * src/quant.c: Enable detailed trace if img2sixel is built with
  --enable-debug option

2014-11-26  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in, images/snake-grayscale.jpg,
  images/snake-grayscale.png: Add tests of loading grayscaled jpeg/png images

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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"
  
  ly+specify+void+when+a+function+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 <arakiken@users.sf.net>

  * 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 <user@zuse.jp>

  * ChangeLog, configure, configure.ac, package.json: Bump micro version

  * converters/img2sixel.c: Suppress color expansion on loading mapfiles

2014-11-18  saitoha <user@zuse.jp>

  * converters/Makefile.am: Fix test for MinGW environment

2014-11-17  saitoha <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.1: Fix
  for passing manpage test

2014-11-17  Hayaki Saito <user@zuse.jp>

  * 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 <arakiken@users.sf.net>

  * 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 <user@zuse.jp>

  * src/quant.c: Minor style improvement

2014-11-16  Hayaki Saito <user@zuse.jp>

  * src/quant.c: Prevent memory access violation

  * src/quant.c: Reduce working memory allcation size during prepare histogram

2014-11-15  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/loader.c: Fix a maybe-uninitialized GCC warning

2014-11-15  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Get rid of unused variables

2014-11-15  saitoha <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <arakiken@users.sf.net>

  * src/tosixel.c: Optimize encoding to sixel sequence.
  (http://mlterm.sf.net/optimize-sixel.png)

2014-11-14  Hayaki Saito <user@zuse.jp>

  * src/quant.c: Apply dither to more pixels in the edge

2014-11-13  Hayaki Saito <user@zuse.jp>

  * src/dither.c, src/dither.h, src/tosixel.c: Change symbol names: 'bitfield'
  -> 'pixelformat'

  * 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 <user@zuse.jp>

  * include/sixel.h.in: Reformat sixel.h.in

2014-11-11  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c:
  Cleanup

2014-11-11  saitoha <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/frompnm.c: Cherry-picked edd88d0: Make img2sixel enable to load
  pbm files

2014-11-09  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Prevent segfault with -m option in libpng loader

  * converters/loader.c: Fix segfault on using gdk-pixbuf loader with -m option

2014-11-09  OBATA Akio <obata@lins.jp>

  * configure, configure.ac: Kill bashizm  '=' operator for test(1) is not
  portable.

2014-11-09  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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, images/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

  * 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

  * .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

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * aclocal.m4, configure, configure.ac, converters/img2sixel.c: Various fixes
  for MinGW build

2014-11-06  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Implement various dithering method for 15bpp mode

2014-11-05  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Apply floyd steinberg dithering with 15bpp output mode

  * src/tosixel.c: Cleanup

2014-11-05  saitoha <user@zuse.jp>

  * converters/malloc_stub.c, src/tosixel.c: Suppress warings on MinGW
  environment

2014-11-04  arakiken <arakiken@users.sf.net>

  * 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 <user@zuse.jp>

  * src/dither.c, src/quant.c: Amend fix for suppressing GCC warnings

  * 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 <user@zuse.jp>

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Update document
  for --pipe-mode

2014-11-03  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Remove a performance hack which inserts '\n' after palette
  definition.

2014-11-03  Hayaki Saito <user@zuse.jp>

  * 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

  * 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 <arakiken@users.sf.net>

  * src/tosixel.c: Remove unnecessary check. (nwrite <= 0) Cherry-picked from
  cf00bed  Conflicts: src/tosixel.c

2014-11-03  Hayaki Saito <user@zuse.jp>

  * 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 <arakiken@users.sf.net>

  * 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-10-29  Hayaki Saito <user@zuse.jp>

  * src/image.c: Remove unused source file image.c

2014-10-28  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.1: Add contributers

  * converters/img2sixel.1: Correct swapped explanation of dithering methods
  atkinson and fs

2014-10-27  Vertis Sidus <vrtsds@users.noreply.github.com>

  * converters/img2sixel.c: Added command line options to use XTERM palettes.

2014-10-26  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

  * NEWS: Update NEWS

  * 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

  * converters/img2sixel.c: Fix segmentation fault on quitting GIF animation
  with -u option

  * converters/img2sixel.c, src/tosixel.c: Support HLS palette

2014-10-25  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Don't terminate configure process if
  --with-libcurl=auto

  * 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"

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * 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-18  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

2014-10-11  Hayaki Saito <user@zuse.jp>

  * NEWS, README.md: Document updates

  * 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

2014-10-11  Bruce Mitchener <bruce.mitchener@gmail.com>

  * 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 <user@zuse.jp>

  * Makefile.in, NEWS: Add NEWS

2014-10-09  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/dither.c: Swap bytes if depth == 2

  * 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 <user@zuse.jp>

  * LICENSE.sixel, README.md: Add a mention about the License of kmiya's sixel

2014-10-05  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.h: Skip an unknown code(0x3c) at GIF decoder

2014-10-01  Hayaki Saito <user@zuse.jp>

  * 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

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/sixel2png.c: Fix for some environment missing "getopt_long"

  * converters/sixel2png.c, src/image.c: Issue #5: Completion of error handling

2014-09-24  Hayaki Saito <user@zuse.jp>

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Fix typos

  * converters/shell-completion/bash/img2sixel: Update bash completion file

  * converters/shell-completion/zsh/_img2sixel: Update zsh completion file

2014-09-24  mattn <mattn.jp@gmail.com>

  * converters/loader.c: Avoid crash

2014-09-24  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Do cropping after resizing by changing the order of
  arguments

2014-09-23  Hayaki Saito <user@zuse.jp>

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Update documents

  * README.md: Fix a typo

  * data/w3m-sixel.png, data/xsdl.png, data/xsixel.png: Add some images

  * 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-02  Hayaki Saito <user@zuse.jp>

  * 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-08-29  Hayaki Saito <user@zuse.jp>

  * README.md: Fix a typo

  * data/qemu.png, data/wesnoth.png: Add some images for README

  * converters/shell-completion/bash/img2sixel: Update bash completion file

2014-08-25  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/dither.c, src/dither.h, src/quant.c, src/quant.h: Add quant.h and fix
  signature confusion of some functions

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/tosixel.c: Reset active palette by every frame

2014-08-08  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Minor fix

2014-08-07  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * Makefile.am, Makefile.in: Minor fix

  * Makefile.am: Remove needless workarounds for coveralls

2014-08-03  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Ignore segmentation fault of coveralls command

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in,
  converters/img2sixel.c, converters/quant.c, include/sixel.h, src/Makefile.am,
  src/Makefile.in, src/quant.c: Move quantization APIs to library domain

  * ChangeLog: Add ChangeLog

  * README.md, converters/img2sixel.c, converters/sixel2png.c: Add --version
  and --help option

  * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, src/Makefile.in, src/wic.cc, wic/wic.cc,
  wic/wic_install.reg.in, wic/wic_uninstall.reg.in, wic_install.reg.in,
  wic_uninstall.reg.in: Temporary drop wic integration

2014-08-02  Hayaki Saito <user@zuse.jp>

  * README.md, converters/img2sixel.c: Add --macro-number option

2014-08-01  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Minor fix

2014-07-28  Hayaki Saito <user@zuse.jp>

  * 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

2014-07-27  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Fix a double free error

  * converters/loader.c: Fix an error when glib version < 2.36

  * converters/loader.c: Fix static image processing with gdk-pixbuf2

2014-07-26  Hayaki Saito <user@zuse.jp>

  * 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

  * src/tosixel.c: Reset parser state before parsing each frames

2014-07-25  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Always reset active palette no

2014-07-24  Hayaki Saito <user@zuse.jp>

  * src/output.c: Minor fix

  * LICENSE.images, LICENSE.stb: Minor update of LICENSE files

2014-07-23  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Minor fix

  * converters/img2sixel.c: Minor fix

  * converters/img2sixel.c: Strip a pair of malloc/free

2014-07-22  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * converters/img2sixel.c: Fix the wrong option for getopt

  * README.md, converters/img2sixel.1: Update document

  * README.md, converters/img2sixel.1: Update img2sixel document

  * 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 <user@zuse.jp>

  * 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

2014-07-17  saitoha <user@zuse.jp>

  * converters/loader.c: Fix a segmentation error when loading GIF with setting
  requested component = 4

2014-07-16  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * package.json: Minor fix

  * package.json: Add package.json

  * libsixel.pc.in: Updaate the pkg-config file

  * configure.ac, package.json.in: clib's package.json integration

  * configure.ac: Add new macro PACKAGE_DESCRIPTION

2014-07-01  Hayaki Saito <user@zuse.jp>

  * src/sixel.5: Minor fix of sixel(5) manpage

2014-06-27  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.h: Update stb_image.h version to 1.41

2014-06-21  Hayaki Saito <user@zuse.jp>

  * src/sixel.5: Update the manpage of sixel(5)

  * LICENSE.images: Update license notation file for test images

2014-06-20  Hayaki Saito <user@zuse.jp>

  * 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

2014-06-19  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Do PKG_PROG_PKG_CONFIG out of if-clause

  * converters/stb_image.h: Fix a merge misstake

  * converters/stb_image.h: Apply the fix for 1bpp PNG (adb44619) again

2014-06-18  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * Makefile.am, Makefile.in: Fix travis build

2014-06-15  Hayaki Saito <user@zuse.jp>

  * 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

  * 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

  * 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 <user@zuse.jp>

  * README.md: Mention yaft, as a sixel-featured terminal

2014-06-11  Hayaki Saito <user@zuse.jp>

  * 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

  * 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 <user@zuse.jp>

  * converters/quant.c: Fix invalid memory access warnings reported by valgrind

2014-06-10  Hayaki Saito <user@zuse.jp>

  * 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

  * converters/loader.c: Dereference gdk-pixbuf loader after using it

  * .travis.yml: Amend fix of .travis.yml

  * .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

  * 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

2014-06-10  saitoha <user@zuse.jp>

  * .travis.yml: Install pkg-config when configuring with gdk-pixbuf

  * .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 <user@zuse.jp>

  * converters/stb_image.h: Parse application extension block when loading GIF

2014-06-10  Hayaki Saito <user@zuse.jp>

  * 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

  * Makefile.am, converters/Makefile.am: Add some CLEANFILES

  * Makefile.am: Minor fix

  * Makefile.am, Makefile.in: Add workaround for a cpp-coveralls problem

  * .coveralls.yml, Makefile.am, Makefile.in, converters/.coveralls.yml,
  converters/Makefile.am, converters/Makefile.in, src/Makefile.am: Fix travis
  build

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * LICENSE.tw, converters/quant.c: Drop unused pattern-dither function

2014-06-06  Hayaki Saito <user@zuse.jp>

  * .gitignore: Update gitigore

  * converters/frompnm.c, converters/loader.c: Fix linker error for mingw
  environment

  * 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 <user@WIN-FOH0MAR4FJ6.(none)>

  * configure.ac: Minor fix

  * configure.ac: Minor fix

2014-06-05  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * images/vimperator3.png: Add an additional test image

2014-05-30  Hayaki Saito <user@zuse.jp>

  * 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

  * converters/Makefile.am: Add some private header files to the source
  distribution

  * 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: Don't compile unused code in stbi_image.c such as
  stbi_load_from_file

  * converters/stb_image.c: Fix a segmentation fault issue reported by
  @arakiken

2014-05-28  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Continue to configure without pkg-config if
  GDK_PIXBUF_CFLAGS and GDK_PIXBUF_LIBS is set

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/sixel.5: Update reference section

  * converters/img2sixel.1, converters/sixel2png.1: Update "See Also" section
  of img2sixel/sixel2png

  * src/Makefile.am: Install sixel(5) by default

  * src/sixel.5: Add new manpage "sixel(5)"

  * Makefile.am: Update Makefile.am

  * configure.ac: Add new configure option, --with-pkgconfigdir

  * 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.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 <user@zuse.jp>

  * converters/loader.c: Cleanup

  * converters/malloc_stub.c, converters/malloc_stub.h: Drop unused
  posix_memalign stub function

  * configure.ac: Drop the preparation for SIMD enhancement

  * 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 <user@zuse.jp>

  * configure.ac: Fix for environments that do not have pkg-config

2014-05-22  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Fix build

2014-05-21  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.1: Update manpage of img2sixel

  * configure, configure.ac: Minor fix

  * 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 <user@zuse.jp>

  * 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.ac: Minor fix

  * configure, configure.ac: Display configure summary

  * src/fromsixel.c, src/tosixel.c: Cleanup

  * converters/loader.c: Minor fix

  * converters/img2sixel.1: Update manpage

  * converters/img2sixel.1: Update manpage

  * converters/img2sixel.c: Use free() indted of stbi_image_free

  * 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: 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 <user@zuse.jp>

  * 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

  * 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, configure.ac, converters/Makefile.am, converters/Makefile.in:
  Raise errors if gdk-pixbuf/libcurl are not available when they are enabled

  * 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 <user@zuse.jp>

  * converters/img2sixel.c: Minor fix

  * converters/img2sixel.c: Minor fix

  * 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 <user@zuse.jp>

  * 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

  * configure.ac: Update minor version

  * converters/img2sixel.c: Enable missing -q/--quality option

2014-05-16  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Add some smoke tests

2014-05-15  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Define and select color index #1 when monochrome sixel mode

  * converters/quant.c: Improve the quality of monochrome dithering

  * .travis.yml: Amend fix of yml syntax error

2014-05-14  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Integrate valgrind to .travis.yml

  * converters/quant.c: Omit some needless conditions

  * converters/img2sixel.c: Load map file with high quality mode

  * 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

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * converters/quant.c: Minor fix

  * README.md, converters/img2sixel.1: Add reference notations of ImageMagick

2014-05-11  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Implement options, --width=auto/--height=auto

  * converters/img2sixel.1: Update manpage

  * 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 <hsaito@MacBook-Pro.local>

  * converters/quant.c: Optimize dithering

2014-05-10  Hayaki Saito <user@zuse.jp>

  * converters/quant.c: Fix a worng comment

  * 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

  * converters/img2sixel.1, converters/img2sixel.c, converters/quant.c,
  converters/quant.h: Add Bill Atkinson's dithering method

2014-05-09  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * README.md, converters/img2sixel.1, converters/img2sixel.c,
  converters/scale.c: Change default re-sampling option to bilinear method

  * 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

  * 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 <user@zuse.jp>

  * 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

  * converters/img2sixel.c: Update --help description

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * .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

  * .travis.yml: Fix a typo

  * .travis.yml: Fix travis build

  * .travis.yml: Fix travis build

  * converters/sixel2png.c: Fix a segmentation error

  * .travis.yml: Minor fix

  * .travis.yml: Fix travis build errors

  * .travis.yml: Add .travis.yml

  * converters/quant.h: Minor fix

  * configure: Update configure script

  * configure.ac, converters/img2sixel.c, converters/sixel2png.c: Fix broken
  build for non-win32 environment

2014-05-01  Hayaki Saito <user@zuse.jp>

  * 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

  * 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 <user@zuse.jp>

  * configure, configure.ac: Initial package relase

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in:
  Update configure option

2014-04-28  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * include/sixel.h, src/tosixel.c: Add error handling, and change the
  signature of LibSixel_LSImageToSixel

  * 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 <user@zuse.jp>

  * converters/quant.c, converters/quant.h: Linting

2014-04-16  Hayaki Saito <user@zuse.jp>

  * README.md: Update document

2014-04-18  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.c: Experimental support for 1bpp PNG

2014-04-17  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Cleanup

2014-04-16  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/Makefile.am, src/Makefile.in: Fix a build error (sixel.h is missing,
  reported by @ttdoda).

  * 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 <user@zuse.jp>

  * converters/stb_image.c: Experimental support for 1bpp PNG

2014-04-17  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Cleanup

2014-04-16  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * src/Makefile.am, src/Makefile.in: Fix a build error (sixel.h is missing,
  reported by @ttdoda).

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * Makefile.am, Makefile.in, config.h.in, configure, configure.ac,
  converters/img2sixel.c, converters/quant.c, converters/quant.h,
  converters/sixel2png.c, converters/stb_image.c, converters/stb_image_write.c,
  converters/stb_image_write.h, src/Makefile.am, src/Makefile.in,
  src/img2sixel.c, src/quant.c, src/quant.h, src/sixel2png.c, src/stb_image.c,
  src/stb_image_write.c, src/stb_image_write.h: Move source files of converter
  programs to new directory converters/

  * Makefile.am, Makefile.in, configure, configure.ac, include/sixel.h,
  src/Makefile.am, src/Makefile.in, src/sixel.h: Move the include file sixel.h
  to separated directory

2014-04-04  saitoha <user@zuse.jp>

  * 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-02  Hayaki Saito <user@zuse.jp>

  * src/fromsixel.c, src/image.c, src/sixel.h: Remove uint8_t from public
  interface

  * src/sixel.h: Strip needless extern

  * src/fromsixel.c, src/img2sixel.c, src/output.c, src/sixel.h,
  src/sixel2png.c, src/tosixel.c: Change interface signature of output.c

  * 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

  * 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 <user@zuse.jp>

  * src/quant.c: Linting

2014-03-31  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * 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,
  fromsixel.c, image.c, img2sixel.c, output.c, quant.c, sixel.h, sixel2png.c,
  src/Makefile.am, src/Makefile.in, src/fromsixel.c, src/image.c,
  src/img2sixel.c, src/output.c, src/quant.c, src/sixel.h, src/sixel2png.c,
  src/stb_image.c, src/stb_image_write.c, src/stb_image_write.h, src/tosixel.c,
  stb_image.c, stb_image_write.c, stb_image_write.h, tosixel.c: Move source
  files to src directory

  * Makefile.am, Makefile.in, images/map8.png, quant.c: Minor fix

  * img2sixel.c: Strip debug code

  * img2sixel.c: Minor fix

  * 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 <user@zuse.jp>

  * 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.pnmcolormap, LICENSE.pnmquant: Rename a license file

  * LICENSE.sixel, LICENSE.sixel_original_version, sixel_orig/Makefile,
  sixel_orig/frompnm.c, sixel_orig/fromsixel.c, sixel_orig/main.c,
  sixel_orig/tosixel.c, sixel_original_version/Makefile,
  sixel_original_version/frompnm.c, sixel_original_version/fromsixel.c,
  sixel_original_version/main.c, sixel_original_version/tosixel.c: Rename the
  directory of sixel original version

  * configure, configure.ac: Fix typo

2014-03-27  Hayaki Saito <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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

  * 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

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * aclocal.m4, configure, configure.ac: Build fix for ubuntu jessy environment

  * sixel.h: Minor fix

  * images/egret.jpg, images/snake.jpg: Resize images

  * img2sixel.c: Minor fix

  * tosixel.c: Separate color designation from color definition

  * tosixel.c: Minor fix

  * image.c: Fix an off-by-one issue of fillrectangle implementation

  * fromsixel.c, tosixel.c: Linting

  * img2sixel.c, sixel.h, sixel2png.c, tosixel.c: Drop OutputContext::fn_puts

  * Makefile.am, Makefile.in: Update makefile

  * output.c: Add output.c

  * 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 <user@zuse.jp>

  * Makefile.am, Makefile.in: Build tweak

  * fromsixel.c, image.c, img2sixel.c, sixel.h, sixel2png.c, tosixel.c: Rename
  public symbols

  * LICENSE: Update LICENSE

  * 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

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * Makefile.in: Add missing Makefile.in

  * install-sh: Add install-sh

  * README.md: Minor fix

  * 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

  * LICENSE.sixel_original_version, LICENSE.stb_image, LICENSE.stbi, Makefile,
  fromsixel.c, img2sixel.c, main.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 <user@zuse.jp>

  * 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 <user@zuse.jp>

  * 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/
