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

  * 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

  * NEWS: Update NEWS

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

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