2021-06-19  Karl Berry  <karl@freefriends.org>

	* configure.ac: pthread doc update; also needed in bibtexu (q.v.).

2021-06-19  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* configure.ac: variadic checks before AC_PROG_CXX, to avoid error
	of C++ compiler detection in some environments.
	Report from Vadim Kantorov,
	https://github.com/t-tk/upmendex-package/issues/1
	
	* main.c: Add ICU version to banner.

2021-06-13  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	Same fixes as for mendex.
	* fwrite.c:
	Avoid segmentation fault for unwritable fopen.
	* pageread.c, styfile.c: Exit code 255 for non-existent
	style/log file.

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

	* version 0.57  Beta version.
	* configure.ac: Bump version.
	* main.c, styfile.c:
	Accept multiple numbers of style files by option '-s'.
	* main.c, sort.c, styfile.c, fwrite.c, {,ex}kana.h, {,ex}var.h:
	Add a keyword "kana_head" to style file.
	Treat "Circled Katakana" as kana.
	* tests/upmendex.test, tests/uni[12].ist,
	tests/rangetwo.{idx,ind,ist}:
	Add new tests.
	* upmendex.ja.txt:
	Update document.
	Ref. https://github.com/texjporg/tex-jp-build/issues/116

2021-05-19  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* version 0.56  Beta version.
	* configure.ac: Bump version.
	* styfile.c:
	Fix a bug of reading keywords "setpage_prefix", "setpage_suffix"
	in style file.
	More strictly check string length.

2021-05-09  Karl Berry  <karl@freefriends.org>

	* mendex.h (page.attr): use int, not char, since we do signed
	comparison and aarch64 apparently treats char as unsigned.
	(index.words): use unsigned char for consistency.
	
	Same fixes as for mendex; see mendexk/ChangeLog.
	Report from Johannes Hielscher,
	  https://tug.org/pipermail/tlbuild/2021q1/004873.html
	and follow-up:
	  https://tug.org/pipermail/tlbuild/2021q2/004911.html

2021-03-23  Karl Berry  <karl@tug.org>

	* TL'21.

2021-03-21  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* version 0.55  Beta version.
	* configure.ac: Bump version.
	* fread.c: Fix a bug about page_precedence in style.
	Thanks to Suzana Sagadin for the report.
	* tests/pprec[012].ist, tests/pprecA.idx, tests/pprecA-[012].ind,
	tests/upmendex.test, Makefile.am:
	Add new tests.

2021-02-17  Karl Berry  <karl@freefriends.org>

	* COPYRIGHT,
	* main.c: copyright 2021.

2020-05-01  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* main.c, version.h, Makefile.{am.in}: Add bug report addresses
	on command line help.
	* convert.c: Tune buffer sizes to avoid tool warnings.

2020-02-22  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* version 0.54  Beta version.
	* configure.ac, main.c, COPYRIGHT: Bump version
	and copyright year.
	* {convert,fwrite,sort}.c:
	Support Small Kana Extension in Unicode 12.0.
	Add CJK Unified Ideographs Extension G.
	Update samples.

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

	* configure.ac,
	* COPYRIGHT,
	* main.c (VERSION): version 0.53 for TL'20.

2019-12-12  Karl Berry  <karl@freefriends.org>

	* configure.ac: look for a pthread library cntaining
	pthread_create (using KPSE_SEARCH_LIBS) and set PTHREAD_LIB if found.
	* Makefile.am (LDADD): include $(PTHREAD_LIB).
	
As of ICU 65.1, upmendex requires -lpthread. Otherwise, it crashes
at sort.c:82, which merely creates the icu_collator:
    icu_collator = ucol_open(icu_locale, &status);

About 10 stack frames deep into the ICU initialization, this winds up calling
(Build/source/libs/icu/icu-src/source/common/umutex.cpp:146):
    std::call_once(*pInitFlag, umtx_init);

which results in a fatal error from stdc++:
    terminate called after throwing an instance of 'std::system_error'
      what():  Unknown error -1

Web searching indicated that that opaque error message is a result of not
linking with -lpthread. So now we do so. So far our other ICU programs
(bibtexu, xetex) don't seem to require it.

2019-03-16  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* upmendex.ja.txt: Rename from upmendex.doc,
	  minor update.

2019-03-06  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	Fix a bug in multibytelen().

2019-02-17  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* version 0.52  Beta version.
	* main.c, COPYRIGHT: Update copyright year.
	* fread.c: Fix typo. It seems a bug.
	* {convert,fread,fwrite,kp,sort,styfile}.c, {hanzi,mendex}.h:
	Avoid compiler warnings.
	Thanks to @ngothan for a report by covscan.
	https://github.com/TeX-Live/texlive-source/issues/11

2017-04-05  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* main.c: Avoid access violation.
	Thanks to I. Wada san.
	* main.c, COPYRIGHT: Update copyright year.

2016-12-24  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* sort.c: Add Cyrillic Extended-C

2016-11-12  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* main.c: Avoid access violation.

2016-06-19  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* version 0.51  Beta version.
	* fwrite.c: Fix bug of option "hanzi_head" in style file.
	Thanks to Dr. Werner Fink.

2016-02-12  Karl Berry  <karl@tug.org>

	* configure.ac (KPSE_CXX_HACK): add to avoid usual libstdc++.so
	dynamic linking failure.

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

	* convert.c, fread.c, main.c: Remove unused local variables.
	* qsort.c: Avoid compiler warning in the case of Windows 64bit.

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

	* version 0.50  Beta version.
	Support option "icu_rules" in style file.
	Support option "icu_attributes" in style file.
	Support option "priority" in style file
	as similar to mendex.
	Refine and fix several bugs in sorting procedure.
	Fix bug of -g option.
	Update samples.

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

	* version 0.06  Alpha version.
	Support dotted/dotless I/i in Turkish.
	Support digraphs in Albanian.
	Modify on surrogate pair.
	Update samples.

2015-09-27  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* version 0.05  Alpha version.
	Support Hanzi ideograph (Han script) indexing.
	It works when icu_locale is
	"zh@collation=unihan", "ja@collation=unihan",
	"ko@collation=unihan" (radical-stroke),
	"zh@collation=stroke" (stroke),
	"zh" (pinyin)  or "zh@collation=zhuyin" (zhuyin).
	Fix bug on surrogate pair.
	Update samples.

2015-08-23  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* version 0.04  Alpha version.
	Support digraphs and trigraphs in Latin scripts.
	Accept long file name for a log file and a index file.
	Update samples.

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

	* version 0.03  Alpha version.
	Support option "icu_locale" in style file.
	Support diacritical marks in Latin, Greek, Cyrillic.
	Update samples.

2015-05-17  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* version 0.02  Alpha version.
	Support Korean Hangul.
	Fix bug on Japanese indexing.
	Fix bug on surrogate pair.
	Add option "icu_locale" in style file (Preliminary).

2015-01-24  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* Initial version 0.01.
	Alpha version
	based on mendex version 2.6f [14-Aug-2009] (TeX Live 2015/dev).

