Changelog for hslua-0.6.0
Changelog
0.5.0
- New raw functions for
luaopen_base,luaopen_package,luaopen_string,luaopen_table,luaopen_math,luaopen_io,luaopen_os,luaopen_debugand their high-level wrappers (with namesopenbase,opentableetc.) implemented. - Remove custom versions of
loadfileandloadstring. - Drop support for GHC versions < 7.8, avoid compiler warnings.
- Ensure no symbols are stripped when linking the bundled lua interpreter.
- Simplify
tostringfunction definition. (Sean Proctor) - Explicitly decprecate
strlen. (Sean Proctor) - Add links to lua documentation for functions wrapping the official lua C API. (Sean Proctor).
0.4.1
- Bugfix(#30):
tolistwasn't popping elements of the list from stack.
0.4.0
pushstringandtostringnow usesByteStringinstead of[Char].StackValue [Char]instance is removed,StackValue ByteStringis added.StackValue a => StackValue [a]instance is added. It pushes a Lua array to the stack.pushlist,islistandtolistfunctions are added.- Type errors in Haskell functions now propagated differently. See the
Scripting.Luadocumentation for detailed explanation. This should fix segfaults reported several times. lua_errorfunction is removed, it's never safe to call in Haskell.
Related issues and pull requests: #12, #26, #24, #23, #18.
0.3.14
- Pkgconf-based setup removed. Cabal is now using
extra-librariesto link with Lua. luajitflag is added to link hslua with LuaJIT.
0.3.13
- Small bugfix related with GHCi running under Windows.
0.3.12
pushrawhsfunctionandregisterrawhsfunctionfunctions are added.apicheckflag is added to Cabal package to enable Lua API checking. (useful for debugging)
0.3.11
luaL_refandluaL_unreffunctions are added.