summaryrefslogtreecommitdiff
path: root/Build/source/texk/upmendex/ChangeLog
blob: 4445ad62f01b5f75e5b885326babb41e5a61ed46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
2022-03-21  Karl Berry  <karl@tug.org>

	* TL'22 release.

2022-03-07  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	* fwrite.c: output to file instead of accumulating too much.
	https://github.com/texjporg/tex-jp-build/issues/137

2022-01-18  Karl Berry  <karl@freefriends.org>

	* COPYRIGHT,
	* main.c: 2022.

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

	* version 1.00  Stable version.
	* configure.ac: Bump version.
	* {,ex}var.h, fwrite.c, styfile.c:
	Add options "script_preamble" and "script_postamble"
	in style file.
	* sort.c: Add Latin Extended-F and -G.
	Add U_FORMAT_CHAR to is_type_mark_or_punct().
	* mendex.h, var.h, convert.c, fwrite.c, sort.c, styfile.c:
	Supports Arabic, Hebrew scripts (experimental).
	* upmendex.ja.txt:
	Update document.

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

	* version 0.60  Beta version.
	* configure.ac: Bump version.
	* Makefile.am, convert.c, fwrite.c, sort.c,
	{,ex}kana.h, ktable.h, mendex.h:
	Enhance procedure of classifying characters:
	Newly classifies by character type of
	General Category in Unicode Script Property.
	https://github.com/t-tk/upmendex-package/issues/8

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

	* fread.c:
	Modify heuristic detection of page number types.
	* tests/upmendex.test, tests/range.idx, tests/range[123].ind,
	tests/pprecB.idx, tests/pprec[34].ist, tests/pprecB-[034].ind:
	Update tests.

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

	* fread.c, fwrite.c, sort.c, mendex.h, {,ex}var.h:
	Extend levels of page numbers from 3 to 10
	for compatibility with makeindex.
	Fix a bug of page ranges with multi-level page numbers.
	* fread.c:
	Strict check for "page_precedence" and "page_compositor" in style file.
	* fwrite.c:
	Do not break lines before "delim_n".
	* tests/upmendex.test, tests/range.idx, tests/range[123].{ist,ind},
	removed tests/rangetwo.*:
	Update tests.

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

	* fwrite.c:
	Support I-Y ordering in Lithuanian.

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

	* version 0.59  Beta version.
	* configure.ac: Bump version.
	* fwrite.c, styfile.c, {,ex}var.h:
	Support output order of symbols and numbers separately
	when "symbol_flag" is 2 in style file.
	* sort.c:
	Accept combination of "icu_locale" and "icu_rules" in style file.
	If simultaneously specified, collation rules specified by "icu_rules" are
	added on collation rules specified by "icu_locale".
	* tests/upmendex.test, tests/rule.{idx,ind}, tests/locale2.ist,
	tests/{locale1,attri1,locale2-rule}.ind:
	Add a new test and update conventional tests.

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

	* styfile.c:
	Strict check for "icu_attributes" in style file.
	* sort.c:
	Strict check for "character_order" in style file.
	* fwrite.c:
	Fix a bug when "symbol_flag" is 0.
	* tests/upmendex.test, tests/attr1.{ist,ind},
	tests/locale1.ind, tests/rule.{idx,ind}:
	Add a new test and update conventional tests.

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

	* styfile.c:
	Add a alias "headings_flag" of the keyword "heading_flag"
	in style file for compatibility with makeindex.
	Warn if specifier in style file is unknown.

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

	* sort.c:
	Initialize a variable.
	* tests/upmendex.test, tests/locale1.{ist,ind}:
	Add a new test for "icu_locale".

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

	* sort.c:
	Initialize a string. Check malformed input for "icu_rules".
	* tests/upmendex.test, tests/rule[34].ist:
	Add new tests.

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

	* tests/upmendex.test, tests/rule[12].ist, tests/rule.{idx,ind}:
	Add new tests for the keyword "icu_rules" in style file.

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

	* version 0.58  Beta version.
	* configure.ac: Bump version.
	* main.c, convert.c, fwrite.c, sort.c, styfile.c, mendex.h, {,ex}kana.h, {,ex}var.h:
	Supports Devanagari, Thai scripts (experimental).
	Add keywords "devanagari_head", "thai_head" to style file.
	Add a keyword "hangul_head" to style file, let "tumumja" deprecated.
	* styfile.c:
	Add an option "numeric-ordering" to the keyword "icu_attributes" in style file.
	* upmendex.ja.txt:
	Update document.

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: 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).