From: Arnout E. <rab...@us...> - 2012-04-27 22:07:45
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "libextl: Lua wrapper generator for C". The branch, lua5.2 has been created at 42e164191bba8feed2f8cf9bc25fa56b0f785d88 (commit) - Log ----------------------------------------------------------------- commit 42e164191bba8feed2f8cf9bc25fa56b0f785d88 Author: Arnout Engelen <arn...@bz...> Date: Sat Apr 28 00:01:33 2012 +0200 lua_getfenv()/lua_setfenv() are called lua_getuservalue()/lua_setuservalue() from 5.2 onwards commit c0f88409ea44b1166b4d8246ba16649fb4b4179a Author: Arnout Engelen <arn...@bz...> Date: Fri Apr 27 23:50:33 2012 +0200 autodetect lua5.2 when it's in pkg-config commit df2cc73e6217e33384bd4bd190e22a4953325d64 Author: Philipp Hartwig <ph...@ph...> Date: Fri Apr 27 11:40:53 2012 +0200 Work around removal of LUA_GLOBALSINDEX in Lua 5.2 commit 77a0a67d522819ada642ac89aeaa7bd1692b1645 Author: Philipp Hartwig <ph...@ph...> Date: Fri Apr 27 11:01:11 2012 +0200 Remove call to lua_cpcall for Lua 5.2 In Lua 5.2 lua_cpcall was removed. The manual[1] suggests to replace it by an appropriate call to lua_pcall. TODO: Do we need to make a call to lua_checkstack before pushing the function and its arguments to be safe here? If so, what's an appropriate argument to lua_checkstack? [1] http://www.lua.org/manual/5.2/manual.html#8.3 commit d35dbce8ffa2c243b6366707dfc8167297b57e7e Author: Philipp Hartwig <ph...@ph...> Date: Thu Apr 26 01:38:35 2012 +0200 Replace lua_unref(a,b) by luaL_unref(a, LUA_REGISTRYINDEX, b) Both expressions are equivalent in Lua 5.1 by definition and Lua 5.2 does not include lua_unref anymore. commit 72dd671c9466d885772ca2c52bea0230c92eac50 Author: Philipp Hartwig <ph...@ph...> Date: Thu Apr 26 01:33:18 2012 +0200 Replace lua_ref(st,TRUE) by luaL_ref(st, LUA_REGISTRYINDEX) Both expressions are equivalent in Lua 5.1 by definition and Lua 5.2 does not include lua_ref anymore. commit bc0b9a824e52203c2a72435699a32c53804f77b4 Author: Philipp Hartwig <ph...@ph...> Date: Thu Apr 26 01:29:45 2012 +0200 lua_objlen->lua_rawlen, lua_equal->lua_compare for Lua 5.2 lua_objlen has been renamed to lua_rawlen in Lua 5.2. lua_equal(..) has been deprecated in favor of lua_compare(..,LUA_OPLE). commit 4b03f9b9baed3f7b64c6d4fc311fbfeb903f5739 Author: Philipp Hartwig <ph...@ph...> Date: Thu Apr 26 00:33:10 2012 +0200 Replace luaL_getn by lua_objlen luaL_getn has been deprecated in Lua 5.1 and removed in Lua 5.2, see http://www.lua.org/manual/5.1/manual.html#7 , which suggests to replace it by lua_objlen. ----------------------------------------------------------------------- hooks/post-receive -- libextl: Lua wrapper generator for C |