Debian Codegraph @

texk/makeindexk/ChangeLog

raw
1 2026-01-12 TANAKA Takuji <[email protected]>
2
3 * scanid.c: Check malformed inputs before EOF.
4 Thank report by V-One Giri.
5 * tests/sample.idx: Add tests for malformed inputs.
6 * configure.ac, mkind.h: Bump version to 2.18
7
8 2025-12-28 Karl Berry <[email protected]>
9
10 * tests/nested-range-test.pl: for more debuggin, show all
11 processes when output .ind doesn't exist; still mysteriously not
12 existing after successful run.
13
14 * Makefile.am,
15 * tests/nest.test: doc/svn tweaks.
16
17 2025-12-21 Karl Berry <[email protected]>
18
19 * tests/nested-range-test.pl: output .ind still not existing
20 sometimes; report explicitly what's happening, and sleep 2.
21
22 2025-10-11 TANAKA Takuji <[email protected]>
23
24 * tests/romalpA.idx, tests/romalpA-[56].ind:
25 Add tests for roman numerals.
26
27 2025-09-21 Karl Berry <[email protected]>
28
29 * tests/nested-range-test.pl: check return status of test run.
30 Occasionally the output file doesn't exist before we try to open
31 it, for no evident reason. Related to disk caching? Also try
32 sleep(1) if it's not there yet.
33
34 2025-08-11 TANAKA Takuji <[email protected]>
35
36 * tests/pprec.test, tests/range.idx,
37 tests/range4.ist, tests/range{1,2,3,4}.ind:
38 Add tests for page range.
39 * Makefile.am: Adjust.
40
41 2025-02-10 TANAKA Takuji <[email protected]>
42
43 * tests/makeindex.test, tests/head1.ist,
44 tests/tort{,W}.idx, tests/ok-tort{,2}.ind:
45 Add tests for encap escape & heading_{pre,post}fix.
46 * Makefile.am: Adjust.
47
48 2024-11-09 TANAKA Takuji <[email protected]>
49
50 * tests/{makeindex,pprec}.test: Split test scripts.
51 * tests/rangeA[123].ind: Remove unused files.
52 * tests/nest.test, tests/nested3.{ist,idx,ind},
53 tests/toodeep.idx: Add new tests for nested depth.
54 * tests/makeindex.test, tests/tort{,W}.idx, tests/ok-tort.ind:
55 Add new tests for error/warning.
56 * Makefile.am: Adjust.
57
58 2023-08-27 TANAKA Takuji <[email protected]>
59
60 * tests/makeindex.test: Make easier to test on Windows.
61
62 2022-05-22 TANAKA Takuji <[email protected]>
63
64 * scanid.c:
65 Improve heuristic detection of page number types
66 for ambiguous ones between roman number and alphabet.
67 Ref. report from Frank Mittelbach,
68 https://tug.org/pipermail/tex-live/2022-May/048137.html
69 * tests/makeindex.test, tests/pprec[567].ist,
70 tests/romalp[ABCD].idx, tests/romalpA-[56].ind,
71 tests/romalp[BD]-[567].ind, tests/romalpC-5.ind, Makefile.am:
72 Update tests.
73 * configure.ac, mkind.h: Bump version to 2.17
74
75 2022-03-08 Karl Berry <[email protected]>
76
77 * mkindex.1: update contact info.
78 Report from G\"unter Essers,
79 https://tug.org/pipermail/tex-k/2022-March/003776.html
80
81 2021-09-19 TANAKA Takuji <[email protected]>
82
83 * mkind.h, scanid.[ch], scanst.c:
84 Fix a bug about detection of page number types.
85 Default string "rnaRA" for page_precedence was not initialized.
86 Improve heuristic detection of page number types.
87 * tests/makeindex.test, tests/range.idx, tests/range[123].{ind,ist},
88 tests/pprec[AB].idx, tests/pprec[01234].ist, tests/pprec[AB]-[01234].ind:
89 Add new tests. These are compatible with (up)mendex.
90 * configure.ac, mkind.h: Bump version to 2.16
91
92 2019-11-01 Karl Berry <[email protected]>
93
94 * mkindex: "quote" arguments, doc tweaks.
95 (Really testing update of arch-specific packages with versioned
96 containers with meaningless changes.)
97
98 2019-03-21 Karl Berry <[email protected]>
99
100 * mkind.h (ARGUMENT_MAX): increase to 10240 from 1024,
101 since can be used with glossaries, etc. Found by Nicola Talbot.
102
103 2015-07-10 Peter Breitenlohner <[email protected]>
104
105 * Makefile.am: Better dependencies for 'make check'.
106
107 2015-07-07 Peter Breitenlohner <[email protected]>
108
109 * Makefile.am: Better dependencies for 'make check'.
110
111 2014-11-13 Karl Berry <[email protected]>
112
113 * ind-src: new directory (starting from and replacing
114 Master/texmf-dist/doc/support/makeindex/ind-src.zip) with udpated
115 documentation, from Dan Luecking.
116 * Makefile.am (EXTRA_DIST): add ind-src.
117 * makeindex.1: document missing directives, noted by Dan.
118
119 2014-06-19 Peter Breitenlohner <[email protected]>
120
121 * genind.c, scanid.c: Avoid undefined behaviour when char is
122 signed.
123
124 2014-06-16 Peter Breitenlohner <[email protected]>
125
126 * Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.
127
128 2013-09-30 Peter Breitenlohner <[email protected]>
129
130 * configure.ac: Use KPSE_COND_WIN32.
131
132 2013-06-28 Peter Breitenlohner <[email protected]>
133
134 * scanid.c: Replace bzero(s, l) => memset(s, 0, l).
135
136 2013-04-16 Peter Breitenlohner <[email protected]>
137
138 Avoid gcc warning on 64-bit systems.
139 * mkind.[ch] (idx_gt): Change type 'size_t' back to 'int'.
140 * sortid.c (sort_idx): Cast qqsort() arg2 idx_gt to 'size_t'.
141
142 2012-11-19 Peter Breitenlohner <[email protected]>
143
144 * Makefile.am: Avoid use of deprecated INCLUDES.
145
146 2012-10-16 Peter Breitenlohner <[email protected]>
147
148 * mkind.h: Drop duplicate '#include "c-auto.h"'.
149
150 2012-10-15 Peter Breitenlohner <[email protected]>
151
152 * mkind.c: Avoid TL vs W32TeX diffs (from Akira).
153
154 2012-07-28 Peter Breitenlohner <[email protected]>
155
156 * mkind.c, scanid.c: Do not typecast the result of malloc().
157
158 2012-07-27 Peter Breitenlohner <[email protected]>
159
160 Cleanup Nelson Beebe's qqsort() used instead of qsort().
161 * qsort.[ch] (qqsort): Declare exactly as qsort().
162 (qq_compar_fn_t) Declare and use the comparison function type.
163 * mkind.[ch] (idx_gt): Change type 'int' into 'size_t'.
164 * mkind.h, scanid.c: Constify group_type() arg.
165 * sortid.c: Constify all comparison function args.
166
167 2012-07-26 Peter Breitenlohner <[email protected]>
168
169 * mkind.[ch] [WIN32]: Use binary mode for input and output
170 (from W32TeX).
171 * mkind.h: Drop extern declaration of qqsort() and main().
172 * qsort.h (new): Extern declaration of of qqsort().
173 * qsort.c: Replace #include "mkind.h" by #include "qsort.h".
174 * sortid.c: Add #include "qsort.h".
175 * Makefile.am (makeindex_SOURCES): Add the new file qsort.h.
176
177 * tests/makeindex.test (new): Shell script for a test case.
178 * tests/sample.idx (new): Test input.
179 * tests/sample.ind (new): Expected output.
180 * Makefile.am: Adapted.
181
182 2012-07-15 Peter Breitenlohner <[email protected]>
183
184 * mkind.c: Pass program name string to kpse_set_program_name.
185
186 2011-09-30 Peter Breitenlohner <[email protected]>
187
188 * mkind.c (main): The argument of kpse_set_program_name() must
189 be the unmodified argv[0], not basename(argv[0]) or some such.
190
191 2011-09-25 Akira Kakuto <[email protected]>
192
193 * genind.c: write a binary string by octal numbers to avoid an
194 error in old compilers.
195
196 2011-09-24 Karl Berry <[email protected]>
197
198 * genind.c (make_entry): do not output erroneous \( when
199 an open range is erroneously opened again. Report from
200 Barbara Beeton, see tests/nested-range-bb.tex and related.
201
202 2011-04-18 Peter Breitenlohner <[email protected]>
203
204 * sortid.c (compare_string): Cast strcoll() args to 'char *' to
205 avoid 'differ in signedness' warnings.
206
207 2010-12-19 Peter Breitenlohner <[email protected]>
208
209 * Makefile.am, configure.ac [WIN32]: Skip mkindex shell script.
210
211 2010-11-02 Taco Hoekwater <[email protected]>
212
213 * mkind.c (mk_getc): new fn to accept both LF and CRLF.
214 * mkind.h (mk_getc): declare it.
215 (GET_CHAR): use it.
216
217 2010-07-06 Peter Breitenlohner <[email protected]>
218
219 * configure.ac [TEX_LIVE_VERSION]: From ../../version.ac.
220 * mkind.h: Use TEX_LIVE_VERSION.
221 * makeindex.1: Formatting.
222
223 2010-03-09 Peter Breitenlohner <[email protected]>
224
225 * mkind.c: Use kpse_set_program_name() instead of
226 kpse_set_progname().
227
228 2010-02-23 Peter Breitenlohner <[email protected]>
229
230 * mkind.h (DUPLICATE) [WIN32]: #undef before #define.
231
232 2010-02-12 Peter Breitenlohner <[email protected]>
233
234 * mkind.h: #define NO_DEBUG as 1, to avoid warning.
235
236 2009-10-24 Peter Breitenlohner <[email protected]>
237
238 * mkind.c (process_idx, check_all): Check for legitimate file
239 names via kpse_out_name_ok() before opening output files.
240 From Akira Kakuto <[email protected]>
241
242 * mkind.c (check_idx, check_all, open_sty): Check for legitimate
243 file names via kpse_in_name_ok() before opening input files.
244
245 2009-08-30 Peter Breitenlohner <[email protected]>
246
247 * genind.c, mkind.[ch], qsort.c, scanid.c, scanst.c, sortid.c:
248 Remove all pre-ANSI C stuff.
249
250 2009-08-22 Peter Breitenlohner <[email protected]>
251
252 Avoid maximal compiler warnings.
253 * genind.c (make_item): Constify string param.
254 * mkind.[ch] (pgm_fn, idx_fn, ind_fn, ilg_fn): Constify globals
255 and corrsponding struct member.
256 (check_idx): Avoid modifying const string.
257 * scanid.c (search_quote): Constify local var 'sort'.
258
259 2009-06-18 Karl Berry <[email protected]>
260
261 * mkind.h (VERSION) [USE_KPATHSEA]: use TeX Live 2009 in version
262 ident.
263
264 * genind.c (new_entry): initialize let to -1. It will be
265 reassigned if it is actually used, as far as I can make out the
266 overcomplex condition and usage in put_header.
267
268 2009-06-12 Peter Breitenlohner <[email protected]>
269
270 * Makefile.am (AM_CFLAGS): enable compiler warnings.
271
272 * genind.c (new_entry): FIXME: `let' may be used uninitialized ,
273 probably a bug.
274
275 Avoid compiler warnings.
276
277 * genind.h: rename IND_ERROR(F,S) to IND_ERROR1(F,S) and define
278 IND_ERROR(F).
279 * mkind.h: same for MESSAGE, MESSAGE1 and FATAL, FATAL1.
280 * scanid.h: same for IDX_ERROR, IDX_ERROR1.
281 * scanst.h: same for STY_ERROR, STY_ERROR1.
282 * genind.c, mkind.c, scanid.c, scanst.c, sortid.c: always use
283 fprintf (via IND_ERROR etc.) with correct number of args.
284
285 * mkind.c (open_sty): avoid unused variables.
286 (check_idx): add explict braces to avoid ambiguous `else'.
287
288 2009-05-07 Peter Breitenlohner <[email protected]>
289
290 Adapt to TL2009 build system.
291
292 2008-03-04 Karl Berry <[email protected]>
293
294 * mkind.h (ARABIC_MAX, ROMAN_MAX, NUMBER_MAX): increase to 99.
295 Not that anyone has ever hit the limit, but. Report from Oleg.
296
297 * makeindex.1: mention page_compositor option. From Oleg Katsitadze.
298
299 2008-02-29 Peter Breitenlohner <[email protected]>
300
301 * acconfig.h: removed.
302
303 2008-01-30 Peter Breitenlohner <[email protected]>
304
305 Convert from autoconf-2.13 to autoconf-2.59+:
306 * Makefile.in: Add @configure_input@ line.
307 * aclocal.m4 (new): Generated (aclocal -I ../m4).
308 * configure: Regenerated (autoconf).
309
310 2007-11-20 Karl Berry <[email protected]>
311
312 * mkind.c (sty_fn): use STRING_MAX, not LINE_MAX.
313 From Peter Ansell, 19 Nov 2007 10:11:40.
314
315 * mkind.h (STRING_MAX): bump again to 999.
316
317 2007-10-12 Karl Berry <[email protected]>
318
319 * mkind.h (STRING_MAX): bump to 512, why not?
320 (VERSION): change this.
321
322 * avoid seg fault on long filenames.
323 From Jindrich Novy, https://bugzilla.redhat.com/show_bug.cgi?id=225491.
324
325 Sa Sep 25 22:25:15 CEST 2004
326
327 * set locale according to LC_CTYPE in genind.c for correct
328 tolower() behaviour
329
330 1998-10-22 Eli Zaretskii <[email protected]>
331
332 * mkind.h [DOSISH] (ENV_SEPAR, DIR_DELIM, ALT_DIR_DELIM,
333 IS_DIR_DELIM): Define.
334
335 * mkind.c (main, check_idx): If ALT_DIR_DELIM is defined, use it
336 in addition to DIR_DELIM to find the basename.
337
338 Fri Jan 30 13:05:22 1998 Sebastian Rahtz <[email protected]>
339
340 * mkindex: make executable (Thomas Esser)
341
342 Tue Jan 27 14:32:25 1998 Sebastian Rahtz <[email protected]>
343
344 * configure etc: new configure.in, c-auto.in, Makefile.in from
345 Olaf Weber
346
347 Tue Jan 20 10:13:57 1998 Sebastian Rahtz <[email protected]>
348
349 * added check of function prototypes to c-auto.in
350
351 Thu Jan 1 11:10:15 1998 Sebastian Rahtz <[email protected]>
352
353 * A placeholder to note texk7-2 version, changed configure.in at
354 least
355
356 Sat Mar 8 13:44:45 MET 1997:
357 - removed non-UNIX code
358 - added GNU autoconf support
359 - added Kpathsea support based on a patch from
360 Matthias Clasen ([email protected])
361 - changed version number to 2.13