beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / ChangeLog
bloba3f9c26e2afd4acfe4bc62a8dc50a2cef988f9a4
1 2015-11-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
3         * luatex.c: Improve a little (w32 only).
5 2015-10-31  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
7         * tex/inputstack.w: Sync with the upstream.
9 2015-10-13  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
11         * tex/mlist.w: Sync with the upstream.
13 2015-10-09  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
15         * luatex.c: Sync with the upstream.
16         * font/luatexfont.h, font/writetype2.w: Sync with the upstream.
18 2015-10-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
20         * lua/lepdflib.cc, tex/texnodes.h, tex/texnodes.w, NEWS:
21         Sync with the upstream.
22         * luatex.c: beta-0.81.0.
24 2015-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
26         * am/libluatex.am, am/luafontforge.am: Rearrange to compile the
27         luafontloader/src/* files as part of liblua(jit)tex.a, such that
28         there is only one libff.a used for LuaTeX and LuaJITTeX.
30 2015-10-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
32         * Sync with the upstream trunk.
33         * image/epdf.h: Support Visual Studio 2010 for log().
35 2015-10-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
37         * Completely sync with the upstream trunk.
38         Changed files are
39         font/writecff.w, font/writefont.w,
40         lua/lnodelib.c, lua/lpdflib.c, lua/luatoken.w,
41         luafontloader/fontforge/fontforge/lookups.c,
42         luafontloader/fontforge/fontforge/parsettf.c,
43         luafontloader/fontforge/fontforge/parsettfatt.c,
44         luafontloader/fontforge/fontforge/splinefont.h,
45         luafontloader/fontforge/fontforge/tottf.c,
46         luafontloader/src/luafflib.c,
47         luatex.c,
48         tex/commands.w, tex/dumpdata.w, tex/equivalents.h, tex/filename.w,
49         tex/maincontrol.w, tex/printing.w, tex/texmath.w.
51 2015-10-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
53         * pdf/pdfgen.w: Sync with the upstream trunk.
55 2015-09-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
57         * lua/lepdflib.cc: Drop useless casts 'const char *' -> 'char *'
58         when poppler has Object::initCmd(const char*).
60 2015-08-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
62         * lua/lepdflib.cc: Bugfix: m_Object_dictAdd() must use a copy of
63         the Lua string s, otherwise m_Dict_remove() would destroy it.
65 2015-08-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
67         * image/epdf.h, lua/lepdflib.cc: Drop HAVE_STRUCTTREEROOT_H,
68         we now require poppler 0.30 better.
69         
70 2015-08-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
72         * am/libluatex.am: Enable g++ warnings.
73         * image/epdf.h, image/pdftoepdf.w, lua/lepdflib.cc: Avoid most
74         g++ warnings.
76 2015-08-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
78         * image/pdftoepdf.w: Drop useless casts to avoid warnings.
79         * lua/lpdfscannerlib.cc: Unconstify Token.string to avoid warning.
80         * lua/lepdflib.cc: Drop useless casts to avoid some warnings.
82 2015-08-27  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
84         * tex/mlist.w: Sync with the trunk.
85         See http://tug.org/pipermail/luatex/2015-August/005319.html
86         * tex/printing.w: Do not write to a log file for the
87         --[no-]parse-first-line option, since the option actually does not
88         exist in lua(jit)tex, although superficially it remains for compatibility
89         with existing scripts etc.
91 2015-07-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
93         * am/luatex.am: Dependencies for 'make check'.
95 2015-07-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
97         * lua/lkpselib.c: Also used for MFLua and MFLuaJIT.
99 2015-03-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
101         * luazip/src/luazip.c (zip_close): Sync with the upstream.
103 2015-03-19 Luigi Scarso <luigi.scarso@gmail.com>
105         New library newtokenlib; several bugs fixed.
107 2015-01-14 Luigi Scarso <luigi.scarso@gmail.com>
109         tex/mlist.w: mlist_to_hlist(pointer mlist, boolean penalties, int cur_style)
110         HH-LS: was cur_mu = x_over_n(get_math_quad(cur_size), 18);
111         This is an old bug so the fix can influence outcome       
112         The current mu is instead
113         cur_mu = x_over_n(get_math_quad(cur_style), 18);
114         Thanks to joseph.wright <joseph.wright@morningstar2.co.uk>
116 2014-12-21  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
118         * lua/lnodelib.c: Sync with the upstream. Luigi fixes 'print' for
119         alink(n) when n is an attribute node.
121 2014-12-20  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
123         * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
125 2014-12-18  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
127         * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
129 2014-12-17  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
131         * tex/texnodes.w: Sync with the upstream.
132         Luigi fixes a bug on cached attributes.
134 2014-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
136         Avoid implicit function declarations.
137         * am/luafontforge.am (libjitff_a_CPPFLAGS): Add -DLuajitTeX.
138         * am/luamisc.am (libluajitmisc_a_CPPFLAGS: Add -DLuajitTeX.
139         * lua/liolibext.c, lua/lnodelib.c, luafontloader/src/luafflib.c,
140         slnunicode/slnunico.c: Include lauxlib_bridge.h for LuaJITTeX or
141         lauxlib.h for LuaTeX.
142         * luafontloader/fontforge/fontforge/fontviewbase.c:
143         Include gfile.h.        
145 2014-12-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
147         Sync with https://foundry.supelec.fr/svn/luatex/trunk/source/
148                           texk/web2c/luatexdir/ r5092.
150 2014-11-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
152         * luatex.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
154 2014-11-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
156         * luatex.c: Indentation.
158 2014-10-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
160         * luatex.[ch] [W32TEX]: Handle DLLPROC as for TeX & Co.
161         * am/luatex.am: Define LuajitTeX.
163 2014-10-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
165         * luatex.[ch]: More sync with ../texmfmp.h and ../lib/texmfmp.c.
167 2014-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
169         * luatex.c: Apply some code from W32TeX.
171 2014-10-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
173         * luatex.c: Sync with some recent changes in ../lib/texmfmp.c
174         (and luatexfirst.c from W32TeX).
176 2014-09-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
178         * am/luatex.am: Factor out common *_LDADD and *_DEPENDENCIES.
180 2014-08-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
182         * image/writepng.w: Avoid PNG warnings.
184 2014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
186         * image/epdf.h, lua/lepdflib.cc: Use code for poppler >= 0.25
187         with <StructTreeRoot.h> or code for poppler <= 0.24 without.
188         * fake/StructTreeRoot.h (removed): Obsolete.
189         * am/libluatex.am: Adapted.
191 2014-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
193         * luasocket/src/wsocket.h: Avoid redefinition of _WIN32_WINNT.
195 2014-07-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
197         * am/libluatex.am: Compiling liblua(jit)tex.a requires mplib.h;
198         add libmplib.a as dependency.
200 2014-06-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
202         * am/libluatex.am: Remove ../mplibdir/lmplib.c from sources and
203         dependency on libmplib.a.
204         * am/luatex.am: Add ../mplibdir/lmplib.c to sources, dependency
205         on libmplib.a, and -DpdfTeX to CPPFLAGS.
207         * am/luatex.am: Adapt to MetaPost 1.999 (libgmp and libmpfr).
209 2014-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
211         * font/mapfile.w, font/tounicode.w, font/writet1.w,
212         font/writettf.w, lang/texlang.w, pdf/pdfgen.w: Avoid undefined
213         behaviour when char is signed.
215 2014-06-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
217         * lua/luatex-api.h: Use '#define LUAI_HASHLIMIT 5' as default,
218         as in ../../libs/lua52/lua-5.2.3/src/lstring.c and in
219         ../../libs/luajit/LuaJIT-2.0.3/src/lj_str.c.
220         * lua/lstatslib.c, tex/printing.w: Use LUAI_HASHLIMIT instead of
221         LUATEX_HASHCHARS and LUAJITTEX_HASHCHARS.
223         * lua/luatex-api.h: Define MyName as "LuajitTeX"/"LuaTeX" and
224         my_name as "luajittex"/"luatex".
225         * lua/luainit.w, luatex.c, tex/printing.w: Use MyName, my_name.
227 2014-05-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
229         * tex/filename.w: Avoid redefinition of promptfilenamehelpmsg,
230         (re)use definition in ../cpascal.h.
232 2014-05-13  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
234         * tex/filename.w: Print the usual TeX promptfilenamehelpmsg also
235         in lua(jit)tex.
237 2014-04-10  Taco Hoekwater  <taco@luatex.org>
239         * luatex.c: hardwire the compilation date, preventing the 
240         luatex binary from constantly changing after recompilation
242 2014-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
244         * pdf/pdfgen.[hw]: Declare get_pdf_table_string() as
245         'static const char *'.
247 2014-03-29  Taco Hoekwater  <taco@luatex.org>
249         Import LuaTeX 0.79.1 from LuaTeX repository (released)
251 2014-03-28  Taco Hoekwater  <taco@luatex.org>
253         Import LuaTeX 0.79.0 from LuaTeX repository (released)
255 2014-03-15  Taco Hoekwater  <taco@luatex.org>
257         Import LuaTeX snapshot 0.79.0 from LuaTeX repository (r4903).
259 2014-02-10  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
261         * lua/luatex-api.h: MSC version has luaopen_bit32() in dll.
263 2014-02-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
265         * lua/luatex-api.h: Declare luaopen_bit32();
267 2014-02-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
269         * am/libluatex.am, am/luafontforge.am, am/luamisc.am,
270         am/luasocket.am, am/luatex.am: Add rules for LuaJITTeX.
272         * luajittex.test, luajitimage.test: New tests for LuaJITTeX.
274         Avoid compiler warnings.
275         * lua/liolibext.c, lua/luajitstuff.w: Drop compilation of
276         unused static functions.  Avoid to compute unused value.
277         * lua/texluajitc.w: Include header for luac_main() prototype.
278         * lua/luatex-api.h: Drop duplicate luac_main() prototype.
280 2014-02-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
282         * lua/luainit.w: Change a little for LuaJITTeX.
284 2014-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
286         Import LuaTeX snapshot 0.78.3 from LuaTeX repository (r4772).
288         * luatexfont.h: Keep the prototype for auto_expand_font() as
289         long as the function remains in vfovf.w.
291         * liolibext.c [__MINGW32__]: Don't redefine l_fseek etc.
293 2014-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
295         * am/libluatex.am, am/luafontforge.am, am/luamisc.am,
296         am/luasocket.am, am/luatex.am: Prepare for LuaJITTeX.
298 2014-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
300         * tex/printing.w (print_cs): Bug fix from TeX 3.14159265.
302 2014-01-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
304         * image/writepng.w: Allow libpng >= 1.6.3 to read images with
305         incorrect CMF bytes.
307 2013-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
309         * pdf/pdfgen.w (pdf_end_stream): Always write "\nendstream" for
310         PDF/A-1b compliance.
312 2013-12-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
314         * lua/liolibext.c: Large files in lua.
316 2013-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
318         * image/epdf.h, lua/lepdflib.cc: Adapt for poppler-0.25.x.
319         * fake/StructTreeRoot.h (new): Provide 0.24.4 compatibility.
320         * am/libluatex.am: Adapted.
322 2013-12-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
324         * font/writet3.w: More cast arg2 of setpdffloat to int64_t.
325         * pdf/pdfpage.w: Fix i32round() => i64round().
327 2013-12-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
329         * lua/liolibext.c: Large files in lua.
331 2013-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
333         Fix a serious bug related to large numbers in pdfimages.
334         Mail from Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 6 Dec 2013.
335         * pdf/pdftypes.h: Change pdffloat.m from long to int64_t.
336         Define i32round(a) and i64round(a) instead of lround(a).
337         * font/writet3.w: Cast arg2 of setpdffloat to int64_t.
338         * image/writejp2.w: Use uint64_t instead of unsigned long long.
339         * image/pdftoepdf.w, pdf/pdfgen.w, pdf/pdfglyph.w,
340         pdf/pdfimage.w, pdf/pdfpage.w, pdf/pdfrule.w: Replace lround(a)
341         by i32round(a) or i64round(a).
343 2013-09-20  Karl Berry  <karl@tug.org>
345         * lua/luainit.w (lua_initialize) [NATIVE_TEXLIVE_BUILD]: omit date.
346         * tex/printing.w (print_banner) [NATIVE_TEXLIVE_BUILD]: replace
347         date with WEB2CVERSION for TL binaries.
349 2013-08-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
351         * font/writecff.w: Fix a bug in write_cid_cff(). There was not
352         pdf_end_dict() for the corresponding pdf_begin_dict().
354 2013-07-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
356         * font/writettf.w: Treat unknown 'post' table versions
357         (found in some broken fonts) as 3.0, i.e., no Glyph names.
359 2013-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
361         * am/luatex.am, tests/luaimage.tex: Add a .pdf image.
363 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
365         * pdf/pdfgen.w: Use "%"LONGINTEGER_PRI"d" format specifier to
366         print (LONGINTEGER_TYPE) casted longinteger and off_t variables.
368 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
370         * lua/luainit.w (init_kpse, lua_initialize):
371         Use kpse_program_basename().
373 2013-07-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
375         * luaimage.test, tests/luaimage.tex: New test and data.
376         * am/luatex.am: Add the new test.
378 2013-07-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
380         * luatex.c : Replace lines between "#if defined (TeX) && defined (IPC)"
381         and "#endif /* TeX && IPC */" with those in texmfmp.c.
383 2013-07-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
385         * luatex.c, ptexlib.h: Revert the previous change.
386         * luatex.c [MSVC]: Undef timezone before including <time.h>.
388 2013-06-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
390         * luatex.c, ptexlib.h: Slightly modify because Visual Studio cannot
391         compile luatex.c.
393 2013-06-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
395         * lua/lcallbacklib.c, lua/luainit.w: Replace index() => strchr().
397         * ptexlib.h: More general cases for not been included first.
399         * lang/hyphen.h: Do not '#include "ptexlib.h"'.
400         * lang/hyphen.w: Include ptexlib.h instead of lang/hyphen.h.
402 2013-06-28  Karl Berry  <karl@tug.org>
404         * ptexlib.h: complain if various common things are #defined;
405         this must be the first #include.
407 2013-06-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
409         Bug fix for LuaTeX crash on 32bit Unix systems from Taco,
410         tlbuild mail 26 Jun 2013 16:10:35,
411         http://tug.org/pipermail/tex-live/2013-June/033782.html
412         * image/writejbig2.w, image/writejp2.w, image/writejpg.w,
413         image/writepng.w: Always first include ptexlib.h.
415 2013-06-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
417         * am/libluatex.am, am/luasocket.am, am/luatex.am:
418         Correct dependencies for build `on demand'.
420 2013-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
422         * lua52/: Moved to ../../../libs/lua52/.
423         * am/libluatex.am: Adapted.
424         * am/liblua52.am: Removed.
426 2013-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
428         * image/epdf.h, image/writeimg.w, lua/limglib.c,
429         lua/lpdfscannerlib.cc, lua/lstrlibext.c, lua/luatex-api.h,
430         lua/texluac.w, ptexlib.h: Replace 'lua52/lua.h' => 'lua.h'.
432 2013-06-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
434         * lua/lpdfscannerlib.cc: Include <poppler-config.h> instead of
435         <poppler/poppler-config.h>.
437 2013-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
439         * lua/luainit.w: Handle '--luac' and '--luaconly' (from Akira).
441 2013-04-16  Elie Roux  <elie.roux@telecom-bretagne.eu>
443         * font/tfmofm.w: check for .ofm as well as .tfm.
444         * tex/mainbody.w: check for !ini_version before initialize().
446 2013-04-16  Karl Berry  <karl@tug.org>
448         * lua/luainit.w (parse_options): GPLv2+, not just GPLv2 (after
449         discussion with Taco).
451 2013-04-14  Karl Berry  <karl@tug.org>
453         * lua/luainit.w: 2013
455 2013-04-08  Taco Hoekwater  <taco@luatex.org>
457         * luasocket/src/smtp.lua: uncomment require 'coroutine'
458         * luasocket/src/smtp_lua.c: regenerated
460 2013-04-05  Taco Hoekwater  <taco@luatex.org>
462         Import luatex beta 0.76.0 (released version)
464 2013-04-04  Karl Berry  <karl@tug.org>
466         * lua52/liolib.c: #include <unistd.h>.  Needed on FreeBSD
467         per Nikola Lecic, tlbuild 1 Apr 2013 02:10:08.
469 2013-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
471         Import LuaTeX beta-0.75.0 from LuaTeX repository (r4604).
473 2013-03-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
475         * am/luafontforge.am (EXTRA_DIST): Drop unused files.
477 2013-03-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
479         * lua52/*, am/liblua52.am (new): Add lua-5.2.1 for 0.75.0.
481 2013-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
483         * am/luatex.am: Allow subdir-objects.
485 2013-01-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
487         * pdf/pdftables.h: Support large files (from Martin).
489 2013-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
491         * luatex.c (mk_shellcmdlist): Simplify (sync with texmfmp.c).
493 2013-01-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
495         * pdf/pdfgen.w (write_stream_length): Cast length for printing.
497 2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
499         * am/libluatex.am (luatex_*_ctangle, pdflua.c):
500         Enable silent rules.
502 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
504         * lua/lkpselib.c: Use kpse_readable_file() with non-const arg.
506 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
508         * lua/lepdflib.cc: No need to test for Annot::decRefCnt with
509         poppler 0.18 or better.
511 2012-11-06  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
513         * pdf/pdflistout.w: sync with r4471 (a bug fix by H. Henkel).
515 2012-10-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
517         * tex/texfileio.w: input by pipe was impossible. enable it.
519 2012-10-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
521         * lua/luainit.w (lua_initialize): Free two malloc()ed strings.
523 2012-10-10  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
525         * luatex.c: Modify determination of fullpath for restricted shell
526         escape commands.
528 2012-10-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
530         Avoid TL vs W32TeX differences (from Akira).
531         * luatex.h: Include "ptexlib.h" instead of <luatexdir/ptexlib.h>
532         as in all other cases.
533         * ptexlib.h: Use _MSC_VER instead of MSVC.
534         * image/epdf.h: Change arg3 of extern void pdf_begin_obj() from
535         bool to int, as declared and defined in pdf/pdfgen.[hw].
536         FIXME: There should be only one extern declaration in one file.
538 2012-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
540         The openbsd compat library is no longer used.
541         * image/epdf.h, lua/luainit.w, ptexlib.h, utils/utils.w:
542         Drop #include "openbsd-compat.h".
543         * am/libluatex.am, am/luatex.am: Remove OBSDCOMPAT_*.
545 2012-09-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
547         * lua/luainit.w (parse_options): Avoid cast const => non-const.
549 2012-09-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
551         * lua/luainit.w (parse_options): allow lualatex "\input" "a b" on
552         Windows.
554 2012-09-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
556         * luatex-api.h: Avoid conflicting extern declaration of environ,
557         declared in <stdlib.h> for WIN32 (from W32TeX).
559 2012-08-21  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
561         * tex/texdeffont.w (tex_def_font): Recover the old code, because the
562         new code seems not to work.
564 2012-08-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
566         * ptexlib.h: Drop unused definition of M_PI.
568 2012-08-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
570         * tex/dumpdata.h: Remove the swap_items() prototype.
571         * luatex.c (swap_items): Moved from here ...
572         * tex/texfileio.w (swap_items): ... to here and declared static.
574         * luatex.c (input_line) [WIN32]: Sync with ../lib/texmfmp.c.
575         Detect and skip Byte order marks.
576         * tex/texfileio.[ch] [WIN32]: Use Poptr to record pipe input.
578 2012-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
580         * luatex.[ch] [W32TeX]: Use DLLPROC for luatex.dll.
581         * pdf/pdfgen.w [WIN32]: Convert file names '\\' -> '/'.
583 2012-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
585         * tex/texdeffont.w (tex_def_font): Better tracing of font
586         definitions, adapted from e-TeX version 2.5.
588 2012-07-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
590         * pdf/pdfpage.w (print_pdffloat): Cope with broken snprintf().
591         * lua/luastuff.w (luatex_error): Drop snprintf() return value.
593 2012-07-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
595         * lua/luainit.w (lua_initialize): Avoid using asprintf().
596         * utils/utils.w (initversionstring): Avoid using asprintf().
598         One and only one prototype per function.
599         * image/epdf.h, utils/utils.h: Add #include "luatex-common.h"
600         and move pdftex_{fail,warn} prototypes from here ...
601         * luatex-common.h (new): ... to here.
602         * am/libluatex.am (libluatex_a_SOURCES): Add the new file.
604 2012-07-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
606         * lua/loslibext.c os_gettimeofday): Use int64_t (from W32TeX).
608 2012-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
610         * image/pdftoepdf.cc (get_file_checksum): Use uint64_t and PRIu64.
611         * image/writejp2.w, lua/loslibext.c: Use uint64_t.
613 2012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
615         * tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.
617 2012-07-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
619         * image/writejbig2.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRId.
620         * pdf/pdfgen.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRIi.
622 2012-07-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
624         * utils/utils.w: Use EXIT_FAILURE instead of EX_SOFTWARE.
626 2012-07-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
628         * pdf/pdfgen.w: Cast xfseeko() arg2 to avoid MSVC warning.
630 2012-07-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
632         * tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.
634 2012-07-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
636         * luatex.c (shell_cmd_is_allowed): Change Arg1 from 'const char **'
637         into 'const char *'; sync with ../lib/texmfmp.c.
638         * luatex.h, lua/liolib.c, lua/loslibext.c, tex/texfileio.w: Adapt.
640         * lua/liolib.c, luascripts/txt2zlib.w: Use binary file io mode.
641         From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX).
643 2012-05-22  Taco Hoekwater  <taco@luatex.org>
645         * lua/lkpselib.c: new function kpse.default_texmfcnf() that
646         reports the value of DEFAULT_TEXMFCNF, for the benefit of
647         context mkiv on Debian.
649 2012-05-22  Taco Hoekwater  <taco@luatex.org>
651         * luafontloader/fontforge/fontforge/splinesave.c,
652         luafontloader/fontforge/fontforge/splinefont.h: drop parts of the
653         Type1 saving routines (unused) to remove a compiler warning.
655         * pdf/pdftypes.h, lua/limglib.c, image/epdf.h, image/writeimg.w,
656         image/writejbig2.w, ptexlib.h: more off_t trouble.
658 2012-05-21  Taco Hoekwater  <taco@luatex.org>
660         * tex/printing.w, lua/ltokenlib.c, lua/llanglib.c, lua/llualib.c,
661         lua/lnodelib.c, lua/luainit.w, lua/ltexiolib.c,
662         lua/lcallbacklib.c, lua/lstatslib.c, lua/ltexlib.c,
663         lua/loslibext.c, lua/lkpselib.c, lua/luatoken.w, lua/llfslibext.c,
664         lua/lfontlib.c, lua/luanode.w, lua/lpdflib.c, lua/luastuff.w:
665         when loading both "ptexlib.h" and "lua/luatex-api.h", make sure
666         that "ptexlib.h" is loaded first because that reads config.h
667         which affects loading of system headers (via Large File Support,
668         specifically).
670 2012-05-20  Khaled Hosny  <khaledhosny@eglug.org>
672         * tex/mlist.w: fix "warning: 'ext' might be used uninitialized".
674 2012-05-18  Taco Hoekwater  <taco@luatex.org>
676         * lua/ltexlib.c: fix a ConTeXt crash on `\endinput \end`.
678 2012-05-18  Khaled Hosny  <khaledhosny@eglug.org>
680         * tex/commands.h, tex/commands.w, tex/maincontrol.h,
681         tex/maincontrol.w, tex/mathcodes.h, tex/mathcodes.w, tex/scanning.w, 
682         tex/texmath.w, tex/mlist.w: backport math relatex changes from 0.71
683         * luatex.c: bump version to 0.70.1
685 2012-05-10  Hartmut Henkel  <hartmut@luatex.org>
686         and Peter Breitenlohner  <peb@mppmu.mpg.de>
688         * lua/lepdflib.cc: Adapt for poppler 0.19.4.
690 2012-05-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
692         * lua/luainit.w (lua_initialize): Use WEB2CVERSION.
693         * tex/printing.w (print_banner, log_banner): Same.
695 2012-02-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
697         * luatex.h: Remove definition of WRITE_OUT, now in ../cpascal.h.
699 2012-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
701         * image/writejbig2.w (getstreamlen): Change type to `off_t'.
702         Use LONGINTEGER_TYPE and LONGINTEGER_PRId for printing.
704 2012-01-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
706         Consistent support for large JBIG2 files.
707         * image/writejbig2.w: Change type of various struct members, local
708         variables and findstreamstart() from `long' or `unsigned long'
709         to `off_t'.  Do not use xfseek and xfseeko for the same file.
711 2011-10-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
713         * lua/lepdflib.cc: Test poppler 0.16.x / 0.17.x features.
715 2011-10-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
717         * am/libluatex.am: Avoid to `clean' ../mplibdir/lmplib.c.
719         * am/txt2zlib.am (noinst_PROGRAMS): Conditionally add txt2zlib,
720         such that txt2zlib$(EXEEXT) gets cleaned.
722 2011-09-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
724         * tex/printing.w (print_file_line): Bug fix: avoid uninitialized
725         lineno - from ../tex.ch.
726         * tex/inputstack.w: Slightly reformulate printing of current
727         line - from ../etexdir/etex.ch.
729 2011-08-04  Magnus Granberg  <zorry@gentoo.org>
731         * luatex.c: Do not #include empty file <kpathsea/recorder.h>.
733 2011-06-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
735         Reduce memory leaks.
736         * lua/lkpselib.c (do_lua_kpathsea_lookup): Free string no longer
737         used.
739 2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
741         lua/lkpselib.c (find_dpi): Allow find_suffix() to return a
742         const string.
744 2011-05-19  Taco Hoekwater  <taco@luatex.org>
746         * lua/ltexlib.c: fix a bug on negative catcode table arguments.
747         * luatex.c, NEWS: luatex is now version 0.70.1
748         * luatex_svnversion.h: updated to reflect latest luatex revision (4277)
750 2011-05-18  Taco Hoekwater  <taco@luatex.org>
752         * font/writefont.w (write_fontdescriptor):  Fix for non-embedded
753         fonts in the PDF output.
754         * image/writeimg.w (read_img): Fix for non-existent images that
755         could case a crash.
756         * luatex_svnversion.h: updated to reflect latest luatex revision (4273)
758 2011-05-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
760         * luatex.c (ipcpage): Add 'free(cwd)', remove Aleph comment.
762 2011-05-17  Taco Hoekwater  <taco@luatex.org>
764         * tex/texfileio.w (luatex_synctex_get_current_name): switch to xgetcwd()
765         from kpathsea
766         * luatex_svnversion.h: updated to reflect latest luatex revision (4272)
768 2011-05-15  Taco Hoekwater  <taco@luatex.org>
770         * tex/texfileio.w (luatex_synctex_get_current_name): work around a 
771         bug in getcwd().
772         * luatex_svnversion.h: updated to reflect latest luatex revision (4267)
774 2011-05-13  Taco Hoekwater  <taco@luatex.org>
776         * lua/luainit.w: change the copyright year to 2011.
777         * luatex_svnversion.h: updated to reflect latest luatex revision (4264)
778         * NEWS: forgot to mention synctex change
779         
780 2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
782         * image/writepng.w: #define PNG_FP_1 for libpng < 1.5.0.
784 2011-05-11  Taco Hoekwater  <taco@luatex.org>
786         * image/writepng.w: fix for 16bit images in pdf 1.4 (8bit) mode.
787         * luatex_svnversion.h: updated to reflect latest luatex revision (4258)
789 2011-05-09  Taco Hoekwater  <taco@luatex.org>
791         * tex/texfileio.[hw]: file relative filenames in synctex output.
792         * luatex_svnversion.h: updated to reflect latest luatex revision (4256)
794 2011-05-08  Taco Hoekwater  <taco@luatex.org>
796         * dvi/dvigen.w, pdf/pdfgen.w: fix missing newline after
797         'No pages of output' message.
798            
799 2011-05-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
801         * lua/luainit.w, tex/texfileio.w: fix recorder location.
803 2011-05-05  Taco Hoekwater  <taco@luatex.org>
805         * image/writepng.w: fixes for libpng 1.5.2.
806         * lua/lnodelib.c (lua_nodelib_fields): fix field count for 
807         nodes without subtype.
808         * lua/llfslibext.c: fix an variable type and a compiler warning.
809         * lua/loslibext.c (os_execute): fix non-argument use of os.execute.
810         * lua/ltexlib.c (do_luacprint): fix use of bad catcode tables.
811         * lua/luainit.w (HAVE_ASPRINTF): superfluous test removed.
812         * luatex.c: bump version to 0.70, remove SOCK_NONBLOCK definition.
813         * luatex_svnversion.h (luatex_svn_revision): now at 4247.
814         * NEWS: updated for luatex 0.70.0 release.
815         * tex/texfileio.w: patch from bug 615 (recorder filename location).
816         * tex/texmath.w: fix display alignment in TRT mode.
817         * utils/utils.w (HAVE_ASPRINTF): superfluous test removed.
819 2011-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
821         * utils/synctex{-common.h,.c,.h} (removed): Use copies from
822         ../synctexdir.
823         * synctex-luatex.h: Moved from here to ../../synctexdir.
824         * ptexlib.h, am/libluatex.am, am/luatex.am: Adapted. 
826 2011-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
828         * utils/utils.w (POPPLER_VERSION): Now defined in
829         poppler-config.h for poppler from the TeX Live tree, or in the
830         Makefile for an installed version.
832 2011-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
834         * am/libluatex.am, am/txt2zlib.am: When cross compiling skip
835         txt2zlib and use installed luascripts/pdflua.c.
837         Need poppler at least 0.12 for PDFDoc::getPDF*Version().
838         * image/pdftoepdf.cc: Remove code for older poppler versions.
840 2011-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
842         * image/writepng.w: Fix to build with png-1.5 (and avoid
843         `deprecated' warnings with png-1.4). The transformations part
844         is removed on recommendation by John Bowler (a png developer).
845         Mail from Thomas Klausner <tk@giga.or.at>, Sun, 30 Jan 2011.
847         * pdf/pdfgen.w: ANSI C function definitions.
849         * pdf/pdfluaapi.w (new_pdflua): Declare zp as const.
851         * am/libluatex.am (EXTRA_DIST): Distribute luascripts/pdflua.lua.
852         * am/txt2zlib.am (EXTRA_DIST): Distribute luascripts/txt2zlib.w.
854 2011-04-12  Taco Hoekwater  <taco@luatex.org>
856         * import of luatex 0.66.0, released version
858 2011-03-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
860         * am/libluatex.am: Use AM_CFLAGS instead of libluatex_a_CFLAGS.
861         * am/luatex.am: Use AM_CFLAGS instead of luatex_CFLAGS.
863 2011-03-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
865         * am/libluatex.am (libluatex_a_CPPFLAGS): Remove `-Iluatexdir'
866         and add `-DSYNCTEX_ENGINE_H='<utils/synctex-luatex.h>''.
867         * am/luatex.am (luatex_CPPFLAGS): The same.
869         * utils/synctex.c: Fix several typos in comments to reduce diffs
870         between files in synctexdir/ and luatexdir/utils/.
872 2011-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
874         * am/luatex.am [WIN32]: Add texlua.exe and texluac.exe wrappers
875         for MinGW.
877 2010-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
879         * am/luatex.am: install-exec-hook and uninstall-hook rules now
880         in ../Makefile.am; append required symlinks to bin_links.
882 2010-09-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
884         * luatex.test (new): Just testing 'luatex -credits'.
885         * luatexdir/am/luatex.am: Adjusted.
887 2010-07-12  Taco Hoekwater <taco@luatex.org>
889         * luafontloader/src/luafflib.c: quick fix for crashes triggered
890         by invalid panose data in Open/TrueType fonts.
891         * luatex_svnversion.h: new version (rev 3736).
893 2010-07-01  Taco Hoekwater <taco@luatex.org>
895         * lang/texlang.w, lua/lnodelib.c, luatex.c, luatex_svnversion.h,
896         pdf/pdfglyph.w, pdf/pdfpage.w, NEWS: new versions from released 0.60.2
897         
898 2010-06-18  Taco Hoekwater <taco@luatex.org>
900         * tex/textoken.h (smemory_word): add endiannes test
901         * font/texfont.h (liginfo, kerninfo): add endianness test
902         * luatex_svnversion.h: new version
904 2010-06-13  Taco Hoekwater <taco@luatex.org>
906         * tex/inputstack.h (in_state_record): force two bitfields to be signed,
907         after a bug report from Vladimir Volovich <vvv@vsu.ru>
908         * luatex_svnversion.h: new version
910 2010-06-11  Taco Hoekwater <taco@luatex.org>
912         * font/sfnt.w, font/sfnt.h, 
913         luafontloader/fontforge/Unicode/ucharmap.c,
914         luafontloader/fontforge/fontforge/python.c, 
915         luafontloader/fontforge/inc/basics.h: change include of "config.h"
916         to <w2c/config.h>.
917         * image/epdf.h, lua51/luaconf.h: change include of "c-auto.h"
918         to <w2c/c-auto.h>.
919         
920 2010-06-10  Taco Hoekwater <taco@luatex.org>
922         * luatex.c (swap_items): debugged.
923         * tex/texfileio.w (do_zdump): reswap the swapped items to avoid
924         crashes when called as |dump_things|.
926 2010-06-10  Taco Hoekwater <taco@luatex.org>
928         * luafilesystem/src/lfs.c(get_dir): do not assume Gnu C compiler.
930 2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
932         * am/libluatex.am (libluatex_a_CPPFLAGS): Add $(AM_CPPFLAGS).
933         * am/luafontforge.am (libff_a_CPPFLAGS): Add $(AM_CPPFLAGS).
934         * am/luatex.am (luatex_CPPFLAGS): Add $(AM_CPPFLAGS).
936 2010-06-10  Taco Hoekwater <taco@luatex.org>
938         * luasocket/src/options.c, luafontloader/fontforge/fontforge/parsettfatt.c,
939         luafontloader/fontforge/fontforge/parsettf.c,
940         luafontloader/fontforge/fontforge/lookups.c: enlarge static buffers
941         for sprintf().
942         
943 2010-06-04  Taco Hoekwater <taco@luatex.org>
945         * luatex.c (shell_cmd_is_allowed): make sure only commands with
946         absolute path names are executed on win32 in restricted mode --
947         patch from Akira Katuto.
949 2010-05-28  Taco Hoekwater <taco@luatex.org>
951         * luamd5/md.5c: bring in a new version from kepler to fix a
952         portability problem with stdint.h.
953         * luafontloader/src/ffdummies.c, lua/texluac.w: guard __attribute__
954         usage, which is a GNUC only feature.
955             
956 2010-05-19  Taco Hoekwater <taco@luatex.org>
958         * printing.w (print_banner, log_banner), luainit.w (lua_initialize):
959         add WEB2CVERSION to the banner.
961 2010-05-13  Taco Hoekwater <taco@luatex.org>
963         * utils/synctex.c, utils/synctex-luatex.h: update from Jérome
964         Laurens, bringing luatex in-line with the core synctex distribution
965         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
966         
967 2010-05-06  Taco Hoekwater <taco@luatex.org>
969         * luatex.c (calledit): use ifdef __MINGW32__ instead of WIN32.
970         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
972 2010-04-28  Taco Hoekwater <taco@luatex.org>
974         * tex/maincontrol.w: Fixed the error message for improper 
975         use of \protected, reported by Heiko Oberdiek 
976         <heiko.oberdiek@googlemail.com>.
978 2010-04-28  Taco Hoekwater  <taco@luatex>
980         * import of luatex 0.60.1, released version
982 2010-04-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
984         * image/epdf.h, lua51/luaconf.h: #include <c-auto.h> instead of
985         <web2c/c-auto.h>.
987 2010-04-24  Taco Hoekwater  <taco@luatex>
989         * lua/loslibext.c: fix os.exec() and os.spawn(), twice
991 2010-04-23  Taco Hoekwater  <taco@luatex>
993         * lua/loslibext.c: fix os.exec() and os.spawn() once more
995 2010-04-23  Taco Hoekwater  <taco@luatex>
997         * lua/loslibext.c: fix os.exec() and os.spawn()
998         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
1000 2010-04-23  Taco Hoekwater  <taco@luatex>
1002         * new import from luatex repository (HEAD of 0.60.x branch)
1004 2010-04-20  Taco Hoekwater  <taco@luatex>
1006         * new import from luatex repository (HEAD of 0.60.x branch)
1008 2010-04-13  Taco Hoekwater  <taco@luatex>
1010         * am/luafontforge.am: delete three lines.
1011         * luafontloader/fontforge/Unicode/dump.c: deleted
1012         * luafontloader/fontforge/Unicode/backtrns.c: deleted
1013         * luafontloader/fontforge/Unicode/unialt.c: deleted
1015 2010-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
1017         * image/pdftoepdf.cc: Fix building with libpoppler.
1018         * luatex.c: Fix building for MinGW32.
1020         * luatex.c (ipcpage): Avoid compiler warning.
1021         (catch_interrupt): Declare as static.
1022         * pdf/pdflistout.w (init_*_backend_functions): ANSI C func defs.
1024 2010-04-13  Taco Hoekwater  <taco@luatex>
1026         * new import from luatex repository (HEAD of 0.60.x branch)
1028 2010-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1030         * am/luatex.am: Remove libmplib.a from $($(luatex_OBJECTS)'s
1031         dependencies ...
1032         * am/libluatex.am: and add to $(libluatex_a_OBJECTS)'s
1033         dependencies; otherwise parallel builds may fail.
1035 2010-04-04  Taco Hoekwater  <taco@luatex>
1037         * import of luatex 0.60.0, with a few local changes:
1038         * luatex.c (ipcpage): fix fetching of 'name'.
1039         * dvi/dvigen.w (dvi_end_page): fix IPC flushing.
1040         * image/pdftoepdf.cc (write_epdf1): comment out use of 
1041         page->getResourcesNF() and page->getMetadataNF().
1043 2010-03-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
1045         * luatangle.ch: Use kpse_set_program_name(argv[0], nil) instead
1046         of kpse_set_progname(argv[0]).
1048 2010-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
1050         * am/luamisc.am (libluamisc_a_CPPFLAGS): Adapt to zziplib now
1051         in ../../../libs/zziplib/.
1053 2010-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
1055         Moved zziplib/ to ../../../libs/zziplib.
1056         * am/luamisc.am (libluamisc_a_DEPENDENCIES): Adapt.
1057         * am/luatex.am (luatex_ldadd): Adapt.
1059 2010-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
1061         Clarify dependencies between luaTeX libraries:
1062         * am/libzzip.am: Remove dependency on liblua51.a.
1063         Remove memdisk.[ch] and mmapped.[ch] from libzzip_a_SOURCES and
1064         add them to EXTRA_DIST.
1065         * am/luamisc.am: Add dependency on libzzip.a.
1066         * am/luasocket.am: Replace dependency on libzzip.a by liblua51.a.
1068 2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1070         * utils/avl.c (avl_copy): Proper handling of const.
1072 2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1074         * luafontloader/src/luafflib.h: New file with prototypes used
1075         by libluatex.
1076         * luafontloader/src/luafflib.c: #include "luafflib.h".
1077         * font/writecff.c, font/writetype2.c: Remove the extern decls
1078         and #include <luafontloader/src/luafflib.h>.
1079         * font/writecff.c (writetype1w): Change tfm_size integer=>int.
1080         * am/luafontforge.am: Add the new file.
1082         * luatex-api.h: Add prototype for utf8_idpb(), renamed
1083         lua_utf8_idpb to avoid name conflicts with fontforge library.
1084         * lang/texlang.c: Declare utf8_idpb() as non-static.
1085         * tex/filename.c: Remove prototype for utf8_idpb().
1087         * tex/filename.c (scan_file_name): Don't assume a null byte
1088         after string created by utf8_idpb().
1090 2010-01-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
1092         * font/writettf.c: Remove extern charsetstr[].
1093         * lua/lkpselib.c: Remove extern luainit.
1094         * lua/luainit.c: Remove extern normalize_quotes(), argc, argv.
1095         * tex/textoken.c: Remove extern insert_vj_template().
1097         * utils/utils.h: Add extern declaration of fb_array ...
1098         * font/writet1.c, font/writettf.c: ... removed from here.
1099         * luatex-api.h: Add extern declaration of program_name_set ...
1100         * lua/luainit.c, lua/luatex.c: ... removed from here.
1101         * luatex-api.h: Add extern declaration of startup_filename,
1102         safer_option, and nosocket_option ...
1103         * lua/luastuff.c: ... removed from here.
1104         * lua/llualib.c (luabytecode_max): Change integer=>int.
1105         * luatex-api.h: Add extern declaration of luabytecode_max,
1106         luabytecode_bytes, luastate_bytes, callback_count, and
1107         saved_callback_count ...
1108         * lstatslib.c: ... removed from here.
1110 2010-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1112         * am/luatex.am (luatex_CFLAGS, luatex_CXXFLAGS),
1113         am/libluatex.am (libluatex_a_CFLAGS): Enable compiler warnings.
1115         Avoid most compiler warnings:
1117         * font/luatexfont.h, luatexdir/hyphen.h, image/writeimg.h,
1118         image/writejbig2.h, luatex.h, pdf/pagetree.h, pdf/pdfpage.h,
1119         utils/avlstuff.h, utils/utils.h: ANSI C function prototypes.
1120         * font/mapfile.c, font/writeenc.c, font/writefont.c,
1121         font/writet1.c, font/writettf.c, image/writeimg.c,
1122         image/writejbig2.c, lang/hyphen.c, pdf/pagetree.c,
1123         pdf/pdfpage.c, utils/avlstuff.c, utils/utils.c: ANSI C function
1124         definitions.
1126         * font/luafont.c, lang/texlang.c, lua/lcallbacklib.c,
1127         lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
1128         lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
1129         lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luanode.c,
1130         lua/luatoken.c: Remove 'char *' or 'unsigned char *'  casts of
1131         Lua strings.
1133         * font/texfont.h, font/writecff.h, luatex-api.h, luatex.h,
1134         nodes.h, primitive.h, ptexlib.h, utils/utils.h, font/dofont.c,
1135         font/luafont.c, font/tfmofm.c, font/vfovf.c, font/writecff.c,
1136         font/writefont.c, font/writet1.c, font/writettf.[ch],
1137         lang/hyphen.c, lang/texlang.c, lua/lcallbacklib.c,
1138         lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
1139         lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
1140         lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luainit.c,
1141         lua/luanode.c, lua/luastuff.c, lua/luatex.c, lua/luatoken.c,
1142         luatex.ch, tex/filename.c, tex/linebreak.c, tex/math.c,
1143         tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
1144         tex/textoken.c, utils/utils.c: Declare various function params
1145         and args, local and global vars, and struct members as const.
1147         * font/luafont.c, font/texfont.c, font/tfmofm.c, font/vfovf.c,
1148         font/writeenc.c, font/writefont.c, font/writet1.c,
1149         font/vfpacket.c, font/writettf.c, font/writetype2.c,
1150         image/writeimg.c, lang/hyphen.c, lang/texlang.c, lua/limglib.c,
1151         lua/llualib.c, lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c,
1152         lua/lstatslib.c, lua/ltexlib.c, lua/luainit.c, lua/luanode.c,
1153         lua/luastuff.c, mathcodes.c, tex/linebreak.c, tex/math.c,
1154         tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
1155         tex/textoken.c, utils/synctex.c, utils/utils.c:
1156         Declare functions and global vars as static.
1158         * font/texfont.c: #include "luatexfont.h" and remove externs.
1159         * image/writejpg.c: #include "writejpg.h".
1160         * image/writepng.c: #include "writepng.h".
1161         * lang/hnjalloc.c: #include "hnjalloc.h".
1162         * lua/texluac.c: #include "luatex-api.h".
1163         * utils/synctex.c: #include "synctex.h".
1164         * utils/utils.c: #include "utils.h".
1166         * lua/lcallbacklib.c: Remove prototype for lua_traceback().
1167         * ptexlib.h: Add prototype for get_command_id() ...
1168         * lua/ltokenlib.c: ... removed from here.
1169         * nodes.h: Add prototype for list_node_mem_usage() ...
1170         * lua/lnodelib.c: ... removed from here.
1171         * managed-sa.h: Add prototype for rawset_sa_item() ...
1172         * mathcodes.c, tex/math.c: ... removed from here.
1174         * inc-epdf.h: New file with prototypes for epdf_mark_glyphs(),
1175         epdf_create_fontdescriptor(), and epdf_write_enc() ...
1176         * image/epdf.h: ... removed from here.
1177         * image/epdf.h, font/writeenc.c: #include inc-epdf.h.
1178         * inc-vfovf.h: New file with prototype for make_vf_table() ...
1179         * lua/lfontlib.c: ... removed from here.
1180         * font/vfovf.c, lua/lfontlib.c: #include inc-vfovf.h.
1181         * inc-extra.h: New file with prototypes for check_isnode()
1182         and lua_nodelib_push_fast() ...
1183         * lua/limglib.c, lua/llanglib.c, lua/lstatslib.c, lua/ltexlib.c:
1184         ... removed from here.
1185         * lua/limglib.c, lua/llanglib.c, lua/lnodelib.c,
1186         lua/lstatslib.c, lua/ltexlib.c: #include "inc-extra.h".
1187         * am/libluatex.am (libluatex_a_SOURCES): Add the new files.
1189         * font/texfont.c (lua_char_exists_callback),
1190         font/vfovf.c (is_letterspaced_font),
1191         font/vfpacket.c (packet_command_names),
1192         font/writet1.c (free_glyph_names),
1193         image/writeimg.c (image_group_ref),
1194         lua/ltexlib.c (get_something_internal),
1195         tex/texnodes.c (print_free_chain),
1196         textcodes.c (clearcatcodestack):
1197         Skip unused static funcs and vars (via #if 0 ... #endif).
1199         * lua/luainit.c (lua_initialize): Replace string constant
1200         arguments of putenv() by non-const static string variables.
1202         * utils/avl.c (avl_delete): Don't reuse const input param for
1203         non-const return value.
1205         * utils/synctex.c: Rename synctexchar => synctex_char and
1206         synctexnode => synctex_node as declared in utils/synctex.h.
1208 2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1210         * luatangle.ch: Declare web_name, chg_name, pascal_name, and
1211         pool_name as const_c_string.
1213         * lua/lkpselib.c (readable_file, lua_kpathsea_readable_file):
1214         Drop non-const cast of {kpse,kpathsea}_readable_file() result.
1216 2010-01-03  Karl Berry  <karl@tug.org>
1218         * luatex.ch: propagate "executed safely" wording change.
1220 2009-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1222         * am/luatex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P).
1224 2009-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1226         * lua/loslibext.c (do_mkdtemp): Declare as static and skip
1227         compilation when not used.
1229 2009-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1231         * pdf/pagetree.c, utils/utils.c: Drop #ifdef HAVE_ASPRINTF and
1232         #include <stdio.h>.
1234 2009-12-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1236         * utils/synctex.c: Remove (already commented) extern declaration
1237         of gettexstring().
1239 2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
1241         * luatex.web: Use kpse_{in,out}_name_ok(), now in Kpathsea,
1242         instead of open{in,out}nameok().
1243         * luatex.defines: Replace open_{in,out}_name_ok by
1244         kpse_{in,out}_name_ok.
1246 2009-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1248         * image/pdftoepdf.cc: Adapt to poppler-0.12.
1250         * FIXME: image/epdf.h, utils/utils.h: Multiple prototypes for
1251         pdftex_fail, pdftex_warn, and probably others.
1253 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1255         * am/luatex.am: Adapt to new makecpool with one argument.
1257 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1259         * lua/luainit.c (dump_name, c_job_name, last_source_name,
1260         last_lineno): Drop extern declarations (now in texmfmp.h).
1261         (user_progname): Constify string.
1262         (lua_initialize): Avoid modifying the const_string 'dump_name'.
1264 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1266         * utils/synctex.c (synctex_suffix*): Constify strings.
1268 2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1270         * luatangle.ch: Eliminate the unused |end_of_TANGLE| label.
1272 2009-09-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
1274         * am/libzzip.am: Enable compiler warnings.
1275         * am/liblua51.am, am/libluatex.am, am/luafontforge.am,
1276         am/luamisc.am, am/luasocket.am, am/luatex.am: Prepare compiler
1277         warnings.
1279 2009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
1281         * lua/lstatslib.c, lua/luainit.c: Drop extern decl of ptexbanner.
1282         * utils/utils.c: #include <kpathsea/version.h> and drop extern
1283         decls.
1285 2009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
1287         * lua/liolib.c (io_popen): Changed Arg1 of shell_cmd_is_allowed().
1288         * lua/loslibext.c (os_exec, os_spawn, os_execute): Same.
1290 2009-08-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
1292         * am/luatangle.am: Adapt to web2c-sh.
1293         * am/luatex.am (luatex_tangle): Use tangle-sh.
1294         Adapt to tangle-sh and web2c-sh.
1296 2009-06-26  Taco Hoekwater <taco@luatex.org>
1298         * lua51/lcoco.c, lua51/lcoco.h: disable the coco patch on
1299         linux+ppc because it crashes the executable.
1301 2009-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1303         * font/writet1.c, image/epdf.[ch], utils/avlstuff.c:
1304         remove #include <kpathsea/c-proto.h>.
1305         
1306 2009-06-25  Taco Hoekwater <taco@luatex.org>
1307         
1308         * luatexdir: import of luatex release 0.40.6.
1310 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1312         * lua/luatex.c: drop P?C, P?H, use ANSI C function declarations.
1314 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1316         * font/writet1.c, image/epdf.c, utils/avlstuff.c:
1317         #include <stdarg.h>, not <kpathsea/c-vararg.h>.
1319 2009-06-09  Taco Hoekwater <taco@luatex.org>
1320         
1321         * luatexdir: import of luatex release 0.40.4.
1323 2009-06-08  Taco Hoekwater <taco@luatex.org>
1324         
1325         * luatexdir: import of luatex release 0.40.3.
1326         This affects many files in subdirectories.
1328 2009-06-04  Taco Hoekwater <taco@luatex.org>
1329         
1330         * luatexdir: "avoid variable declaration after statement" patch
1331         from Vladimir Volovich
1333 2009-06-03  Taco Hoekwater <taco@luatex.org>
1334         
1335         * luatexdir/luafontloader/fontforge/fontforge/namelist.c (psaltnames): add
1336         a dimension specifier, for AIX portability.
1338 2009-06-03  Taco Hoekwater <taco@luatex.org>
1339         
1340         * luatexdir: import of luatex release 0.40.2.
1341         This affects many files in subdirectories.
1343 2009-05-30  Peter Breitenlohner <peb@mppmu.mpg.de>
1345         * am/luatex.am (install-exec-hook, uninstall-hook):
1346         avoid dangling symlinks.
1348 2009-05-25  Peter Breitenlohner <peb@mppmu.mpg.de>
1350         * am/luatex.am (uninstall-hook): new target to uninstall texlua[c]
1351         symlinks.
1353 2009-05-25  Karl Berry  <karl@tug.org>
1355         * am/luatex.am (install-exec-hook): new target to install texlua[c]
1356         symlinks.
1358 2009-05-08  Taco Hoekwater <taco@luatex.org>
1359         
1360         * luatexdir: import of the current state of luatex, 0.40.1.
1361         This affects many files in subdirectories.
1363 2009-05-05  Peter Breitenlohner <peb@mppmu.mpg.de>
1365         * image/pdftoepdf.cc, utils/utils.c: adapt for poppler.
1367         patches from Norbert Preinig <preining@logic.at>
1369 2009-04-27  Taco Hoekwater <taco@luatex.org>
1371         * pdf/pdfpage.c: rename exp10 to exp10_arr to solve a 
1372         conflict with cygwin's <math.h>.
1373         * font/texfont.h: add #undef quad before definition to suppress a
1374         compiler warning under cygwin. 
1376 2009-04-22  Taco Hoekwater <taco@luatex.org>
1378         * luatexdir: import of the current state of luatex, 0.40.0. 
1379         This affects many files in subdirectories.
1381 2009-04-16  Taco Hoekwater <taco@luatex.org>
1383         * image/image.h: remove the trick that forced a local png.h
1385 2009-04-16  Taco Hoekwater <taco@luatex.org>
1387         * luatexdir: import of the current state of luatex, 0.39.0. 
1388         This affects many files in subdirectories.
1390 2009-03-27  Peter Breitenlohner <peb@mppmu.mpg.de>
1392         * am/luatex.am (luatex_c_h): avoid to split the C code
1393         (from Taco).
1395 2009-03-27  Taco Hoekwater <taco@luatex.org>
1397         * luatexdir: import of the current state of luatex, 0.37.0. 
1398         This affects many files in subdirectories.
1400 2009-03-05  Peter Breitenlohner <peb@mppmu.mpg.de>
1402         * image/pdftoepdf.cc: Uninclude <config.h>, included later
1403         by "epdf.h".
1405 2009-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
1407         * luatangle.ch: use kpse_open_file to locate input files,
1408         in order to respect WEBINPUTS (ported from tangle.ch).