2020-01-16  Karl Berry  <karl@freefriends.org>

	* version.ac (ptexenc_version): remove /dev (just 1.3.8) for TL'20.

2019-09-09  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c: Fix a bug that size of buf was insufficient, when
	converting the file name from UTF-8 to the internal encoding.
	This bug could cause "Abort trap: 6".
	https://github.com/texjporg/tex-jp-build/issues/89
	* ptexenc.c: Avoid to collapse some invalid UTF-8 sequences into
	a "Japanese" character U+0027 (1-2-15 in JIS X 0213).
	https://github.com/texjporg/tex-jp-build/pull/90

2019-05-03  Karl Berry  <karl@tug.org>

	* version.ac: 1.3.8/dev since TL'19 is released.

2019-02-15  Akira Kakuto  <kakuto@w32tex.org>

	* ptexenc.c: Initialize a local variable.

2019-02-11  Karl Berry  <karl@tug.org>

	* version.ac: no /dev for TL'19.

2019-01-23  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	* ptexenc.c, ptexenc/ptexenc.h: define enc_to_string() and
	get_internal_enc() as extern.

2018-06-14  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c, ptexenc/ptexenc.h: remove sjisterminal (w32 only).

2018-06-09  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c, ptexenc/ptexenc.h: Add new functions
	ptenc_from_utf8_string_to_internal_enc(),
	ptenc_from_internal_enc_string_to_utf8() and
	ptenc_get_command_line_args() to support UTF-8 file names
	on UTF-8 locale in pTeX (Unix-like platform only).

2018-03-26  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c: Change default_kanji_enc from ENC_SJIS to ENC_UTF8
	(Windows only).

2018-01-17  Karl Berry  <karl@freefriends.org>

	* ptexenc.c: #include <kpathsea/c-pathmx.h>, per Debian.

2017-09-09  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c, ptexenc/ptexenc.h: Add a new function setstdinenc()
	 for the primitive \epTeXinputencoding in e-(u)pTeX.

2017-03-18  Karl Berry  <karl@tug.org>

	* version.ac (ptexenc_version): 1.3.5dev => 1.3.5 for TL17.

2016-06-30  Karl Berry  <karl@tug.org>

	* version.ac (ptexenc_version): 1.3.4 => 1.3.5dev.

2016-03-06  Karl Berry  <karl@tug.org>

	* version.ac: remove /dev for start of 2016 builds.

2016-03-01  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c: Increase default OPEN_MAX on system
	lacking of OPEN_MAX.

2016-02-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c, ptexenc/ptexenc.h: Add a function setinfileenc() for a new
	primitive \epTeXinputencoding in e-(u)pTeX. (from N. Abe).

2016-01-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c: Fix a bug, reported by N. Abe, in isUTF8Nstream().

2015-10-25  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c: Enable composition of Hiragana, Katakana
	from combining character sequences to precomposed characters
	in upTeX.

2015-06-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 1.3.3 => 1.3.4dev.

2015-05-21  Karl Berry  <karl@tug.org>

	* TL'15.

2015-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: 1.3.3 (without the dev) for 2015 pretest.

2014-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.
	* version.ac: Update version number 1.3.2 => 1.3.3dev.

2014-04-28  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* ptexenc.c: Accept Ctrl+Z as EOF in console (keyboard)
	in upTeX on Windows.

2014-04-17  Karl Berry  <karl@tug.org>

	* version.ac: 1.3.2 (without the dev) for 2014 pretest.

2014-01-25  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* ptexenc.c: Return replacement character U+FFFD
	for illegal surrogate pair in console (keyboard) input
	in upTeX on Windows.

2014-01-03  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* ptexenc.c, ptexenc/unicode.h: Enable console (keyboard) input
	of Unicode characters in upTeX on Windows.

2013-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac (AH_TOP): Simplify the generation of c-auto.h.

2013-07-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Use ../../am/rebuild.am.

2013-06-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c: Provide right console output on windows for both
	ptex and uptex if --sjis-terminal option is given. (from T. Tanaka).

2013-06-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c: Remove redundant lines in input_line2(), which are
	inconsistent with those lines in texmfmp.c.

2013-06-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 1.3.1 => 1.3.2dev.

2013-06-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (*_la_LDFLAGS): Add -bindir for MinGW DLL.

2013-05-30  Karl Berry  <karl@tug.org>
	
	* TeX Live 2013.

2013-04-05  Karl Berry  <karl@tug.org>

	* version.ac: 1.3.1 to prepare for TL'13 pretest.

2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc.c: Use kpse_readable_file() with non-const arg.

2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Avoid use of deprecated INCLUDES.

2012-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc.c: Define ptexenc_version_string as PTEXENCVERSION.

2012-08-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc/ptexenc.h: Correct set_enc_string() return type.

	Updates from W32TeX.
	* ptexenc.c (input_line2): Handle input files with Dos/Windows
	(CRLF) line endings.
	Various sjisterminal related changes.
	* unicode-jp.c: Update variation[] table.

2012-07-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 1.3.0 => 1.3.1dev.

2012-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid 'differ in signedness' warnings.
	* ptexenc.c (write_hex): Cast buffer to 'char *'.

2012-02-29  Ken Brown  <kbrow1i@gmail.com>

	* Makefile.am (libptexenc_la_LIBADD): Add $(KPATHSEA_LIBS) as
	required with `-no-undefined' (at least for Cygwin).

2012-01-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc/ptexenc.h, ptexenc.c: add set_prior_file_enc() in order to
	enable -kanji option in pdvitype and updvitype.
	(patch from TANAKA Takuji-san).

2011-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc.c, ptexenc/ptexenc.h: Declare and export Poptr.

2011-09-05  Takuji Tanaka <KXD02663@nifty.ne.jp>

	* ptexenc.c: Fix putc2() to output right unicode characters.

2011-08-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* unicode.c (UTF8length, UCStoUPTEX, UPTEXtoUCS),
	* unicode-jp.c (variation, JIStoUCS2): Patches from
	Takuji Tanaka <KXD02663@nifty.ne.jp>, mail [ptex:00300].

	* unicode-jp.c: #include <ptexenc/ptexenc.h> for
	is_internalUPTEX().  From Takuji Tanaka [ptex:00302].

2011-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	More support for upTeX and e-upTeX.  Updates from W32TeX.
	* ptexenc.c, ptexenc/ptexenc.h: Add is_internalEUC(),
	is_internalUPTEX(), ismultichr(), ismultichr(), toDVI(), and
	fromDVI().
	No nkf_disable(), nkf_open(), and nkf_close() for WIN32.

	* ptexenc/unicode.h, unicode.c: Add UCStoUPTEX(), UPTEXtoUCS().

	* ptexenc/kanjicnv.h, ptexenc/ptexenc.h, ptexenc/unicode.h:
	Use prototypes as in ptexenc/ from W32TeX.

	* ptexenc.c: Handle default encoding with/without uptex.
	* configure.ac: Remove configure option '--with-ptexenc-enc'.

2011-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 1.2.0 => 1.3.0dev.
	* ptexenc.c, ptexenc/ptexenc.h: Add sjisterminal,
	infile_enc_auto, and enable_UPTEX().

	Renamed ChangeLog => ChangeLog.jp, ChangeLog.TL => ChangeLog.
	* Makefile.am (EXTRA_DIST): Adapted.

2011-08-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Add support for upTeX and e-upTeX.
	* ptexenc/ptexenc.h, ptexenc.c: Export fromUCS().

2011-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: New file defining the ptexenc version.
	* configure.ac: Adapt. Use KPSE_LT_VERSION.

2011-01-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	For e-pTeX, adapted from eptex-110102.tar.xz by Hironori Kitagawa.
	* ptexenc.c, ptexenc/ptexenc.h: Export toUCS().
	* ptexenc/unicode.h: Export UCStoUTF8().
	* ptexenc.c: Change version string "ptetex" => "ptexenc".
	* Makefile.am: Install ptexenc/unicode.h.

	* configure.ac: Version 1.2.0.

2010-10-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (libptexenc_la_LDFLAGS): Add -no-undefined.

2010-06-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (libptexenc_la_CPPFLAGS): Define MAKE_PTENC_DLL
	instead of MAKE_KPSE_DLL.
	(libptexenc_la_SOURCES, nobase_include_HEADERS): Do not install
	kanjicnv.h, unicode-jp.h, and unicode.h.
	* ptexenc/ptexenc.h: Define and use PTENCDLL instead of KPSEDLL.
	* ptexenc/kanjicnv.h, ptexenc/unicode-jp.h, ptexenc/unicode.h:
	Remove KPSEDLL, everything is internal to the library.

2010-06-04  Karl Berry <karl@tug.org>
	
	* configure.ac (ptexenc_lib_devel): no more dev.

2010-05-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (nobase_nodist_include_HEADERS): Removed,
	don't install ptexenc/c-auto.h.

2010-05-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Moved headers (except jisx0208.h) to ptexenc/, removed patches/.
	* Makefile.am, configure.ac: Adjusted.

2010-04-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc.[ch] (input_line3): Removed.
	* ptexenc.h (inputline3): Removed.
	(inputline2): Moved from here to ../web2c/ptexdir/kanji.h.

2010-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* jisx0208.h (new): Copy of ../../libs/gd/gd-2.0.35/jisx0208.h.
	* Makefile.am, unicode-jp.c: Adjusted.

2010-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Version 1.1.1 (dev).

2010-04-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid compiler warnings.
	* ptexenc.[ch]: Declare ptexenc_version_string, get_enc_string,
	and set_enc_string's params as const.
	* ptexenc.c (enc_to_string): Declare return value as const.
	(string_to_enc): Declare param as const.
	(in_filter): Declare as const.
	(getc4, ungetc4): Declare as static.
	(get_terminal_enc): Declare as static and string var s as const.
	* unicode.c (UCStoUTF8S): Skip unused function.

2010-04-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (rebuild): New target for forced (re-)build.
	(INCLUDES): Add $(KPATHSEA_INCLUDES) in case we use an installed
	(system) version.
	Add rule to rebuild libkpathsea, if necessary.

2010-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc.c (NOFILE) [MinGW32]: Always define it.

(This ChangeLog file public domain.)
