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

	Bug fix for LuaTeX crash on 32bit Unix systems from Taco,
	tlbuild mail 26 Jun 2013 16:10:35,
	http://tug.org/pipermail/tex-live/2013-June/033782.html
	* image/writejbig2.w, image/writejp2.w, image/writejpg.w,
	image/writepng.w: Always first include ptexlib.h.

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

	* lua/luainit.w: Handle '--luac' and '--luaconly' (from Akira).

2013-04-16  Elie Roux  <elie.roux@telecom-bretagne.eu>

	* font/tfmofm.w: check for .ofm as well as .tfm.
	* tex/mainbody.w: check for !ini_version before initialize().

2013-04-16  Karl Berry  <karl@tug.org>

	* lua/luainit.w (parse_options): GPLv2+, not just GPLv2 (after
	discussion with Taco).

2013-04-14  Karl Berry  <karl@tug.org>

	* lua/luainit.w: 2013

2013-04-08  Taco Hoekwater  <taco@luatex.org>

	* luasocket/src/smtp.lua: uncomment require 'coroutine'
	* luasocket/src/smtp_lua.c: regenerated

2013-04-05  Taco Hoekwater  <taco@luatex.org>

	Import luatex beta 0.76.0 (released version)

2013-04-04  Karl Berry  <karl@tug.org>

	* lua52/liolib.c: #include <unistd.h>.  Needed on FreeBSD
	per Nikola Lecic, tlbuild 1 Apr 2013 02:10:08.

2013-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Import LuaTeX beta-0.75.0 from LuaTeX repository (r4604).

2013-03-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/luafontforge.am (EXTRA_DIST): Drop unused files.

2013-03-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua52/*, am/liblua52.am (new): Add lua-5.2.1 for 0.75.0.

2013-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/luatex.am: Allow subdir-objects.

2013-01-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* pdf/pdftables.h: Support large files (from Martin).

2013-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatex.c (mk_shellcmdlist): Simplify (sync with texmfmp.c).

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

	* pdf/pdfgen.w (write_stream_length): Cast length for printing.

2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/libluatex.am (luatex_*_ctangle, pdflua.c):
	Enable silent rules.

2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/lkpselib.c: Use kpse_readable_file() with non-const arg.

2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/lepdflib.cc: No need to test for Annot::decRefCnt with
	poppler 0.18 or better.

2012-11-06  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>

	* pdf/pdflistout.w: sync with r4471 (a bug fix by H. Henkel).

2012-10-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>

	* tex/texfileio.w: input by pipe was impossible. enable it.

2012-10-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/luainit.w (lua_initialize): Free two malloc()ed strings.

2012-10-10  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>

	* luatex.c: Modify determination of fullpath for restricted shell
	escape commands.

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

	Avoid TL vs W32TeX differences (from Akira).
	* luatex.h: Include "ptexlib.h" instead of <luatexdir/ptexlib.h>
	as in all other cases.
	* ptexlib.h: Use _MSC_VER instead of MSVC.
	* image/epdf.h: Change arg3 of extern void pdf_begin_obj() from
	bool to int, as declared and defined in pdf/pdfgen.[hw].
	FIXME: There should be only one extern declaration in one file.

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

	The openbsd compat library is no longer used.
	* image/epdf.h, lua/luainit.w, ptexlib.h, utils/utils.w:
	Drop #include "openbsd-compat.h".
	* am/libluatex.am, am/luatex.am: Remove OBSDCOMPAT_*.

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

	* lua/luainit.w (parse_options): Avoid cast const => non-const.

2012-09-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>

	* lua/luainit.w (parse_options): allow lualatex "\input" "a b" on
	Windows.

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

	* luatex-api.h: Avoid conflicting extern declaration of environ,
	declared in <stdlib.h> for WIN32 (from W32TeX).

2012-08-21  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>

	* tex/texdeffont.w (tex_def_font): Recover the old code, because the
	new code seems not to work.

2012-08-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexlib.h: Drop unused definition of M_PI.

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

	* tex/dumpdata.h: Remove the swap_items() prototype.
	* luatex.c (swap_items): Moved from here ...
	* tex/texfileio.w (swap_items): ... to here and declared static.

	* luatex.c (input_line) [WIN32]: Sync with ../lib/texmfmp.c.
	Detect and skip Byte order marks.
	* tex/texfileio.[ch] [WIN32]: Use Poptr to record pipe input.

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

	* luatex.[ch] [W32TeX]: Use DLLPROC for luatex.dll.
	* pdf/pdfgen.w [WIN32]: Convert file names '\\' -> '/'.

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

	* tex/texdeffont.w (tex_def_font): Better tracing of font
	definitions, adapted from e-TeX version 2.5.

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

	* pdf/pdfpage.w (print_pdffloat): Cope with broken snprintf().
	* lua/luastuff.w (luatex_error): Drop snprintf() return value.

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

	* lua/luainit.w (lua_initialize): Avoid using asprintf().
	* utils/utils.w (initversionstring): Avoid using asprintf().

	One and only one prototype per function.
	* image/epdf.h, utils/utils.h: Add #include "luatex-common.h"
	and move pdftex_{fail,warn} prototypes from here ...
	* luatex-common.h (new): ... to here.
	* am/libluatex.am (libluatex_a_SOURCES): Add the new file.

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

	* lua/loslibext.c os_gettimeofday): Use int64_t (from W32TeX).

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

	* image/pdftoepdf.cc (get_file_checksum): Use uint64_t and PRIu64.
	* image/writejp2.w, lua/loslibext.c: Use uint64_t.

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

	* tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.

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

	* image/writejbig2.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRId.
	* pdf/pdfgen.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRIi.

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

	* utils/utils.w: Use EXIT_FAILURE instead of EX_SOFTWARE.

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

	* pdf/pdfgen.w: Cast xfseeko() arg2 to avoid MSVC warning.

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

	* tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.

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

	* luatex.c (shell_cmd_is_allowed): Change Arg1 from 'const char **'
	into 'const char *'; sync with ../lib/texmfmp.c.
	* luatex.h, lua/liolib.c, lua/loslibext.c, tex/texfileio.w: Adapt.

	* lua/liolib.c, luascripts/txt2zlib.w: Use binary file io mode.
	From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX).

2012-05-22  Taco Hoekwater  <taco@luatex.org>

	* lua/lkpselib.c: new function kpse.default_texmfcnf() that
	reports the value of DEFAULT_TEXMFCNF, for the benefit of
	context mkiv on Debian.

2012-05-22  Taco Hoekwater  <taco@luatex.org>

	* luafontloader/fontforge/fontforge/splinesave.c,
	luafontloader/fontforge/fontforge/splinefont.h: drop parts of the
	Type1 saving routines (unused) to remove a compiler warning.

	* pdf/pdftypes.h, lua/limglib.c, image/epdf.h, image/writeimg.w,
	image/writejbig2.w, ptexlib.h: more off_t trouble.

2012-05-21  Taco Hoekwater  <taco@luatex.org>

	* tex/printing.w, lua/ltokenlib.c, lua/llanglib.c, lua/llualib.c,
	lua/lnodelib.c, lua/luainit.w, lua/ltexiolib.c,
	lua/lcallbacklib.c, lua/lstatslib.c, lua/ltexlib.c,
	lua/loslibext.c, lua/lkpselib.c, lua/luatoken.w, lua/llfslibext.c,
	lua/lfontlib.c, lua/luanode.w, lua/lpdflib.c, lua/luastuff.w:
	when loading both "ptexlib.h" and "lua/luatex-api.h", make sure
	that "ptexlib.h" is loaded first because that reads config.h
	which affects loading of system headers (via Large File Support,
	specifically).

2012-05-20  Khaled Hosny  <khaledhosny@eglug.org>

	* tex/mlist.w: fix "warning: 'ext' might be used uninitialized".

2012-05-18  Taco Hoekwater  <taco@luatex.org>

	* lua/ltexlib.c: fix a ConTeXt crash on `\endinput \end`.

2012-05-18  Khaled Hosny  <khaledhosny@eglug.org>

	* tex/commands.h, tex/commands.w, tex/maincontrol.h,
	tex/maincontrol.w, tex/mathcodes.h, tex/mathcodes.w, tex/scanning.w, 
	tex/texmath.w, tex/mlist.w: backport math relatex changes from 0.71
	* luatex.c: bump version to 0.70.1

2012-05-10  Hartmut Henkel  <hartmut@luatex.org>
	and Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/lepdflib.cc: Adapt for poppler 0.19.4.

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

	* lua/luainit.w (lua_initialize): Use WEB2CVERSION.
	* tex/printing.w (print_banner, log_banner): Same.

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

	* luatex.h: Remove definition of WRITE_OUT, now in ../cpascal.h.

2012-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* image/writejbig2.w (getstreamlen): Change type to `off_t'.
	Use LONGINTEGER_TYPE and LONGINTEGER_PRId for printing.

2012-01-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Consistent support for large JBIG2 files.
	* image/writejbig2.w: Change type of various struct members, local
	variables and findstreamstart() from `long' or `unsigned long'
	to `off_t'.  Do not use xfseek and xfseeko for the same file.

2011-10-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/lepdflib.cc: Test poppler 0.16.x / 0.17.x features.

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

	* am/libluatex.am: Avoid to `clean' ../mplibdir/lmplib.c.

	* am/txt2zlib.am (noinst_PROGRAMS): Conditionally add txt2zlib,
	such that txt2zlib$(EXEEXT) gets cleaned.

2011-09-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex/printing.w (print_file_line): Bug fix: avoid uninitialized
	lineno - from ../tex.ch.
	* tex/inputstack.w: Slightly reformulate printing of current
	line - from ../etexdir/etex.ch.

2011-08-04  Magnus Granberg  <zorry@gentoo.org>

	* luatex.c: Do not #include empty file <kpathsea/recorder.h>.

2011-06-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Reduce memory leaks.
	* lua/lkpselib.c (do_lua_kpathsea_lookup): Free string no longer
	used.

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

	lua/lkpselib.c (find_dpi): Allow find_suffix() to return a
	const string.

2011-05-19  Taco Hoekwater  <taco@luatex.org>

	* lua/ltexlib.c: fix a bug on negative catcode table arguments.
	* luatex.c, NEWS: luatex is now version 0.70.1
	* luatex_svnversion.h: updated to reflect latest luatex revision (4277)

2011-05-18  Taco Hoekwater  <taco@luatex.org>

	* font/writefont.w (write_fontdescriptor):  Fix for non-embedded
	fonts in the PDF output.
	* image/writeimg.w (read_img): Fix for non-existent images that
	could case a crash.
	* luatex_svnversion.h: updated to reflect latest luatex revision (4273)

2011-05-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatex.c (ipcpage): Add 'free(cwd)', remove Aleph comment.

2011-05-17  Taco Hoekwater  <taco@luatex.org>

	* tex/texfileio.w (luatex_synctex_get_current_name): switch to xgetcwd()
	from kpathsea
	* luatex_svnversion.h: updated to reflect latest luatex revision (4272)

2011-05-15  Taco Hoekwater  <taco@luatex.org>

	* tex/texfileio.w (luatex_synctex_get_current_name): work around a 
	bug in getcwd().
	* luatex_svnversion.h: updated to reflect latest luatex revision (4267)

2011-05-13  Taco Hoekwater  <taco@luatex.org>

	* lua/luainit.w: change the copyright year to 2011.
	* luatex_svnversion.h: updated to reflect latest luatex revision (4264)
	* NEWS: forgot to mention synctex change
	
2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* image/writepng.w: #define PNG_FP_1 for libpng < 1.5.0.

2011-05-11  Taco Hoekwater  <taco@luatex.org>

	* image/writepng.w: fix for 16bit images in pdf 1.4 (8bit) mode.
	* luatex_svnversion.h: updated to reflect latest luatex revision (4258)

2011-05-09  Taco Hoekwater  <taco@luatex.org>

	* tex/texfileio.[hw]: file relative filenames in synctex output.
	* luatex_svnversion.h: updated to reflect latest luatex revision (4256)

2011-05-08  Taco Hoekwater  <taco@luatex.org>

	* dvi/dvigen.w, pdf/pdfgen.w: fix missing newline after
	'No pages of output' message.
	   
2011-05-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* lua/luainit.w, tex/texfileio.w: fix recorder location.

2011-05-05  Taco Hoekwater  <taco@luatex.org>

	* image/writepng.w: fixes for libpng 1.5.2.
	* lua/lnodelib.c (lua_nodelib_fields): fix field count for 
	nodes without subtype.
	* lua/llfslibext.c: fix an variable type and a compiler warning.
	* lua/loslibext.c (os_execute): fix non-argument use of os.execute.
	* lua/ltexlib.c (do_luacprint): fix use of bad catcode tables.
	* lua/luainit.w (HAVE_ASPRINTF): superfluous test removed.
	* luatex.c: bump version to 0.70, remove SOCK_NONBLOCK definition.
	* luatex_svnversion.h (luatex_svn_revision): now at 4247.
	* NEWS: updated for luatex 0.70.0 release.
	* tex/texfileio.w: patch from bug 615 (recorder filename location).
	* tex/texmath.w: fix display alignment in TRT mode.
	* utils/utils.w (HAVE_ASPRINTF): superfluous test removed.

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

	* utils/synctex{-common.h,.c,.h} (removed): Use copies from
	../synctexdir.
	* synctex-luatex.h: Moved from here to ../../synctexdir.
	* ptexlib.h, am/libluatex.am, am/luatex.am: Adapted. 

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

	* utils/utils.w (POPPLER_VERSION): Now defined in
	poppler-config.h for poppler from the TeX Live tree, or in the
	Makefile for an installed version.

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

	* am/libluatex.am, am/txt2zlib.am: When cross compiling skip
	txt2zlib and use installed luascripts/pdflua.c.

	Need poppler at least 0.12 for PDFDoc::getPDF*Version().
	* image/pdftoepdf.cc: Remove code for older poppler versions.

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

	* image/writepng.w: Fix to build with png-1.5 (and avoid
	`deprecated' warnings with png-1.4). The transformations part
	is removed on recommendation by John Bowler (a png developer).
	Mail from Thomas Klausner <tk@giga.or.at>, Sun, 30 Jan 2011.

	* pdf/pdfgen.w: ANSI C function definitions.

	* pdf/pdfluaapi.w (new_pdflua): Declare zp as const.

	* am/libluatex.am (EXTRA_DIST): Distribute luascripts/pdflua.lua.
	* am/txt2zlib.am (EXTRA_DIST): Distribute luascripts/txt2zlib.w.

2011-04-12  Taco Hoekwater  <taco@luatex.org>

	* import of luatex 0.66.0, released version

2011-03-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/libluatex.am: Use AM_CFLAGS instead of libluatex_a_CFLAGS.
	* am/luatex.am: Use AM_CFLAGS instead of luatex_CFLAGS.

2011-03-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/libluatex.am (libluatex_a_CPPFLAGS): Remove `-Iluatexdir'
	and add `-DSYNCTEX_ENGINE_H='<utils/synctex-luatex.h>''.
	* am/luatex.am (luatex_CPPFLAGS): The same.

	* utils/synctex.c: Fix several typos in comments to reduce diffs
	between files in synctexdir/ and luatexdir/utils/.

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

	* am/luatex.am [WIN32]: Add texlua.exe and texluac.exe wrappers
	for MinGW.

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

	* am/luatex.am: install-exec-hook and uninstall-hook rules now
	in ../Makefile.am; append required symlinks to bin_links.

2010-09-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatex.test (new): Just testing 'luatex -credits'.
	* luatexdir/am/luatex.am: Adjusted.

2010-07-12  Taco Hoekwater <taco@luatex.org>

	* luafontloader/src/luafflib.c: quick fix for crashes triggered
	by invalid panose data in Open/TrueType fonts.
	* luatex_svnversion.h: new version (rev 3736).

2010-07-01  Taco Hoekwater <taco@luatex.org>

	* lang/texlang.w, lua/lnodelib.c, luatex.c, luatex_svnversion.h,
	pdf/pdfglyph.w, pdf/pdfpage.w, NEWS: new versions from released 0.60.2
	
2010-06-18  Taco Hoekwater <taco@luatex.org>

	* tex/textoken.h (smemory_word): add endiannes test
	* font/texfont.h (liginfo, kerninfo): add endianness test
	* luatex_svnversion.h: new version

2010-06-13  Taco Hoekwater <taco@luatex.org>

	* tex/inputstack.h (in_state_record): force two bitfields to be signed,
	after a bug report from Vladimir Volovich <vvv@vsu.ru>
	* luatex_svnversion.h: new version

2010-06-11  Taco Hoekwater <taco@luatex.org>

	* font/sfnt.w, font/sfnt.h, 
	luafontloader/fontforge/Unicode/ucharmap.c,
	luafontloader/fontforge/fontforge/python.c, 
	luafontloader/fontforge/inc/basics.h: change include of "config.h"
	to <w2c/config.h>.
	* image/epdf.h, lua51/luaconf.h: change include of "c-auto.h"
	to <w2c/c-auto.h>.
	
2010-06-10  Taco Hoekwater <taco@luatex.org>

	* luatex.c (swap_items): debugged.
	* tex/texfileio.w (do_zdump): reswap the swapped items to avoid
	crashes when called as |dump_things|.

2010-06-10  Taco Hoekwater <taco@luatex.org>

	* luafilesystem/src/lfs.c(get_dir): do not assume Gnu C compiler.

2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/libluatex.am (libluatex_a_CPPFLAGS): Add $(AM_CPPFLAGS).
	* am/luafontforge.am (libff_a_CPPFLAGS): Add $(AM_CPPFLAGS).
	* am/luatex.am (luatex_CPPFLAGS): Add $(AM_CPPFLAGS).

2010-06-10  Taco Hoekwater <taco@luatex.org>

	* luasocket/src/options.c, luafontloader/fontforge/fontforge/parsettfatt.c,
	luafontloader/fontforge/fontforge/parsettf.c,
	luafontloader/fontforge/fontforge/lookups.c: enlarge static buffers
	for sprintf().
	
2010-06-04  Taco Hoekwater <taco@luatex.org>

	* luatex.c (shell_cmd_is_allowed): make sure only commands with
	absolute path names are executed on win32 in restricted mode --
	patch from Akira Katuto.

2010-05-28  Taco Hoekwater <taco@luatex.org>

	* luamd5/md.5c: bring in a new version from kepler to fix a
	portability problem with stdint.h.
	* luafontloader/src/ffdummies.c, lua/texluac.w: guard __attribute__
	usage, which is a GNUC only feature.
	    
2010-05-19  Taco Hoekwater <taco@luatex.org>

	* printing.w (print_banner, log_banner), luainit.w (lua_initialize):
	add WEB2CVERSION to the banner.

2010-05-13  Taco Hoekwater <taco@luatex.org>

	* utils/synctex.c, utils/synctex-luatex.h: update from Jérome
	Laurens, bringing luatex in-line with the core synctex distribution
	* luatex_svnversion.h: updated to reflect the version of 0.60.x branch
	
2010-05-06  Taco Hoekwater <taco@luatex.org>

        * luatex.c (calledit): use ifdef __MINGW32__ instead of WIN32.
	* luatex_svnversion.h: updated to reflect the version of 0.60.x branch

2010-04-28  Taco Hoekwater <taco@luatex.org>

        * tex/maincontrol.w: Fixed the error message for improper 
	use of \protected, reported by Heiko Oberdiek 
	<heiko.oberdiek@googlemail.com>.

2010-04-28  Taco Hoekwater  <taco@luatex>

	* import of luatex 0.60.1, released version

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

	* image/epdf.h, lua51/luaconf.h: #include <c-auto.h> instead of
	<web2c/c-auto.h>.

2010-04-24  Taco Hoekwater  <taco@luatex>

	* lua/loslibext.c: fix os.exec() and os.spawn(), twice

2010-04-23  Taco Hoekwater  <taco@luatex>

	* lua/loslibext.c: fix os.exec() and os.spawn() once more

2010-04-23  Taco Hoekwater  <taco@luatex>

	* lua/loslibext.c: fix os.exec() and os.spawn()
	* luatex_svnversion.h: updated to reflect the version of 0.60.x branch

2010-04-23  Taco Hoekwater  <taco@luatex>

	* new import from luatex repository (HEAD of 0.60.x branch)

2010-04-20  Taco Hoekwater  <taco@luatex>

	* new import from luatex repository (HEAD of 0.60.x branch)

2010-04-13  Taco Hoekwater  <taco@luatex>

	* am/luafontforge.am: delete three lines.
	* luafontloader/fontforge/Unicode/dump.c: deleted
	* luafontloader/fontforge/Unicode/backtrns.c: deleted
	* luafontloader/fontforge/Unicode/unialt.c: deleted

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

	* image/pdftoepdf.cc: Fix building with libpoppler.
	* luatex.c: Fix building for MinGW32.

	* luatex.c (ipcpage): Avoid compiler warning.
	(catch_interrupt): Declare as static.
	* pdf/pdflistout.w (init_*_backend_functions): ANSI C func defs.

2010-04-13  Taco Hoekwater  <taco@luatex>

	* new import from luatex repository (HEAD of 0.60.x branch)

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

	* am/luatex.am: Remove libmplib.a from $($(luatex_OBJECTS)'s
	dependencies ...
	* am/libluatex.am: and add to $(libluatex_a_OBJECTS)'s
	dependencies; otherwise parallel builds may fail.

2010-04-04  Taco Hoekwater  <taco@luatex>

	* import of luatex 0.60.0, with a few local changes:
	* luatex.c (ipcpage): fix fetching of 'name'.
	* dvi/dvigen.w (dvi_end_page): fix IPC flushing.
	* image/pdftoepdf.cc (write_epdf1): comment out use of 
	page->getResourcesNF() and page->getMetadataNF().

2010-03-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatangle.ch: Use kpse_set_program_name(argv[0], nil) instead
	of kpse_set_progname(argv[0]).

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

	* am/luamisc.am (libluamisc_a_CPPFLAGS): Adapt to zziplib now
	in ../../../libs/zziplib/.

2010-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Moved zziplib/ to ../../../libs/zziplib.
	* am/luamisc.am (libluamisc_a_DEPENDENCIES): Adapt.
	* am/luatex.am (luatex_ldadd): Adapt.

2010-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Clarify dependencies between luaTeX libraries:
	* am/libzzip.am: Remove dependency on liblua51.a.
	Remove memdisk.[ch] and mmapped.[ch] from libzzip_a_SOURCES and
	add them to EXTRA_DIST.
	* am/luamisc.am: Add dependency on libzzip.a.
	* am/luasocket.am: Replace dependency on libzzip.a by liblua51.a.

2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* utils/avl.c (avl_copy): Proper handling of const.

2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luafontloader/src/luafflib.h: New file with prototypes used
	by libluatex.
	* luafontloader/src/luafflib.c: #include "luafflib.h".
	* font/writecff.c, font/writetype2.c: Remove the extern decls
	and #include <luafontloader/src/luafflib.h>.
	* font/writecff.c (writetype1w): Change tfm_size integer=>int.
	* am/luafontforge.am: Add the new file.

	* luatex-api.h: Add prototype for utf8_idpb(), renamed
	lua_utf8_idpb to avoid name conflicts with fontforge library.
	* lang/texlang.c: Declare utf8_idpb() as non-static.
	* tex/filename.c: Remove prototype for utf8_idpb().

	* tex/filename.c (scan_file_name): Don't assume a null byte
	after string created by utf8_idpb().

2010-01-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* font/writettf.c: Remove extern charsetstr[].
	* lua/lkpselib.c: Remove extern luainit.
	* lua/luainit.c: Remove extern normalize_quotes(), argc, argv.
	* tex/textoken.c: Remove extern insert_vj_template().

	* utils/utils.h: Add extern declaration of fb_array ...
	* font/writet1.c, font/writettf.c: ... removed from here.
	* luatex-api.h: Add extern declaration of program_name_set ...
	* lua/luainit.c, lua/luatex.c: ... removed from here.
	* luatex-api.h: Add extern declaration of startup_filename,
	safer_option, and nosocket_option ...
	* lua/luastuff.c: ... removed from here.
	* lua/llualib.c (luabytecode_max): Change integer=>int.
	* luatex-api.h: Add extern declaration of luabytecode_max,
	luabytecode_bytes, luastate_bytes, callback_count, and
	saved_callback_count ...
	* lstatslib.c: ... removed from here.

2010-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/luatex.am (luatex_CFLAGS, luatex_CXXFLAGS),
	am/libluatex.am (libluatex_a_CFLAGS): Enable compiler warnings.

	Avoid most compiler warnings:

	* font/luatexfont.h, luatexdir/hyphen.h, image/writeimg.h,
	image/writejbig2.h, luatex.h, pdf/pagetree.h, pdf/pdfpage.h,
	utils/avlstuff.h, utils/utils.h: ANSI C function prototypes.
	* font/mapfile.c, font/writeenc.c, font/writefont.c,
	font/writet1.c, font/writettf.c, image/writeimg.c,
	image/writejbig2.c, lang/hyphen.c, pdf/pagetree.c,
	pdf/pdfpage.c, utils/avlstuff.c, utils/utils.c: ANSI C function
	definitions.

	* font/luafont.c, lang/texlang.c, lua/lcallbacklib.c,
	lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
	lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
	lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luanode.c,
	lua/luatoken.c: Remove 'char *' or 'unsigned char *'  casts of
	Lua strings.

	* font/texfont.h, font/writecff.h, luatex-api.h, luatex.h,
	nodes.h, primitive.h, ptexlib.h, utils/utils.h, font/dofont.c,
	font/luafont.c, font/tfmofm.c, font/vfovf.c, font/writecff.c,
	font/writefont.c, font/writet1.c, font/writettf.[ch],
	lang/hyphen.c, lang/texlang.c, lua/lcallbacklib.c,
	lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
	lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
	lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luainit.c,
	lua/luanode.c, lua/luastuff.c, lua/luatex.c, lua/luatoken.c,
	luatex.ch, tex/filename.c, tex/linebreak.c, tex/math.c,
	tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
	tex/textoken.c, utils/utils.c: Declare various function params
	and args, local and global vars, and struct members as const.

	* font/luafont.c, font/texfont.c, font/tfmofm.c, font/vfovf.c,
	font/writeenc.c, font/writefont.c, font/writet1.c,
	font/vfpacket.c, font/writettf.c, font/writetype2.c,
	image/writeimg.c, lang/hyphen.c, lang/texlang.c, lua/limglib.c,
	lua/llualib.c, lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c,
	lua/lstatslib.c, lua/ltexlib.c, lua/luainit.c, lua/luanode.c,
	lua/luastuff.c, mathcodes.c, tex/linebreak.c, tex/math.c,
	tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
	tex/textoken.c, utils/synctex.c, utils/utils.c:
	Declare functions and global vars as static.

	* font/texfont.c: #include "luatexfont.h" and remove externs.
	* image/writejpg.c: #include "writejpg.h".
	* image/writepng.c: #include "writepng.h".
	* lang/hnjalloc.c: #include "hnjalloc.h".
	* lua/texluac.c: #include "luatex-api.h".
	* utils/synctex.c: #include "synctex.h".
	* utils/utils.c: #include "utils.h".

	* lua/lcallbacklib.c: Remove prototype for lua_traceback().
	* ptexlib.h: Add prototype for get_command_id() ...
	* lua/ltokenlib.c: ... removed from here.
	* nodes.h: Add prototype for list_node_mem_usage() ...
	* lua/lnodelib.c: ... removed from here.
	* managed-sa.h: Add prototype for rawset_sa_item() ...
	* mathcodes.c, tex/math.c: ... removed from here.

	* inc-epdf.h: New file with prototypes for epdf_mark_glyphs(),
	epdf_create_fontdescriptor(), and epdf_write_enc() ...
	* image/epdf.h: ... removed from here.
	* image/epdf.h, font/writeenc.c: #include inc-epdf.h.
	* inc-vfovf.h: New file with prototype for make_vf_table() ...
	* lua/lfontlib.c: ... removed from here.
	* font/vfovf.c, lua/lfontlib.c: #include inc-vfovf.h.
	* inc-extra.h: New file with prototypes for check_isnode()
	and lua_nodelib_push_fast() ...
	* lua/limglib.c, lua/llanglib.c, lua/lstatslib.c, lua/ltexlib.c:
	... removed from here.
	* lua/limglib.c, lua/llanglib.c, lua/lnodelib.c,
	lua/lstatslib.c, lua/ltexlib.c: #include "inc-extra.h".
	* am/libluatex.am (libluatex_a_SOURCES): Add the new files.

	* font/texfont.c (lua_char_exists_callback),
	font/vfovf.c (is_letterspaced_font),
	font/vfpacket.c (packet_command_names),
	font/writet1.c (free_glyph_names),
	image/writeimg.c (image_group_ref),
	lua/ltexlib.c (get_something_internal),
	tex/texnodes.c (print_free_chain),
	textcodes.c (clearcatcodestack):
	Skip unused static funcs and vars (via #if 0 ... #endif).

	* lua/luainit.c (lua_initialize): Replace string constant
	arguments of putenv() by non-const static string variables.

	* utils/avl.c (avl_delete): Don't reuse const input param for
	non-const return value.

	* utils/synctex.c: Rename synctexchar => synctex_char and
	synctexnode => synctex_node as declared in utils/synctex.h.

2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatangle.ch: Declare web_name, chg_name, pascal_name, and
	pool_name as const_c_string.

	* lua/lkpselib.c (readable_file, lua_kpathsea_readable_file):
	Drop non-const cast of {kpse,kpathsea}_readable_file() result.

2010-01-03  Karl Berry  <karl@tug.org>

	* luatex.ch: propagate "executed safely" wording change.

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

	* am/luatex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P).

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

	* lua/loslibext.c (do_mkdtemp): Declare as static and skip
	compilation when not used.

2009-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdf/pagetree.c, utils/utils.c: Drop #ifdef HAVE_ASPRINTF and
	#include <stdio.h>.

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

	* utils/synctex.c: Remove (already commented) extern declaration
	of gettexstring().

2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatex.web: Use kpse_{in,out}_name_ok(), now in Kpathsea,
	instead of open{in,out}nameok().
	* luatex.defines: Replace open_{in,out}_name_ok by
	kpse_{in,out}_name_ok.

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

	* image/pdftoepdf.cc: Adapt to poppler-0.12.

	* FIXME: image/epdf.h, utils/utils.h: Multiple prototypes for
	pdftex_fail, pdftex_warn, and probably others.

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

	* am/luatex.am: Adapt to new makecpool with one argument.

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

	* lua/luainit.c (dump_name, c_job_name, last_source_name,
	last_lineno): Drop extern declarations (now in texmfmp.h).
	(user_progname): Constify string.
	(lua_initialize): Avoid modifying the const_string 'dump_name'.

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

	* utils/synctex.c (synctex_suffix*): Constify strings.

2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatangle.ch: Eliminate the unused |end_of_TANGLE| label.

2009-09-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/libzzip.am: Enable compiler warnings.
	* am/liblua51.am, am/libluatex.am, am/luafontforge.am,
	am/luamisc.am, am/luasocket.am, am/luatex.am: Prepare compiler
	warnings.

2009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/lstatslib.c, lua/luainit.c: Drop extern decl of ptexbanner.
	* utils/utils.c: #include <kpathsea/version.h> and drop extern
	decls.

2009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/liolib.c (io_popen): Changed Arg1 of shell_cmd_is_allowed().
	* lua/loslibext.c (os_exec, os_spawn, os_execute): Same.

2009-08-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/luatangle.am: Adapt to web2c-sh.
	* am/luatex.am (luatex_tangle): Use tangle-sh.
	Adapt to tangle-sh and web2c-sh.

2009-06-26  Taco Hoekwater <taco@luatex.org>

        * lua51/lcoco.c, lua51/lcoco.h: disable the coco patch on
	linux+ppc because it crashes the executable.

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

	* font/writet1.c, image/epdf.[ch], utils/avlstuff.c:
	remove #include <kpathsea/c-proto.h>.
 	
2009-06-25  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of luatex release 0.40.6.

2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/luatex.c: drop P?C, P?H, use ANSI C function declarations.

2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* font/writet1.c, image/epdf.c, utils/avlstuff.c:
	#include <stdarg.h>, not <kpathsea/c-vararg.h>.

2009-06-09  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of luatex release 0.40.4.

2009-06-08  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of luatex release 0.40.3.
	This affects many files in subdirectories.

2009-06-04  Taco Hoekwater <taco@luatex.org>
	
	* luatexdir: "avoid variable declaration after statement" patch
	from Vladimir Volovich

2009-06-03  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir/luafontloader/fontforge/fontforge/namelist.c (psaltnames): add
        a dimension specifier, for AIX portability.

2009-06-03  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of luatex release 0.40.2.
	This affects many files in subdirectories.

2009-05-30  Peter Breitenlohner <peb@mppmu.mpg.de>

	* am/luatex.am (install-exec-hook, uninstall-hook):
	avoid dangling symlinks.

2009-05-25  Peter Breitenlohner <peb@mppmu.mpg.de>

	* am/luatex.am (uninstall-hook): new target to uninstall texlua[c]
	symlinks.

2009-05-25  Karl Berry  <karl@tug.org>

	* am/luatex.am (install-exec-hook): new target to install texlua[c]
	symlinks.

2009-05-08  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of the current state of luatex, 0.40.1.
	This affects many files in subdirectories.

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

	* image/pdftoepdf.cc, utils/utils.c: adapt for poppler.

	patches from Norbert Preinig <preining@logic.at>

2009-04-27  Taco Hoekwater <taco@luatex.org>

	* pdf/pdfpage.c: rename exp10 to exp10_arr to solve a 
	conflict with cygwin's <math.h>.
	* font/texfont.h: add #undef quad before definition to suppress a
	compiler warning under cygwin. 

2009-04-22  Taco Hoekwater <taco@luatex.org>

	* luatexdir: import of the current state of luatex, 0.40.0. 
	This affects many files in subdirectories.

2009-04-16  Taco Hoekwater <taco@luatex.org>

	* image/image.h: remove the trick that forced a local png.h

2009-04-16  Taco Hoekwater <taco@luatex.org>

	* luatexdir: import of the current state of luatex, 0.39.0. 
	This affects many files in subdirectories.

2009-03-27  Peter Breitenlohner <peb@mppmu.mpg.de>

	* am/luatex.am (luatex_c_h): avoid to split the C code
	(from Taco).

2009-03-27  Taco Hoekwater <taco@luatex.org>

	* luatexdir: import of the current state of luatex, 0.37.0. 
	This affects many files in subdirectories.

2009-03-05  Peter Breitenlohner <peb@mppmu.mpg.de>

	* image/pdftoepdf.cc: Uninclude <config.h>, included later
	by "epdf.h".

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

	* luatangle.ch: use kpse_open_file to locate input files,
	in order to respect WEBINPUTS (ported from tangle.ch).
