Merge remote-tracking branch 'upstream/main'
added .clang-format
@@ -0,0 +1,199 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified auto.def
@@ -18,7 +18,9 @@ options {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -330,6 +332,11 @@ if {[pkg-config-init 0]} {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -340,6 +347,12 @@ if {[pkg-config-init 0]} {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified compat/bsd_compat.h
@@ -80,6 +80,10 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/Makefile.autosetup
@@ -1,9 +1,12 @@
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
modified external/lua/Makefile
@@ -46,7 +46,7 @@ TO_MAN= lua.1 luac.1
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/README
@@ -1,5 +1,5 @@
|
|
| - | |
| + | |
|
|
|
|
|
added external/lua/doc/OSIApproved_100X125.png
modified external/lua/doc/contents.html
@@ -10,7 +10,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -18,7 +18,7 @@ Lua 5.4 Reference Manual
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -27,14 +27,14 @@ For a complete introduction to Lua programming, see the book
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -668,10 +668,10 @@ Freely available under the terms of the
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/doc/lua.1
@@ -1,5 +1,5 @@
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -123,7 +123,7 @@ and the version-neutral variants are ignored.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/doc/lua.css
@@ -143,6 +143,7 @@ table.book td.cover {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/lua/doc/manual.html
@@ -10,7 +10,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -19,9 +19,9 @@ by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -29,7 +29,7 @@ Freely available under the terms of the
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -391,7 +391,7 @@ Whenever there is an error,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -401,7 +401,7 @@ even though it does not have to be a string.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -453,7 +453,7 @@ which is then called a <em>metamethod</em>.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1725,7 +1725,7 @@ labels in Lua are considered statements too:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -5571,7 +5571,7 @@ otherwise, returns <code>NULL</code>.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -5592,6 +5592,11 @@ unless previously deactivated by <a href="#lua_closeslot"><code>lua_closeslot</c
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -5664,6 +5669,12 @@ after its last character (as in C),
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -11276,13 +11287,13 @@ The returned table can contain all the fields returned by <a href="#lua_getinfo"
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -11619,6 +11630,10 @@ Lua does not consult any environment variables.
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -12033,13 +12048,12 @@ and LiteralString, see <a href="#3.1">§3.1</a>.)
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
deleted external/lua/doc/osi-certified-72x60.png
modified external/lua/doc/readme.html
@@ -29,7 +29,7 @@ tt, kbd, code {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -49,29 +49,31 @@ Welcome to Lua 5.4
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -79,7 +81,7 @@ distributed in this package.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -88,7 +90,7 @@ Lua is implemented in pure ANSI C and compiles unmodified in all known
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -97,7 +99,7 @@ and
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -107,7 +109,7 @@ Here are the details.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -211,8 +213,8 @@ then try "<KBD>make linux-readline MYLIBS=-ltermcap</KBD>".
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -241,7 +243,7 @@ compiler:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -284,11 +286,11 @@ lists the
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -296,11 +298,11 @@ at absolutely no cost without having to ask us.
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -327,10 +329,10 @@ THE SOFTWARE.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lapi.c
@@ -417,9 +417,9 @@ LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lauxlib.c
@@ -80,6 +80,7 @@ static int pushglobalfuncname (lua_State *L, lua_Debug *ar) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -249,11 +250,13 @@ LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) {
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -732,9 +735,12 @@ static const char *getF (lua_State *L, void *ud, size_t *size) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -787,6 +793,7 @@ LUALIB_API int luaL_loadfilex (lua_State *L, const char *filename,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -796,6 +803,7 @@ LUALIB_API int luaL_loadfilex (lua_State *L, const char *filename,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -803,6 +811,7 @@ LUALIB_API int luaL_loadfilex (lua_State *L, const char *filename,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -933,7 +942,7 @@ LUALIB_API const char *luaL_tolstring (lua_State *L, int idx, size_t *len) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1025,9 +1034,14 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lcode.c
@@ -415,7 +415,7 @@ int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -671,7 +671,7 @@ static int fitsBx (lua_Integer i) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -680,7 +680,7 @@ void luaK_int (FuncState *fs, int reg, lua_Integer i) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -776,7 +776,8 @@ void luaK_dischargevars (FuncState *fs, expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1025,7 +1026,7 @@ static int luaK_exp2K (FuncState *fs, expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1037,7 +1038,7 @@ int luaK_exp2RK (FuncState *fs, expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1215,7 +1216,7 @@ static void codenot (FuncState *fs, expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1225,7 +1226,7 @@ static int isKstr (FuncState *fs, expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1235,7 +1236,7 @@ int luaK_isKint (expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1244,7 +1245,7 @@ static int isCint (expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1283,15 +1284,17 @@ void luaK_indexed (FuncState *fs, expdesc *t, expdesc *k) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1459,7 +1462,7 @@ static void codebinK (FuncState *fs, BinOpr opr,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1592,7 +1595,7 @@ static void codeeq (FuncState *fs, BinOpr opr, expdesc *e1, expdesc *e2) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1658,7 +1661,7 @@ void luaK_infix (FuncState *fs, BinOpr op, expdesc *v) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lcode.h
@@ -61,10 +61,8 @@ typedef enum UnOpr { OPR_MINUS, OPR_BNOT, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr;
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -76,7 +74,6 @@ LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e);
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified external/lua/src/ldebug.c
@@ -31,7 +31,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -254,7 +254,7 @@ LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -288,29 +288,31 @@ static int nextline (const Proto *p, int currentline, int pc) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -339,7 +341,7 @@ static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -417,40 +419,6 @@ LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -509,28 +477,29 @@ static int findsetreg (const Proto *p, int lastpc, int reg) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -538,18 +507,80 @@ static const char *getobjname (const Proto *p, int lastpc, int reg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -558,24 +589,10 @@ static const char *getobjname (const Proto *p, int lastpc, int reg,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -627,7 +644,7 @@ static const char *funcnamefromcode (lua_State *L, const Proto *p,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -866,6 +883,28 @@ static int changedline (const Proto *p, int oldpc, int newpc) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -888,12 +927,12 @@ int luaG_traceexec (lua_State *L, const Instruction *pc) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -915,7 +954,6 @@ int luaG_traceexec (lua_State *L, const Instruction *pc) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified external/lua/src/ldebug.h
@@ -58,6 +58,7 @@ LUAI_FUNC const char *luaG_addinfo (lua_State *L, const char *msg,
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/lua/src/ldo.c
@@ -409,7 +409,7 @@ static void rethook (lua_State *L, CallInfo *ci, int nres) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -568,7 +568,7 @@ int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -609,7 +609,7 @@ CallInfo *luaD_precall (lua_State *L, StkId func, int nresults) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -792,6 +792,10 @@ static void resume (lua_State *L, void *ud) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/ldo.h
@@ -71,7 +71,6 @@ LUAI_FUNC int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func,
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified external/lua/src/lgc.c
@@ -542,10 +542,12 @@ static void traversestrongtable (global_State *g, Table *h) {
|
|
|
|
|
|
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -638,7 +640,9 @@ static int traversethread (global_State *g, lua_State *th) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -646,8 +650,6 @@ static int traversethread (global_State *g, lua_State *th) {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -1409,7 +1411,7 @@ static void stepgenfull (lua_State *L, global_State *g) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1604,7 +1606,7 @@ static lu_mem singlestep (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1710,6 +1712,8 @@ static void fullinc (lua_State *L, global_State *g) {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/liolib.c
@@ -245,8 +245,8 @@ static int f_gc (lua_State *L) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -272,6 +272,7 @@ static int io_open (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -292,6 +293,7 @@ static int io_popen (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -300,6 +302,7 @@ static int io_popen (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -567,6 +570,7 @@ static int g_read (lua_State *L, FILE *f, int first) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -660,6 +664,7 @@ static int io_readline (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -678,7 +683,8 @@ static int g_write (lua_State *L, FILE *f, int arg) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -703,6 +709,7 @@ static int f_seek (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -719,19 +726,25 @@ static int f_setvbuf (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -773,7 +786,7 @@ static const luaL_Reg meth[] = {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lmathlib.c
@@ -249,6 +249,15 @@ static int math_type (lua_State *L) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -271,16 +280,19 @@ static int math_type (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -319,23 +331,30 @@ static Rand64 nextrand (Rand64 *state) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -471,8 +490,6 @@ static lua_Number I2d (Rand64 x) {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
modified external/lua/src/loadlib.c
@@ -25,15 +25,6 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified external/lua/src/lobject.c
@@ -542,7 +542,7 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lobject.h
@@ -386,7 +386,7 @@ typedef struct GCObject {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -398,19 +398,17 @@ typedef struct TString {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lopcodes.h
@@ -210,15 +210,15 @@ OP_LOADNIL,/* A B R[A], R[A+1], ..., R[A+B] := nil */
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/loslib.c
@@ -155,6 +155,7 @@ static int os_execute (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -162,6 +163,7 @@ static int os_remove (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/lua/src/lparser.c
@@ -1022,10 +1022,11 @@ static int explist (LexState *ls, expdesc *v) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1063,8 +1064,8 @@ static void funcargs (LexState *ls, expdesc *f, int line) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1103,7 +1104,6 @@ static void suffixedexp (LexState *ls, expdesc *v) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1123,12 +1123,12 @@ static void suffixedexp (LexState *ls, expdesc *v) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lstate.c
@@ -119,7 +119,7 @@ CallInfo *luaE_extendCI (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -204,7 +204,7 @@ static void freestack (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -433,7 +433,7 @@ void luaE_warning (lua_State *L, const char *msg, int tocont) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lstate.h
@@ -181,7 +181,7 @@ struct CallInfo {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -396,7 +396,6 @@ union GCUnion {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified external/lua/src/lstring.c
@@ -36,7 +36,7 @@ int luaS_eqlngstr (TString *a, TString *b) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -52,7 +52,7 @@ unsigned int luaS_hashlongstr (TString *ts) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -157,6 +157,7 @@ static TString *createstrobj (lua_State *L, size_t l, int tag, unsigned int h) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -193,7 +194,7 @@ static TString *internshrstr (lua_State *L, const char *str, size_t l) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -206,8 +207,8 @@ static TString *internshrstr (lua_State *L, const char *str, size_t l) {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -223,10 +224,10 @@ TString *luaS_newlstr (lua_State *L, const char *str, size_t l) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/ltable.c
@@ -252,7 +252,7 @@ LUAI_FUNC unsigned int luaH_realasize (const Table *t) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -662,7 +662,8 @@ static Node *getfreepos (Table *t) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -721,22 +722,36 @@ void luaH_newkey (lua_State *L, Table *t, const TValue *key, TValue *value) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/ltable.h
@@ -41,8 +41,6 @@ LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key,
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
modified external/lua/src/ltm.h
@@ -9,7 +9,6 @@
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -96,8 +95,8 @@ LUAI_FUNC int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lua.c
@@ -115,12 +115,13 @@ static void l_message (const char *pname, const char *msg) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -210,12 +211,17 @@ static int dostring (lua_State *L, const char *s, const char *name) {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -223,8 +229,11 @@ static int dolibrary (lua_State *L, char *globname) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
modified external/lua/src/lua.h
@@ -18,14 +18,14 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -497,7 +497,7 @@ struct lua_Debug {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/luaconf.h
@@ -257,6 +257,15 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lundump.c
@@ -81,7 +81,7 @@ static size_t loadUnsigned (LoadState *S, size_t limit) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -122,7 +122,7 @@ static TString *loadStringN (LoadState *S, Proto *p) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lundump.h
@@ -21,8 +21,7 @@
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lvm.c
@@ -91,8 +91,10 @@ static int l_strton (const TValue *obj, TValue *result) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -366,30 +368,32 @@ void luaV_finishset (lua_State *L, const TValue *t, TValue *key,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -624,8 +628,9 @@ int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -651,12 +656,12 @@ void luaV_concat (lua_State *L, int total) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -669,7 +674,7 @@ void luaV_concat (lua_State *L, int total) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1155,18 +1160,11 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1253,7 +1251,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1296,7 +1294,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1309,7 +1307,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1352,7 +1350,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/Makefile.autosetup
@@ -63,7 +63,6 @@ LOCAL_CFLAGS= -I$(top_srcdir)/compat \
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -90,13 +89,10 @@ LOCAL_LDFLAGS= @waflags@ \
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -108,7 +104,6 @@ STATIC_LIBS= @REPOS_STATIC_LIBS@ \
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -154,11 +149,27 @@ LOCAL_LDFLAGS+= @PKG_LIBARCHIVE_LDFLAGS@ @PKG_LIBARCHIVE_LIBS@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/elfhints.c
@@ -38,6 +38,12 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -117,7 +123,7 @@ shlib_list_add(pkghash **shlib_list, const char *dir,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -266,7 +272,7 @@ int shlib_list_from_rpath(const char *rpath_str, const char *dirpath)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -306,7 +312,7 @@ int shlib_list_from_rpath(const char *rpath_str, const char *dirpath)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/fetch_ssh.c
@@ -50,6 +50,24 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_audit.c
@@ -272,8 +272,8 @@ pkg_audit_fetch(const char *src, const char *dest)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_delete.c
@@ -268,7 +268,7 @@ pkg_effective_rmdir(struct pkgdb *db, struct pkg *pkg)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgsign_ecc.c
@@ -3,7 +3,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -813,6 +813,18 @@ _generate_private_key(struct ecc_sign_ctx *keyinfo)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -887,7 +899,7 @@ _load_private_key(struct ecc_sign_ctx *keyinfo)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1253,7 +1265,7 @@ ecc_free(struct pkgsign_ctx *sctx)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/Makefile.autosetup
@@ -18,4 +18,8 @@ LOCAL_CFLAGS= -I$(top_srcdir)/libpkg \
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
modified src/Makefile.autosetup
@@ -47,35 +47,48 @@ LOCAL_CFLAGS= -I$(top_srcdir)/compat \
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|