Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src lua: updated from 5.3 work3 to 5.3.0
details: https://anonhg.NetBSD.org/src/rev/286a3d97f011
branches: trunk
changeset: 335959:286a3d97f011
user: lneto <lneto%NetBSD.org@localhost>
date: Mon Feb 02 14:03:05 2015 +0000
description:
lua: updated from 5.3 work3 to 5.3.0
* improved the overall kernel Lua patch; fixed coercion
* updated lua/syslog
* updated luapmf and luasystm Makefiles
diffstat:
external/mit/lua/dist/Makefile | 2 +-
external/mit/lua/dist/README | 2 +-
external/mit/lua/dist/doc/alert.png | Bin
external/mit/lua/dist/doc/contents.html | 154 ++-
external/mit/lua/dist/doc/lua.1 | 15 +-
external/mit/lua/dist/doc/lua.css | 13 +-
external/mit/lua/dist/doc/manual.html | 1356 +++++++++++++++++-------------
external/mit/lua/dist/doc/readme.html | 61 +-
external/mit/lua/dist/src/Makefile | 140 +-
external/mit/lua/dist/src/lapi.c | 308 +++---
external/mit/lua/dist/src/lapi.h | 8 +-
external/mit/lua/dist/src/lauxlib.c | 159 +-
external/mit/lua/dist/src/lauxlib.h | 67 +-
external/mit/lua/dist/src/lbaselib.c | 119 +-
external/mit/lua/dist/src/lbitlib.c | 4 +-
external/mit/lua/dist/src/lcode.c | 111 +-
external/mit/lua/dist/src/lcode.h | 6 +-
external/mit/lua/dist/src/lcorolib.c | 4 +-
external/mit/lua/dist/src/lctype.c | 4 +-
external/mit/lua/dist/src/lctype.h | 4 +-
external/mit/lua/dist/src/ldblib.c | 103 +-
external/mit/lua/dist/src/ldebug.c | 106 +-
external/mit/lua/dist/src/ldebug.h | 9 +-
external/mit/lua/dist/src/ldo.c | 62 +-
external/mit/lua/dist/src/ldo.h | 6 +-
external/mit/lua/dist/src/ldump.c | 17 +-
external/mit/lua/dist/src/lfunc.c | 16 +-
external/mit/lua/dist/src/lgc.c | 254 ++--
external/mit/lua/dist/src/lgc.h | 30 +-
external/mit/lua/dist/src/linit.c | 42 +-
external/mit/lua/dist/src/liolib.c | 95 +-
external/mit/lua/dist/src/llex.c | 58 +-
external/mit/lua/dist/src/llex.h | 12 +-
external/mit/lua/dist/src/llimits.h | 82 +-
external/mit/lua/dist/src/lmathlib.c | 93 +-
external/mit/lua/dist/src/lmem.c | 28 +-
external/mit/lua/dist/src/lmem.h | 32 +-
external/mit/lua/dist/src/loadlib.c | 229 +++-
external/mit/lua/dist/src/lobject.c | 155 +-
external/mit/lua/dist/src/lobject.h | 125 +-
external/mit/lua/dist/src/lopcodes.c | 11 +-
external/mit/lua/dist/src/lopcodes.h | 32 +-
external/mit/lua/dist/src/loslib.c | 33 +-
external/mit/lua/dist/src/lparser.c | 92 +-
external/mit/lua/dist/src/lparser.h | 18 +-
external/mit/lua/dist/src/lprefix.h | 4 +-
external/mit/lua/dist/src/lstate.c | 27 +-
external/mit/lua/dist/src/lstate.h | 92 +-
external/mit/lua/dist/src/lstring.c | 62 +-
external/mit/lua/dist/src/lstring.h | 14 +-
external/mit/lua/dist/src/lstrlib.c | 660 ++++++++++----
external/mit/lua/dist/src/ltable.c | 207 ++--
external/mit/lua/dist/src/ltable.h | 18 +-
external/mit/lua/dist/src/ltablib.c | 185 ++-
external/mit/lua/dist/src/ltm.c | 20 +-
external/mit/lua/dist/src/ltm.h | 6 +-
external/mit/lua/dist/src/lua.c | 100 +-
external/mit/lua/dist/src/lua.h | 159 ++-
external/mit/lua/dist/src/luac.c | 38 +-
external/mit/lua/dist/src/luaconf.h | 542 ++++++-----
external/mit/lua/dist/src/lundump.c | 13 +-
external/mit/lua/dist/src/lutf8lib.c | 4 +-
external/mit/lua/dist/src/lvm.c | 495 ++++++----
external/mit/lua/dist/src/lvm.h | 21 +-
external/mit/lua/dist/src/lzio.c | 12 +-
external/mit/lua/dist/src/lzio.h | 7 +-
lib/lua/syslog/syslog.c | 6 +-
sys/modules/luapmf/Makefile | 5 +-
sys/modules/luasystm/Makefile | 5 +-
69 files changed, 3991 insertions(+), 2988 deletions(-)
diffs (truncated from 14774 to 300 lines):
diff -r 693d50185d95 -r 286a3d97f011 external/mit/lua/dist/Makefile
--- a/external/mit/lua/dist/Makefile Mon Feb 02 03:14:02 2015 +0000
+++ b/external/mit/lua/dist/Makefile Mon Feb 02 14:03:05 2015 +0000
@@ -36,7 +36,7 @@
# == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
# Convenience platforms targets.
-PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
+PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris
# What to install.
TO_BIN= lua luac
diff -r 693d50185d95 -r 286a3d97f011 external/mit/lua/dist/README
--- a/external/mit/lua/dist/README Mon Feb 02 03:14:02 2015 +0000
+++ b/external/mit/lua/dist/README Mon Feb 02 14:03:05 2015 +0000
@@ -1,5 +1,5 @@
-This is Lua 5.3.0 (work3), released on 19 Jul 2014.
+This is Lua 5.3.0, released on 06 Jan 2015.
For installation instructions, license details, and
further information about Lua, see doc/readme.html.
diff -r 693d50185d95 -r 286a3d97f011 external/mit/lua/dist/doc/alert.png
Binary file external/mit/lua/dist/doc/alert.png has changed
diff -r 693d50185d95 -r 286a3d97f011 external/mit/lua/dist/doc/contents.html
--- a/external/mit/lua/dist/doc/contents.html Mon Feb 02 03:14:02 2015 +0000
+++ b/external/mit/lua/dist/doc/contents.html Mon Feb 02 14:03:05 2015 +0000
@@ -21,10 +21,6 @@
</H1>
<P>
-<IMG SRC="alert.png" ALIGN="absbottom">
-<EM>All details may change in the final version.</EM>
-
-<P>
The reference manual is the official definition of the Lua language.
For a complete introduction to Lua programming, see the book
<A HREF="http://www.lua.org/pil/">Programming in Lua</A>.
@@ -37,7 +33,7 @@
<A HREF="#index">index</A>
<HR>
<SMALL>
-Copyright © 2011–2014 Lua.org, PUC-Rio.
+Copyright © 2015 Lua.org, PUC-Rio.
Freely available under the terms of the
<A HREF="http://www.lua.org/license.html">Lua license</A>.
</SMALL>
@@ -117,6 +113,7 @@
<LI><A HREF="manual.html#6.4">6.4 – String Manipulation</A>
<UL>
<LI><A HREF="manual.html#6.4.1">6.4.1 – Patterns</A>
+<LI><A HREF="manual.html#6.4.2">6.4.2 – Format Strings for Pack and Unpack</A>
</UL>
<LI><A HREF="manual.html#6.5">6.5 – UTF-8 Support</A>
<LI><A HREF="manual.html#6.6">6.6 – Table Manipulation</A>
@@ -144,10 +141,10 @@
<TD>
<H3><A NAME="functions">Lua functions</A></H3>
<P>
+<A HREF="manual.html#6.1">basic</A><BR>
<A HREF="manual.html#pdf-_G">_G</A><BR>
<A HREF="manual.html#pdf-_VERSION">_VERSION</A><BR>
-<P>
<A HREF="manual.html#pdf-assert">assert</A><BR>
<A HREF="manual.html#pdf-collectgarbage">collectgarbage</A><BR>
<A HREF="manual.html#pdf-dofile">dofile</A><BR>
@@ -173,6 +170,7 @@
<A HREF="manual.html#pdf-xpcall">xpcall</A><BR>
<P>
+<A HREF="manual.html#6.2">coroutine</A><BR>
<A HREF="manual.html#pdf-coroutine.create">coroutine.create</A><BR>
<A HREF="manual.html#pdf-coroutine.isyieldable">coroutine.isyieldable</A><BR>
<A HREF="manual.html#pdf-coroutine.resume">coroutine.resume</A><BR>
@@ -182,8 +180,8 @@
<A HREF="manual.html#pdf-coroutine.yield">coroutine.yield</A><BR>
<P>
+<A HREF="manual.html#6.10">debug</A><BR>
<A HREF="manual.html#pdf-debug.debug">debug.debug</A><BR>
-<A HREF="manual.html#pdf-debug.Csize">debug.Csize</A><BR>
<A HREF="manual.html#pdf-debug.gethook">debug.gethook</A><BR>
<A HREF="manual.html#pdf-debug.getinfo">debug.getinfo</A><BR>
<A HREF="manual.html#pdf-debug.getlocal">debug.getlocal</A><BR>
@@ -201,15 +199,7 @@
<A HREF="manual.html#pdf-debug.upvaluejoin">debug.upvaluejoin</A><BR>
<P>
-<A HREF="manual.html#pdf-file:close">file:close</A><BR>
-<A HREF="manual.html#pdf-file:flush">file:flush</A><BR>
-<A HREF="manual.html#pdf-file:lines">file:lines</A><BR>
-<A HREF="manual.html#pdf-file:read">file:read</A><BR>
-<A HREF="manual.html#pdf-file:seek">file:seek</A><BR>
-<A HREF="manual.html#pdf-file:setvbuf">file:setvbuf</A><BR>
-<A HREF="manual.html#pdf-file:write">file:write</A><BR>
-
-<P>
+<A HREF="manual.html#6.8">io</A><BR>
<A HREF="manual.html#pdf-io.close">io.close</A><BR>
<A HREF="manual.html#pdf-io.flush">io.flush</A><BR>
<A HREF="manual.html#pdf-io.input">io.input</A><BR>
@@ -225,11 +215,19 @@
<A HREF="manual.html#pdf-io.type">io.type</A><BR>
<A HREF="manual.html#pdf-io.write">io.write</A><BR>
+<A HREF="manual.html#pdf-file:close">file:close</A><BR>
+<A HREF="manual.html#pdf-file:flush">file:flush</A><BR>
+<A HREF="manual.html#pdf-file:lines">file:lines</A><BR>
+<A HREF="manual.html#pdf-file:read">file:read</A><BR>
+<A HREF="manual.html#pdf-file:seek">file:seek</A><BR>
+<A HREF="manual.html#pdf-file:setvbuf">file:setvbuf</A><BR>
+<A HREF="manual.html#pdf-file:write">file:write</A><BR>
+
</TD>
<TD>
<H3> </H3>
<P>
-<A HREF="manual.html#pdf-math">math</A><BR>
+<A HREF="manual.html#6.7">math</A><BR>
<A HREF="manual.html#pdf-math.abs">math.abs</A><BR>
<A HREF="manual.html#pdf-math.acos">math.acos</A><BR>
<A HREF="manual.html#pdf-math.asin">math.asin</A><BR>
@@ -237,10 +235,10 @@
<A HREF="manual.html#pdf-math.ceil">math.ceil</A><BR>
<A HREF="manual.html#pdf-math.cos">math.cos</A><BR>
<A HREF="manual.html#pdf-math.deg">math.deg</A><BR>
+<A HREF="manual.html#pdf-math.exp">math.exp</A><BR>
<A HREF="manual.html#pdf-math.floor">math.floor</A><BR>
<A HREF="manual.html#pdf-math.fmod">math.fmod</A><BR>
<A HREF="manual.html#pdf-math.huge">math.huge</A><BR>
-<A HREF="manual.html#pdf-math.ifloor">math.ifloor</A><BR>
<A HREF="manual.html#pdf-math.log">math.log</A><BR>
<A HREF="manual.html#pdf-math.max">math.max</A><BR>
<A HREF="manual.html#pdf-math.maxinteger">math.maxinteger</A><BR>
@@ -254,9 +252,12 @@
<A HREF="manual.html#pdf-math.sin">math.sin</A><BR>
<A HREF="manual.html#pdf-math.sqrt">math.sqrt</A><BR>
<A HREF="manual.html#pdf-math.tan">math.tan</A><BR>
+<A HREF="manual.html#pdf-math.tointeger">math.tointeger</A><BR>
<A HREF="manual.html#pdf-math.type">math.type</A><BR>
+<A HREF="manual.html#pdf-math.ult">math.ult</A><BR>
<P>
+<A HREF="manual.html#6.9">os</A><BR>
<A HREF="manual.html#pdf-os.clock">os.clock</A><BR>
<A HREF="manual.html#pdf-os.date">os.date</A><BR>
<A HREF="manual.html#pdf-os.difftime">os.difftime</A><BR>
@@ -270,6 +271,7 @@
<A HREF="manual.html#pdf-os.tmpname">os.tmpname</A><BR>
<P>
+<A HREF="manual.html#6.3">package</A><BR>
<A HREF="manual.html#pdf-package.config">package.config</A><BR>
<A HREF="manual.html#pdf-package.cpath">package.cpath</A><BR>
<A HREF="manual.html#pdf-package.loaded">package.loaded</A><BR>
@@ -280,11 +282,10 @@
<A HREF="manual.html#pdf-package.searchpath">package.searchpath</A><BR>
<P>
+<A HREF="manual.html#6.4">string</A><BR>
<A HREF="manual.html#pdf-string.byte">string.byte</A><BR>
<A HREF="manual.html#pdf-string.char">string.char</A><BR>
<A HREF="manual.html#pdf-string.dump">string.dump</A><BR>
-<A HREF="manual.html#pdf-string.dumpfloat">string.dumpfloat</A><BR>
-<A HREF="manual.html#pdf-string.dumpint">string.dumpint</A><BR>
<A HREF="manual.html#pdf-string.find">string.find</A><BR>
<A HREF="manual.html#pdf-string.format">string.format</A><BR>
<A HREF="manual.html#pdf-string.gmatch">string.gmatch</A><BR>
@@ -292,38 +293,51 @@
<A HREF="manual.html#pdf-string.len">string.len</A><BR>
<A HREF="manual.html#pdf-string.lower">string.lower</A><BR>
<A HREF="manual.html#pdf-string.match">string.match</A><BR>
+<A HREF="manual.html#pdf-string.pack">string.pack</A><BR>
+<A HREF="manual.html#pdf-string.packsize">string.packsize</A><BR>
<A HREF="manual.html#pdf-string.rep">string.rep</A><BR>
<A HREF="manual.html#pdf-string.reverse">string.reverse</A><BR>
<A HREF="manual.html#pdf-string.sub">string.sub</A><BR>
-<A HREF="manual.html#pdf-string.undumpfloat">string.undumpfloat</A><BR>
-<A HREF="manual.html#pdf-string.undumpint">string.undumpint</A><BR>
+<A HREF="manual.html#pdf-string.unpack">string.unpack</A><BR>
<A HREF="manual.html#pdf-string.upper">string.upper</A><BR>
<P>
+<A HREF="manual.html#6.6">table</A><BR>
<A HREF="manual.html#pdf-table.concat">table.concat</A><BR>
<A HREF="manual.html#pdf-table.insert">table.insert</A><BR>
+<A HREF="manual.html#pdf-table.move">table.move</A><BR>
<A HREF="manual.html#pdf-table.pack">table.pack</A><BR>
<A HREF="manual.html#pdf-table.remove">table.remove</A><BR>
<A HREF="manual.html#pdf-table.sort">table.sort</A><BR>
<A HREF="manual.html#pdf-table.unpack">table.unpack</A><BR>
<P>
+<A HREF="manual.html#6.5">utf8</A><BR>
<A HREF="manual.html#pdf-utf8.char">utf8.char</A><BR>
-<A HREF="manual.html#pdf-utf8.charpatt">utf8.charpatt</A><BR>
+<A HREF="manual.html#pdf-utf8.charpattern">utf8.charpattern</A><BR>
<A HREF="manual.html#pdf-utf8.codepoint">utf8.codepoint</A><BR>
<A HREF="manual.html#pdf-utf8.codes">utf8.codes</A><BR>
<A HREF="manual.html#pdf-utf8.len">utf8.len</A><BR>
<A HREF="manual.html#pdf-utf8.offset">utf8.offset</A><BR>
+<H3><A NAME="env">environment<BR>variables</A></H3>
+<A HREF="manual.html#pdf-LUA_CPATH">LUA_CPATH</A><BR>
+<A HREF="manual.html#pdf-LUA_CPATH_5_3">LUA_CPATH_5_3</A><BR>
+<A HREF="manual.html#pdf-LUA_INIT">LUA_INIT</A><BR>
+<A HREF="manual.html#pdf-LUA_INIT_5_3">LUA_INIT_5_3</A><BR>
+<A HREF="manual.html#pdf-LUA_PATH">LUA_PATH</A><BR>
+<A HREF="manual.html#pdf-LUA_PATH_5_3">LUA_PATH_5_3</A><BR>
+
</TD>
<TD>
-<H3>C API</H3>
+<H3><A NAME="api">C API</A></H3>
<P>
<A HREF="manual.html#lua_Alloc">lua_Alloc</A><BR>
<A HREF="manual.html#lua_CFunction">lua_CFunction</A><BR>
<A HREF="manual.html#lua_Debug">lua_Debug</A><BR>
<A HREF="manual.html#lua_Hook">lua_Hook</A><BR>
<A HREF="manual.html#lua_Integer">lua_Integer</A><BR>
+<A HREF="manual.html#lua_KContext">lua_KContext</A><BR>
<A HREF="manual.html#lua_KFunction">lua_KFunction</A><BR>
<A HREF="manual.html#lua_Number">lua_Number</A><BR>
<A HREF="manual.html#lua_Reader">lua_Reader</A><BR>
@@ -347,11 +361,13 @@
<A HREF="manual.html#lua_error">lua_error</A><BR>
<A HREF="manual.html#lua_gc">lua_gc</A><BR>
<A HREF="manual.html#lua_getallocf">lua_getallocf</A><BR>
+<A HREF="manual.html#lua_getextraspace">lua_getextraspace</A><BR>
<A HREF="manual.html#lua_getfield">lua_getfield</A><BR>
<A HREF="manual.html#lua_getglobal">lua_getglobal</A><BR>
<A HREF="manual.html#lua_gethook">lua_gethook</A><BR>
<A HREF="manual.html#lua_gethookcount">lua_gethookcount</A><BR>
<A HREF="manual.html#lua_gethookmask">lua_gethookmask</A><BR>
+<A HREF="manual.html#lua_geti">lua_geti</A><BR>
<A HREF="manual.html#lua_getinfo">lua_getinfo</A><BR>
<A HREF="manual.html#lua_getlocal">lua_getlocal</A><BR>
<A HREF="manual.html#lua_getmetatable">lua_getmetatable</A><BR>
@@ -382,7 +398,7 @@
<A HREF="manual.html#lua_newthread">lua_newthread</A><BR>
<A HREF="manual.html#lua_newuserdata">lua_newuserdata</A><BR>
<A HREF="manual.html#lua_next">lua_next</A><BR>
-<A HREF="manual.html#lua_numtointeger">lua_numtointeger</A><BR>
+<A HREF="manual.html#lua_numbertointeger">lua_numbertointeger</A><BR>
<A HREF="manual.html#lua_pcall">lua_pcall</A><BR>
<A HREF="manual.html#lua_pcallk">lua_pcallk</A><BR>
<A HREF="manual.html#lua_pop">lua_pop</A><BR>
@@ -399,7 +415,6 @@
<A HREF="manual.html#lua_pushnumber">lua_pushnumber</A><BR>
<A HREF="manual.html#lua_pushstring">lua_pushstring</A><BR>
<A HREF="manual.html#lua_pushthread">lua_pushthread</A><BR>
-<A HREF="manual.html#lua_pushunsigned">lua_pushunsigned</A><BR>
<A HREF="manual.html#lua_pushvalue">lua_pushvalue</A><BR>
<A HREF="manual.html#lua_pushvfstring">lua_pushvfstring</A><BR>
<A HREF="manual.html#lua_rawequal">lua_rawequal</A><BR>
@@ -419,6 +434,7 @@
<A HREF="manual.html#lua_setfield">lua_setfield</A><BR>
<A HREF="manual.html#lua_setglobal">lua_setglobal</A><BR>
<A HREF="manual.html#lua_sethook">lua_sethook</A><BR>
+<A HREF="manual.html#lua_seti">lua_seti</A><BR>
<A HREF="manual.html#lua_setlocal">lua_setlocal</A><BR>
<A HREF="manual.html#lua_setmetatable">lua_setmetatable</A><BR>
<A HREF="manual.html#lua_settable">lua_settable</A><BR>
@@ -426,7 +442,7 @@
<A HREF="manual.html#lua_setupvalue">lua_setupvalue</A><BR>
<A HREF="manual.html#lua_setuservalue">lua_setuservalue</A><BR>
<A HREF="manual.html#lua_status">lua_status</A><BR>
-<A HREF="manual.html#lua_strtonum">lua_strtonum</A><BR>
+<A HREF="manual.html#lua_stringtonumber">lua_stringtonumber</A><BR>
<A HREF="manual.html#lua_toboolean">lua_toboolean</A><BR>
<A HREF="manual.html#lua_tocfunction">lua_tocfunction</A><BR>
<A HREF="manual.html#lua_tointeger">lua_tointeger</A><BR>
@@ -437,8 +453,6 @@
<A HREF="manual.html#lua_topointer">lua_topointer</A><BR>
<A HREF="manual.html#lua_tostring">lua_tostring</A><BR>
<A HREF="manual.html#lua_tothread">lua_tothread</A><BR>
-<A HREF="manual.html#lua_tounsigned">lua_tounsigned</A><BR>
-<A HREF="manual.html#lua_tounsignedx">lua_tounsignedx</A><BR>
<A HREF="manual.html#lua_touserdata">lua_touserdata</A><BR>
<A HREF="manual.html#lua_type">lua_type</A><BR>
<A HREF="manual.html#lua_typename">lua_typename</A><BR>
@@ -452,7 +466,7 @@
</TD>
<TD>
-<H3>auxiliary library</H3>
+<H3><A NAME="auxlib">auxiliary library</A></H3>
<P>
<A HREF="manual.html#luaL_Buffer">luaL_Buffer</A><BR>
<A HREF="manual.html#luaL_Reg">luaL_Reg</A><BR>
@@ -470,9 +484,7 @@
<A HREF="manual.html#luaL_buffinitsize">luaL_buffinitsize</A><BR>
<A HREF="manual.html#luaL_callmeta">luaL_callmeta</A><BR>
<A HREF="manual.html#luaL_checkany">luaL_checkany</A><BR>
-<A HREF="manual.html#luaL_checkint">luaL_checkint</A><BR>
<A HREF="manual.html#luaL_checkinteger">luaL_checkinteger</A><BR>
-<A HREF="manual.html#luaL_checklong">luaL_checklong</A><BR>
<A HREF="manual.html#luaL_checklstring">luaL_checklstring</A><BR>
<A HREF="manual.html#luaL_checknumber">luaL_checknumber</A><BR>
Home |
Main Index |
Thread Index |
Old Index