diff options
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/NEWS | 10 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/font/mapfile.c | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/lkpselib.c | 20 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/lpdfelib.c | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex_svnversion.h | 2 |
5 files changed, 34 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/NEWS b/Build/source/texk/web2c/luatexdir/NEWS index f590c848a5c..f84ca997c3b 100644 --- a/Build/source/texk/web2c/luatexdir/NEWS +++ b/Build/source/texk/web2c/luatexdir/NEWS @@ -1,4 +1,14 @@ ============================================================== +LuaTeX 1.10.0 2019-03-15 +============================================================== + +This the release for TeX Live 2019. +Small bug fixes, code clean up. +This is a stable release: only bug-fixes until the next TeX Live. + + + +============================================================== LuaTeX 1.09.2 2019-01-19 ============================================================== diff --git a/Build/source/texk/web2c/luatexdir/font/mapfile.c b/Build/source/texk/web2c/luatexdir/font/mapfile.c index 5ea1e7ca0a2..077ffd691ab 100644 --- a/Build/source/texk/web2c/luatexdir/font/mapfile.c +++ b/Build/source/texk/web2c/luatexdir/font/mapfile.c @@ -519,6 +519,7 @@ static void fm_read_info(void) &file_opened, &fm_buffer, &fm_size)) { if (file_opened) { if (fm_size > 0) { +recorder_record_input(cur_file_name); report_start_file(filetype_map,cur_file_name); while (!fm_eof()) { fm_scan_line(); @@ -539,6 +540,7 @@ static void fm_read_info(void) } else { fm_read_file(); report_start_file(filetype_map,cur_file_name); +recorder_record_input(cur_file_name); while (!fm_eof()) { fm_scan_line(); mitem->lineno++; diff --git a/Build/source/texk/web2c/luatexdir/lua/lkpselib.c b/Build/source/texk/web2c/luatexdir/lua/lkpselib.c index b1dafa58ac2..fd80ea0c270 100644 --- a/Build/source/texk/web2c/luatexdir/lua/lkpselib.c +++ b/Build/source/texk/web2c/luatexdir/lua/lkpselib.c @@ -825,6 +825,24 @@ static int lua_kpathsea_new(lua_State * L) return 1; } +static int lua_record_input_file(lua_State * L) +{ + const char *name = lua_tostring(L, 1); + if (name != NULL) { + recorder_record_input(name); + } + return 0; +} + +static int lua_record_output_file(lua_State * L) +{ + const char *name = lua_tostring(L, 1); + if (name != NULL) { + recorder_record_output(name); + } + return 0; +} + static const struct luaL_Reg kpselib_m[] = { {"__gc", lua_kpathsea_finish}, {"init_prog", lua_kpathsea_init_prog}, @@ -838,6 +856,8 @@ static const struct luaL_Reg kpselib_m[] = { {"lookup", lua_kpathsea_lookup}, {"version", lua_kpse_version}, {"default_texmfcnf", show_texmfcnf}, + {"record_input_file", lua_record_input_file}, + {"record_output_file", lua_record_output_file}, {NULL, NULL} /* sentinel */ }; diff --git a/Build/source/texk/web2c/luatexdir/lua/lpdfelib.c b/Build/source/texk/web2c/luatexdir/lua/lpdfelib.c index c4f598bf4e3..8f4f56d2d1e 100644 --- a/Build/source/texk/web2c/luatexdir/lua/lpdfelib.c +++ b/Build/source/texk/web2c/luatexdir/lua/lpdfelib.c @@ -259,7 +259,7 @@ define_to_string(stream, "pdfe.stream") static int pdfelib_tostring_reference(lua_State * L) { \ pdfe_reference *p = check_isreference(L, 1); \ if (p != NULL) { \ - lua_pushfstring(L, "<pdfe.reference " "%i>", p->onum); \ + lua_pushfstring(L, "<pdfe.reference " "%i>", (int) p->onum); \ return 1; \ } \ return 0; \ diff --git a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h index 60c619241e2..f82ab3bb193 100644 --- a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1 +1 @@ -#define luatex_svn_revision 7120 +#define luatex_svn_revision 7124 |