synch with TL 37803
[luatex.git] / source / texk / web2c / luatexdir / ChangeLog
blobfa95d0f271ea84c3ea64937ee3c58f326963556a
1 2015-07-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
3         * lua/lkpselib.c: Also used for MFLua and MFLuaJIT.
5 2015-03-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
7         * luazip/src/luazip.c (zip_close): Sync with the upstream.
9 2015-03-19 Luigi Scarso <luigi.scarso@gmail.com>
11         New library newtokenlib; several bugs fixed.
13 2015-01-14 Luigi Scarso <luigi.scarso@gmail.com>
15         tex/mlist.w: mlist_to_hlist(pointer mlist, boolean penalties, int cur_style)
16         HH-LS: was cur_mu = x_over_n(get_math_quad(cur_size), 18);
17         This is an old bug so the fix can influence outcome       
18         The current mu is instead
19         cur_mu = x_over_n(get_math_quad(cur_style), 18);
20         Thanks to joseph.wright <joseph.wright@morningstar2.co.uk>
22 2014-12-21  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
24         * lua/lnodelib.c: Sync with the upstream. Luigi fixes 'print' for
25         alink(n) when n is an attribute node.
27 2014-12-20  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
29         * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
31 2014-12-18  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
33         * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
35 2014-12-17  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
37         * tex/texnodes.w: Sync with the upstream.
38         Luigi fixes a bug on cached attributes.
40 2014-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
42         Avoid implicit function declarations.
43         * am/luafontforge.am (libjitff_a_CPPFLAGS): Add -DLuajitTeX.
44         * am/luamisc.am (libluajitmisc_a_CPPFLAGS: Add -DLuajitTeX.
45         * lua/liolibext.c, lua/lnodelib.c, luafontloader/src/luafflib.c,
46         slnunicode/slnunico.c: Include lauxlib_bridge.h for LuaJITTeX or
47         lauxlib.h for LuaTeX.
48         * luafontloader/fontforge/fontforge/fontviewbase.c:
49         Include gfile.h.        
51 2014-12-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
53         Sync with https://foundry.supelec.fr/svn/luatex/trunk/source/
54                           texk/web2c/luatexdir/ r5092.
56 2014-11-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
58         * luatex.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
60 2014-11-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
62         * luatex.c: Indentation.
64 2014-10-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
66         * luatex.[ch] [W32TEX]: Handle DLLPROC as for TeX & Co.
67         * am/luatex.am: Define LuajitTeX.
69 2014-10-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
71         * luatex.[ch]: More sync with ../texmfmp.h and ../lib/texmfmp.c.
73 2014-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
75         * luatex.c: Apply some code from W32TeX.
77 2014-10-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
79         * luatex.c: Sync with some recent changes in ../lib/texmfmp.c
80         (and luatexfirst.c from W32TeX).
82 2014-09-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
84         * am/luatex.am: Factor out common *_LDADD and *_DEPENDENCIES.
86 2014-08-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
88         * image/writepng.w: Avoid PNG warnings.
90 2014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
92         * image/epdf.h, lua/lepdflib.cc: Use code for poppler >= 0.25
93         with <StructTreeRoot.h> or code for poppler <= 0.24 without.
94         * fake/StructTreeRoot.h (removed): Obsolete.
95         * am/libluatex.am: Adapted.
97 2014-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
99         * luasocket/src/wsocket.h: Avoid redefinition of _WIN32_WINNT.
101 2014-07-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
103         * am/libluatex.am: Compiling liblua(jit)tex.a requires mplib.h;
104         add libmplib.a as dependency.
106 2014-06-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
108         * am/libluatex.am: Remove ../mplibdir/lmplib.c from sources and
109         dependency on libmplib.a.
110         * am/luatex.am: Add ../mplibdir/lmplib.c to sources, dependency
111         on libmplib.a, and -DpdfTeX to CPPFLAGS.
113         * am/luatex.am: Adapt to MetaPost 1.999 (libgmp and libmpfr).
115 2014-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
117         * font/mapfile.w, font/tounicode.w, font/writet1.w,
118         font/writettf.w, lang/texlang.w, pdf/pdfgen.w: Avoid undefined
119         behaviour when char is signed.
121 2014-06-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
123         * lua/luatex-api.h: Use '#define LUAI_HASHLIMIT 5' as default,
124         as in ../../libs/lua52/lua-5.2.3/src/lstring.c and in
125         ../../libs/luajit/LuaJIT-2.0.3/src/lj_str.c.
126         * lua/lstatslib.c, tex/printing.w: Use LUAI_HASHLIMIT instead of
127         LUATEX_HASHCHARS and LUAJITTEX_HASHCHARS.
129         * lua/luatex-api.h: Define MyName as "LuajitTeX"/"LuaTeX" and
130         my_name as "luajittex"/"luatex".
131         * lua/luainit.w, luatex.c, tex/printing.w: Use MyName, my_name.
133 2014-05-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
135         * tex/filename.w: Avoid redefinition of promptfilenamehelpmsg,
136         (re)use definition in ../cpascal.h.
138 2014-05-13  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
140         * tex/filename.w: Print the usual TeX promptfilenamehelpmsg also
141         in lua(jit)tex.
143 2014-04-10  Taco Hoekwater  <taco@luatex.org>
145         * luatex.c: hardwire the compilation date, preventing the 
146         luatex binary from constantly changing after recompilation
148 2014-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
150         * pdf/pdfgen.[hw]: Declare get_pdf_table_string() as
151         'static const char *'.
153 2014-03-29  Taco Hoekwater  <taco@luatex.org>
155         Import LuaTeX 0.79.1 from LuaTeX repository (released)
157 2014-03-28  Taco Hoekwater  <taco@luatex.org>
159         Import LuaTeX 0.79.0 from LuaTeX repository (released)
161 2014-03-15  Taco Hoekwater  <taco@luatex.org>
163         Import LuaTeX snapshot 0.79.0 from LuaTeX repository (r4903).
165 2014-02-10  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
167         * lua/luatex-api.h: MSC version has luaopen_bit32() in dll.
169 2014-02-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
171         * lua/luatex-api.h: Declare luaopen_bit32();
173 2014-02-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
175         * am/libluatex.am, am/luafontforge.am, am/luamisc.am,
176         am/luasocket.am, am/luatex.am: Add rules for LuaJITTeX.
178         * luajittex.test, luajitimage.test: New tests for LuaJITTeX.
180         Avoid compiler warnings.
181         * lua/liolibext.c, lua/luajitstuff.w: Drop compilation of
182         unused static functions.  Avoid to compute unused value.
183         * lua/texluajitc.w: Include header for luac_main() prototype.
184         * lua/luatex-api.h: Drop duplicate luac_main() prototype.
186 2014-02-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
188         * lua/luainit.w: Change a little for LuaJITTeX.
190 2014-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
192         Import LuaTeX snapshot 0.78.3 from LuaTeX repository (r4772).
194         * luatexfont.h: Keep the prototype for auto_expand_font() as
195         long as the function remains in vfovf.w.
197         * liolibext.c [__MINGW32__]: Don't redefine l_fseek etc.
199 2014-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
201         * am/libluatex.am, am/luafontforge.am, am/luamisc.am,
202         am/luasocket.am, am/luatex.am: Prepare for LuaJITTeX.
204 2014-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
206         * tex/printing.w (print_cs): Bug fix from TeX 3.14159265.
208 2014-01-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
210         * image/writepng.w: Allow libpng >= 1.6.3 to read images with
211         incorrect CMF bytes.
213 2013-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
215         * pdf/pdfgen.w (pdf_end_stream): Always write "\nendstream" for
216         PDF/A-1b compliance.
218 2013-12-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
220         * lua/liolibext.c: Large files in lua.
222 2013-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
224         * image/epdf.h, lua/lepdflib.cc: Adapt for poppler-0.25.x.
225         * fake/StructTreeRoot.h (new): Provide 0.24.4 compatibility.
226         * am/libluatex.am: Adapted.
228 2013-12-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
230         * font/writet3.w: More cast arg2 of setpdffloat to int64_t.
231         * pdf/pdfpage.w: Fix i32round() => i64round().
233 2013-12-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
235         * lua/liolibext.c: Large files in lua.
237 2013-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
239         Fix a serious bug related to large numbers in pdfimages.
240         Mail from Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 6 Dec 2013.
241         * pdf/pdftypes.h: Change pdffloat.m from long to int64_t.
242         Define i32round(a) and i64round(a) instead of lround(a).
243         * font/writet3.w: Cast arg2 of setpdffloat to int64_t.
244         * image/writejp2.w: Use uint64_t instead of unsigned long long.
245         * image/pdftoepdf.w, pdf/pdfgen.w, pdf/pdfglyph.w,
246         pdf/pdfimage.w, pdf/pdfpage.w, pdf/pdfrule.w: Replace lround(a)
247         by i32round(a) or i64round(a).
249 2013-09-20  Karl Berry  <karl@tug.org>
251         * lua/luainit.w (lua_initialize) [NATIVE_TEXLIVE_BUILD]: omit date.
252         * tex/printing.w (print_banner) [NATIVE_TEXLIVE_BUILD]: replace
253         date with WEB2CVERSION for TL binaries.
255 2013-08-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
257         * font/writecff.w: Fix a bug in write_cid_cff(). There was not
258         pdf_end_dict() for the corresponding pdf_begin_dict().
260 2013-07-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
262         * font/writettf.w: Treat unknown 'post' table versions
263         (found in some broken fonts) as 3.0, i.e., no Glyph names.
265 2013-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
267         * am/luatex.am, tests/luaimage.tex: Add a .pdf image.
269 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
271         * pdf/pdfgen.w: Use "%"LONGINTEGER_PRI"d" format specifier to
272         print (LONGINTEGER_TYPE) casted longinteger and off_t variables.
274 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
276         * lua/luainit.w (init_kpse, lua_initialize):
277         Use kpse_program_basename().
279 2013-07-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
281         * luaimage.test, tests/luaimage.tex: New test and data.
282         * am/luatex.am: Add the new test.
284 2013-07-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
286         * luatex.c : Replace lines between "#if defined (TeX) && defined (IPC)"
287         and "#endif /* TeX && IPC */" with those in texmfmp.c.
289 2013-07-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
291         * luatex.c, ptexlib.h: Revert the previous change.
292         * luatex.c [MSVC]: Undef timezone before including <time.h>.
294 2013-06-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
296         * luatex.c, ptexlib.h: Slightly modify because Visual Studio cannot
297         compile luatex.c.
299 2013-06-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
301         * lua/lcallbacklib.c, lua/luainit.w: Replace index() => strchr().
303         * ptexlib.h: More general cases for not been included first.
305         * lang/hyphen.h: Do not '#include "ptexlib.h"'.
306         * lang/hyphen.w: Include ptexlib.h instead of lang/hyphen.h.
308 2013-06-28  Karl Berry  <karl@tug.org>
310         * ptexlib.h: complain if various common things are #defined;
311         this must be the first #include.
313 2013-06-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
315         Bug fix for LuaTeX crash on 32bit Unix systems from Taco,
316         tlbuild mail 26 Jun 2013 16:10:35,
317         http://tug.org/pipermail/tex-live/2013-June/033782.html
318         * image/writejbig2.w, image/writejp2.w, image/writejpg.w,
319         image/writepng.w: Always first include ptexlib.h.
321 2013-06-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
323         * am/libluatex.am, am/luasocket.am, am/luatex.am:
324         Correct dependencies for build `on demand'.
326 2013-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
328         * lua52/: Moved to ../../../libs/lua52/.
329         * am/libluatex.am: Adapted.
330         * am/liblua52.am: Removed.
332 2013-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
334         * image/epdf.h, image/writeimg.w, lua/limglib.c,
335         lua/lpdfscannerlib.cc, lua/lstrlibext.c, lua/luatex-api.h,
336         lua/texluac.w, ptexlib.h: Replace 'lua52/lua.h' => 'lua.h'.
338 2013-06-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
340         * lua/lpdfscannerlib.cc: Include <poppler-config.h> instead of
341         <poppler/poppler-config.h>.
343 2013-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
345         * lua/luainit.w: Handle '--luac' and '--luaconly' (from Akira).
347 2013-04-16  Elie Roux  <elie.roux@telecom-bretagne.eu>
349         * font/tfmofm.w: check for .ofm as well as .tfm.
350         * tex/mainbody.w: check for !ini_version before initialize().
352 2013-04-16  Karl Berry  <karl@tug.org>
354         * lua/luainit.w (parse_options): GPLv2+, not just GPLv2 (after
355         discussion with Taco).
357 2013-04-14  Karl Berry  <karl@tug.org>
359         * lua/luainit.w: 2013
361 2013-04-08  Taco Hoekwater  <taco@luatex.org>
363         * luasocket/src/smtp.lua: uncomment require 'coroutine'
364         * luasocket/src/smtp_lua.c: regenerated
366 2013-04-05  Taco Hoekwater  <taco@luatex.org>
368         Import luatex beta 0.76.0 (released version)
370 2013-04-04  Karl Berry  <karl@tug.org>
372         * lua52/liolib.c: #include <unistd.h>.  Needed on FreeBSD
373         per Nikola Lecic, tlbuild 1 Apr 2013 02:10:08.
375 2013-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
377         Import LuaTeX beta-0.75.0 from LuaTeX repository (r4604).
379 2013-03-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
381         * am/luafontforge.am (EXTRA_DIST): Drop unused files.
383 2013-03-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
385         * lua52/*, am/liblua52.am (new): Add lua-5.2.1 for 0.75.0.
387 2013-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
389         * am/luatex.am: Allow subdir-objects.
391 2013-01-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
393         * pdf/pdftables.h: Support large files (from Martin).
395 2013-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
397         * luatex.c (mk_shellcmdlist): Simplify (sync with texmfmp.c).
399 2013-01-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
401         * pdf/pdfgen.w (write_stream_length): Cast length for printing.
403 2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
405         * am/libluatex.am (luatex_*_ctangle, pdflua.c):
406         Enable silent rules.
408 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
410         * lua/lkpselib.c: Use kpse_readable_file() with non-const arg.
412 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
414         * lua/lepdflib.cc: No need to test for Annot::decRefCnt with
415         poppler 0.18 or better.
417 2012-11-06  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
419         * pdf/pdflistout.w: sync with r4471 (a bug fix by H. Henkel).
421 2012-10-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
423         * tex/texfileio.w: input by pipe was impossible. enable it.
425 2012-10-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
427         * lua/luainit.w (lua_initialize): Free two malloc()ed strings.
429 2012-10-10  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
431         * luatex.c: Modify determination of fullpath for restricted shell
432         escape commands.
434 2012-10-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
436         Avoid TL vs W32TeX differences (from Akira).
437         * luatex.h: Include "ptexlib.h" instead of <luatexdir/ptexlib.h>
438         as in all other cases.
439         * ptexlib.h: Use _MSC_VER instead of MSVC.
440         * image/epdf.h: Change arg3 of extern void pdf_begin_obj() from
441         bool to int, as declared and defined in pdf/pdfgen.[hw].
442         FIXME: There should be only one extern declaration in one file.
444 2012-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
446         The openbsd compat library is no longer used.
447         * image/epdf.h, lua/luainit.w, ptexlib.h, utils/utils.w:
448         Drop #include "openbsd-compat.h".
449         * am/libluatex.am, am/luatex.am: Remove OBSDCOMPAT_*.
451 2012-09-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
453         * lua/luainit.w (parse_options): Avoid cast const => non-const.
455 2012-09-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
457         * lua/luainit.w (parse_options): allow lualatex "\input" "a b" on
458         Windows.
460 2012-09-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
462         * luatex-api.h: Avoid conflicting extern declaration of environ,
463         declared in <stdlib.h> for WIN32 (from W32TeX).
465 2012-08-21  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
467         * tex/texdeffont.w (tex_def_font): Recover the old code, because the
468         new code seems not to work.
470 2012-08-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
472         * ptexlib.h: Drop unused definition of M_PI.
474 2012-08-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
476         * tex/dumpdata.h: Remove the swap_items() prototype.
477         * luatex.c (swap_items): Moved from here ...
478         * tex/texfileio.w (swap_items): ... to here and declared static.
480         * luatex.c (input_line) [WIN32]: Sync with ../lib/texmfmp.c.
481         Detect and skip Byte order marks.
482         * tex/texfileio.[ch] [WIN32]: Use Poptr to record pipe input.
484 2012-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
486         * luatex.[ch] [W32TeX]: Use DLLPROC for luatex.dll.
487         * pdf/pdfgen.w [WIN32]: Convert file names '\\' -> '/'.
489 2012-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
491         * tex/texdeffont.w (tex_def_font): Better tracing of font
492         definitions, adapted from e-TeX version 2.5.
494 2012-07-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
496         * pdf/pdfpage.w (print_pdffloat): Cope with broken snprintf().
497         * lua/luastuff.w (luatex_error): Drop snprintf() return value.
499 2012-07-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
501         * lua/luainit.w (lua_initialize): Avoid using asprintf().
502         * utils/utils.w (initversionstring): Avoid using asprintf().
504         One and only one prototype per function.
505         * image/epdf.h, utils/utils.h: Add #include "luatex-common.h"
506         and move pdftex_{fail,warn} prototypes from here ...
507         * luatex-common.h (new): ... to here.
508         * am/libluatex.am (libluatex_a_SOURCES): Add the new file.
510 2012-07-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
512         * lua/loslibext.c os_gettimeofday): Use int64_t (from W32TeX).
514 2012-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
516         * image/pdftoepdf.cc (get_file_checksum): Use uint64_t and PRIu64.
517         * image/writejp2.w, lua/loslibext.c: Use uint64_t.
519 2012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
521         * tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.
523 2012-07-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
525         * image/writejbig2.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRId.
526         * pdf/pdfgen.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRIi.
528 2012-07-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
530         * utils/utils.w: Use EXIT_FAILURE instead of EX_SOFTWARE.
532 2012-07-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
534         * pdf/pdfgen.w: Cast xfseeko() arg2 to avoid MSVC warning.
536 2012-07-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
538         * tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.
540 2012-07-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
542         * luatex.c (shell_cmd_is_allowed): Change Arg1 from 'const char **'
543         into 'const char *'; sync with ../lib/texmfmp.c.
544         * luatex.h, lua/liolib.c, lua/loslibext.c, tex/texfileio.w: Adapt.
546         * lua/liolib.c, luascripts/txt2zlib.w: Use binary file io mode.
547         From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX).
549 2012-05-22  Taco Hoekwater  <taco@luatex.org>
551         * lua/lkpselib.c: new function kpse.default_texmfcnf() that
552         reports the value of DEFAULT_TEXMFCNF, for the benefit of
553         context mkiv on Debian.
555 2012-05-22  Taco Hoekwater  <taco@luatex.org>
557         * luafontloader/fontforge/fontforge/splinesave.c,
558         luafontloader/fontforge/fontforge/splinefont.h: drop parts of the
559         Type1 saving routines (unused) to remove a compiler warning.
561         * pdf/pdftypes.h, lua/limglib.c, image/epdf.h, image/writeimg.w,
562         image/writejbig2.w, ptexlib.h: more off_t trouble.
564 2012-05-21  Taco Hoekwater  <taco@luatex.org>
566         * tex/printing.w, lua/ltokenlib.c, lua/llanglib.c, lua/llualib.c,
567         lua/lnodelib.c, lua/luainit.w, lua/ltexiolib.c,
568         lua/lcallbacklib.c, lua/lstatslib.c, lua/ltexlib.c,
569         lua/loslibext.c, lua/lkpselib.c, lua/luatoken.w, lua/llfslibext.c,
570         lua/lfontlib.c, lua/luanode.w, lua/lpdflib.c, lua/luastuff.w:
571         when loading both "ptexlib.h" and "lua/luatex-api.h", make sure
572         that "ptexlib.h" is loaded first because that reads config.h
573         which affects loading of system headers (via Large File Support,
574         specifically).
576 2012-05-20  Khaled Hosny  <khaledhosny@eglug.org>
578         * tex/mlist.w: fix "warning: 'ext' might be used uninitialized".
580 2012-05-18  Taco Hoekwater  <taco@luatex.org>
582         * lua/ltexlib.c: fix a ConTeXt crash on `\endinput \end`.
584 2012-05-18  Khaled Hosny  <khaledhosny@eglug.org>
586         * tex/commands.h, tex/commands.w, tex/maincontrol.h,
587         tex/maincontrol.w, tex/mathcodes.h, tex/mathcodes.w, tex/scanning.w, 
588         tex/texmath.w, tex/mlist.w: backport math relatex changes from 0.71
589         * luatex.c: bump version to 0.70.1
591 2012-05-10  Hartmut Henkel  <hartmut@luatex.org>
592         and Peter Breitenlohner  <peb@mppmu.mpg.de>
594         * lua/lepdflib.cc: Adapt for poppler 0.19.4.
596 2012-05-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
598         * lua/luainit.w (lua_initialize): Use WEB2CVERSION.
599         * tex/printing.w (print_banner, log_banner): Same.
601 2012-02-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
603         * luatex.h: Remove definition of WRITE_OUT, now in ../cpascal.h.
605 2012-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
607         * image/writejbig2.w (getstreamlen): Change type to `off_t'.
608         Use LONGINTEGER_TYPE and LONGINTEGER_PRId for printing.
610 2012-01-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
612         Consistent support for large JBIG2 files.
613         * image/writejbig2.w: Change type of various struct members, local
614         variables and findstreamstart() from `long' or `unsigned long'
615         to `off_t'.  Do not use xfseek and xfseeko for the same file.
617 2011-10-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
619         * lua/lepdflib.cc: Test poppler 0.16.x / 0.17.x features.
621 2011-10-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
623         * am/libluatex.am: Avoid to `clean' ../mplibdir/lmplib.c.
625         * am/txt2zlib.am (noinst_PROGRAMS): Conditionally add txt2zlib,
626         such that txt2zlib$(EXEEXT) gets cleaned.
628 2011-09-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
630         * tex/printing.w (print_file_line): Bug fix: avoid uninitialized
631         lineno - from ../tex.ch.
632         * tex/inputstack.w: Slightly reformulate printing of current
633         line - from ../etexdir/etex.ch.
635 2011-08-04  Magnus Granberg  <zorry@gentoo.org>
637         * luatex.c: Do not #include empty file <kpathsea/recorder.h>.
639 2011-06-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
641         Reduce memory leaks.
642         * lua/lkpselib.c (do_lua_kpathsea_lookup): Free string no longer
643         used.
645 2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
647         lua/lkpselib.c (find_dpi): Allow find_suffix() to return a
648         const string.
650 2011-05-19  Taco Hoekwater  <taco@luatex.org>
652         * lua/ltexlib.c: fix a bug on negative catcode table arguments.
653         * luatex.c, NEWS: luatex is now version 0.70.1
654         * luatex_svnversion.h: updated to reflect latest luatex revision (4277)
656 2011-05-18  Taco Hoekwater  <taco@luatex.org>
658         * font/writefont.w (write_fontdescriptor):  Fix for non-embedded
659         fonts in the PDF output.
660         * image/writeimg.w (read_img): Fix for non-existent images that
661         could case a crash.
662         * luatex_svnversion.h: updated to reflect latest luatex revision (4273)
664 2011-05-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
666         * luatex.c (ipcpage): Add 'free(cwd)', remove Aleph comment.
668 2011-05-17  Taco Hoekwater  <taco@luatex.org>
670         * tex/texfileio.w (luatex_synctex_get_current_name): switch to xgetcwd()
671         from kpathsea
672         * luatex_svnversion.h: updated to reflect latest luatex revision (4272)
674 2011-05-15  Taco Hoekwater  <taco@luatex.org>
676         * tex/texfileio.w (luatex_synctex_get_current_name): work around a 
677         bug in getcwd().
678         * luatex_svnversion.h: updated to reflect latest luatex revision (4267)
680 2011-05-13  Taco Hoekwater  <taco@luatex.org>
682         * lua/luainit.w: change the copyright year to 2011.
683         * luatex_svnversion.h: updated to reflect latest luatex revision (4264)
684         * NEWS: forgot to mention synctex change
685         
686 2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
688         * image/writepng.w: #define PNG_FP_1 for libpng < 1.5.0.
690 2011-05-11  Taco Hoekwater  <taco@luatex.org>
692         * image/writepng.w: fix for 16bit images in pdf 1.4 (8bit) mode.
693         * luatex_svnversion.h: updated to reflect latest luatex revision (4258)
695 2011-05-09  Taco Hoekwater  <taco@luatex.org>
697         * tex/texfileio.[hw]: file relative filenames in synctex output.
698         * luatex_svnversion.h: updated to reflect latest luatex revision (4256)
700 2011-05-08  Taco Hoekwater  <taco@luatex.org>
702         * dvi/dvigen.w, pdf/pdfgen.w: fix missing newline after
703         'No pages of output' message.
704            
705 2011-05-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
707         * lua/luainit.w, tex/texfileio.w: fix recorder location.
709 2011-05-05  Taco Hoekwater  <taco@luatex.org>
711         * image/writepng.w: fixes for libpng 1.5.2.
712         * lua/lnodelib.c (lua_nodelib_fields): fix field count for 
713         nodes without subtype.
714         * lua/llfslibext.c: fix an variable type and a compiler warning.
715         * lua/loslibext.c (os_execute): fix non-argument use of os.execute.
716         * lua/ltexlib.c (do_luacprint): fix use of bad catcode tables.
717         * lua/luainit.w (HAVE_ASPRINTF): superfluous test removed.
718         * luatex.c: bump version to 0.70, remove SOCK_NONBLOCK definition.
719         * luatex_svnversion.h (luatex_svn_revision): now at 4247.
720         * NEWS: updated for luatex 0.70.0 release.
721         * tex/texfileio.w: patch from bug 615 (recorder filename location).
722         * tex/texmath.w: fix display alignment in TRT mode.
723         * utils/utils.w (HAVE_ASPRINTF): superfluous test removed.
725 2011-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
727         * utils/synctex{-common.h,.c,.h} (removed): Use copies from
728         ../synctexdir.
729         * synctex-luatex.h: Moved from here to ../../synctexdir.
730         * ptexlib.h, am/libluatex.am, am/luatex.am: Adapted. 
732 2011-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
734         * utils/utils.w (POPPLER_VERSION): Now defined in
735         poppler-config.h for poppler from the TeX Live tree, or in the
736         Makefile for an installed version.
738 2011-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
740         * am/libluatex.am, am/txt2zlib.am: When cross compiling skip
741         txt2zlib and use installed luascripts/pdflua.c.
743         Need poppler at least 0.12 for PDFDoc::getPDF*Version().
744         * image/pdftoepdf.cc: Remove code for older poppler versions.
746 2011-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
748         * image/writepng.w: Fix to build with png-1.5 (and avoid
749         `deprecated' warnings with png-1.4). The transformations part
750         is removed on recommendation by John Bowler (a png developer).
751         Mail from Thomas Klausner <tk@giga.or.at>, Sun, 30 Jan 2011.
753         * pdf/pdfgen.w: ANSI C function definitions.
755         * pdf/pdfluaapi.w (new_pdflua): Declare zp as const.
757         * am/libluatex.am (EXTRA_DIST): Distribute luascripts/pdflua.lua.
758         * am/txt2zlib.am (EXTRA_DIST): Distribute luascripts/txt2zlib.w.
760 2011-04-12  Taco Hoekwater  <taco@luatex.org>
762         * import of luatex 0.66.0, released version
764 2011-03-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
766         * am/libluatex.am: Use AM_CFLAGS instead of libluatex_a_CFLAGS.
767         * am/luatex.am: Use AM_CFLAGS instead of luatex_CFLAGS.
769 2011-03-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
771         * am/libluatex.am (libluatex_a_CPPFLAGS): Remove `-Iluatexdir'
772         and add `-DSYNCTEX_ENGINE_H='<utils/synctex-luatex.h>''.
773         * am/luatex.am (luatex_CPPFLAGS): The same.
775         * utils/synctex.c: Fix several typos in comments to reduce diffs
776         between files in synctexdir/ and luatexdir/utils/.
778 2011-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
780         * am/luatex.am [WIN32]: Add texlua.exe and texluac.exe wrappers
781         for MinGW.
783 2010-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
785         * am/luatex.am: install-exec-hook and uninstall-hook rules now
786         in ../Makefile.am; append required symlinks to bin_links.
788 2010-09-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
790         * luatex.test (new): Just testing 'luatex -credits'.
791         * luatexdir/am/luatex.am: Adjusted.
793 2010-07-12  Taco Hoekwater <taco@luatex.org>
795         * luafontloader/src/luafflib.c: quick fix for crashes triggered
796         by invalid panose data in Open/TrueType fonts.
797         * luatex_svnversion.h: new version (rev 3736).
799 2010-07-01  Taco Hoekwater <taco@luatex.org>
801         * lang/texlang.w, lua/lnodelib.c, luatex.c, luatex_svnversion.h,
802         pdf/pdfglyph.w, pdf/pdfpage.w, NEWS: new versions from released 0.60.2
803         
804 2010-06-18  Taco Hoekwater <taco@luatex.org>
806         * tex/textoken.h (smemory_word): add endiannes test
807         * font/texfont.h (liginfo, kerninfo): add endianness test
808         * luatex_svnversion.h: new version
810 2010-06-13  Taco Hoekwater <taco@luatex.org>
812         * tex/inputstack.h (in_state_record): force two bitfields to be signed,
813         after a bug report from Vladimir Volovich <vvv@vsu.ru>
814         * luatex_svnversion.h: new version
816 2010-06-11  Taco Hoekwater <taco@luatex.org>
818         * font/sfnt.w, font/sfnt.h, 
819         luafontloader/fontforge/Unicode/ucharmap.c,
820         luafontloader/fontforge/fontforge/python.c, 
821         luafontloader/fontforge/inc/basics.h: change include of "config.h"
822         to <w2c/config.h>.
823         * image/epdf.h, lua51/luaconf.h: change include of "c-auto.h"
824         to <w2c/c-auto.h>.
825         
826 2010-06-10  Taco Hoekwater <taco@luatex.org>
828         * luatex.c (swap_items): debugged.
829         * tex/texfileio.w (do_zdump): reswap the swapped items to avoid
830         crashes when called as |dump_things|.
832 2010-06-10  Taco Hoekwater <taco@luatex.org>
834         * luafilesystem/src/lfs.c(get_dir): do not assume Gnu C compiler.
836 2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
838         * am/libluatex.am (libluatex_a_CPPFLAGS): Add $(AM_CPPFLAGS).
839         * am/luafontforge.am (libff_a_CPPFLAGS): Add $(AM_CPPFLAGS).
840         * am/luatex.am (luatex_CPPFLAGS): Add $(AM_CPPFLAGS).
842 2010-06-10  Taco Hoekwater <taco@luatex.org>
844         * luasocket/src/options.c, luafontloader/fontforge/fontforge/parsettfatt.c,
845         luafontloader/fontforge/fontforge/parsettf.c,
846         luafontloader/fontforge/fontforge/lookups.c: enlarge static buffers
847         for sprintf().
848         
849 2010-06-04  Taco Hoekwater <taco@luatex.org>
851         * luatex.c (shell_cmd_is_allowed): make sure only commands with
852         absolute path names are executed on win32 in restricted mode --
853         patch from Akira Katuto.
855 2010-05-28  Taco Hoekwater <taco@luatex.org>
857         * luamd5/md.5c: bring in a new version from kepler to fix a
858         portability problem with stdint.h.
859         * luafontloader/src/ffdummies.c, lua/texluac.w: guard __attribute__
860         usage, which is a GNUC only feature.
861             
862 2010-05-19  Taco Hoekwater <taco@luatex.org>
864         * printing.w (print_banner, log_banner), luainit.w (lua_initialize):
865         add WEB2CVERSION to the banner.
867 2010-05-13  Taco Hoekwater <taco@luatex.org>
869         * utils/synctex.c, utils/synctex-luatex.h: update from Jérome
870         Laurens, bringing luatex in-line with the core synctex distribution
871         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
872         
873 2010-05-06  Taco Hoekwater <taco@luatex.org>
875         * luatex.c (calledit): use ifdef __MINGW32__ instead of WIN32.
876         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
878 2010-04-28  Taco Hoekwater <taco@luatex.org>
880         * tex/maincontrol.w: Fixed the error message for improper 
881         use of \protected, reported by Heiko Oberdiek 
882         <heiko.oberdiek@googlemail.com>.
884 2010-04-28  Taco Hoekwater  <taco@luatex>
886         * import of luatex 0.60.1, released version
888 2010-04-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
890         * image/epdf.h, lua51/luaconf.h: #include <c-auto.h> instead of
891         <web2c/c-auto.h>.
893 2010-04-24  Taco Hoekwater  <taco@luatex>
895         * lua/loslibext.c: fix os.exec() and os.spawn(), twice
897 2010-04-23  Taco Hoekwater  <taco@luatex>
899         * lua/loslibext.c: fix os.exec() and os.spawn() once more
901 2010-04-23  Taco Hoekwater  <taco@luatex>
903         * lua/loslibext.c: fix os.exec() and os.spawn()
904         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
906 2010-04-23  Taco Hoekwater  <taco@luatex>
908         * new import from luatex repository (HEAD of 0.60.x branch)
910 2010-04-20  Taco Hoekwater  <taco@luatex>
912         * new import from luatex repository (HEAD of 0.60.x branch)
914 2010-04-13  Taco Hoekwater  <taco@luatex>
916         * am/luafontforge.am: delete three lines.
917         * luafontloader/fontforge/Unicode/dump.c: deleted
918         * luafontloader/fontforge/Unicode/backtrns.c: deleted
919         * luafontloader/fontforge/Unicode/unialt.c: deleted
921 2010-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
923         * image/pdftoepdf.cc: Fix building with libpoppler.
924         * luatex.c: Fix building for MinGW32.
926         * luatex.c (ipcpage): Avoid compiler warning.
927         (catch_interrupt): Declare as static.
928         * pdf/pdflistout.w (init_*_backend_functions): ANSI C func defs.
930 2010-04-13  Taco Hoekwater  <taco@luatex>
932         * new import from luatex repository (HEAD of 0.60.x branch)
934 2010-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
936         * am/luatex.am: Remove libmplib.a from $($(luatex_OBJECTS)'s
937         dependencies ...
938         * am/libluatex.am: and add to $(libluatex_a_OBJECTS)'s
939         dependencies; otherwise parallel builds may fail.
941 2010-04-04  Taco Hoekwater  <taco@luatex>
943         * import of luatex 0.60.0, with a few local changes:
944         * luatex.c (ipcpage): fix fetching of 'name'.
945         * dvi/dvigen.w (dvi_end_page): fix IPC flushing.
946         * image/pdftoepdf.cc (write_epdf1): comment out use of 
947         page->getResourcesNF() and page->getMetadataNF().
949 2010-03-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
951         * luatangle.ch: Use kpse_set_program_name(argv[0], nil) instead
952         of kpse_set_progname(argv[0]).
954 2010-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
956         * am/luamisc.am (libluamisc_a_CPPFLAGS): Adapt to zziplib now
957         in ../../../libs/zziplib/.
959 2010-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
961         Moved zziplib/ to ../../../libs/zziplib.
962         * am/luamisc.am (libluamisc_a_DEPENDENCIES): Adapt.
963         * am/luatex.am (luatex_ldadd): Adapt.
965 2010-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
967         Clarify dependencies between luaTeX libraries:
968         * am/libzzip.am: Remove dependency on liblua51.a.
969         Remove memdisk.[ch] and mmapped.[ch] from libzzip_a_SOURCES and
970         add them to EXTRA_DIST.
971         * am/luamisc.am: Add dependency on libzzip.a.
972         * am/luasocket.am: Replace dependency on libzzip.a by liblua51.a.
974 2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
976         * utils/avl.c (avl_copy): Proper handling of const.
978 2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
980         * luafontloader/src/luafflib.h: New file with prototypes used
981         by libluatex.
982         * luafontloader/src/luafflib.c: #include "luafflib.h".
983         * font/writecff.c, font/writetype2.c: Remove the extern decls
984         and #include <luafontloader/src/luafflib.h>.
985         * font/writecff.c (writetype1w): Change tfm_size integer=>int.
986         * am/luafontforge.am: Add the new file.
988         * luatex-api.h: Add prototype for utf8_idpb(), renamed
989         lua_utf8_idpb to avoid name conflicts with fontforge library.
990         * lang/texlang.c: Declare utf8_idpb() as non-static.
991         * tex/filename.c: Remove prototype for utf8_idpb().
993         * tex/filename.c (scan_file_name): Don't assume a null byte
994         after string created by utf8_idpb().
996 2010-01-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
998         * font/writettf.c: Remove extern charsetstr[].
999         * lua/lkpselib.c: Remove extern luainit.
1000         * lua/luainit.c: Remove extern normalize_quotes(), argc, argv.
1001         * tex/textoken.c: Remove extern insert_vj_template().
1003         * utils/utils.h: Add extern declaration of fb_array ...
1004         * font/writet1.c, font/writettf.c: ... removed from here.
1005         * luatex-api.h: Add extern declaration of program_name_set ...
1006         * lua/luainit.c, lua/luatex.c: ... removed from here.
1007         * luatex-api.h: Add extern declaration of startup_filename,
1008         safer_option, and nosocket_option ...
1009         * lua/luastuff.c: ... removed from here.
1010         * lua/llualib.c (luabytecode_max): Change integer=>int.
1011         * luatex-api.h: Add extern declaration of luabytecode_max,
1012         luabytecode_bytes, luastate_bytes, callback_count, and
1013         saved_callback_count ...
1014         * lstatslib.c: ... removed from here.
1016 2010-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1018         * am/luatex.am (luatex_CFLAGS, luatex_CXXFLAGS),
1019         am/libluatex.am (libluatex_a_CFLAGS): Enable compiler warnings.
1021         Avoid most compiler warnings:
1023         * font/luatexfont.h, luatexdir/hyphen.h, image/writeimg.h,
1024         image/writejbig2.h, luatex.h, pdf/pagetree.h, pdf/pdfpage.h,
1025         utils/avlstuff.h, utils/utils.h: ANSI C function prototypes.
1026         * font/mapfile.c, font/writeenc.c, font/writefont.c,
1027         font/writet1.c, font/writettf.c, image/writeimg.c,
1028         image/writejbig2.c, lang/hyphen.c, pdf/pagetree.c,
1029         pdf/pdfpage.c, utils/avlstuff.c, utils/utils.c: ANSI C function
1030         definitions.
1032         * font/luafont.c, lang/texlang.c, lua/lcallbacklib.c,
1033         lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
1034         lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
1035         lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luanode.c,
1036         lua/luatoken.c: Remove 'char *' or 'unsigned char *'  casts of
1037         Lua strings.
1039         * font/texfont.h, font/writecff.h, luatex-api.h, luatex.h,
1040         nodes.h, primitive.h, ptexlib.h, utils/utils.h, font/dofont.c,
1041         font/luafont.c, font/tfmofm.c, font/vfovf.c, font/writecff.c,
1042         font/writefont.c, font/writet1.c, font/writettf.[ch],
1043         lang/hyphen.c, lang/texlang.c, lua/lcallbacklib.c,
1044         lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
1045         lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
1046         lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luainit.c,
1047         lua/luanode.c, lua/luastuff.c, lua/luatex.c, lua/luatoken.c,
1048         luatex.ch, tex/filename.c, tex/linebreak.c, tex/math.c,
1049         tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
1050         tex/textoken.c, utils/utils.c: Declare various function params
1051         and args, local and global vars, and struct members as const.
1053         * font/luafont.c, font/texfont.c, font/tfmofm.c, font/vfovf.c,
1054         font/writeenc.c, font/writefont.c, font/writet1.c,
1055         font/vfpacket.c, font/writettf.c, font/writetype2.c,
1056         image/writeimg.c, lang/hyphen.c, lang/texlang.c, lua/limglib.c,
1057         lua/llualib.c, lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c,
1058         lua/lstatslib.c, lua/ltexlib.c, lua/luainit.c, lua/luanode.c,
1059         lua/luastuff.c, mathcodes.c, tex/linebreak.c, tex/math.c,
1060         tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
1061         tex/textoken.c, utils/synctex.c, utils/utils.c:
1062         Declare functions and global vars as static.
1064         * font/texfont.c: #include "luatexfont.h" and remove externs.
1065         * image/writejpg.c: #include "writejpg.h".
1066         * image/writepng.c: #include "writepng.h".
1067         * lang/hnjalloc.c: #include "hnjalloc.h".
1068         * lua/texluac.c: #include "luatex-api.h".
1069         * utils/synctex.c: #include "synctex.h".
1070         * utils/utils.c: #include "utils.h".
1072         * lua/lcallbacklib.c: Remove prototype for lua_traceback().
1073         * ptexlib.h: Add prototype for get_command_id() ...
1074         * lua/ltokenlib.c: ... removed from here.
1075         * nodes.h: Add prototype for list_node_mem_usage() ...
1076         * lua/lnodelib.c: ... removed from here.
1077         * managed-sa.h: Add prototype for rawset_sa_item() ...
1078         * mathcodes.c, tex/math.c: ... removed from here.
1080         * inc-epdf.h: New file with prototypes for epdf_mark_glyphs(),
1081         epdf_create_fontdescriptor(), and epdf_write_enc() ...
1082         * image/epdf.h: ... removed from here.
1083         * image/epdf.h, font/writeenc.c: #include inc-epdf.h.
1084         * inc-vfovf.h: New file with prototype for make_vf_table() ...
1085         * lua/lfontlib.c: ... removed from here.
1086         * font/vfovf.c, lua/lfontlib.c: #include inc-vfovf.h.
1087         * inc-extra.h: New file with prototypes for check_isnode()
1088         and lua_nodelib_push_fast() ...
1089         * lua/limglib.c, lua/llanglib.c, lua/lstatslib.c, lua/ltexlib.c:
1090         ... removed from here.
1091         * lua/limglib.c, lua/llanglib.c, lua/lnodelib.c,
1092         lua/lstatslib.c, lua/ltexlib.c: #include "inc-extra.h".
1093         * am/libluatex.am (libluatex_a_SOURCES): Add the new files.
1095         * font/texfont.c (lua_char_exists_callback),
1096         font/vfovf.c (is_letterspaced_font),
1097         font/vfpacket.c (packet_command_names),
1098         font/writet1.c (free_glyph_names),
1099         image/writeimg.c (image_group_ref),
1100         lua/ltexlib.c (get_something_internal),
1101         tex/texnodes.c (print_free_chain),
1102         textcodes.c (clearcatcodestack):
1103         Skip unused static funcs and vars (via #if 0 ... #endif).
1105         * lua/luainit.c (lua_initialize): Replace string constant
1106         arguments of putenv() by non-const static string variables.
1108         * utils/avl.c (avl_delete): Don't reuse const input param for
1109         non-const return value.
1111         * utils/synctex.c: Rename synctexchar => synctex_char and
1112         synctexnode => synctex_node as declared in utils/synctex.h.
1114 2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1116         * luatangle.ch: Declare web_name, chg_name, pascal_name, and
1117         pool_name as const_c_string.
1119         * lua/lkpselib.c (readable_file, lua_kpathsea_readable_file):
1120         Drop non-const cast of {kpse,kpathsea}_readable_file() result.
1122 2010-01-03  Karl Berry  <karl@tug.org>
1124         * luatex.ch: propagate "executed safely" wording change.
1126 2009-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1128         * am/luatex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P).
1130 2009-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1132         * lua/loslibext.c (do_mkdtemp): Declare as static and skip
1133         compilation when not used.
1135 2009-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1137         * pdf/pagetree.c, utils/utils.c: Drop #ifdef HAVE_ASPRINTF and
1138         #include <stdio.h>.
1140 2009-12-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1142         * utils/synctex.c: Remove (already commented) extern declaration
1143         of gettexstring().
1145 2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
1147         * luatex.web: Use kpse_{in,out}_name_ok(), now in Kpathsea,
1148         instead of open{in,out}nameok().
1149         * luatex.defines: Replace open_{in,out}_name_ok by
1150         kpse_{in,out}_name_ok.
1152 2009-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1154         * image/pdftoepdf.cc: Adapt to poppler-0.12.
1156         * FIXME: image/epdf.h, utils/utils.h: Multiple prototypes for
1157         pdftex_fail, pdftex_warn, and probably others.
1159 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1161         * am/luatex.am: Adapt to new makecpool with one argument.
1163 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1165         * lua/luainit.c (dump_name, c_job_name, last_source_name,
1166         last_lineno): Drop extern declarations (now in texmfmp.h).
1167         (user_progname): Constify string.
1168         (lua_initialize): Avoid modifying the const_string 'dump_name'.
1170 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1172         * utils/synctex.c (synctex_suffix*): Constify strings.
1174 2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1176         * luatangle.ch: Eliminate the unused |end_of_TANGLE| label.
1178 2009-09-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
1180         * am/libzzip.am: Enable compiler warnings.
1181         * am/liblua51.am, am/libluatex.am, am/luafontforge.am,
1182         am/luamisc.am, am/luasocket.am, am/luatex.am: Prepare compiler
1183         warnings.
1185 2009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
1187         * lua/lstatslib.c, lua/luainit.c: Drop extern decl of ptexbanner.
1188         * utils/utils.c: #include <kpathsea/version.h> and drop extern
1189         decls.
1191 2009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
1193         * lua/liolib.c (io_popen): Changed Arg1 of shell_cmd_is_allowed().
1194         * lua/loslibext.c (os_exec, os_spawn, os_execute): Same.
1196 2009-08-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
1198         * am/luatangle.am: Adapt to web2c-sh.
1199         * am/luatex.am (luatex_tangle): Use tangle-sh.
1200         Adapt to tangle-sh and web2c-sh.
1202 2009-06-26  Taco Hoekwater <taco@luatex.org>
1204         * lua51/lcoco.c, lua51/lcoco.h: disable the coco patch on
1205         linux+ppc because it crashes the executable.
1207 2009-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1209         * font/writet1.c, image/epdf.[ch], utils/avlstuff.c:
1210         remove #include <kpathsea/c-proto.h>.
1211         
1212 2009-06-25  Taco Hoekwater <taco@luatex.org>
1213         
1214         * luatexdir: import of luatex release 0.40.6.
1216 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1218         * lua/luatex.c: drop P?C, P?H, use ANSI C function declarations.
1220 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1222         * font/writet1.c, image/epdf.c, utils/avlstuff.c:
1223         #include <stdarg.h>, not <kpathsea/c-vararg.h>.
1225 2009-06-09  Taco Hoekwater <taco@luatex.org>
1226         
1227         * luatexdir: import of luatex release 0.40.4.
1229 2009-06-08  Taco Hoekwater <taco@luatex.org>
1230         
1231         * luatexdir: import of luatex release 0.40.3.
1232         This affects many files in subdirectories.
1234 2009-06-04  Taco Hoekwater <taco@luatex.org>
1235         
1236         * luatexdir: "avoid variable declaration after statement" patch
1237         from Vladimir Volovich
1239 2009-06-03  Taco Hoekwater <taco@luatex.org>
1240         
1241         * luatexdir/luafontloader/fontforge/fontforge/namelist.c (psaltnames): add
1242         a dimension specifier, for AIX portability.
1244 2009-06-03  Taco Hoekwater <taco@luatex.org>
1245         
1246         * luatexdir: import of luatex release 0.40.2.
1247         This affects many files in subdirectories.
1249 2009-05-30  Peter Breitenlohner <peb@mppmu.mpg.de>
1251         * am/luatex.am (install-exec-hook, uninstall-hook):
1252         avoid dangling symlinks.
1254 2009-05-25  Peter Breitenlohner <peb@mppmu.mpg.de>
1256         * am/luatex.am (uninstall-hook): new target to uninstall texlua[c]
1257         symlinks.
1259 2009-05-25  Karl Berry  <karl@tug.org>
1261         * am/luatex.am (install-exec-hook): new target to install texlua[c]
1262         symlinks.
1264 2009-05-08  Taco Hoekwater <taco@luatex.org>
1265         
1266         * luatexdir: import of the current state of luatex, 0.40.1.
1267         This affects many files in subdirectories.
1269 2009-05-05  Peter Breitenlohner <peb@mppmu.mpg.de>
1271         * image/pdftoepdf.cc, utils/utils.c: adapt for poppler.
1273         patches from Norbert Preinig <preining@logic.at>
1275 2009-04-27  Taco Hoekwater <taco@luatex.org>
1277         * pdf/pdfpage.c: rename exp10 to exp10_arr to solve a 
1278         conflict with cygwin's <math.h>.
1279         * font/texfont.h: add #undef quad before definition to suppress a
1280         compiler warning under cygwin. 
1282 2009-04-22  Taco Hoekwater <taco@luatex.org>
1284         * luatexdir: import of the current state of luatex, 0.40.0. 
1285         This affects many files in subdirectories.
1287 2009-04-16  Taco Hoekwater <taco@luatex.org>
1289         * image/image.h: remove the trick that forced a local png.h
1291 2009-04-16  Taco Hoekwater <taco@luatex.org>
1293         * luatexdir: import of the current state of luatex, 0.39.0. 
1294         This affects many files in subdirectories.
1296 2009-03-27  Peter Breitenlohner <peb@mppmu.mpg.de>
1298         * am/luatex.am (luatex_c_h): avoid to split the C code
1299         (from Taco).
1301 2009-03-27  Taco Hoekwater <taco@luatex.org>
1303         * luatexdir: import of the current state of luatex, 0.37.0. 
1304         This affects many files in subdirectories.
1306 2009-03-05  Peter Breitenlohner <peb@mppmu.mpg.de>
1308         * image/pdftoepdf.cc: Uninclude <config.h>, included later
1309         by "epdf.h".
1311 2009-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
1313         * luatangle.ch: use kpse_open_file to locate input files,
1314         in order to respect WEBINPUTS (ported from tangle.ch).