2022-02-05 Hironori Kitagawa * ptexenc.c, ptexenc/ptexenc.h: Add is_terminalUTF8. 2022-01-22 Hironori Kitagawa * ptexenc.c, ptexenc/ptexenc.h, unicode.c, ptexenc/unicode.h: Distinguish 8-bit characters and Japanese characters by using flag 0x100 for Japanese char. * version.ac: Bump to 1.4.0. 2022-01-18 Karl Berry * version.ac: remove /dev, for TL22. 2021-06-29 Hironobu Yamashita * kanjicnv.c, ptexenc/kanjicnv.h: Always return 0 for invalid code conversions between JIS/EUC/SJIS/KUTEN/UCS. * jisx0208.h: Remove unused entry of UnicodeTbl. 2021-06-25 Hironori Kitagawa * unicode-jp.c: changed the returned value of UCS2toJISnative(0) from 0x222F to 0 to indicate that it is invalid. 2021-04-17 Karl Berry * version.ac: now 1.3.11/dev since TL21 is released. 2021-03-23 Karl Berry * TL'21. 2021-02-17 Karl Berry * version.ac: remove /dev for 1.3.9, for TL21. 2020-05-10 Hironori Kitagawa * ptexenc.c: Fix a bug of end of line in input_line2(). https://github.com/texjporg/tex-jp-build/issues/100 2020-04-10 Karl Berry * version.ac: now 1.3.9/dev since TL'19 is released. 2020-01-16 Karl Berry * version.ac (ptexenc_version): remove /dev (just 1.3.8) for TL'20. 2019-09-09 Hironori Kitagawa * 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 * version.ac: 1.3.8/dev since TL'19 is released. 2019-02-15 Akira Kakuto * ptexenc.c: Initialize a local variable. 2019-02-11 Karl Berry * version.ac: no /dev for TL'19. 2019-01-23 Hironobu Yamashita * ptexenc.c, ptexenc/ptexenc.h: define enc_to_string() and get_internal_enc() as extern. 2018-06-14 Akira Kakuto * ptexenc.c, ptexenc/ptexenc.h: remove sjisterminal (w32 only). 2018-06-09 TANAKA Takuji * 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 * ptexenc.c: Change default_kanji_enc from ENC_SJIS to ENC_UTF8 (Windows only). 2018-01-17 Karl Berry * ptexenc.c: #include , per Debian. 2017-09-09 Hironori Kitagawa * ptexenc.c, ptexenc/ptexenc.h: Add a new function setstdinenc() for the primitive \epTeXinputencoding in e-(u)pTeX. 2017-03-18 Karl Berry * version.ac (ptexenc_version): 1.3.5dev => 1.3.5 for TL17. 2016-06-30 Karl Berry * version.ac (ptexenc_version): 1.3.4 => 1.3.5dev. 2016-03-06 Karl Berry * version.ac: remove /dev for start of 2016 builds. 2016-03-01 TANAKA Takuji * ptexenc.c: Increase default OPEN_MAX on system lacking of OPEN_MAX. 2016-02-01 Akira Kakuto * 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 * ptexenc.c: Fix a bug, reported by N. Abe, in isUTF8Nstream(). 2015-10-25 TANAKA Takuji * ptexenc.c: Enable composition of Hiragana, Katakana from combining character sequences to precomposed characters in upTeX. 2015-06-12 Peter Breitenlohner * version.ac: Update version number 1.3.3 => 1.3.4dev. 2015-05-21 Karl Berry * TL'15. 2015-04-12 Peter Breitenlohner * version.ac: 1.3.3 (without the dev) for 2015 pretest. 2014-06-16 Peter Breitenlohner * Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS. * version.ac: Update version number 1.3.2 => 1.3.3dev. 2014-04-28 TANAKA Takuji * ptexenc.c: Accept Ctrl+Z as EOF in console (keyboard) in upTeX on Windows. 2014-04-17 Karl Berry * version.ac: 1.3.2 (without the dev) for 2014 pretest. 2014-01-25 TANAKA Takuji * ptexenc.c: Return replacement character U+FFFD for illegal surrogate pair in console (keyboard) input in upTeX on Windows. 2014-01-03 TANAKA Takuji * ptexenc.c, ptexenc/unicode.h: Enable console (keyboard) input of Unicode characters in upTeX on Windows. 2013-08-17 Peter Breitenlohner * configure.ac (AH_TOP): Simplify the generation of c-auto.h. 2013-07-06 Peter Breitenlohner * Makefile.am: Use ../../am/rebuild.am. 2013-06-29 Akira Kakuto * 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 * ptexenc.c: Remove redundant lines in input_line2(), which are inconsistent with those lines in texmfmp.c. 2013-06-24 Peter Breitenlohner * version.ac: Update version number 1.3.1 => 1.3.2dev. 2013-06-05 Peter Breitenlohner * Makefile.am (*_la_LDFLAGS): Add -bindir for MinGW DLL. 2013-05-30 Karl Berry * TeX Live 2013. 2013-04-05 Karl Berry * version.ac: 1.3.1 to prepare for TL'13 pretest. 2012-11-20 Peter Breitenlohner * ptexenc.c: Use kpse_readable_file() with non-const arg. 2012-11-20 Peter Breitenlohner * Makefile.am: Avoid use of deprecated INCLUDES. 2012-09-04 Peter Breitenlohner * ptexenc.c: Define ptexenc_version_string as PTEXENCVERSION. 2012-08-24 Peter Breitenlohner * 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 * version.ac: Update version number 1.3.0 => 1.3.1dev. 2012-03-04 Peter Breitenlohner Avoid 'differ in signedness' warnings. * ptexenc.c (write_hex): Cast buffer to 'char *'. 2012-02-29 Ken Brown * Makefile.am (libptexenc_la_LIBADD): Add $(KPATHSEA_LIBS) as required with `-no-undefined' (at least for Cygwin). 2012-01-05 Akira Kakuto * 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 * ptexenc.c, ptexenc/ptexenc.h: Declare and export Poptr. 2011-09-05 Takuji Tanaka * ptexenc.c: Fix putc2() to output right unicode characters. 2011-08-29 Peter Breitenlohner * unicode.c (UTF8length, UCStoUPTEX, UPTEXtoUCS), * unicode-jp.c (variation, JIStoUCS2): Patches from Takuji Tanaka , mail [ptex:00300]. * unicode-jp.c: #include for is_internalUPTEX(). From Takuji Tanaka [ptex:00302]. 2011-08-22 Peter Breitenlohner 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 * 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 Add support for upTeX and e-upTeX. * ptexenc/ptexenc.h, ptexenc.c: Export fromUCS(). 2011-07-15 Peter Breitenlohner * version.ac: New file defining the ptexenc version. * configure.ac: Adapt. Use KPSE_LT_VERSION. 2011-01-11 Peter Breitenlohner 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 * Makefile.am (libptexenc_la_LDFLAGS): Add -no-undefined. 2010-06-14 Peter Breitenlohner * 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 * configure.ac (ptexenc_lib_devel): no more dev. 2010-05-29 Peter Breitenlohner * Makefile.am (nobase_nodist_include_HEADERS): Removed, don't install ptexenc/c-auto.h. 2010-05-20 Peter Breitenlohner Moved headers (except jisx0208.h) to ptexenc/, removed patches/. * Makefile.am, configure.ac: Adjusted. 2010-04-22 Peter Breitenlohner * ptexenc.[ch] (input_line3): Removed. * ptexenc.h (inputline3): Removed. (inputline2): Moved from here to ../web2c/ptexdir/kanji.h. 2010-04-19 Peter Breitenlohner * jisx0208.h (new): Copy of ../../libs/gd/gd-2.0.35/jisx0208.h. * Makefile.am, unicode-jp.c: Adjusted. 2010-04-16 Peter Breitenlohner * configure.ac: Version 1.1.1 (dev). 2010-04-15 Peter Breitenlohner 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 * 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 * ptexenc.c (NOFILE) [MinGW32]: Always define it. (This ChangeLog file public domain.)