sinc with TL rev. 38618.
[luatex.git] / source / texk / web2c / luatexdir / ChangeLog
blob4998e8413a176bfd243edee58af0e8ed0d63e62a
1 2015-10-09  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
3         * luatex.c: Sync with the upstream.
4         * font/luatexfont.h, font/writetype2.w: Sync with the upstream.
6 2015-10-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
8         * lua/lepdflib.cc, tex/texnodes.h, tex/texnodes.w, NEWS:
9         Sync with the upstream.
10         * luatex.c: beta-0.81.0.
12 2015-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
14         * am/libluatex.am, am/luafontforge.am: Rearrange to compile the
15         luafontloader/src/* files as part of liblua(jit)tex.a, such that
16         there is only one libff.a used for LuaTeX and LuaJITTeX.
18 2015-10-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
20         * Sync with the upstream trunk.
21         * image/epdf.h: Support Visual Studio 2010 for log().
23 2015-10-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
25         * Completely sync with the upstream trunk.
26         Changed files are
27         font/writecff.w, font/writefont.w,
28         lua/lnodelib.c, lua/lpdflib.c, lua/luatoken.w,
29         luafontloader/fontforge/fontforge/lookups.c,
30         luafontloader/fontforge/fontforge/parsettf.c,
31         luafontloader/fontforge/fontforge/parsettfatt.c,
32         luafontloader/fontforge/fontforge/splinefont.h,
33         luafontloader/fontforge/fontforge/tottf.c,
34         luafontloader/src/luafflib.c,
35         luatex.c,
36         tex/commands.w, tex/dumpdata.w, tex/equivalents.h, tex/filename.w,
37         tex/maincontrol.w, tex/printing.w, tex/texmath.w.
39 2015-10-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
41         * pdf/pdfgen.w: Sync with the upstream trunk.
43 2015-09-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
45         * lua/lepdflib.cc: Drop useless casts 'const char *' -> 'char *'
46         when poppler has Object::initCmd(const char*).
48 2015-08-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
50         * lua/lepdflib.cc: Bugfix: m_Object_dictAdd() must use a copy of
51         the Lua string s, otherwise m_Dict_remove() would destroy it.
53 2015-08-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
55         * image/epdf.h, lua/lepdflib.cc: Drop HAVE_STRUCTTREEROOT_H,
56         we now require poppler 0.30 better.
57         
58 2015-08-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
60         * am/libluatex.am: Enable g++ warnings.
61         * image/epdf.h, image/pdftoepdf.w, lua/lepdflib.cc: Avoid most
62         g++ warnings.
64 2015-08-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
66         * image/pdftoepdf.w: Drop useless casts to avoid warnings.
67         * lua/lpdfscannerlib.cc: Unconstify Token.string to avoid warning.
68         * lua/lepdflib.cc: Drop useless casts to avoid some warnings.
70 2015-08-27  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
72         * tex/mlist.w: Sync with the trunk.
73         See http://tug.org/pipermail/luatex/2015-August/005319.html
74         * tex/printing.w: Do not write to a log file for the
75         --[no-]parse-first-line option, since the option actually does not
76         exist in lua(jit)tex, although superficially it remains for compatibility
77         with existing scripts etc.
79 2015-07-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
81         * am/luatex.am: Dependencies for 'make check'.
83 2015-07-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
85         * lua/lkpselib.c: Also used for MFLua and MFLuaJIT.
87 2015-03-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
89         * luazip/src/luazip.c (zip_close): Sync with the upstream.
91 2015-03-19 Luigi Scarso <luigi.scarso@gmail.com>
93         New library newtokenlib; several bugs fixed.
95 2015-01-14 Luigi Scarso <luigi.scarso@gmail.com>
97         tex/mlist.w: mlist_to_hlist(pointer mlist, boolean penalties, int cur_style)
98         HH-LS: was cur_mu = x_over_n(get_math_quad(cur_size), 18);
99         This is an old bug so the fix can influence outcome       
100         The current mu is instead
101         cur_mu = x_over_n(get_math_quad(cur_style), 18);
102         Thanks to joseph.wright <joseph.wright@morningstar2.co.uk>
104 2014-12-21  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
106         * lua/lnodelib.c: Sync with the upstream. Luigi fixes 'print' for
107         alink(n) when n is an attribute node.
109 2014-12-20  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
111         * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
113 2014-12-18  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
115         * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
117 2014-12-17  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
119         * tex/texnodes.w: Sync with the upstream.
120         Luigi fixes a bug on cached attributes.
122 2014-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
124         Avoid implicit function declarations.
125         * am/luafontforge.am (libjitff_a_CPPFLAGS): Add -DLuajitTeX.
126         * am/luamisc.am (libluajitmisc_a_CPPFLAGS: Add -DLuajitTeX.
127         * lua/liolibext.c, lua/lnodelib.c, luafontloader/src/luafflib.c,
128         slnunicode/slnunico.c: Include lauxlib_bridge.h for LuaJITTeX or
129         lauxlib.h for LuaTeX.
130         * luafontloader/fontforge/fontforge/fontviewbase.c:
131         Include gfile.h.        
133 2014-12-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
135         Sync with https://foundry.supelec.fr/svn/luatex/trunk/source/
136                           texk/web2c/luatexdir/ r5092.
138 2014-11-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
140         * luatex.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
142 2014-11-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
144         * luatex.c: Indentation.
146 2014-10-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
148         * luatex.[ch] [W32TEX]: Handle DLLPROC as for TeX & Co.
149         * am/luatex.am: Define LuajitTeX.
151 2014-10-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
153         * luatex.[ch]: More sync with ../texmfmp.h and ../lib/texmfmp.c.
155 2014-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
157         * luatex.c: Apply some code from W32TeX.
159 2014-10-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
161         * luatex.c: Sync with some recent changes in ../lib/texmfmp.c
162         (and luatexfirst.c from W32TeX).
164 2014-09-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
166         * am/luatex.am: Factor out common *_LDADD and *_DEPENDENCIES.
168 2014-08-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
170         * image/writepng.w: Avoid PNG warnings.
172 2014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
174         * image/epdf.h, lua/lepdflib.cc: Use code for poppler >= 0.25
175         with <StructTreeRoot.h> or code for poppler <= 0.24 without.
176         * fake/StructTreeRoot.h (removed): Obsolete.
177         * am/libluatex.am: Adapted.
179 2014-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
181         * luasocket/src/wsocket.h: Avoid redefinition of _WIN32_WINNT.
183 2014-07-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
185         * am/libluatex.am: Compiling liblua(jit)tex.a requires mplib.h;
186         add libmplib.a as dependency.
188 2014-06-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
190         * am/libluatex.am: Remove ../mplibdir/lmplib.c from sources and
191         dependency on libmplib.a.
192         * am/luatex.am: Add ../mplibdir/lmplib.c to sources, dependency
193         on libmplib.a, and -DpdfTeX to CPPFLAGS.
195         * am/luatex.am: Adapt to MetaPost 1.999 (libgmp and libmpfr).
197 2014-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
199         * font/mapfile.w, font/tounicode.w, font/writet1.w,
200         font/writettf.w, lang/texlang.w, pdf/pdfgen.w: Avoid undefined
201         behaviour when char is signed.
203 2014-06-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
205         * lua/luatex-api.h: Use '#define LUAI_HASHLIMIT 5' as default,
206         as in ../../libs/lua52/lua-5.2.3/src/lstring.c and in
207         ../../libs/luajit/LuaJIT-2.0.3/src/lj_str.c.
208         * lua/lstatslib.c, tex/printing.w: Use LUAI_HASHLIMIT instead of
209         LUATEX_HASHCHARS and LUAJITTEX_HASHCHARS.
211         * lua/luatex-api.h: Define MyName as "LuajitTeX"/"LuaTeX" and
212         my_name as "luajittex"/"luatex".
213         * lua/luainit.w, luatex.c, tex/printing.w: Use MyName, my_name.
215 2014-05-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
217         * tex/filename.w: Avoid redefinition of promptfilenamehelpmsg,
218         (re)use definition in ../cpascal.h.
220 2014-05-13  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
222         * tex/filename.w: Print the usual TeX promptfilenamehelpmsg also
223         in lua(jit)tex.
225 2014-04-10  Taco Hoekwater  <taco@luatex.org>
227         * luatex.c: hardwire the compilation date, preventing the 
228         luatex binary from constantly changing after recompilation
230 2014-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
232         * pdf/pdfgen.[hw]: Declare get_pdf_table_string() as
233         'static const char *'.
235 2014-03-29  Taco Hoekwater  <taco@luatex.org>
237         Import LuaTeX 0.79.1 from LuaTeX repository (released)
239 2014-03-28  Taco Hoekwater  <taco@luatex.org>
241         Import LuaTeX 0.79.0 from LuaTeX repository (released)
243 2014-03-15  Taco Hoekwater  <taco@luatex.org>
245         Import LuaTeX snapshot 0.79.0 from LuaTeX repository (r4903).
247 2014-02-10  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
249         * lua/luatex-api.h: MSC version has luaopen_bit32() in dll.
251 2014-02-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
253         * lua/luatex-api.h: Declare luaopen_bit32();
255 2014-02-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
257         * am/libluatex.am, am/luafontforge.am, am/luamisc.am,
258         am/luasocket.am, am/luatex.am: Add rules for LuaJITTeX.
260         * luajittex.test, luajitimage.test: New tests for LuaJITTeX.
262         Avoid compiler warnings.
263         * lua/liolibext.c, lua/luajitstuff.w: Drop compilation of
264         unused static functions.  Avoid to compute unused value.
265         * lua/texluajitc.w: Include header for luac_main() prototype.
266         * lua/luatex-api.h: Drop duplicate luac_main() prototype.
268 2014-02-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
270         * lua/luainit.w: Change a little for LuaJITTeX.
272 2014-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
274         Import LuaTeX snapshot 0.78.3 from LuaTeX repository (r4772).
276         * luatexfont.h: Keep the prototype for auto_expand_font() as
277         long as the function remains in vfovf.w.
279         * liolibext.c [__MINGW32__]: Don't redefine l_fseek etc.
281 2014-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
283         * am/libluatex.am, am/luafontforge.am, am/luamisc.am,
284         am/luasocket.am, am/luatex.am: Prepare for LuaJITTeX.
286 2014-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
288         * tex/printing.w (print_cs): Bug fix from TeX 3.14159265.
290 2014-01-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
292         * image/writepng.w: Allow libpng >= 1.6.3 to read images with
293         incorrect CMF bytes.
295 2013-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
297         * pdf/pdfgen.w (pdf_end_stream): Always write "\nendstream" for
298         PDF/A-1b compliance.
300 2013-12-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
302         * lua/liolibext.c: Large files in lua.
304 2013-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
306         * image/epdf.h, lua/lepdflib.cc: Adapt for poppler-0.25.x.
307         * fake/StructTreeRoot.h (new): Provide 0.24.4 compatibility.
308         * am/libluatex.am: Adapted.
310 2013-12-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
312         * font/writet3.w: More cast arg2 of setpdffloat to int64_t.
313         * pdf/pdfpage.w: Fix i32round() => i64round().
315 2013-12-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
317         * lua/liolibext.c: Large files in lua.
319 2013-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
321         Fix a serious bug related to large numbers in pdfimages.
322         Mail from Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 6 Dec 2013.
323         * pdf/pdftypes.h: Change pdffloat.m from long to int64_t.
324         Define i32round(a) and i64round(a) instead of lround(a).
325         * font/writet3.w: Cast arg2 of setpdffloat to int64_t.
326         * image/writejp2.w: Use uint64_t instead of unsigned long long.
327         * image/pdftoepdf.w, pdf/pdfgen.w, pdf/pdfglyph.w,
328         pdf/pdfimage.w, pdf/pdfpage.w, pdf/pdfrule.w: Replace lround(a)
329         by i32round(a) or i64round(a).
331 2013-09-20  Karl Berry  <karl@tug.org>
333         * lua/luainit.w (lua_initialize) [NATIVE_TEXLIVE_BUILD]: omit date.
334         * tex/printing.w (print_banner) [NATIVE_TEXLIVE_BUILD]: replace
335         date with WEB2CVERSION for TL binaries.
337 2013-08-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
339         * font/writecff.w: Fix a bug in write_cid_cff(). There was not
340         pdf_end_dict() for the corresponding pdf_begin_dict().
342 2013-07-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
344         * font/writettf.w: Treat unknown 'post' table versions
345         (found in some broken fonts) as 3.0, i.e., no Glyph names.
347 2013-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
349         * am/luatex.am, tests/luaimage.tex: Add a .pdf image.
351 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
353         * pdf/pdfgen.w: Use "%"LONGINTEGER_PRI"d" format specifier to
354         print (LONGINTEGER_TYPE) casted longinteger and off_t variables.
356 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
358         * lua/luainit.w (init_kpse, lua_initialize):
359         Use kpse_program_basename().
361 2013-07-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
363         * luaimage.test, tests/luaimage.tex: New test and data.
364         * am/luatex.am: Add the new test.
366 2013-07-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
368         * luatex.c : Replace lines between "#if defined (TeX) && defined (IPC)"
369         and "#endif /* TeX && IPC */" with those in texmfmp.c.
371 2013-07-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
373         * luatex.c, ptexlib.h: Revert the previous change.
374         * luatex.c [MSVC]: Undef timezone before including <time.h>.
376 2013-06-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
378         * luatex.c, ptexlib.h: Slightly modify because Visual Studio cannot
379         compile luatex.c.
381 2013-06-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
383         * lua/lcallbacklib.c, lua/luainit.w: Replace index() => strchr().
385         * ptexlib.h: More general cases for not been included first.
387         * lang/hyphen.h: Do not '#include "ptexlib.h"'.
388         * lang/hyphen.w: Include ptexlib.h instead of lang/hyphen.h.
390 2013-06-28  Karl Berry  <karl@tug.org>
392         * ptexlib.h: complain if various common things are #defined;
393         this must be the first #include.
395 2013-06-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
397         Bug fix for LuaTeX crash on 32bit Unix systems from Taco,
398         tlbuild mail 26 Jun 2013 16:10:35,
399         http://tug.org/pipermail/tex-live/2013-June/033782.html
400         * image/writejbig2.w, image/writejp2.w, image/writejpg.w,
401         image/writepng.w: Always first include ptexlib.h.
403 2013-06-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
405         * am/libluatex.am, am/luasocket.am, am/luatex.am:
406         Correct dependencies for build `on demand'.
408 2013-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
410         * lua52/: Moved to ../../../libs/lua52/.
411         * am/libluatex.am: Adapted.
412         * am/liblua52.am: Removed.
414 2013-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
416         * image/epdf.h, image/writeimg.w, lua/limglib.c,
417         lua/lpdfscannerlib.cc, lua/lstrlibext.c, lua/luatex-api.h,
418         lua/texluac.w, ptexlib.h: Replace 'lua52/lua.h' => 'lua.h'.
420 2013-06-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
422         * lua/lpdfscannerlib.cc: Include <poppler-config.h> instead of
423         <poppler/poppler-config.h>.
425 2013-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
427         * lua/luainit.w: Handle '--luac' and '--luaconly' (from Akira).
429 2013-04-16  Elie Roux  <elie.roux@telecom-bretagne.eu>
431         * font/tfmofm.w: check for .ofm as well as .tfm.
432         * tex/mainbody.w: check for !ini_version before initialize().
434 2013-04-16  Karl Berry  <karl@tug.org>
436         * lua/luainit.w (parse_options): GPLv2+, not just GPLv2 (after
437         discussion with Taco).
439 2013-04-14  Karl Berry  <karl@tug.org>
441         * lua/luainit.w: 2013
443 2013-04-08  Taco Hoekwater  <taco@luatex.org>
445         * luasocket/src/smtp.lua: uncomment require 'coroutine'
446         * luasocket/src/smtp_lua.c: regenerated
448 2013-04-05  Taco Hoekwater  <taco@luatex.org>
450         Import luatex beta 0.76.0 (released version)
452 2013-04-04  Karl Berry  <karl@tug.org>
454         * lua52/liolib.c: #include <unistd.h>.  Needed on FreeBSD
455         per Nikola Lecic, tlbuild 1 Apr 2013 02:10:08.
457 2013-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
459         Import LuaTeX beta-0.75.0 from LuaTeX repository (r4604).
461 2013-03-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
463         * am/luafontforge.am (EXTRA_DIST): Drop unused files.
465 2013-03-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
467         * lua52/*, am/liblua52.am (new): Add lua-5.2.1 for 0.75.0.
469 2013-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
471         * am/luatex.am: Allow subdir-objects.
473 2013-01-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
475         * pdf/pdftables.h: Support large files (from Martin).
477 2013-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
479         * luatex.c (mk_shellcmdlist): Simplify (sync with texmfmp.c).
481 2013-01-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
483         * pdf/pdfgen.w (write_stream_length): Cast length for printing.
485 2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
487         * am/libluatex.am (luatex_*_ctangle, pdflua.c):
488         Enable silent rules.
490 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
492         * lua/lkpselib.c: Use kpse_readable_file() with non-const arg.
494 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
496         * lua/lepdflib.cc: No need to test for Annot::decRefCnt with
497         poppler 0.18 or better.
499 2012-11-06  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
501         * pdf/pdflistout.w: sync with r4471 (a bug fix by H. Henkel).
503 2012-10-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
505         * tex/texfileio.w: input by pipe was impossible. enable it.
507 2012-10-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
509         * lua/luainit.w (lua_initialize): Free two malloc()ed strings.
511 2012-10-10  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
513         * luatex.c: Modify determination of fullpath for restricted shell
514         escape commands.
516 2012-10-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
518         Avoid TL vs W32TeX differences (from Akira).
519         * luatex.h: Include "ptexlib.h" instead of <luatexdir/ptexlib.h>
520         as in all other cases.
521         * ptexlib.h: Use _MSC_VER instead of MSVC.
522         * image/epdf.h: Change arg3 of extern void pdf_begin_obj() from
523         bool to int, as declared and defined in pdf/pdfgen.[hw].
524         FIXME: There should be only one extern declaration in one file.
526 2012-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
528         The openbsd compat library is no longer used.
529         * image/epdf.h, lua/luainit.w, ptexlib.h, utils/utils.w:
530         Drop #include "openbsd-compat.h".
531         * am/libluatex.am, am/luatex.am: Remove OBSDCOMPAT_*.
533 2012-09-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
535         * lua/luainit.w (parse_options): Avoid cast const => non-const.
537 2012-09-13  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
539         * lua/luainit.w (parse_options): allow lualatex "\input" "a b" on
540         Windows.
542 2012-09-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
544         * luatex-api.h: Avoid conflicting extern declaration of environ,
545         declared in <stdlib.h> for WIN32 (from W32TeX).
547 2012-08-21  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
549         * tex/texdeffont.w (tex_def_font): Recover the old code, because the
550         new code seems not to work.
552 2012-08-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
554         * ptexlib.h: Drop unused definition of M_PI.
556 2012-08-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
558         * tex/dumpdata.h: Remove the swap_items() prototype.
559         * luatex.c (swap_items): Moved from here ...
560         * tex/texfileio.w (swap_items): ... to here and declared static.
562         * luatex.c (input_line) [WIN32]: Sync with ../lib/texmfmp.c.
563         Detect and skip Byte order marks.
564         * tex/texfileio.[ch] [WIN32]: Use Poptr to record pipe input.
566 2012-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
568         * luatex.[ch] [W32TeX]: Use DLLPROC for luatex.dll.
569         * pdf/pdfgen.w [WIN32]: Convert file names '\\' -> '/'.
571 2012-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
573         * tex/texdeffont.w (tex_def_font): Better tracing of font
574         definitions, adapted from e-TeX version 2.5.
576 2012-07-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
578         * pdf/pdfpage.w (print_pdffloat): Cope with broken snprintf().
579         * lua/luastuff.w (luatex_error): Drop snprintf() return value.
581 2012-07-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
583         * lua/luainit.w (lua_initialize): Avoid using asprintf().
584         * utils/utils.w (initversionstring): Avoid using asprintf().
586         One and only one prototype per function.
587         * image/epdf.h, utils/utils.h: Add #include "luatex-common.h"
588         and move pdftex_{fail,warn} prototypes from here ...
589         * luatex-common.h (new): ... to here.
590         * am/libluatex.am (libluatex_a_SOURCES): Add the new file.
592 2012-07-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
594         * lua/loslibext.c os_gettimeofday): Use int64_t (from W32TeX).
596 2012-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
598         * image/pdftoepdf.cc (get_file_checksum): Use uint64_t and PRIu64.
599         * image/writejp2.w, lua/loslibext.c: Use uint64_t.
601 2012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
603         * tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.
605 2012-07-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
607         * image/writejbig2.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRId.
608         * pdf/pdfgen.w: Use LONGINTEGER_PRI, not LONGINTEGER_PRIi.
610 2012-07-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
612         * utils/utils.w: Use EXIT_FAILURE instead of EX_SOFTWARE.
614 2012-07-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
616         * pdf/pdfgen.w: Cast xfseeko() arg2 to avoid MSVC warning.
618 2012-07-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
620         * tex/texfileio.w (runpopen): Sync with ../lib/texmfmp.c.
622 2012-07-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
624         * luatex.c (shell_cmd_is_allowed): Change Arg1 from 'const char **'
625         into 'const char *'; sync with ../lib/texmfmp.c.
626         * luatex.h, lua/liolib.c, lua/loslibext.c, tex/texfileio.w: Adapt.
628         * lua/liolib.c, luascripts/txt2zlib.w: Use binary file io mode.
629         From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX).
631 2012-05-22  Taco Hoekwater  <taco@luatex.org>
633         * lua/lkpselib.c: new function kpse.default_texmfcnf() that
634         reports the value of DEFAULT_TEXMFCNF, for the benefit of
635         context mkiv on Debian.
637 2012-05-22  Taco Hoekwater  <taco@luatex.org>
639         * luafontloader/fontforge/fontforge/splinesave.c,
640         luafontloader/fontforge/fontforge/splinefont.h: drop parts of the
641         Type1 saving routines (unused) to remove a compiler warning.
643         * pdf/pdftypes.h, lua/limglib.c, image/epdf.h, image/writeimg.w,
644         image/writejbig2.w, ptexlib.h: more off_t trouble.
646 2012-05-21  Taco Hoekwater  <taco@luatex.org>
648         * tex/printing.w, lua/ltokenlib.c, lua/llanglib.c, lua/llualib.c,
649         lua/lnodelib.c, lua/luainit.w, lua/ltexiolib.c,
650         lua/lcallbacklib.c, lua/lstatslib.c, lua/ltexlib.c,
651         lua/loslibext.c, lua/lkpselib.c, lua/luatoken.w, lua/llfslibext.c,
652         lua/lfontlib.c, lua/luanode.w, lua/lpdflib.c, lua/luastuff.w:
653         when loading both "ptexlib.h" and "lua/luatex-api.h", make sure
654         that "ptexlib.h" is loaded first because that reads config.h
655         which affects loading of system headers (via Large File Support,
656         specifically).
658 2012-05-20  Khaled Hosny  <khaledhosny@eglug.org>
660         * tex/mlist.w: fix "warning: 'ext' might be used uninitialized".
662 2012-05-18  Taco Hoekwater  <taco@luatex.org>
664         * lua/ltexlib.c: fix a ConTeXt crash on `\endinput \end`.
666 2012-05-18  Khaled Hosny  <khaledhosny@eglug.org>
668         * tex/commands.h, tex/commands.w, tex/maincontrol.h,
669         tex/maincontrol.w, tex/mathcodes.h, tex/mathcodes.w, tex/scanning.w, 
670         tex/texmath.w, tex/mlist.w: backport math relatex changes from 0.71
671         * luatex.c: bump version to 0.70.1
673 2012-05-10  Hartmut Henkel  <hartmut@luatex.org>
674         and Peter Breitenlohner  <peb@mppmu.mpg.de>
676         * lua/lepdflib.cc: Adapt for poppler 0.19.4.
678 2012-05-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
680         * lua/luainit.w (lua_initialize): Use WEB2CVERSION.
681         * tex/printing.w (print_banner, log_banner): Same.
683 2012-02-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
685         * luatex.h: Remove definition of WRITE_OUT, now in ../cpascal.h.
687 2012-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
689         * image/writejbig2.w (getstreamlen): Change type to `off_t'.
690         Use LONGINTEGER_TYPE and LONGINTEGER_PRId for printing.
692 2012-01-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
694         Consistent support for large JBIG2 files.
695         * image/writejbig2.w: Change type of various struct members, local
696         variables and findstreamstart() from `long' or `unsigned long'
697         to `off_t'.  Do not use xfseek and xfseeko for the same file.
699 2011-10-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
701         * lua/lepdflib.cc: Test poppler 0.16.x / 0.17.x features.
703 2011-10-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
705         * am/libluatex.am: Avoid to `clean' ../mplibdir/lmplib.c.
707         * am/txt2zlib.am (noinst_PROGRAMS): Conditionally add txt2zlib,
708         such that txt2zlib$(EXEEXT) gets cleaned.
710 2011-09-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
712         * tex/printing.w (print_file_line): Bug fix: avoid uninitialized
713         lineno - from ../tex.ch.
714         * tex/inputstack.w: Slightly reformulate printing of current
715         line - from ../etexdir/etex.ch.
717 2011-08-04  Magnus Granberg  <zorry@gentoo.org>
719         * luatex.c: Do not #include empty file <kpathsea/recorder.h>.
721 2011-06-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
723         Reduce memory leaks.
724         * lua/lkpselib.c (do_lua_kpathsea_lookup): Free string no longer
725         used.
727 2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
729         lua/lkpselib.c (find_dpi): Allow find_suffix() to return a
730         const string.
732 2011-05-19  Taco Hoekwater  <taco@luatex.org>
734         * lua/ltexlib.c: fix a bug on negative catcode table arguments.
735         * luatex.c, NEWS: luatex is now version 0.70.1
736         * luatex_svnversion.h: updated to reflect latest luatex revision (4277)
738 2011-05-18  Taco Hoekwater  <taco@luatex.org>
740         * font/writefont.w (write_fontdescriptor):  Fix for non-embedded
741         fonts in the PDF output.
742         * image/writeimg.w (read_img): Fix for non-existent images that
743         could case a crash.
744         * luatex_svnversion.h: updated to reflect latest luatex revision (4273)
746 2011-05-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
748         * luatex.c (ipcpage): Add 'free(cwd)', remove Aleph comment.
750 2011-05-17  Taco Hoekwater  <taco@luatex.org>
752         * tex/texfileio.w (luatex_synctex_get_current_name): switch to xgetcwd()
753         from kpathsea
754         * luatex_svnversion.h: updated to reflect latest luatex revision (4272)
756 2011-05-15  Taco Hoekwater  <taco@luatex.org>
758         * tex/texfileio.w (luatex_synctex_get_current_name): work around a 
759         bug in getcwd().
760         * luatex_svnversion.h: updated to reflect latest luatex revision (4267)
762 2011-05-13  Taco Hoekwater  <taco@luatex.org>
764         * lua/luainit.w: change the copyright year to 2011.
765         * luatex_svnversion.h: updated to reflect latest luatex revision (4264)
766         * NEWS: forgot to mention synctex change
767         
768 2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
770         * image/writepng.w: #define PNG_FP_1 for libpng < 1.5.0.
772 2011-05-11  Taco Hoekwater  <taco@luatex.org>
774         * image/writepng.w: fix for 16bit images in pdf 1.4 (8bit) mode.
775         * luatex_svnversion.h: updated to reflect latest luatex revision (4258)
777 2011-05-09  Taco Hoekwater  <taco@luatex.org>
779         * tex/texfileio.[hw]: file relative filenames in synctex output.
780         * luatex_svnversion.h: updated to reflect latest luatex revision (4256)
782 2011-05-08  Taco Hoekwater  <taco@luatex.org>
784         * dvi/dvigen.w, pdf/pdfgen.w: fix missing newline after
785         'No pages of output' message.
786            
787 2011-05-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
789         * lua/luainit.w, tex/texfileio.w: fix recorder location.
791 2011-05-05  Taco Hoekwater  <taco@luatex.org>
793         * image/writepng.w: fixes for libpng 1.5.2.
794         * lua/lnodelib.c (lua_nodelib_fields): fix field count for 
795         nodes without subtype.
796         * lua/llfslibext.c: fix an variable type and a compiler warning.
797         * lua/loslibext.c (os_execute): fix non-argument use of os.execute.
798         * lua/ltexlib.c (do_luacprint): fix use of bad catcode tables.
799         * lua/luainit.w (HAVE_ASPRINTF): superfluous test removed.
800         * luatex.c: bump version to 0.70, remove SOCK_NONBLOCK definition.
801         * luatex_svnversion.h (luatex_svn_revision): now at 4247.
802         * NEWS: updated for luatex 0.70.0 release.
803         * tex/texfileio.w: patch from bug 615 (recorder filename location).
804         * tex/texmath.w: fix display alignment in TRT mode.
805         * utils/utils.w (HAVE_ASPRINTF): superfluous test removed.
807 2011-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
809         * utils/synctex{-common.h,.c,.h} (removed): Use copies from
810         ../synctexdir.
811         * synctex-luatex.h: Moved from here to ../../synctexdir.
812         * ptexlib.h, am/libluatex.am, am/luatex.am: Adapted. 
814 2011-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
816         * utils/utils.w (POPPLER_VERSION): Now defined in
817         poppler-config.h for poppler from the TeX Live tree, or in the
818         Makefile for an installed version.
820 2011-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
822         * am/libluatex.am, am/txt2zlib.am: When cross compiling skip
823         txt2zlib and use installed luascripts/pdflua.c.
825         Need poppler at least 0.12 for PDFDoc::getPDF*Version().
826         * image/pdftoepdf.cc: Remove code for older poppler versions.
828 2011-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
830         * image/writepng.w: Fix to build with png-1.5 (and avoid
831         `deprecated' warnings with png-1.4). The transformations part
832         is removed on recommendation by John Bowler (a png developer).
833         Mail from Thomas Klausner <tk@giga.or.at>, Sun, 30 Jan 2011.
835         * pdf/pdfgen.w: ANSI C function definitions.
837         * pdf/pdfluaapi.w (new_pdflua): Declare zp as const.
839         * am/libluatex.am (EXTRA_DIST): Distribute luascripts/pdflua.lua.
840         * am/txt2zlib.am (EXTRA_DIST): Distribute luascripts/txt2zlib.w.
842 2011-04-12  Taco Hoekwater  <taco@luatex.org>
844         * import of luatex 0.66.0, released version
846 2011-03-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
848         * am/libluatex.am: Use AM_CFLAGS instead of libluatex_a_CFLAGS.
849         * am/luatex.am: Use AM_CFLAGS instead of luatex_CFLAGS.
851 2011-03-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
853         * am/libluatex.am (libluatex_a_CPPFLAGS): Remove `-Iluatexdir'
854         and add `-DSYNCTEX_ENGINE_H='<utils/synctex-luatex.h>''.
855         * am/luatex.am (luatex_CPPFLAGS): The same.
857         * utils/synctex.c: Fix several typos in comments to reduce diffs
858         between files in synctexdir/ and luatexdir/utils/.
860 2011-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
862         * am/luatex.am [WIN32]: Add texlua.exe and texluac.exe wrappers
863         for MinGW.
865 2010-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
867         * am/luatex.am: install-exec-hook and uninstall-hook rules now
868         in ../Makefile.am; append required symlinks to bin_links.
870 2010-09-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
872         * luatex.test (new): Just testing 'luatex -credits'.
873         * luatexdir/am/luatex.am: Adjusted.
875 2010-07-12  Taco Hoekwater <taco@luatex.org>
877         * luafontloader/src/luafflib.c: quick fix for crashes triggered
878         by invalid panose data in Open/TrueType fonts.
879         * luatex_svnversion.h: new version (rev 3736).
881 2010-07-01  Taco Hoekwater <taco@luatex.org>
883         * lang/texlang.w, lua/lnodelib.c, luatex.c, luatex_svnversion.h,
884         pdf/pdfglyph.w, pdf/pdfpage.w, NEWS: new versions from released 0.60.2
885         
886 2010-06-18  Taco Hoekwater <taco@luatex.org>
888         * tex/textoken.h (smemory_word): add endiannes test
889         * font/texfont.h (liginfo, kerninfo): add endianness test
890         * luatex_svnversion.h: new version
892 2010-06-13  Taco Hoekwater <taco@luatex.org>
894         * tex/inputstack.h (in_state_record): force two bitfields to be signed,
895         after a bug report from Vladimir Volovich <vvv@vsu.ru>
896         * luatex_svnversion.h: new version
898 2010-06-11  Taco Hoekwater <taco@luatex.org>
900         * font/sfnt.w, font/sfnt.h, 
901         luafontloader/fontforge/Unicode/ucharmap.c,
902         luafontloader/fontforge/fontforge/python.c, 
903         luafontloader/fontforge/inc/basics.h: change include of "config.h"
904         to <w2c/config.h>.
905         * image/epdf.h, lua51/luaconf.h: change include of "c-auto.h"
906         to <w2c/c-auto.h>.
907         
908 2010-06-10  Taco Hoekwater <taco@luatex.org>
910         * luatex.c (swap_items): debugged.
911         * tex/texfileio.w (do_zdump): reswap the swapped items to avoid
912         crashes when called as |dump_things|.
914 2010-06-10  Taco Hoekwater <taco@luatex.org>
916         * luafilesystem/src/lfs.c(get_dir): do not assume Gnu C compiler.
918 2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
920         * am/libluatex.am (libluatex_a_CPPFLAGS): Add $(AM_CPPFLAGS).
921         * am/luafontforge.am (libff_a_CPPFLAGS): Add $(AM_CPPFLAGS).
922         * am/luatex.am (luatex_CPPFLAGS): Add $(AM_CPPFLAGS).
924 2010-06-10  Taco Hoekwater <taco@luatex.org>
926         * luasocket/src/options.c, luafontloader/fontforge/fontforge/parsettfatt.c,
927         luafontloader/fontforge/fontforge/parsettf.c,
928         luafontloader/fontforge/fontforge/lookups.c: enlarge static buffers
929         for sprintf().
930         
931 2010-06-04  Taco Hoekwater <taco@luatex.org>
933         * luatex.c (shell_cmd_is_allowed): make sure only commands with
934         absolute path names are executed on win32 in restricted mode --
935         patch from Akira Katuto.
937 2010-05-28  Taco Hoekwater <taco@luatex.org>
939         * luamd5/md.5c: bring in a new version from kepler to fix a
940         portability problem with stdint.h.
941         * luafontloader/src/ffdummies.c, lua/texluac.w: guard __attribute__
942         usage, which is a GNUC only feature.
943             
944 2010-05-19  Taco Hoekwater <taco@luatex.org>
946         * printing.w (print_banner, log_banner), luainit.w (lua_initialize):
947         add WEB2CVERSION to the banner.
949 2010-05-13  Taco Hoekwater <taco@luatex.org>
951         * utils/synctex.c, utils/synctex-luatex.h: update from Jérome
952         Laurens, bringing luatex in-line with the core synctex distribution
953         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
954         
955 2010-05-06  Taco Hoekwater <taco@luatex.org>
957         * luatex.c (calledit): use ifdef __MINGW32__ instead of WIN32.
958         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
960 2010-04-28  Taco Hoekwater <taco@luatex.org>
962         * tex/maincontrol.w: Fixed the error message for improper 
963         use of \protected, reported by Heiko Oberdiek 
964         <heiko.oberdiek@googlemail.com>.
966 2010-04-28  Taco Hoekwater  <taco@luatex>
968         * import of luatex 0.60.1, released version
970 2010-04-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
972         * image/epdf.h, lua51/luaconf.h: #include <c-auto.h> instead of
973         <web2c/c-auto.h>.
975 2010-04-24  Taco Hoekwater  <taco@luatex>
977         * lua/loslibext.c: fix os.exec() and os.spawn(), twice
979 2010-04-23  Taco Hoekwater  <taco@luatex>
981         * lua/loslibext.c: fix os.exec() and os.spawn() once more
983 2010-04-23  Taco Hoekwater  <taco@luatex>
985         * lua/loslibext.c: fix os.exec() and os.spawn()
986         * luatex_svnversion.h: updated to reflect the version of 0.60.x branch
988 2010-04-23  Taco Hoekwater  <taco@luatex>
990         * new import from luatex repository (HEAD of 0.60.x branch)
992 2010-04-20  Taco Hoekwater  <taco@luatex>
994         * new import from luatex repository (HEAD of 0.60.x branch)
996 2010-04-13  Taco Hoekwater  <taco@luatex>
998         * am/luafontforge.am: delete three lines.
999         * luafontloader/fontforge/Unicode/dump.c: deleted
1000         * luafontloader/fontforge/Unicode/backtrns.c: deleted
1001         * luafontloader/fontforge/Unicode/unialt.c: deleted
1003 2010-04-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
1005         * image/pdftoepdf.cc: Fix building with libpoppler.
1006         * luatex.c: Fix building for MinGW32.
1008         * luatex.c (ipcpage): Avoid compiler warning.
1009         (catch_interrupt): Declare as static.
1010         * pdf/pdflistout.w (init_*_backend_functions): ANSI C func defs.
1012 2010-04-13  Taco Hoekwater  <taco@luatex>
1014         * new import from luatex repository (HEAD of 0.60.x branch)
1016 2010-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1018         * am/luatex.am: Remove libmplib.a from $($(luatex_OBJECTS)'s
1019         dependencies ...
1020         * am/libluatex.am: and add to $(libluatex_a_OBJECTS)'s
1021         dependencies; otherwise parallel builds may fail.
1023 2010-04-04  Taco Hoekwater  <taco@luatex>
1025         * import of luatex 0.60.0, with a few local changes:
1026         * luatex.c (ipcpage): fix fetching of 'name'.
1027         * dvi/dvigen.w (dvi_end_page): fix IPC flushing.
1028         * image/pdftoepdf.cc (write_epdf1): comment out use of 
1029         page->getResourcesNF() and page->getMetadataNF().
1031 2010-03-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
1033         * luatangle.ch: Use kpse_set_program_name(argv[0], nil) instead
1034         of kpse_set_progname(argv[0]).
1036 2010-02-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
1038         * am/luamisc.am (libluamisc_a_CPPFLAGS): Adapt to zziplib now
1039         in ../../../libs/zziplib/.
1041 2010-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
1043         Moved zziplib/ to ../../../libs/zziplib.
1044         * am/luamisc.am (libluamisc_a_DEPENDENCIES): Adapt.
1045         * am/luatex.am (luatex_ldadd): Adapt.
1047 2010-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
1049         Clarify dependencies between luaTeX libraries:
1050         * am/libzzip.am: Remove dependency on liblua51.a.
1051         Remove memdisk.[ch] and mmapped.[ch] from libzzip_a_SOURCES and
1052         add them to EXTRA_DIST.
1053         * am/luamisc.am: Add dependency on libzzip.a.
1054         * am/luasocket.am: Replace dependency on libzzip.a by liblua51.a.
1056 2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1058         * utils/avl.c (avl_copy): Proper handling of const.
1060 2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1062         * luafontloader/src/luafflib.h: New file with prototypes used
1063         by libluatex.
1064         * luafontloader/src/luafflib.c: #include "luafflib.h".
1065         * font/writecff.c, font/writetype2.c: Remove the extern decls
1066         and #include <luafontloader/src/luafflib.h>.
1067         * font/writecff.c (writetype1w): Change tfm_size integer=>int.
1068         * am/luafontforge.am: Add the new file.
1070         * luatex-api.h: Add prototype for utf8_idpb(), renamed
1071         lua_utf8_idpb to avoid name conflicts with fontforge library.
1072         * lang/texlang.c: Declare utf8_idpb() as non-static.
1073         * tex/filename.c: Remove prototype for utf8_idpb().
1075         * tex/filename.c (scan_file_name): Don't assume a null byte
1076         after string created by utf8_idpb().
1078 2010-01-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
1080         * font/writettf.c: Remove extern charsetstr[].
1081         * lua/lkpselib.c: Remove extern luainit.
1082         * lua/luainit.c: Remove extern normalize_quotes(), argc, argv.
1083         * tex/textoken.c: Remove extern insert_vj_template().
1085         * utils/utils.h: Add extern declaration of fb_array ...
1086         * font/writet1.c, font/writettf.c: ... removed from here.
1087         * luatex-api.h: Add extern declaration of program_name_set ...
1088         * lua/luainit.c, lua/luatex.c: ... removed from here.
1089         * luatex-api.h: Add extern declaration of startup_filename,
1090         safer_option, and nosocket_option ...
1091         * lua/luastuff.c: ... removed from here.
1092         * lua/llualib.c (luabytecode_max): Change integer=>int.
1093         * luatex-api.h: Add extern declaration of luabytecode_max,
1094         luabytecode_bytes, luastate_bytes, callback_count, and
1095         saved_callback_count ...
1096         * lstatslib.c: ... removed from here.
1098 2010-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1100         * am/luatex.am (luatex_CFLAGS, luatex_CXXFLAGS),
1101         am/libluatex.am (libluatex_a_CFLAGS): Enable compiler warnings.
1103         Avoid most compiler warnings:
1105         * font/luatexfont.h, luatexdir/hyphen.h, image/writeimg.h,
1106         image/writejbig2.h, luatex.h, pdf/pagetree.h, pdf/pdfpage.h,
1107         utils/avlstuff.h, utils/utils.h: ANSI C function prototypes.
1108         * font/mapfile.c, font/writeenc.c, font/writefont.c,
1109         font/writet1.c, font/writettf.c, image/writeimg.c,
1110         image/writejbig2.c, lang/hyphen.c, pdf/pagetree.c,
1111         pdf/pdfpage.c, utils/avlstuff.c, utils/utils.c: ANSI C function
1112         definitions.
1114         * font/luafont.c, lang/texlang.c, lua/lcallbacklib.c,
1115         lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
1116         lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
1117         lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luanode.c,
1118         lua/luatoken.c: Remove 'char *' or 'unsigned char *'  casts of
1119         Lua strings.
1121         * font/texfont.h, font/writecff.h, luatex-api.h, luatex.h,
1122         nodes.h, primitive.h, ptexlib.h, utils/utils.h, font/dofont.c,
1123         font/luafont.c, font/tfmofm.c, font/vfovf.c, font/writecff.c,
1124         font/writefont.c, font/writet1.c, font/writettf.[ch],
1125         lang/hyphen.c, lang/texlang.c, lua/lcallbacklib.c,
1126         lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
1127         lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
1128         lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luainit.c,
1129         lua/luanode.c, lua/luastuff.c, lua/luatex.c, lua/luatoken.c,
1130         luatex.ch, tex/filename.c, tex/linebreak.c, tex/math.c,
1131         tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
1132         tex/textoken.c, utils/utils.c: Declare various function params
1133         and args, local and global vars, and struct members as const.
1135         * font/luafont.c, font/texfont.c, font/tfmofm.c, font/vfovf.c,
1136         font/writeenc.c, font/writefont.c, font/writet1.c,
1137         font/vfpacket.c, font/writettf.c, font/writetype2.c,
1138         image/writeimg.c, lang/hyphen.c, lang/texlang.c, lua/limglib.c,
1139         lua/llualib.c, lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c,
1140         lua/lstatslib.c, lua/ltexlib.c, lua/luainit.c, lua/luanode.c,
1141         lua/luastuff.c, mathcodes.c, tex/linebreak.c, tex/math.c,
1142         tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
1143         tex/textoken.c, utils/synctex.c, utils/utils.c:
1144         Declare functions and global vars as static.
1146         * font/texfont.c: #include "luatexfont.h" and remove externs.
1147         * image/writejpg.c: #include "writejpg.h".
1148         * image/writepng.c: #include "writepng.h".
1149         * lang/hnjalloc.c: #include "hnjalloc.h".
1150         * lua/texluac.c: #include "luatex-api.h".
1151         * utils/synctex.c: #include "synctex.h".
1152         * utils/utils.c: #include "utils.h".
1154         * lua/lcallbacklib.c: Remove prototype for lua_traceback().
1155         * ptexlib.h: Add prototype for get_command_id() ...
1156         * lua/ltokenlib.c: ... removed from here.
1157         * nodes.h: Add prototype for list_node_mem_usage() ...
1158         * lua/lnodelib.c: ... removed from here.
1159         * managed-sa.h: Add prototype for rawset_sa_item() ...
1160         * mathcodes.c, tex/math.c: ... removed from here.
1162         * inc-epdf.h: New file with prototypes for epdf_mark_glyphs(),
1163         epdf_create_fontdescriptor(), and epdf_write_enc() ...
1164         * image/epdf.h: ... removed from here.
1165         * image/epdf.h, font/writeenc.c: #include inc-epdf.h.
1166         * inc-vfovf.h: New file with prototype for make_vf_table() ...
1167         * lua/lfontlib.c: ... removed from here.
1168         * font/vfovf.c, lua/lfontlib.c: #include inc-vfovf.h.
1169         * inc-extra.h: New file with prototypes for check_isnode()
1170         and lua_nodelib_push_fast() ...
1171         * lua/limglib.c, lua/llanglib.c, lua/lstatslib.c, lua/ltexlib.c:
1172         ... removed from here.
1173         * lua/limglib.c, lua/llanglib.c, lua/lnodelib.c,
1174         lua/lstatslib.c, lua/ltexlib.c: #include "inc-extra.h".
1175         * am/libluatex.am (libluatex_a_SOURCES): Add the new files.
1177         * font/texfont.c (lua_char_exists_callback),
1178         font/vfovf.c (is_letterspaced_font),
1179         font/vfpacket.c (packet_command_names),
1180         font/writet1.c (free_glyph_names),
1181         image/writeimg.c (image_group_ref),
1182         lua/ltexlib.c (get_something_internal),
1183         tex/texnodes.c (print_free_chain),
1184         textcodes.c (clearcatcodestack):
1185         Skip unused static funcs and vars (via #if 0 ... #endif).
1187         * lua/luainit.c (lua_initialize): Replace string constant
1188         arguments of putenv() by non-const static string variables.
1190         * utils/avl.c (avl_delete): Don't reuse const input param for
1191         non-const return value.
1193         * utils/synctex.c: Rename synctexchar => synctex_char and
1194         synctexnode => synctex_node as declared in utils/synctex.h.
1196 2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1198         * luatangle.ch: Declare web_name, chg_name, pascal_name, and
1199         pool_name as const_c_string.
1201         * lua/lkpselib.c (readable_file, lua_kpathsea_readable_file):
1202         Drop non-const cast of {kpse,kpathsea}_readable_file() result.
1204 2010-01-03  Karl Berry  <karl@tug.org>
1206         * luatex.ch: propagate "executed safely" wording change.
1208 2009-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1210         * am/luatex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P).
1212 2009-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1214         * lua/loslibext.c (do_mkdtemp): Declare as static and skip
1215         compilation when not used.
1217 2009-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1219         * pdf/pagetree.c, utils/utils.c: Drop #ifdef HAVE_ASPRINTF and
1220         #include <stdio.h>.
1222 2009-12-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1224         * utils/synctex.c: Remove (already commented) extern declaration
1225         of gettexstring().
1227 2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
1229         * luatex.web: Use kpse_{in,out}_name_ok(), now in Kpathsea,
1230         instead of open{in,out}nameok().
1231         * luatex.defines: Replace open_{in,out}_name_ok by
1232         kpse_{in,out}_name_ok.
1234 2009-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1236         * image/pdftoepdf.cc: Adapt to poppler-0.12.
1238         * FIXME: image/epdf.h, utils/utils.h: Multiple prototypes for
1239         pdftex_fail, pdftex_warn, and probably others.
1241 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1243         * am/luatex.am: Adapt to new makecpool with one argument.
1245 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1247         * lua/luainit.c (dump_name, c_job_name, last_source_name,
1248         last_lineno): Drop extern declarations (now in texmfmp.h).
1249         (user_progname): Constify string.
1250         (lua_initialize): Avoid modifying the const_string 'dump_name'.
1252 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
1254         * utils/synctex.c (synctex_suffix*): Constify strings.
1256 2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1258         * luatangle.ch: Eliminate the unused |end_of_TANGLE| label.
1260 2009-09-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
1262         * am/libzzip.am: Enable compiler warnings.
1263         * am/liblua51.am, am/libluatex.am, am/luafontforge.am,
1264         am/luamisc.am, am/luasocket.am, am/luatex.am: Prepare compiler
1265         warnings.
1267 2009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
1269         * lua/lstatslib.c, lua/luainit.c: Drop extern decl of ptexbanner.
1270         * utils/utils.c: #include <kpathsea/version.h> and drop extern
1271         decls.
1273 2009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
1275         * lua/liolib.c (io_popen): Changed Arg1 of shell_cmd_is_allowed().
1276         * lua/loslibext.c (os_exec, os_spawn, os_execute): Same.
1278 2009-08-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
1280         * am/luatangle.am: Adapt to web2c-sh.
1281         * am/luatex.am (luatex_tangle): Use tangle-sh.
1282         Adapt to tangle-sh and web2c-sh.
1284 2009-06-26  Taco Hoekwater <taco@luatex.org>
1286         * lua51/lcoco.c, lua51/lcoco.h: disable the coco patch on
1287         linux+ppc because it crashes the executable.
1289 2009-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1291         * font/writet1.c, image/epdf.[ch], utils/avlstuff.c:
1292         remove #include <kpathsea/c-proto.h>.
1293         
1294 2009-06-25  Taco Hoekwater <taco@luatex.org>
1295         
1296         * luatexdir: import of luatex release 0.40.6.
1298 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1300         * lua/luatex.c: drop P?C, P?H, use ANSI C function declarations.
1302 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1304         * font/writet1.c, image/epdf.c, utils/avlstuff.c:
1305         #include <stdarg.h>, not <kpathsea/c-vararg.h>.
1307 2009-06-09  Taco Hoekwater <taco@luatex.org>
1308         
1309         * luatexdir: import of luatex release 0.40.4.
1311 2009-06-08  Taco Hoekwater <taco@luatex.org>
1312         
1313         * luatexdir: import of luatex release 0.40.3.
1314         This affects many files in subdirectories.
1316 2009-06-04  Taco Hoekwater <taco@luatex.org>
1317         
1318         * luatexdir: "avoid variable declaration after statement" patch
1319         from Vladimir Volovich
1321 2009-06-03  Taco Hoekwater <taco@luatex.org>
1322         
1323         * luatexdir/luafontloader/fontforge/fontforge/namelist.c (psaltnames): add
1324         a dimension specifier, for AIX portability.
1326 2009-06-03  Taco Hoekwater <taco@luatex.org>
1327         
1328         * luatexdir: import of luatex release 0.40.2.
1329         This affects many files in subdirectories.
1331 2009-05-30  Peter Breitenlohner <peb@mppmu.mpg.de>
1333         * am/luatex.am (install-exec-hook, uninstall-hook):
1334         avoid dangling symlinks.
1336 2009-05-25  Peter Breitenlohner <peb@mppmu.mpg.de>
1338         * am/luatex.am (uninstall-hook): new target to uninstall texlua[c]
1339         symlinks.
1341 2009-05-25  Karl Berry  <karl@tug.org>
1343         * am/luatex.am (install-exec-hook): new target to install texlua[c]
1344         symlinks.
1346 2009-05-08  Taco Hoekwater <taco@luatex.org>
1347         
1348         * luatexdir: import of the current state of luatex, 0.40.1.
1349         This affects many files in subdirectories.
1351 2009-05-05  Peter Breitenlohner <peb@mppmu.mpg.de>
1353         * image/pdftoepdf.cc, utils/utils.c: adapt for poppler.
1355         patches from Norbert Preinig <preining@logic.at>
1357 2009-04-27  Taco Hoekwater <taco@luatex.org>
1359         * pdf/pdfpage.c: rename exp10 to exp10_arr to solve a 
1360         conflict with cygwin's <math.h>.
1361         * font/texfont.h: add #undef quad before definition to suppress a
1362         compiler warning under cygwin. 
1364 2009-04-22  Taco Hoekwater <taco@luatex.org>
1366         * luatexdir: import of the current state of luatex, 0.40.0. 
1367         This affects many files in subdirectories.
1369 2009-04-16  Taco Hoekwater <taco@luatex.org>
1371         * image/image.h: remove the trick that forced a local png.h
1373 2009-04-16  Taco Hoekwater <taco@luatex.org>
1375         * luatexdir: import of the current state of luatex, 0.39.0. 
1376         This affects many files in subdirectories.
1378 2009-03-27  Peter Breitenlohner <peb@mppmu.mpg.de>
1380         * am/luatex.am (luatex_c_h): avoid to split the C code
1381         (from Taco).
1383 2009-03-27  Taco Hoekwater <taco@luatex.org>
1385         * luatexdir: import of the current state of luatex, 0.37.0. 
1386         This affects many files in subdirectories.
1388 2009-03-05  Peter Breitenlohner <peb@mppmu.mpg.de>
1390         * image/pdftoepdf.cc: Uninclude <config.h>, included later
1391         by "epdf.h".
1393 2009-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
1395         * luatangle.ch: use kpse_open_file to locate input files,
1396         in order to respect WEBINPUTS (ported from tangle.ch).