summaryrefslogtreecommitdiff
path: root/Build/source/texk/mendexk/ChangeLog
blob: b48370dab596362ff354dae85a85b6caef3510e4 (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
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.