2026-01-12  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* scanid.c: Check malformed inputs before EOF.
	Thank report by V-One Giri.
	* tests/sample.idx: Add tests for malformed inputs.
	* configure.ac, mkind.h: Bump version to 2.18

2025-12-28  Karl Berry  <karl@freefriends.org>

	* tests/nested-range-test.pl: for more debuggin, show all
	processes when output .ind doesn't exist; still mysteriously not
	existing after successful run.

	* Makefile.am,
	* tests/nest.test: doc/svn tweaks.

2025-12-21  Karl Berry  <karl@freefriends.org>

	* tests/nested-range-test.pl: output .ind still not existing
	sometimes; report explicitly what's happening, and sleep 2.

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

	* tests/romalpA.idx, tests/romalpA-[56].ind:
	Add tests for roman numerals.

2025-09-21  Karl Berry  <karl@freefriends.org>

	* tests/nested-range-test.pl: check return status of test run.
	Occasionally the output file doesn't exist before we try to open
	it, for no evident reason. Related to disk caching? Also try
	sleep(1) if it's not there yet.

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

	* tests/pprec.test, tests/range.idx,
	tests/range4.ist, tests/range{1,2,3,4}.ind:
	Add tests for page range.
	* Makefile.am: Adjust.

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

	* tests/makeindex.test, tests/head1.ist,
	tests/tort{,W}.idx, tests/ok-tort{,2}.ind:
	Add tests for encap escape & heading_{pre,post}fix.
	* Makefile.am: Adjust.

2024-11-09  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* tests/{makeindex,pprec}.test: Split test scripts.
	* tests/rangeA[123].ind: Remove unused files.
	* tests/nest.test, tests/nested3.{ist,idx,ind},
	tests/toodeep.idx: Add new tests for nested depth.
	* tests/makeindex.test, tests/tort{,W}.idx, tests/ok-tort.ind:
	Add new tests for error/warning.
	* Makefile.am: Adjust.

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

	* tests/makeindex.test: Make easier to test on Windows.

2022-05-22  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* scanid.c:
	Improve heuristic detection of page number types
	for ambiguous ones between roman number and alphabet.
	Ref. report from Frank Mittelbach,
	https://tug.org/pipermail/tex-live/2022-May/048137.html
	* tests/makeindex.test, tests/pprec[567].ist,
	tests/romalp[ABCD].idx, tests/romalpA-[56].ind,
	tests/romalp[BD]-[567].ind, tests/romalpC-5.ind, Makefile.am:
	Update tests.
	* configure.ac, mkind.h: Bump version to 2.17

2022-03-08  Karl Berry  <karl@freefriends.org>

	* mkindex.1: update contact info.
	Report from G\"unter Essers,
	https://tug.org/pipermail/tex-k/2022-March/003776.html

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

	* mkind.h, scanid.[ch], scanst.c:
	Fix a bug about detection of page number types.
	Default string "rnaRA" for page_precedence was not initialized.
	Improve heuristic detection of page number types.
	* tests/makeindex.test, tests/range.idx, tests/range[123].{ind,ist},
	tests/pprec[AB].idx, tests/pprec[01234].ist, tests/pprec[AB]-[01234].ind:
	Add new tests. These are compatible with (up)mendex.
	* configure.ac, mkind.h: Bump version to 2.16

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

	* mkindex: "quote" arguments, doc tweaks.
	(Really testing update of arch-specific packages with versioned
	containers with meaningless changes.)

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

	* mkind.h (ARGUMENT_MAX): increase to 10240 from 1024,
	since can be used with glossaries, etc. Found by Nicola Talbot.

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

	* Makefile.am: Better dependencies for 'make check'.

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

	* Makefile.am: Better dependencies for 'make check'.

2014-11-13  Karl Berry  <karl@tug.org>

	* ind-src: new directory (starting from and replacing
	Master/texmf-dist/doc/support/makeindex/ind-src.zip) with udpated
	documentation, from Dan Luecking.
	* Makefile.am (EXTRA_DIST): add ind-src.
	* makeindex.1: document missing directives, noted by Dan.

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

	* genind.c, scanid.c: Avoid undefined behaviour when char is
	signed.

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

	* Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.

2013-09-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Use KPSE_COND_WIN32.

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

	* scanid.c: Replace bzero(s, l) => memset(s, 0, l).

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

	Avoid gcc warning on 64-bit systems.
	* mkind.[ch] (idx_gt): Change type 'size_t' back to 'int'.
	* sortid.c (sort_idx): Cast qqsort() arg2 idx_gt to 'size_t'.

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

	* Makefile.am: Avoid use of deprecated INCLUDES.

2012-10-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mkind.h: Drop duplicate '#include "c-auto.h"'.

2012-10-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mkind.c: Avoid TL vs W32TeX diffs (from Akira).

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

	* mkind.c, scanid.c: Do not typecast the result of malloc().

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

	Cleanup Nelson Beebe's qqsort() used instead of qsort().
	* qsort.[ch] (qqsort): Declare exactly as qsort().
	(qq_compar_fn_t) Declare and use the comparison function type.
	* mkind.[ch] (idx_gt): Change type 'int' into 'size_t'.
	* mkind.h, scanid.c: Constify group_type() arg.
	* sortid.c: Constify all comparison function args.

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

	* mkind.[ch] [WIN32]: Use binary mode for input and output
	(from W32TeX).
	* mkind.h: Drop extern declaration of qqsort() and main().
	* qsort.h (new): Extern declaration of of qqsort().
	* qsort.c: Replace #include "mkind.h" by #include "qsort.h".
	* sortid.c: Add #include "qsort.h".
	* Makefile.am (makeindex_SOURCES): Add the new file qsort.h.

	* tests/makeindex.test (new): Shell script for a test case.
	* tests/sample.idx (new): Test input.
	* tests/sample.ind (new): Expected output.
	* Makefile.am: Adapted.

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

	* mkind.c: Pass program name string to kpse_set_program_name.

2011-09-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mkind.c (main): The argument of kpse_set_program_name() must
	be the unmodified argv[0], not basename(argv[0]) or some such.

2011-09-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* genind.c: write a binary string by octal numbers to avoid an
	error in old compilers.

2011-09-24  Karl Berry  <karl@tug.org>

	* genind.c (make_entry): do not output erroneous \( when
	an open range is erroneously opened again.  Report from
	Barbara Beeton, see tests/nested-range-bb.tex and related.

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

	* sortid.c (compare_string): Cast strcoll() args to 'char *' to
	avoid 'differ in signedness' warnings.

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

	* Makefile.am, configure.ac [WIN32]: Skip mkindex shell script.

2010-11-02  Taco Hoekwater  <taco@elvenkind.com>

	* mkind.c (mk_getc): new fn to accept both LF and CRLF.
	* mkind.h (mk_getc): declare it.
	(GET_CHAR): use it.

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

	* configure.ac [TEX_LIVE_VERSION]: From ../../version.ac.
	* mkind.h: Use TEX_LIVE_VERSION.
	* makeindex.1: Formatting.

2010-03-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mkind.c: Use kpse_set_program_name() instead of
	kpse_set_progname().

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

	* mkind.h (DUPLICATE) [WIN32]: #undef before #define.

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

	* mkind.h: #define NO_DEBUG as 1, to avoid warning.

2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mkind.c (process_idx, check_all): Check for legitimate file
	names via kpse_out_name_ok() before opening output files.
	From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mkind.c (check_idx, check_all, open_sty): Check for legitimate
	file names via kpse_in_name_ok() before opening input files.

2009-08-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* genind.c, mkind.[ch], qsort.c, scanid.c, scanst.c, sortid.c:
	Remove all pre-ANSI C stuff.

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

	Avoid maximal compiler warnings.
	* genind.c (make_item): Constify string param.
	* mkind.[ch] (pgm_fn, idx_fn, ind_fn, ilg_fn): Constify globals
	and corrsponding struct member.
	(check_idx): Avoid modifying const string.
	* scanid.c (search_quote): Constify local var 'sort'.

2009-06-18  Karl Berry  <karl@tug.org>

	* mkind.h (VERSION) [USE_KPATHSEA]: use TeX Live 2009 in version
	ident.

	* genind.c (new_entry): initialize let to -1.  It will be
	reassigned if it is actually used, as far as I can make out the
	overcomplex condition and usage in put_header.

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

	* Makefile.am (AM_CFLAGS): enable compiler warnings.

	* genind.c (new_entry): FIXME: `let' may be used uninitialized ,
	probably a bug.

	Avoid compiler warnings.

	* genind.h: rename IND_ERROR(F,S) to IND_ERROR1(F,S) and define
	IND_ERROR(F).
	* mkind.h: same for MESSAGE, MESSAGE1 and FATAL, FATAL1.
	* scanid.h: same for IDX_ERROR, IDX_ERROR1.
	* scanst.h: same for STY_ERROR, STY_ERROR1.
	* genind.c, mkind.c, scanid.c, scanst.c, sortid.c: always use
	fprintf (via IND_ERROR etc.) with correct number of args.

	* mkind.c (open_sty): avoid unused variables.	
	(check_idx): add explict braces to avoid ambiguous `else'.

2009-05-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Adapt to TL2009 build system.

2008-03-04  Karl Berry  <karl@tug.org>

	* mkind.h (ARABIC_MAX, ROMAN_MAX, NUMBER_MAX): increase to 99.
	Not that anyone has ever hit the limit, but.   Report from Oleg.

	* makeindex.1: mention page_compositor option.  From Oleg Katsitadze.

2008-02-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* acconfig.h: removed.

2008-01-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Convert from autoconf-2.13 to autoconf-2.59+:
	* Makefile.in: Add @configure_input@ line.
	* aclocal.m4 (new): Generated (aclocal -I ../m4).
	* configure: Regenerated (autoconf).

2007-11-20  Karl Berry  <karl@tug.org>

	* mkind.c (sty_fn): use STRING_MAX, not LINE_MAX.
	From Peter Ansell, 19 Nov 2007 10:11:40.

	* mkind.h (STRING_MAX): bump again to 999.

2007-10-12  Karl Berry  <karl@tug.org>

	* mkind.h (STRING_MAX): bump to 512, why not?
	(VERSION): change this.

	* avoid seg fault on long filenames.
	From Jindrich Novy, https://bugzilla.redhat.com/show_bug.cgi?id=225491.

Sa Sep 25 22:25:15 CEST 2004

	* set locale according to LC_CTYPE in genind.c for correct
	  tolower() behaviour

1998-10-22  Eli Zaretskii  <eliz@is.elta.co.il>

        * mkind.h [DOSISH] (ENV_SEPAR, DIR_DELIM, ALT_DIR_DELIM,
        IS_DIR_DELIM): Define.

        * mkind.c (main, check_idx): If ALT_DIR_DELIM is defined, use it
        in addition to DIR_DELIM to find the basename.

Fri Jan 30 13:05:22 1998  Sebastian Rahtz  <s.rahtz@elsevier.co.uk>

	* mkindex: make executable (Thomas Esser)

Tue Jan 27 14:32:25 1998  Sebastian Rahtz  <s.rahtz@elsevier.co.uk>

	* configure etc: new configure.in, c-auto.in, Makefile.in from
	Olaf Weber

Tue Jan 20 10:13:57 1998  Sebastian Rahtz  <s.rahtz@elsevier.co.uk>

	* added check of function prototypes to c-auto.in

Thu Jan  1 11:10:15 1998  Sebastian Rahtz  <s.rahtz@elsevier.co.uk>

	* A placeholder to note texk7-2 version, changed configure.in at
	least 

Sat Mar  8 13:44:45 MET 1997:
  - removed non-UNIX code
  - added GNU autoconf support
  - added Kpathsea support based on a patch from
      Matthias Clasen    (stu30917@mail.uni-kiel.d400.de)
  - changed version number to 2.13
