summaryrefslogtreecommitdiff
path: root/Build/source/texk/mendexk/ChangeLog.TL
blob: b2a58d6d428c00fde8990aba2527fdb39bdf49c2 (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
ChangeLog.TL: TeX Live (TL) changes for mendexk
===============================================

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 '>='.

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

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.