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

	* 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.
