This PR migrates geanylua to Lua 5.3 (my oldish distro doesn't provide lua 
5.4 so I didn't test, maybe it works too). There were mostly just simple 
changes. From my limited testing, everything seems to work.

Posting as an (in my opinion better) alternative to #1233 
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1235

-- Commit Summary --

  * Require lua 5.3
  * Rename luaL_reg to luaL_Reg
  * Replace luaL_register(L, NULL, funcs) with luaL_setfuncs(L, funcs, 0)
  * Replace luaL_register()
  * Rename lua_objlen() to lua_rawlen()
  * Replace the stack traceback code with the code taken from the LUA binary

-- File Changes --

    M build/geanylua.m4 (8)
    M geanylua/glspi_app.c (4)
    M geanylua/glspi_dlg.c (6)
    M geanylua/glspi_doc.c (4)
    M geanylua/glspi_init.c (4)
    M geanylua/glspi_kfile.c (8)
    M geanylua/glspi_run.c (30)
    M geanylua/glspi_sci.c (6)
    M geanylua/gsdlg_lua.c (10)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1235.patch
https://github.com/geany/geany-plugins/pull/1235.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1235
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/1...@github.com>

Reply via email to