2022-05-22 TANAKA Takuji * 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 * 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 * 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 * mkindex: "quote" arguments, doc tweaks. (Really testing update of arch-specific packages with versioned containers with meaningless changes.) 2019-03-21 Karl Berry * 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 * Makefile.am: Better dependencies for 'make check'. 2015-07-07 Peter Breitenlohner * Makefile.am: Better dependencies for 'make check'. 2014-11-13 Karl Berry * 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 * genind.c, scanid.c: Avoid undefined behaviour when char is signed. 2014-06-16 Peter Breitenlohner * Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS. 2013-09-30 Peter Breitenlohner * configure.ac: Use KPSE_COND_WIN32. 2013-06-28 Peter Breitenlohner * scanid.c: Replace bzero(s, l) => memset(s, 0, l). 2013-04-16 Peter Breitenlohner 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 * Makefile.am: Avoid use of deprecated INCLUDES. 2012-10-16 Peter Breitenlohner * mkind.h: Drop duplicate '#include "c-auto.h"'. 2012-10-15 Peter Breitenlohner * mkind.c: Avoid TL vs W32TeX diffs (from Akira). 2012-07-28 Peter Breitenlohner * mkind.c, scanid.c: Do not typecast the result of malloc(). 2012-07-27 Peter Breitenlohner 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 * 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 * mkind.c: Pass program name string to kpse_set_program_name. 2011-09-30 Peter Breitenlohner * 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 * genind.c: write a binary string by octal numbers to avoid an error in old compilers. 2011-09-24 Karl Berry * 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 * sortid.c (compare_string): Cast strcoll() args to 'char *' to avoid 'differ in signedness' warnings. 2010-12-19 Peter Breitenlohner * Makefile.am, configure.ac [WIN32]: Skip mkindex shell script. 2010-11-02 Taco Hoekwater * 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 * configure.ac [TEX_LIVE_VERSION]: From ../../version.ac. * mkind.h: Use TEX_LIVE_VERSION. * makeindex.1: Formatting. 2010-03-09 Peter Breitenlohner * mkind.c: Use kpse_set_program_name() instead of kpse_set_progname(). 2010-02-23 Peter Breitenlohner * mkind.h (DUPLICATE) [WIN32]: #undef before #define. 2010-02-12 Peter Breitenlohner * mkind.h: #define NO_DEBUG as 1, to avoid warning. 2009-10-24 Peter Breitenlohner * mkind.c (process_idx, check_all): Check for legitimate file names via kpse_out_name_ok() before opening output files. From Akira Kakuto * 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 * genind.c, mkind.[ch], qsort.c, scanid.c, scanst.c, sortid.c: Remove all pre-ANSI C stuff. 2009-08-22 Peter Breitenlohner 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 * 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 * 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 Adapt to TL2009 build system. 2008-03-04 Karl Berry * 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 * acconfig.h: removed. 2008-01-30 Peter Breitenlohner 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 * 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 * 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 * 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 * mkindex: make executable (Thomas Esser) Tue Jan 27 14:32:25 1998 Sebastian Rahtz * configure etc: new configure.in, c-auto.in, Makefile.in from Olaf Weber Tue Jan 20 10:13:57 1998 Sebastian Rahtz * added check of function prototypes to c-auto.in Thu Jan 1 11:10:15 1998 Sebastian Rahtz * 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