[teklib-general] teklib: Lua 5.1.4 merged in

Timm S. Mueller tmueller at neoscientists.org
Sat Sep 20 13:34:32 CEST 2008


details:   http://hg.teklib.org/teklib/rev/07cbca33d6a8
changeset: 203:07cbca33d6a8
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Mon Sep 08 02:56:56 2008 +0200
description:
Lua 5.1.4 merged in

diffs (truncated from 1453 to 100 lines):

diff -r f1647077bcfc -r 07cbca33d6a8 src/lua/include/lauxlib.h
--- a/src/lua/include/lauxlib.h	Mon Sep 08 00:21:38 2008 +0200
+++ b/src/lua/include/lauxlib.h	Mon Sep 08 02:56:56 2008 +0200
@@ -1,5 +1,5 @@
 /*
-** $Id: lauxlib.h,v 1.88 2006/04/12 20:31:15 roberto Exp $
+** $Id: lauxlib.h,v 1.88.1.1 2007/12/27 13:02:25 roberto Exp $
 ** Auxiliary functions for building Lua libraries
 ** See Copyright Notice in lua.h
 */
diff -r f1647077bcfc -r 07cbca33d6a8 src/lua/include/lua.h
--- a/src/lua/include/lua.h	Mon Sep 08 00:21:38 2008 +0200
+++ b/src/lua/include/lua.h	Mon Sep 08 02:56:56 2008 +0200
@@ -1,5 +1,5 @@
 /*
-** $Id: lua.h,v 1.218a 2006/06/02 15:34:00 roberto Exp $
+** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $
 ** Lua - An Extensible Extension Language
 ** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
 ** See Copyright Notice at the end of this file
@@ -17,9 +17,9 @@
 
 
 #define LUA_VERSION	"Lua 5.1"
-#define LUA_RELEASE	"Lua 5.1.2"
+#define LUA_RELEASE	"Lua 5.1.4"
 #define LUA_VERSION_NUM	501
-#define LUA_COPYRIGHT	"Copyright (C) 1994-2007 Lua.org, PUC-Rio"
+#define LUA_COPYRIGHT	"Copyright (C) 1994-2008 Lua.org, PUC-Rio"
 #define LUA_AUTHORS 	"R. Ierusalimschy, L. H. de Figueiredo & W. Celes"
 
 
@@ -299,6 +299,9 @@ LUA_API void lua_setallocf (lua_State *L
 #define lua_Chunkreader		lua_Reader
 #define lua_Chunkwriter		lua_Writer
 
+
+/* hack */
+LUA_API void lua_setlevel	(lua_State *from, lua_State *to);
 
 
 /*
@@ -365,7 +368,7 @@ struct lua_Debug {
 
 
 /******************************************************************************
-* Copyright (C) 1994-2007 Lua.org, PUC-Rio.  All rights reserved.
+* Copyright (C) 1994-2008 Lua.org, PUC-Rio.  All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
diff -r f1647077bcfc -r 07cbca33d6a8 src/lua/include/luaconf.h
--- a/src/lua/include/luaconf.h	Mon Sep 08 00:21:38 2008 +0200
+++ b/src/lua/include/luaconf.h	Mon Sep 08 02:56:56 2008 +0200
@@ -1,5 +1,5 @@
 /*
-** $Id: luaconf.h,v 1.82a 2006/04/10 18:27:23 roberto Exp $
+** $Id: luaconf.h,v 1.82.1.7 2008/02/11 16:25:08 roberto Exp $
 ** Configuration file for Lua
 ** See Copyright Notice in lua.h
 */
@@ -68,7 +68,7 @@
 */
 #define LUA_PATH        "LUA_PATH"
 #define LUA_CPATH       "LUA_CPATH"
-#define LUA_INIT        "LUA_INIT"
+#define LUA_INIT	"LUA_INIT"
 
 
 /*
@@ -447,9 +447,10 @@
 @* can use.
 ** CHANGE it if you need lots of (Lua) stack space for your C
 ** functions. This limit is arbitrary; its only purpose is to stop C
-** functions to consume unlimited stack space.
-*/
-#define LUAI_MAXCSTACK	2048
+** functions to consume unlimited stack space. (must be smaller than
+** -LUA_REGISTRYINDEX)
+*/
+#define LUAI_MAXCSTACK	8000
 
 
 
@@ -686,7 +687,7 @@ union luai_Cast { double l_d; long l_l; 
 */
 #if defined(LUA_USE_POPEN)
 
-#define lua_popen(L,c,m)	((void)L, popen(c,m))
+#define lua_popen(L,c,m)	((void)L, fflush(NULL), popen(c,m))
 #define lua_pclose(L,file)	((void)L, (pclose(file) != -1))
 
 #elif defined(LUA_WIN) || defined(TSYS_WINNT)
diff -r f1647077bcfc -r 07cbca33d6a8 src/lua/include/lualib.h
--- a/src/lua/include/lualib.h	Mon Sep 08 00:21:38 2008 +0200
+++ b/src/lua/include/lualib.h	Mon Sep 08 02:56:56 2008 +0200
@@ -1,5 +1,5 @@
 /*
-** $Id: lualib.h,v 1.36 2005/12/27 17:12:00 roberto Exp $
+** $Id: lualib.h,v 1.36.1.1 2007/12/27 13:02:25 roberto Exp $


More information about the teklib-general mailing list