fix getsup (HH)
[luatex.git] / source / texk / web2c / luatexdir / ChangeLog
blob441fab87fe457a90a5e2d767fdd03c4f5766a5ef
1 2017-02-07  Luigi Scarso <luigi.scarso@gmail.com>
3         * luaffi/: First attempt to implement the ffi module in lua
4         compatible with the ffi module of luajit.
7 2015-11-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
9         * luatex.c: Improve a little (w32 only).
11 2015-10-31  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
13         * tex/inputstack.w: Sync with the upstream.
15 2015-10-13  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
17         * tex/mlist.w: Sync with the upstream.
19 2015-10-09  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
21         * luatex.c: Sync with the upstream.
22         * font/luatexfont.h, font/writetype2.w: Sync with the upstream.
24 2015-10-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
26         * lua/lepdflib.cc, tex/texnodes.h, tex/texnodes.w, NEWS:
27         Sync with the upstream.
28         * luatex.c: beta-0.81.0.
30 2015-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
32         * am/libluatex.am, am/luafontforge.am: Rearrange to compile the
33         luafontloader/src/* files as part of liblua(jit)tex.a, such that
34         there is only one libff.a used for LuaTeX and LuaJITTeX.
36 2015-10-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
38         * Sync with the upstream trunk.
39         * image/epdf.h: Support Visual Studio 2010 for log().
41 2015-10-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
43         * Completely sync with the upstream trunk.
44         Changed files are
45         font/writecff.w, font/writefont.w,
46         lua/lnodelib.c, lua/lpdflib.c, lua/luatoken.w,
47         luafontloader/fontforge/fontforge/lookups.c,
48         luafontloader/fontforge/fontforge/parsettf.c,
49         luafontloader/fontforge/fontforge/parsettfatt.c,
50         luafontloader/fontforge/fontforge/splinefont.h,
51         luafontloader/fontforge/fontforge/tottf.c,
52         luafontloader/src/luafflib.c,
53         luatex.c,
54         tex/commands.w, tex/dumpdata.w, tex/equivalents.h, tex/filename.w,
55         tex/maincontrol.w, tex/printing.w, tex/texmath.w.
57 2015-10-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
59         * pdf/pdfgen.w: Sync with the upstream trunk.
61 2015-09-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
63         * lua/lepdflib.cc: Drop useless casts 'const char *' -> 'char *'
64         when poppler has Object::initCmd(const char*).
66 2015-08-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
68         * lua/lepdflib.cc: Bugfix: m_Object_dictAdd() must use a copy of
69         the Lua string s, otherwise m_Dict_remove() would destroy it.
71 2015-08-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
73         * image/epdf.h, lua/lepdflib.cc: Drop HAVE_STRUCTTREEROOT_H,
74         we now require poppler 0.30 better.
75         
76 2015-08-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
78         * am/libluatex.am: Enable g++ warnings.
79         * image/epdf.h, image/pdftoepdf.w, lua/lepdflib.cc: Avoid most
80         g++ warnings.
82 2015-08-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
84         * image/pdftoepdf.w: Drop useless casts to avoid warnings.
85         * lua/lpdfscannerlib.cc: Unconstify Token.string to avoid warning.
86         * lua/lepdflib.cc: Drop useless casts to avoid some warnings.
88 2015-08-27  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
90         * tex/mlist.w: Sync with the trunk.
91         See http://tug.org/pipermail/luatex/2015-August/005319.html
92         * tex/printing.w: Do not write to a log file for the
93         --[no-]parse-first-line option, since the option actually does not
94         exist in lua(jit)tex, although superficially it remains for compatibility
95         with existing scripts etc.
97 2015-07-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
99         * am/luatex.am: Dependencies for 'make check'.
101 2015-07-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
103         * lua/lkpselib.c: Also used for MFLua and MFLuaJIT.
105 2015-03-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
107         * luazip/src/luazip.c (zip_close): Sync with the upstream.
109 2015-03-19 Luigi Scarso <luigi.scarso@gmail.com>
111         New library newtokenlib; several bugs fixed.
113 2015-01-14 Luigi Scarso <luigi.scarso@gmail.com>
115         tex/mlist.w: mlist_to_hlist(pointer mlist, boolean penalties, int cur_style)
116         HH-LS: was cur_mu = x_over_n(get_math_quad(cur_size), 18);
117         This is an old bug so the fix can influence outcome       
118         The current mu is instead
119         cur_mu = x_over_n(get_math_quad(cur_style), 18);
120         Thanks to joseph.wright <joseph.wright@morningstar2.co.uk>
122 2014-12-21  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
124         * lua/lnodelib.c: Sync with the upstream. Luigi fixes 'print' for
125         alink(n) when n is an attribute node.
127 2014-12-20  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
129         * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
131 2014-12-18  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
133         * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
135 2014-12-17  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
137         * tex/texnodes.w: Sync with the upstream.
138         Luigi fixes a bug on cached attributes.
140 2014-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
142         Avoid implicit function declarations.
143         * am/luafontforge.am (libjitff_a_CPPFLAGS): Add -DLuajitTeX.
144         * am/luamisc.am (libluajitmisc_a_CPPFLAGS: Add -DLuajitTeX.
145         * lua/liolibext.c, lua/lnodelib.c, luafontloader/src/luafflib.c,
146         slnunicode/slnunico.c: Include lauxlib_bridge.h for LuaJITTeX or
147         lauxlib.h for LuaTeX.
148         * luafontloader/fontforge/fontforge/fontviewbase.c:
149         Include gfile.h.        
151 2014-12-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
153         Sync with https://foundry.supelec.fr/svn/luatex/trunk/source/
154                           texk/web2c/luatexdir/ r5092.
156 2014-11-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
158         * luatex.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
160 2014-11-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
162         * luatex.c: Indentation.
164 2014-10-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
166         * luatex.[ch] [W32TEX]: Handle DLLPROC as for TeX & Co.
167         * am/luatex.am: Define LuajitTeX.
169 2014-10-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
171         * luatex.[ch]: More sync with ../texmfmp.h and ../lib/texmfmp.c.
173 2014-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
175         * luatex.c: Apply some code from W32TeX.
177 2014-10-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
179         * luatex.c: Sync with some recent changes in ../lib/texmfmp.c
180         (and luatexfirst.c from W32TeX).
182 2014-09-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
184         * am/luatex.am: Factor out common *_LDADD and *_DEPENDENCIES.
186 2014-08-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
188         * image/writepng.w: Avoid PNG warnings.
190 2014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
192         * image/epdf.h, lua/lepdflib.cc: Use code for poppler >= 0.25
193         with <StructTreeRoot.h> or code for poppler <= 0.24 without.
194         * fake/StructTreeRoot.h (removed): Obsolete.
195         * am/libluatex.am: Adapted.
197 2014-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
199         * luasocket/src/wsocket.h: Avoid redefinition of _WIN32_WINNT.
201 2014-07-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
203         * am/libluatex.am: Compiling liblua(jit)tex.a requires mplib.h;
204         add libmplib.a as dependency.
206 2014-06-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
208         * am/libluatex.am: Remove ../mplibdir/lmplib.c from sources and
209         dependency on libmplib.a.
210         * am/luatex.am: Add ../mplibdir/lmplib.c to sources, dependency
211         on libmplib.a, and -DpdfTeX to CPPFLAGS.
213         * am/luatex.am: Adapt to MetaPost 1.999 (libgmp and libmpfr).
215 2014-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
217         * font/mapfile.w, font/tounicode.w, font/writet1.w,
218         font/writettf.w, lang/texlang.w, pdf/pdfgen.w: Avoid undefined
219         behaviour when char is signed.
221 2014-06-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
223         * lua/luatex-api.h: Use '#define LUAI_HASHLIMIT 5' as default,
224         as in ../../libs/lua52/lua-5.2.3/src/lstring.c and in
225         ../../libs/luajit/LuaJIT-2.0.3/src/lj_str.c.
226         * lua/lstatslib.c, tex/printing.w: Use LUAI_HASHLIMIT instead of
227         LUATEX_HASHCHARS and LUAJITTEX_HASHCHARS.
229         * lua/luatex-api.h: Define MyName as "LuajitTeX"/"LuaTeX" and
230         my_name as "luajittex"/"luatex".
231         * lua/luainit.w, luatex.c, tex/printing.w: Use MyName, my_name.
233 2014-05-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
235         * tex/filename.w: Avoid redefinition of promptfilenamehelpmsg,
236         (re)use definition in ../cpascal.h.
238 2014-05-13  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
240         * tex/filename.w: Print the usual TeX promptfilenamehelpmsg also
241         in lua(jit)tex.
243 2014-04-10  Taco Hoekwater  <taco@luatex.org>
245         * luatex.c: hardwire the compilation date, preventing the 
246         luatex binary from constantly changing after recompilation
248 2014-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
250         * pdf/pdfgen.[hw]: Declare get_pdf_table_string() as
251         'static const char *'.
253 2014-03-29  Taco Hoekwater  <taco@luatex.org>
255         Import LuaTeX 0.79.1 from LuaTeX repository (released)
257 2014-03-28  Taco Hoekwater  <taco@luatex.org>
259         Import LuaTeX 0.79.0 from LuaTeX repository (released)
261 2014-03-15  Taco Hoekwater  <taco@luatex.org>
263         Import LuaTeX snapshot 0.79.0 from LuaTeX repository (r4903).
265 2014-02-10  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
267         * lua/luatex-api.h: MSC version has luaopen_bit32() in dll.
269 2014-02-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
271         * lua/luatex-api.h: Declare luaopen_bit32();
273 2014-02-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
275         * am/libluatex.am, am/luafontforge.am, am/luamisc.am,
276         am/luasocket.am, am/luatex.am: Add rules for LuaJITTeX.
278         * luajittex.test, luajitimage.test: New tests for LuaJITTeX.
280         Avoid compiler warnings.
281         * lua/liolibext.c, lua/luajitstuff.w: Drop compilation of
282         unused static functions.  Avoid to compute unused value.
283         * lua/texluajitc.w: Include header for luac_main() prototype.
284         * lua/luatex-api.h: Drop duplicate luac_main() prototype.
286 2014-02-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
288         * lua/luainit.w: Change a little for LuaJITTeX.
290 2014-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
292         Import LuaTeX snapshot 0.78.3 from LuaTeX repository (r4772).
294         * luatexfont.h: Keep the prototype for auto_expand_font() as
295         long as the function remains in vfovf.w.
297         * liolibext.c [__MINGW32__]: Don't redefine l_fseek etc.
299 2014-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
301         * am/libluatex.am, am/luafontforge.am, am/luamisc.am,
302         am/luasocket.am, am/luatex.am: Prepare for LuaJITTeX.
304 2014-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
306         * tex/printing.w (print_cs): Bug fix from TeX 3.14159265.
308 2014-01-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
310         * image/writepng.w: Allow libpng >= 1.6.3 to read images with
311         incorrect CMF bytes.
313 2013-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
315         * pdf/pdfgen.w (pdf_end_stream): Always write "\nendstream" for
316         PDF/A-1b compliance.
318 2013-12-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
320         * lua/liolibext.c: Large files in lua.
322 2013-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
324         * image/epdf.h, lua/lepdflib.cc: Adapt for poppler-0.25.x.
325         * fake/StructTreeRoot.h (new): Provide 0.24.4 compatibility.
326         * am/libluatex.am: Adapted.
328 2013-12-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
330         * font/writet3.w: More cast arg2 of setpdffloat to int64_t.
331         * pdf/pdfpage.w: Fix i32round() => i64round().
333 2013-12-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
335         * lua/liolibext.c: Large files in lua.
337 2013-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
339         Fix a serious bug related to large numbers in pdfimages.
340         Mail from Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 6 Dec 2013.
341         * pdf/pdftypes.h: Change pdffloat.m from long to int64_t.
342         Define i32round(a) and i64round(a) instead of lround(a).
343         * font/writet3.w: Cast arg2 of setpdffloat to int64_t.
344         * image/writejp2.w: Use uint64_t instead of unsigned long long.
345         * image/pdftoepdf.w, pdf/pdfgen.w, pdf/pdfglyph.w,
346         pdf/pdfimage.w, pdf/pdfpage.w, pdf/pdfrule.w: Replace lround(a)
347         by i32round(a) or i64round(a).
349 2013-09-20  Karl Berry  <karl@tug.org>
351         * lua/luainit.w (lua_initialize) [NATIVE_TEXLIVE_BUILD]: omit date.
352         * tex/printing.w (print_banner) [NATIVE_TEXLIVE_BUILD]: replace
353         date with WEB2CVERSION for TL binaries.
355 2013-08-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
357         * font/writecff.w: Fix a bug in write_cid_cff(). There was not
358         pdf_end_dict() for the corresponding pdf_begin_dict().
360 2013-07-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
362         * font/writettf.w: Treat unknown 'post' table versions
363         (found in some broken fonts) as 3.0, i.e., no Glyph names.
365 2013-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
367         * am/luatex.am, tests/luaimage.tex: Add a .pdf image.
369 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
371         * pdf/pdfgen.w: Use "%"LONGINTEGER_PRI"d" format specifier to
372         print (LONGINTEGER_TYPE) casted longinteger and off_t variables.
374 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
376         * lua/luainit.w (init_kpse, lua_initialize):
377         Use kpse_program_basename().
379 2013-07-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
381         * luaimage.test, tests/luaimage.tex: New test and data.
382         * am/luatex.am: Add the new test.
384 2013-07-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
386         * luatex.c : Replace lines between "#if defined (TeX) && defined (IPC)"
387         and "#endif /* TeX && IPC */" with those in texmfmp.c.
389 2013-07-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
391         * luatex.c, ptexlib.h: Revert the previous change.
392         * luatex.c [MSVC]: Undef timezone before including <time.h>.
394 2013-06-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
396         * luatex.c, ptexlib.h: Slightly modify because Visual Studio cannot
397         compile luatex.c.
399 2013-06-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
401         * lua/lcallbacklib.c, lua/luainit.w: Replace index() => strchr().
403         * ptexlib.h: More general cases for not been included first.
405         * lang/hyphen.h: Do not '#include "ptexlib.h"'.
406         * lang/hyphen.w: Include ptexlib.h instead of lang/hyphen.h.
408 2013-06-28  Karl Berry  <karl@tug.org>
410         * ptexlib.h: complain if various common things are #defined;
411         this must be the first #include.
413 2013-06-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
415         Bug fix for LuaTeX crash on 32bit Unix systems from Taco,
416         tlbuild mail 26 Jun 2013 16:10:35,
417         http://tug.org/pipermail/tex-live/2013-June/033782.html
418         * image/writejbig2.w, image/writejp2.w, image/writejpg.w,
419         image/writepng.w: Always first include ptexlib.h.
421 2013-06-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
423         * am/libluatex.am, am/luasocket.am, am/luatex.am:
424         Correct dependencies for build `on demand'.
426 2013-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
428         * lua52/: Moved to ../../../libs/lua52/.
429         * am/libluatex.am: Adapted.
430         * am/liblua52.am: Removed.
432 2013-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
434         * image/epdf.h, image/writeimg.w, lua/limglib.c,
435         lua/lpdfscannerlib.cc, lua/lstrlibext.c, lua/luatex-api.h,
436         lua/texluac.w, ptexlib.h: Replace 'lua52/lua.h' => 'lua.h'.
438 2013-06-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
440         * lua/lpdfscannerlib.cc: Include <poppler-config.h> instead of
441         <poppler/poppler-config.h>.
443 2013-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
445         * lua/luainit.w: Handle '--luac' and '--luaconly' (from Akira).
447 2013-04-16  Elie Roux  <elie.roux@telecom-bretagne.eu>
449         * font/tfmofm.w: check for .ofm as well as .tfm.
450         * tex/mainbody.w: check for !ini_version before initialize().
452 2013-04-16  Karl Berry  <karl@tug.org>
454         * lua/luainit.w (parse_options): GPLv2+, not just GPLv2 (after
455         discussion with Taco).
457 2013-04-14  Karl Berry  <karl@tug.org>
459         * lua/luainit.w: 2013
461 2013-04-08  Taco Hoekwater  <taco@luatex.org>
463         * luasocket/src/smtp.lua: uncomment require 'coroutine'
464         * luasocket/src/smtp_lua.c: regenerated
466 2013-04-05  Taco Hoekwater  <taco@luatex.org>
468         Import luatex beta 0.76.0 (released version)
470 2013-04-04  Karl Berry  <karl@tug.org>
472         * lua52/liolib.c: #include <unistd.h>.  Needed on FreeBSD
473         per Nikola Lecic, tlbuild 1 Apr 2013 02:10:08.
475 2013-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
477         Import LuaTeX beta-0.75.0 from LuaTeX repository (r4604).
479 2013-03-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
481         * am/luafontforge.am (EXTRA_DIST): Drop unused files.
483 2013-03-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
485         * lua52/*, am/liblua52.am (new): Add lua-5.2.1 for 0.75.0.
487 2013-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
489         * am/luatex.am: Allow subdir-objects.
491 2013-01-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
493         * pdf/pdftables.h: Support large files (from Martin).
495 2013-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
497         * luatex.c (mk_shellcmdlist): Simplify (sync with texmfmp.c).
499 2013-01-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
501         * pdf/pdfgen.w (write_stream_length): Cast length for printing.
503 2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
505         * am/libluatex.am (luatex_*_ctangle, pdflua.c):
506         Enable silent rules.
508 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
510         * lua/lkpselib.c: Use kpse_readable_file() with non-const arg.
512 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
514         * lua/lepdflib.cc: No need to test for Annot::decRefCnt with
515         poppler 0.18 or better.
517 2012-11-06  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
519         * pdf/pdflistout.w: sync with r4471 (a bug fix by H. Henkel).
521 2012-10-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
523         * tex/texfileio.w: input by pipe was impossible. enable it.
525 2012-10-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
527         * lua/luainit.w (lua_initialize): Free two malloc()ed strings.
529 2012-10-10  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
531         * luatex.c: Modify determination of fullpath for restricted shell
532         escape commands.
534 2012-10-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
536         Avoid TL vs W32TeX differences (from Akira).
537         * luatex.h: Include "ptexlib.h" instead of <luatexdir/ptexlib.h>
538         as in all other cases.
539         * ptexlib.h: Use _MSC_VER instead of MSVC.
540         * image/epdf.h: Change arg3 of extern void pdf_begin_obj() from
541         bool to int, as declared and defined in pdf/pdfgen.[hw].
542         FIXME: There should be only one extern declaration in one file.
544 2012-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
546         The openbsd compat library is no longer used.
547         * image/epdf.h, lua/luainit.w, ptexlib.h, utils/utils.w:
548         Drop #include "openbsd-compat.h".
549         * am/libluatex.am, am/luatex.am: Remove OBSDCOMPAT_*.
551 2012-09-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
553         * lua/luainit.w (parse_options): Avoid cast const => non-const.
555 2012-09-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
557         * lua/luainit.w (parse_options): allow lualatex "\input" "a b" on
558         Windows.
560 2012-09-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
562         * luatex-api.h: Avoid conflicting extern declaration of environ,
563         declared in <stdlib.h> for WIN32 (from W32TeX).
565 2012-08-21  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
567         * tex/texdeffont.w (tex_def_font): Recover the old code, because the
568         new code seems not to work.
570 2012-08-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
572         * ptexlib.h: Drop unused definition of M_PI.
574 2012-08-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
576         * tex/dumpdata.h: Remove the swap_items() prototype.
577         * luatex.c (swap_items): Moved from here ...
578         * tex/texfileio.w (swap_items): ... to here and declared static.
580         * luatex.c (input_line) [WIN32]: Sync with ../lib/texmfmp.c.
581         Detect and skip Byte order marks.
582         * tex/texfileio.[ch] [WIN32]: Use Poptr to record pipe input.
584 2012-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
586         * luatex.[ch] [W32TeX]: Use DLLPROC for luatex.dll.
587         * pdf/pdfgen.w [WIN32]: Convert file names '\\' -> '/'.
589 2012-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
591         * tex/texdeffont.w (tex_def_font): Better tracing of font
592         definitions, adapted from e-TeX version 2.5.
594 2012-07-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
596         * pdf/pdfpage.w (print_pdffloat): Cope with broken snprintf().
597         * lua/luastuff.w (luatex_error): Drop snprintf() return value.
599 2012-07-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
601         * lua/luainit.w (lua_initialize): Avoid using asprintf().
602         * utils/utils.w (initversionstring): Avoid using asprintf().
604         One and only one prototype per function.
605         * image/epdf.h, utils/utils.h: Add #include "luatex-common.h"
606         and move pdftex_{fail,warn} prototypes from here ...
607         * luatex-common.h (new): ... to here.
608         * am/libluatex.am (libluatex_a_SOURCES): Add the new file.
610 2012-07-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
612         * lua/loslibext.c os_gettimeofday): Use int64_t (from W32TeX).
614 2012-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
616         * image/pdftoepdf.cc (get_file_checksum): Use uint64_t and PRIu64.
617         * image/writejp2.w, lua/loslibext.c: Use uint64_t.
619 2012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
621         * tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.
623 2012-07-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
625         * image/writejbig2.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRId.
626         * pdf/pdfgen.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRIi.
628 2012-07-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
630         * utils/utils.w: Use EXIT_FAILURE instead of EX_SOFTWARE.
632 2012-07-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
634         * pdf/pdfgen.w: Cast xfseeko() arg2 to avoid MSVC warning.
636 2012-07-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
638         * tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.
640 2012-07-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
642         * luatex.c (shell_cmd_is_allowed): Change Arg1 from 'const char **'
643         into 'const char *'; sync with ../lib/texmfmp.c.
644         * luatex.h, lua/liolib.c, lua/loslibext.c, tex/texfileio.w: Adapt.
646         * lua/liolib.c, luascripts/txt2zlib.w: Use binary file io mode.
647         From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX).
649 2012-05-22  Taco Hoekwater  <taco@luatex.org>
651         * lua/lkpselib.c: new function kpse.default_texmfcnf() that
652         reports the value of DEFAULT_TEXMFCNF, for the benefit of
653         context mkiv on Debian.
655 2012-05-22  Taco Hoekwater  <taco@luatex.org>
657         * luafontloader/fontforge/fontforge/splinesave.c,
658         luafontloader/fontforge/fontforge/splinefont.h: drop parts of the
659         Type1 saving routines (unused) to remove a compiler warning.
661         * pdf/pdftypes.h, lua/limglib.c, image/epdf.h, image/writeimg.w,
662         image/writejbig2.w, ptexlib.h: more off_t trouble.
664 2012-05-21  Taco Hoekwater  <taco@luatex.org>
666         * tex/printing.w, lua/ltokenlib.c, lua/llanglib.c, lua/llualib.c,
667         lua/lnodelib.c, lua/luainit.w, lua/ltexiolib.c,
668         lua/lcallbacklib.c, lua/lstatslib.c, lua/ltexlib.c,
669         lua/loslibext.c, lua/lkpselib.c, lua/luatoken.w, lua/llfslibext.c,
670         lua/lfontlib.c, lua/luanode.w, lua/lpdflib.c, lua/luastuff.w:
671         when loading both "ptexlib.h" and "lua/luatex-api.h", make sure
672         that "ptexlib.h" is loaded first because that reads config.h
673         which affects loading of system headers (via Large File Support,
674         specifically).
676 2012-05-20  Khaled Hosny  <khaledhosny@eglug.org>
678         * tex/mlist.w: fix "warning: 'ext' might be used uninitialized".
680 2012-05-18  Taco Hoekwater  <taco@luatex.org>
682         * lua/ltexlib.c: fix a ConTeXt crash on `\endinput \end`.
684 2012-05-18  Khaled Hosny  <khaledhosny@eglug.org>
686         * tex/commands.h, tex/commands.w, tex/maincontrol.h,
687         tex/maincontrol.w, tex/mathcodes.h, tex/mathcodes.w, tex/scanning.w, 
688         tex/texmath.w, tex/mlist.w: backport math relatex changes from 0.71
689         * luatex.c: bump version to 0.70.1
691 2012-05-10  Hartmut Henkel  <hartmut@luatex.org>
692         and Peter Breitenlohner  <peb@mppmu.mpg.de>
694         * lua/lepdflib.cc: Adapt for poppler 0.19.4.
696 2012-05-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
698         * lua/luainit.w (lua_initialize): Use WEB2CVERSION.
699         * tex/printing.w (print_banner, log_banner): Same.
701 2012-02-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
703         * luatex.h: Remove definition of WRITE_OUT, now in ../cpascal.h.
705 2012-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
707         * image/writejbig2.w (getstreamlen): Change type to `off_t'.
708         Use LONGINTEGER_TYPE and LONGINTEGER_PRId for printing.
710 2012-01-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
712         Consistent support for large JBIG2 files.
713         * image/writejbig2.w: Change type of various struct members, local
714         variables and findstreamstart() from `long' or `unsigned long'
715         to `off_t'.  Do not use xfseek and xfseeko for the same file.
717 2011-10-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
719         * lua/lepdflib.cc: Test poppler 0.16.x / 0.17.x features.
721 2011-10-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
723         * am/libluatex.am: Avoid to `clean' ../mplibdir/lmplib.c.
725         * am/txt2zlib.am (noinst_PROGRAMS): Conditionally add txt2zlib,
726         such that txt2zlib$(EXEEXT) gets cleaned.
728 2011-09-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
730         * tex/printing.w (print_file_line): Bug fix: avoid uninitialized
731         lineno - from ../tex.ch.
732         * tex/inputstack.w: Slightly reformulate printing of current
733         line - from ../etexdir/etex.ch.
735 2011-08-04  Magnus Granberg  <zorry@gentoo.org>
737         * luatex.c: Do not #include empty file <kpathsea/recorder.h>.
739 2011-06-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
741         Reduce memory leaks.
742         * lua/lkpselib.c (do_lua_kpathsea_lookup): Free string no longer
743         used.
745 2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
747         lua/lkpselib.c (find_dpi): Allow find_suffix() to return a
748         const string.
750 2011-05-19  Taco Hoekwater  <taco@luatex.org>
752         * lua/ltexlib.c: fix a bug on negative catcode table arguments.
753         * luatex.c, NEWS: luatex is now version 0.70.1
754         * luatex_svnversion.h: updated to reflect latest luatex revision (4277)
756 2011-05-18  Taco Hoekwater  <taco@luatex.org>
758         * font/writefont.w (write_fontdescriptor):  Fix for non-embedded
759         fonts in the PDF output.
760         * image/writeimg.w (read_img): Fix for non-existent images that
761         could case a crash.
762         * luatex_svnversion.h: updated to reflect latest luatex revision (4273)
764 2011-05-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
766         * luatex.c (ipcpage): Add 'free(cwd)', remove Aleph comment.
768 2011-05-17  Taco Hoekwater  <taco@luatex.org>
770         * tex/texfileio.w (luatex_synctex_get_current_name): switch to xgetcwd()
771         from kpathsea
772         * luatex_svnversion.h: updated to reflect latest luatex revision (4272)
774 2011-05-15  Taco Hoekwater  <taco@luatex.org>
776         * tex/texfileio.w (luatex_synctex_get_current_name): work around a 
777         bug in getcwd().
778         * luatex_svnversion.h: updated to reflect latest luatex revision (4267)
780 2011-05-13  Taco Hoekwater  <taco@luatex.org>
782         * lua/luainit.w: change the copyright year to 2011.
783         * luatex_svnversion.h: updated to reflect latest luatex revision (4264)
784         * NEWS: forgot to mention synctex change
785         
786 2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
788         * image/writepng.w: #define PNG_FP_1 for libpng < 1.5.0.
790 2011-05-11  Taco Hoekwater  <taco@luatex.org>
792         * image/writepng.w: fix for 16bit images in pdf 1.4 (8bit) mode.
793         * luatex_svnversion.h: updated to reflect latest luatex revision (4258)
795 2011-05-09  Taco Hoekwater  <taco@luatex.org>
797         * tex/texfileio.[hw]: file relative filenames in synctex output.
798         * luatex_svnversion.h: updated to reflect latest luatex revision (4256)
800 2011-05-08  Taco Hoekwater  <taco@luatex.org>
802         * dvi/dvigen.w, pdf/pdfgen.w: fix missing newline after
803         'No pages of output' message.
804            
805 2011-05-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
807         * lua/luainit.w, tex/texfileio.w: fix recorder location.
809 2011-05-05  Taco Hoekwater  <taco@luatex.org>
811         * image/writepng.w: fixes for libpng 1.5.2.
812         * lua/lnodelib.c (lua_nodelib_fields): fix field count for 
813         nodes without subtype.
814         * lua/llfslibext.c: fix an variable type and a compiler warning.
815         * lua/loslibext.c (os_execute): fix non-argument use of os.execute.
816         * lua/ltexlib.c (do_luacprint): fix use of bad catcode tables.
817         * lua/luainit.w (HAVE_ASPRINTF): superfluous test removed.
818         * luatex.c: bump version to 0.70, remove SOCK_NONBLOCK definition.
819         * luatex_svnversion.h (luatex_svn_revision): now at 4247.
820         * NEWS: updated for luatex 0.70.0 release.
821         * tex/texfileio.w: patch from bug 615 (recorder filename location).
822         * tex/texmath.w: fix display alignment in TRT mode.
823         * utils/utils.w (HAVE_ASPRINTF): superfluous test removed.
825 2011-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
827         * utils/synctex{-common.h,.c,.h} (removed): Use copies from
828         ../synctexdir.
829         * synctex-luatex.h: Moved from here to ../../synctexdir.
830         * ptexlib.h, am/libluatex.am, am/luatex.am: Adapted. 
832 2011-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
834         * utils/utils.w (POPPLER_VERSION): Now defined in
835         poppler-config.h for poppler from the TeX Live tree, or in the
836         Makefile for an installed version.
838 2011-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
840         * am/libluatex.am, am/txt2zlib.am: When cross compiling skip
841         txt2zlib and use installed luascripts/pdflua.c.
843         Need poppler at least 0.12 for PDFDoc::getPDF*Version().
844         * image/pdftoepdf.cc: Remove code for older poppler versions.
846 2011-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
848         * image/writepng.w: Fix to build with png-1.5 (and avoid
849         `deprecated' warnings with png-1.4). The transformations part
850         is removed on recommendation by John Bowler (a png developer).
851         Mail from Thomas Klausner <tk@giga.or.at>, Sun, 30 Jan 2011.
853         * pdf/pdfgen.w: ANSI C function definitions.
855         * pdf/pdfluaapi.w (new_pdflua): Declare zp as const.
857         * am/libluatex.am (EXTRA_DIST): Distribute luascripts/pdflua.lua.
858         * am/txt2zlib.am (EXTRA_DIST): Distribute luascripts/txt2zlib.w.
860 2011-04-12  Taco Hoekwater  <taco@luatex.org>
862         * import of luatex 0.66.0, released version
864 2011-03-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
866         * am/libluatex.am: Use AM_CFLAGS instead of libluatex_a_CFLAGS.
867         * am/luatex.am: Use AM_CFLAGS instead of luatex_CFLAGS.
869 2011-03-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
871         * am/libluatex.am (libluatex_a_CPPFLAGS): Remove `-Iluatexdir'
872         and add `-DSYNCTEX_ENGINE_H='<utils/synctex-luatex.h>''.
873         * am/luatex.am (luatex_CPPFLAGS): The same.
875         * utils/synctex.c: Fix several typos in comments to reduce diffs
876         between files in synctexdir/ and luatexdir/utils/.
878 2011-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
880         * am/luatex.am [WIN32]: Add texlua.exe and texluac.exe wrappers
881         for MinGW.
883 2010-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
885         * am/luatex.am: install-exec-hook and uninstall-hook rules now
886         in ../Makefile.am; append required symlinks to bin_links.
888 2010-09-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
890         * luatex.test (new): Just testing 'luatex -credits'.
891         * luatexdir/am/luatex.am: Adjusted.
893 2010-07-12  Taco Hoekwater <taco@luatex.org>
895         * luafontloader/src/luafflib.c: quick fix for crashes triggered
896         by invalid panose data in Open/TrueType fonts.
897         * luatex_svnversion.h: new version (rev 3736).
899 2010-07-01  Taco Hoekwater <taco@luatex.org>
901         * lang/texlang.w, lua/lnodelib.c, luatex.c, luatex_svnversion.h,
902         pdf/pdfglyph.w, pdf/pdfpage.w, NEWS: new versions from released 0.60.2
903         
904 2010-06-18  Taco Hoekwater <taco@luatex.org>
906         * tex/textoken.h (smemory_word): add endiannes test
907         * font/texfont.h (liginfo, kerninfo): add endianness test
908         * luatex_svnversion.h: new version
910 2010-06-13  Taco Hoekwater <taco@luatex.org>
912         * tex/inputstack.h (in_state_record): force two bitfields to be signed,
913         after a bug report from Vladimir Volovich <vvv@vsu.ru>
914         * luatex_svnversion.h: new version
916 2010-06-11  Taco Hoekwater <taco@luatex.org>
918         * font/sfnt.w, font/sfnt.h, 
919         luafontloader/fontforge/Unicode/ucharmap.c,
920         luafontloader/fontforge/fontforge/python.c, 
921         luafontloader/fontforge/inc/basics.h: change include of "config.h"
922         to <w2c/config.h>.
923         * image/epdf.h, lua51/luaconf.h: change include of "c-auto.h"
924         to <w2c/c-auto.h>.
925         
926 2010-06-10  Taco Hoekwater <taco@luatex.org>
928         * luatex.c (swap_items): debugged.
929         * tex/texfileio.w (do_zdump): reswap the swapped items to avoid
930         crashes when called as |dump_things|.
932 2010-06-10  Taco Hoekwater <taco@luatex.org>
934         * luafilesystem/src/lfs.c(get_dir): do not assume Gnu C compiler.
936 2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
938         * am/libluatex.am (libluatex_a_CPPFLAGS): Add $(AM_CPPFLAGS).
939         * am/luafontforge.am (libff_a_CPPFLAGS): Add $(AM_CPPFLAGS).
940         * am/luatex.am (luatex_CPPFLAGS): Add $(AM_CPPFLAGS).
942 2010-06-10  Taco Hoekwater <taco@luatex.org>
944         * luasocket/src/options.c, luafontloader/fontforge/fontforge/parsettfatt.c,
945         luafontloader/fontforge/fontforge/parsettf.c,
946         luafontloader/fontforge/fontforge/lookups.c: enlarge static buffers
947         for sprintf().
948         
949 2010-06-04  Taco Hoekwater <taco@luatex.org>
951         * luatex.c (shell_cmd_is_allowed): make sure only commands with
952         absolute path names are executed on win32 in restricted mode --
953         patch from Akira Katuto.
955 2010-05-28  Taco Hoekwater <taco@luatex.org>
957         * luamd5/md.5c: bring in a new version from kepler to fix a
958         portability problem with stdint.h.
959         * luafontloader/src/ffdummies.c, lua/texluac.w: guard __attribute__
960         usage, which is a GNUC only feature.
961             
962 2010-05-19  Taco Hoekwater <taco@luatex.org>
964         * printing.w (print_banner, log_banner), luainit.w (lua_initialize):
965         add WEB2CVERSION to the banner.
967 2010-05-13  Taco Hoekwater <taco@luatex.org>
969         * utils/synctex.c, utils/synctex-luatex.h: update from Jérome
970         Laurens, bringing luatex in-line with the core synctex distribution
971         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
972         
973 2010-05-06  Taco Hoekwater <taco@luatex.org>
975         * luatex.c (calledit): use ifdef __MINGW32__ instead of WIN32.
976         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
978 2010-04-28  Taco Hoekwater <taco@luatex.org>
980         * tex/maincontrol.w: Fixed the error message for improper 
981         use of \protected, reported by Heiko Oberdiek 
982         <heiko.oberdiek@googlemail.com>.
984 2010-04-28  Taco Hoekwater  <taco@luatex>
986         * import of luatex 0.60.1, released version
988 2010-04-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
990         * image/epdf.h, lua51/luaconf.h: #include <c-auto.h> instead of
991         <web2c/c-auto.h>.
993 2010-04-24  Taco Hoekwater  <taco@luatex>
995         * lua/loslibext.c: fix os.exec() and os.spawn(), twice
997 2010-04-23  Taco Hoekwater  <taco@luatex>
999         * lua/loslibext.c: fix os.exec() and os.spawn() once more
1001 2010-04-23  Taco Hoekwater  <taco@luatex>
1003         * lua/loslibext.c: fix os.exec() and os.spawn()
1004         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
1006 2010-04-23  Taco Hoekwater  <taco@luatex>
1008         * new import from luatex repository (HEAD of 0.60.x branch)
1010 2010-04-20  Taco Hoekwater  <taco@luatex>
1012         * new import from luatex repository (HEAD of 0.60.x branch)
1014 2010-04-13  Taco Hoekwater  <taco@luatex>
1016         * am/luafontforge.am: delete three lines.
1017         * luafontloader/fontforge/Unicode/dump.c: deleted
1018         * luafontloader/fontforge/Unicode/backtrns.c: deleted
1019         * luafontloader/fontforge/Unicode/unialt.c: deleted
1021 2010-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
1023         * image/pdftoepdf.cc: Fix building with libpoppler.
1024         * luatex.c: Fix building for MinGW32.
1026         * luatex.c (ipcpage): Avoid compiler warning.
1027         (catch_interrupt): Declare as static.
1028         * pdf/pdflistout.w (init_*_backend_functions): ANSI C func defs.
1030 2010-04-13  Taco Hoekwater  <taco@luatex>
1032         * new import from luatex repository (HEAD of 0.60.x branch)
1034 2010-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1036         * am/luatex.am: Remove libmplib.a from $($(luatex_OBJECTS)'s
1037         dependencies ...
1038         * am/libluatex.am: and add to $(libluatex_a_OBJECTS)'s
1039         dependencies; otherwise parallel builds may fail.
1041 2010-04-04  Taco Hoekwater  <taco@luatex>
1043         * import of luatex 0.60.0, with a few local changes:
1044         * luatex.c (ipcpage): fix fetching of 'name'.
1045         * dvi/dvigen.w (dvi_end_page): fix IPC flushing.
1046         * image/pdftoepdf.cc (write_epdf1): comment out use of 
1047         page->getResourcesNF() and page->getMetadataNF().
1049 2010-03-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
1051         * luatangle.ch: Use kpse_set_program_name(argv[0], nil) instead
1052         of kpse_set_progname(argv[0]).
1054 2010-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
1056         * am/luamisc.am (libluamisc_a_CPPFLAGS): Adapt to zziplib now
1057         in ../../../libs/zziplib/.
1059 2010-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
1061         Moved zziplib/ to ../../../libs/zziplib.
1062         * am/luamisc.am (libluamisc_a_DEPENDENCIES): Adapt.
1063         * am/luatex.am (luatex_ldadd): Adapt.
1065 2010-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
1067         Clarify dependencies between luaTeX libraries:
1068         * am/libzzip.am: Remove dependency on liblua51.a.
1069         Remove memdisk.[ch] and mmapped.[ch] from libzzip_a_SOURCES and
1070         add them to EXTRA_DIST.
1071         * am/luamisc.am: Add dependency on libzzip.a.
1072         * am/luasocket.am: Replace dependency on libzzip.a by liblua51.a.
1074 2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1076         * utils/avl.c (avl_copy): Proper handling of const.
1078 2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1080         * luafontloader/src/luafflib.h: New file with prototypes used
1081         by libluatex.
1082         * luafontloader/src/luafflib.c: #include "luafflib.h".
1083         * font/writecff.c, font/writetype2.c: Remove the extern decls
1084         and #include <luafontloader/src/luafflib.h>.
1085         * font/writecff.c (writetype1w): Change tfm_size integer=>int.
1086         * am/luafontforge.am: Add the new file.
1088         * luatex-api.h: Add prototype for utf8_idpb(), renamed
1089         lua_utf8_idpb to avoid name conflicts with fontforge library.
1090         * lang/texlang.c: Declare utf8_idpb() as non-static.
1091         * tex/filename.c: Remove prototype for utf8_idpb().
1093         * tex/filename.c (scan_file_name): Don't assume a null byte
1094         after string created by utf8_idpb().
1096 2010-01-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
1098         * font/writettf.c: Remove extern charsetstr[].
1099         * lua/lkpselib.c: Remove extern luainit.
1100         * lua/luainit.c: Remove extern normalize_quotes(), argc, argv.
1101         * tex/textoken.c: Remove extern insert_vj_template().
1103         * utils/utils.h: Add extern declaration of fb_array ...
1104         * font/writet1.c, font/writettf.c: ... removed from here.
1105         * luatex-api.h: Add extern declaration of program_name_set ...
1106         * lua/luainit.c, lua/luatex.c: ... removed from here.
1107         * luatex-api.h: Add extern declaration of startup_filename,
1108         safer_option, and nosocket_option ...
1109         * lua/luastuff.c: ... removed from here.
1110         * lua/llualib.c (luabytecode_max): Change integer=>int.
1111         * luatex-api.h: Add extern declaration of luabytecode_max,
1112         luabytecode_bytes, luastate_bytes, callback_count, and
1113         saved_callback_count ...
1114         * lstatslib.c: ... removed from here.
1116 2010-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1118         * am/luatex.am (luatex_CFLAGS, luatex_CXXFLAGS),
1119         am/libluatex.am (libluatex_a_CFLAGS): Enable compiler warnings.
1121         Avoid most compiler warnings:
1123         * font/luatexfont.h, luatexdir/hyphen.h, image/writeimg.h,
1124         image/writejbig2.h, luatex.h, pdf/pagetree.h, pdf/pdfpage.h,
1125         utils/avlstuff.h, utils/utils.h: ANSI C function prototypes.
1126         * font/mapfile.c, font/writeenc.c, font/writefont.c,
1127         font/writet1.c, font/writettf.c, image/writeimg.c,
1128         image/writejbig2.c, lang/hyphen.c, pdf/pagetree.c,
1129         pdf/pdfpage.c, utils/avlstuff.c, utils/utils.c: ANSI C function
1130         definitions.
1132         * font/luafont.c, lang/texlang.c, lua/lcallbacklib.c,
1133         lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
1134         lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
1135         lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luanode.c,
1136         lua/luatoken.c: Remove 'char *' or 'unsigned char *'  casts of
1137         Lua strings.
1139         * font/texfont.h, font/writecff.h, luatex-api.h, luatex.h,
1140         nodes.h, primitive.h, ptexlib.h, utils/utils.h, font/dofont.c,
1141         font/luafont.c, font/tfmofm.c, font/vfovf.c, font/writecff.c,
1142         font/writefont.c, font/writet1.c, font/writettf.[ch],
1143         lang/hyphen.c, lang/texlang.c, lua/lcallbacklib.c,
1144         lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
1145         lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
1146         lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luainit.c,
1147         lua/luanode.c, lua/luastuff.c, lua/luatex.c, lua/luatoken.c,
1148         luatex.ch, tex/filename.c, tex/linebreak.c, tex/math.c,
1149         tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
1150         tex/textoken.c, utils/utils.c: Declare various function params
1151         and args, local and global vars, and struct members as const.
1153         * font/luafont.c, font/texfont.c, font/tfmofm.c, font/vfovf.c,
1154         font/writeenc.c, font/writefont.c, font/writet1.c,
1155         font/vfpacket.c, font/writettf.c, font/writetype2.c,
1156         image/writeimg.c, lang/hyphen.c, lang/texlang.c, lua/limglib.c,
1157         lua/llualib.c, lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c,
1158         lua/lstatslib.c, lua/ltexlib.c, lua/luainit.c, lua/luanode.c,
1159         lua/luastuff.c, mathcodes.c, tex/linebreak.c, tex/math.c,
1160         tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
1161         tex/textoken.c, utils/synctex.c, utils/utils.c:
1162         Declare functions and global vars as static.
1164         * font/texfont.c: #include "luatexfont.h" and remove externs.
1165         * image/writejpg.c: #include "writejpg.h".
1166         * image/writepng.c: #include "writepng.h".
1167         * lang/hnjalloc.c: #include "hnjalloc.h".
1168         * lua/texluac.c: #include "luatex-api.h".
1169         * utils/synctex.c: #include "synctex.h".
1170         * utils/utils.c: #include "utils.h".
1172         * lua/lcallbacklib.c: Remove prototype for lua_traceback().
1173         * ptexlib.h: Add prototype for get_command_id() ...
1174         * lua/ltokenlib.c: ... removed from here.
1175         * nodes.h: Add prototype for list_node_mem_usage() ...
1176         * lua/lnodelib.c: ... removed from here.
1177         * managed-sa.h: Add prototype for rawset_sa_item() ...
1178         * mathcodes.c, tex/math.c: ... removed from here.
1180         * inc-epdf.h: New file with prototypes for epdf_mark_glyphs(),
1181         epdf_create_fontdescriptor(), and epdf_write_enc() ...
1182         * image/epdf.h: ... removed from here.
1183         * image/epdf.h, font/writeenc.c: #include inc-epdf.h.
1184         * inc-vfovf.h: New file with prototype for make_vf_table() ...
1185         * lua/lfontlib.c: ... removed from here.
1186         * font/vfovf.c, lua/lfontlib.c: #include inc-vfovf.h.
1187         * inc-extra.h: New file with prototypes for check_isnode()
1188         and lua_nodelib_push_fast() ...
1189         * lua/limglib.c, lua/llanglib.c, lua/lstatslib.c, lua/ltexlib.c:
1190         ... removed from here.
1191         * lua/limglib.c, lua/llanglib.c, lua/lnodelib.c,
1192         lua/lstatslib.c, lua/ltexlib.c: #include "inc-extra.h".
1193         * am/libluatex.am (libluatex_a_SOURCES): Add the new files.
1195         * font/texfont.c (lua_char_exists_callback),
1196         font/vfovf.c (is_letterspaced_font),
1197         font/vfpacket.c (packet_command_names),
1198         font/writet1.c (free_glyph_names),
1199         image/writeimg.c (image_group_ref),
1200         lua/ltexlib.c (get_something_internal),
1201         tex/texnodes.c (print_free_chain),
1202         textcodes.c (clearcatcodestack):
1203         Skip unused static funcs and vars (via #if 0 ... #endif).
1205         * lua/luainit.c (lua_initialize): Replace string constant
1206         arguments of putenv() by non-const static string variables.
1208         * utils/avl.c (avl_delete): Don't reuse const input param for
1209         non-const return value.
1211         * utils/synctex.c: Rename synctexchar => synctex_char and
1212         synctexnode => synctex_node as declared in utils/synctex.h.
1214 2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1216         * luatangle.ch: Declare web_name, chg_name, pascal_name, and
1217         pool_name as const_c_string.
1219         * lua/lkpselib.c (readable_file, lua_kpathsea_readable_file):
1220         Drop non-const cast of {kpse,kpathsea}_readable_file() result.
1222 2010-01-03  Karl Berry  <karl@tug.org>
1224         * luatex.ch: propagate "executed safely" wording change.
1226 2009-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1228         * am/luatex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P).
1230 2009-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1232         * lua/loslibext.c (do_mkdtemp): Declare as static and skip
1233         compilation when not used.
1235 2009-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1237         * pdf/pagetree.c, utils/utils.c: Drop #ifdef HAVE_ASPRINTF and
1238         #include <stdio.h>.
1240 2009-12-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1242         * utils/synctex.c: Remove (already commented) extern declaration
1243         of gettexstring().
1245 2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
1247         * luatex.web: Use kpse_{in,out}_name_ok(), now in Kpathsea,
1248         instead of open{in,out}nameok().
1249         * luatex.defines: Replace open_{in,out}_name_ok by
1250         kpse_{in,out}_name_ok.
1252 2009-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1254         * image/pdftoepdf.cc: Adapt to poppler-0.12.
1256         * FIXME: image/epdf.h, utils/utils.h: Multiple prototypes for
1257         pdftex_fail, pdftex_warn, and probably others.
1259 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1261         * am/luatex.am: Adapt to new makecpool with one argument.
1263 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1265         * lua/luainit.c (dump_name, c_job_name, last_source_name,
1266         last_lineno): Drop extern declarations (now in texmfmp.h).
1267         (user_progname): Constify string.
1268         (lua_initialize): Avoid modifying the const_string 'dump_name'.
1270 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1272         * utils/synctex.c (synctex_suffix*): Constify strings.
1274 2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1276         * luatangle.ch: Eliminate the unused |end_of_TANGLE| label.
1278 2009-09-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
1280         * am/libzzip.am: Enable compiler warnings.
1281         * am/liblua51.am, am/libluatex.am, am/luafontforge.am,
1282         am/luamisc.am, am/luasocket.am, am/luatex.am: Prepare compiler
1283         warnings.
1285 2009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
1287         * lua/lstatslib.c, lua/luainit.c: Drop extern decl of ptexbanner.
1288         * utils/utils.c: #include <kpathsea/version.h> and drop extern
1289         decls.
1291 2009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
1293         * lua/liolib.c (io_popen): Changed Arg1 of shell_cmd_is_allowed().
1294         * lua/loslibext.c (os_exec, os_spawn, os_execute): Same.
1296 2009-08-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
1298         * am/luatangle.am: Adapt to web2c-sh.
1299         * am/luatex.am (luatex_tangle): Use tangle-sh.
1300         Adapt to tangle-sh and web2c-sh.
1302 2009-06-26  Taco Hoekwater <taco@luatex.org>
1304         * lua51/lcoco.c, lua51/lcoco.h: disable the coco patch on
1305         linux+ppc because it crashes the executable.
1307 2009-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1309         * font/writet1.c, image/epdf.[ch], utils/avlstuff.c:
1310         remove #include <kpathsea/c-proto.h>.
1311         
1312 2009-06-25  Taco Hoekwater <taco@luatex.org>
1313         
1314         * luatexdir: import of luatex release 0.40.6.
1316 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1318         * lua/luatex.c: drop P?C, P?H, use ANSI C function declarations.
1320 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1322         * font/writet1.c, image/epdf.c, utils/avlstuff.c:
1323         #include <stdarg.h>, not <kpathsea/c-vararg.h>.
1325 2009-06-09  Taco Hoekwater <taco@luatex.org>
1326         
1327         * luatexdir: import of luatex release 0.40.4.
1329 2009-06-08  Taco Hoekwater <taco@luatex.org>
1330         
1331         * luatexdir: import of luatex release 0.40.3.
1332         This affects many files in subdirectories.
1334 2009-06-04  Taco Hoekwater <taco@luatex.org>
1335         
1336         * luatexdir: "avoid variable declaration after statement" patch
1337         from Vladimir Volovich
1339 2009-06-03  Taco Hoekwater <taco@luatex.org>
1340         
1341         * luatexdir/luafontloader/fontforge/fontforge/namelist.c (psaltnames): add
1342         a dimension specifier, for AIX portability.
1344 2009-06-03  Taco Hoekwater <taco@luatex.org>
1345         
1346         * luatexdir: import of luatex release 0.40.2.
1347         This affects many files in subdirectories.
1349 2009-05-30  Peter Breitenlohner <peb@mppmu.mpg.de>
1351         * am/luatex.am (install-exec-hook, uninstall-hook):
1352         avoid dangling symlinks.
1354 2009-05-25  Peter Breitenlohner <peb@mppmu.mpg.de>
1356         * am/luatex.am (uninstall-hook): new target to uninstall texlua[c]
1357         symlinks.
1359 2009-05-25  Karl Berry  <karl@tug.org>
1361         * am/luatex.am (install-exec-hook): new target to install texlua[c]
1362         symlinks.
1364 2009-05-08  Taco Hoekwater <taco@luatex.org>
1365         
1366         * luatexdir: import of the current state of luatex, 0.40.1.
1367         This affects many files in subdirectories.
1369 2009-05-05  Peter Breitenlohner <peb@mppmu.mpg.de>
1371         * image/pdftoepdf.cc, utils/utils.c: adapt for poppler.
1373         patches from Norbert Preinig <preining@logic.at>
1375 2009-04-27  Taco Hoekwater <taco@luatex.org>
1377         * pdf/pdfpage.c: rename exp10 to exp10_arr to solve a 
1378         conflict with cygwin's <math.h>.
1379         * font/texfont.h: add #undef quad before definition to suppress a
1380         compiler warning under cygwin. 
1382 2009-04-22  Taco Hoekwater <taco@luatex.org>
1384         * luatexdir: import of the current state of luatex, 0.40.0. 
1385         This affects many files in subdirectories.
1387 2009-04-16  Taco Hoekwater <taco@luatex.org>
1389         * image/image.h: remove the trick that forced a local png.h
1391 2009-04-16  Taco Hoekwater <taco@luatex.org>
1393         * luatexdir: import of the current state of luatex, 0.39.0. 
1394         This affects many files in subdirectories.
1396 2009-03-27  Peter Breitenlohner <peb@mppmu.mpg.de>
1398         * am/luatex.am (luatex_c_h): avoid to split the C code
1399         (from Taco).
1401 2009-03-27  Taco Hoekwater <taco@luatex.org>
1403         * luatexdir: import of the current state of luatex, 0.37.0. 
1404         This affects many files in subdirectories.
1406 2009-03-05  Peter Breitenlohner <peb@mppmu.mpg.de>
1408         * image/pdftoepdf.cc: Uninclude <config.h>, included later
1409         by "epdf.h".
1411 2009-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
1413         * luatangle.ch: use kpse_open_file to locate input files,
1414         in order to respect WEBINPUTS (ported from tangle.ch).