summaryrefslogtreecommitdiff
path: root/Build/source/texk/mendexk/ChangeLog
blob: fcfac925ae50d2e050670965463b0ccc2880e18c (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
2018-01-17  Karl Berry  <karl@tug.org>

	* mendex.1 (.TH): use 1 instead of L, per Debian (and all our
	other man pages).

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

	* main.c: Avoid access violation.
	Thanks to I. Wada san.

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

	* mendex.1, mendex.doc, mendex.1.ja: Sync with upstream.
	Now they are maintained at
	https://github.com/texjporg/mendex-doc
	* COPYRIGHT.ja, ChangeLog.ja: Rename from *.jis and convert
	encoding to UTF-8
	* Makefile.am: Add those files to EXTRA_DIST.

2016-12-15  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* main.c: Remove email address "ptex-staff@ml.asciimw.jp" as in upmendex.

2016-11-12  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mendex.h: Sync with W32TeX (W32 only).
	* main.c: Avoid access violation.

2016-09-28  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	* styfile.c: Use mfgets() instead of fgets() in bfgets().

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

	* mendex.1, mendex.doc: Convert encoding
	from EUC-JP to UTF-8

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

	* mendex.1, mendex.doc: Remove unimplemented style option
	'letter_head=0' from document.

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

	* fwrite.c: Fix bug of -g option.

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

	* main.c, fwrite.c: Accept long file name for a log file and
	a index file.

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

	* main.c: Add '--help' option.

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

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

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

	* main.c, mendex.1, mendex.doc: Add '--' option.
	Update manuals.

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

	* fwrite.c: Some compilers mishandle the use of sizeof(buf)
	inside C99 variadic macros, so we replace it by BUFFERLEN.

2014-07-05  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* convert.c: Better timing for xstrdup.

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

	* main.c: Drop definition of TL_VERSION.
	* configure.ac: Use ../../version.ac to AC_DEFINE([TL_VERSION]).

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

	* Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.
	* configure.ac: Check for C99 variadic macros.
	* fwrite.c: Better handling of snprintf().

2014-05-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* fread.c (copy_multibyte_char): Avoid ambiguous operation.

2014-05-13  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* fread.c: Add copy_multibyte_char() to
	copy multibyte character correctly.
	* tests/uni.{idx,ind}: Update.

2014-05-12  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* fread.c: Wide char is not always even bytes in getestr().

2014-05-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* convert.c: Add (unsigned char*) cast arg1 of UTF8StoUCS().
	* fwrite.c: Declare fprint_euc_char() as static.

2014-05-11  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* main.c: Add TeX Live version.
	* {main,convert,fread,fwrite,styfile}.c, kana.h,
	mendex.doc, mendex.1: Add a new option -I to switch
	internal buffers for key words to EUC-JP or UTF-8.
	* tests/mendex.test: Add a new test.
	* tests/uni.{idx,dict,ist} (new): Test input.
	* tests/uni.ind (new): Expected output.
	* Makefile.am: Adapted.

2014-05-10  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* mendex.1: Fix usage.

2014-05-05  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* convert.c: Allow longer words in dictionary.
	* fwrite.c:  Make a buffer size larger.

2014-05-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* fwrite.c: OS X build fix.

2014-04-30  Norbert Preining  <preining@logic.at>

	* fwrite.c: Replace sprintf with snprintf.

2013-11-16  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* fread.c: Allow lines with only a line ending in mfgets(),
	because dictionary files with DOS line endings can't be read.

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

	* fwrite.c: Bug fix as suggested by Akira, Karl, and Norbert.

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

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

	* mendex.h: First include <c-auto.h>.

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>

	* convert.c: Move common #include's from here ...
	* fread.c: ... and here ...
	* fwrite.c: ... and here ...
	* main.c: ... and here ...
	* pageread.c: ... and here ...
	* sort.c: ... and here ...
	* styfile.c: ... and here ...
	* mendex.h: ... to here and add '#include <c-auto.h>'.
	* kp.c: Add '#include "mendex.h"' for common #include's.

	Avoid TL vs W32TeX diffs.
	* main.c: Use "PTEX_KANJI_ENC" and "guess_input_kanji_encoding".
	[WIN32}: Add command line option '-T' (from W32TeX).

2012-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* main.c [WIN32]: Use "sjis" file encoding (from W32TeX).

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

	* convert.c, pageread.c, styfile.c: Handle input files with
	Dos/Windows (CRLF) line endings (from W32TeX).

	Use Nelson Beebe's qqsort() instead of qsort() (from W32TeX).
	* convert.c, sort.c: Add #include "qsort.h".
	* qsort.[ch] (new): Copied from ../makeindexk.
	* Makefile.am (mendex_SOURCES): Add the new files.

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

	* convert.c, kp.[ch], main.c, styfile.c: Always use KPATHSEA.
	* Makefile.am (AM_CPPFLAGS): Remove '-DKPATHSEA'.
	* convert.c, fread.c, main.c, sort.c: Use xmalloc().
	* fread.c, main.c: Use xstrdup() instead of malloc()+strcpy().
	* fwrite.c, mendex.h, kp.[ch]: Change {verb,warn}_printf() and
	KP_entry_filetype() return type from 'int' into 'void'.

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

	* fwrite.c, main.c: Use binary mode for input and output
	(from W32TeX).
	* convert.c, fread.c, main.c: Use 8-bit exit() codes.
	* main.c: Terminate main() with return instead of exit().

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

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

2012-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid 'differ in signedness' warnings.
	* fread.c (mfgets): Cast buf to 'char *'.

2011-10-21  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* kp.c: program name should be mendex.

2011-08-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Rename: ChangeLog => ChangeLog.jis, ChangeLog.TL => ChangeLog.
	* Makefile.am: Adapt.

	* mendex.h [WIN32]: #define nkf_open as fopen and nkf_close as
	fclose.

	* convert.c, fread.c, styfile.c: Open files with mode "rb"
	(required for WIN32, ignored for Unix).

2011-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* convert.c, kp.[ch], main.c: Remove code for ancient kpathsea.
	* Makefile.am (AM_CPPFLAGS): Drop `-DKPATHSEA3'.

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

	* Makefile.am (EXTRA_DIST): No need to mention ChangeLog, README.
	* configure.ac: Drop useless check for <strings.h>.

	* convert.c, fread.c, main.c, sort.c: Do not typecast the
	result of malloc().

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

	Avoid 'differ in signedness' warnings.
	The string functions strlen(), strcmp(), strncmp(), strcpy(),
	and strncpy() all expect 'char *' arguments and gcc-4.x will
	create warnings for 'signed char *' and 'unsigned char *' args.
	Moreover strcmp() and strncmp() will always compare string bytes
	interpreted as 'unsigned char'.  Finally initializing plain char
	array elements with, e.g., '0x80' always does the right thing.

	* convert.c, exkana.h, exvar.h, fread.c, fwrite.c, kana.h,
	ktable.h, mendex.h, sort.c, var.h: Change type of all global and
	local vars, function params, and struct members from 'unsigned
	char' or 'unsigned char *' to plain 'char' or 'char *', but
	always cast string bytes to 'unsigned char' when tested for '<',
	'<=', '>', or '>='.

2010-04-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* convert.c (dicread, dicvalread), fread.c (idxread),
	pageread.c (lastpage), styfile.c (styread): Use kpse_in_name_ok.
	* fwrite.c (indwrite), main.c (main): Use kpse_out_name_ok.
	From Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 17 Apr 2010 23:30:15.
	Added #include <kpathsea/tex-file.h> for prototypes.

	* convert.c (kp_dict): Move extern declaration from here ...
	* styfile.c (kp_ist): ... and here ...
	* kp.h (kp_ist, kp_dict): ... to here.

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

	* exvar.h, var.h (atama, page_compositor, page_precedence):
	Change types from 'char' back to 'unsigned char' as they
	originally were in exvar.h.  From Sadayuki Tanaka
	<s-tanaka@asciimw.jp>, 16 Apr 2010 16:30:22.

2010-04-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pageread.c: #include "mendex.h" for prototype.
	* kana.h: #include "exkana.h" for type checking.
	* var.h: #include "exvar.h" for type checking.
	* sort.c (wcomp): Initialize local variable prechar.
	* kp.c (KP_init): Use kpse_set_program_name() because
	kpse_set_progname() is deprecated since ages and no longer
	exported from kpathsea.

	FIXME: Is this correct?
	* exvar.h (atama, page_compositor, page_precedence): Change type
	from 'unsigned char' to 'char' as defined in var.h.

	* convert.c (dicread): Add 'return 0' at end.

	Avoid compiler warnings.
	* ANSI C function prototypes and definitions.
	* Declare functions as static, skip compilation of unused ones.
	* Declare various function param or result, struct member, and
	local or global var strings as const.

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

	* Makefile.am (EXTRA_DIST): Add indexsty, mendex.doc.
	Add rule to rebuild kpathsea.