- Added
Namespace::addProperty()with getter/setter acceptinglua_State. - The
__metatableis now set tofalseinstead ofnilwhere required. - Fixed crash where
nilis on the stack while userdata is requested. - Fixed memory leak when read-only write is attempted.
- Fixed CMake for MSYS2 environment.
- Bumped CMake version to 3.10.
- Added stack traits for
std::pair(Pair.h). - Added
isInstance()function specialization forstd::array. - Added Meson bulid support.
- Added CMake rules for packaging.
- Added convenience
get()function template. - Fixed inconsistent
Stack<int>::isInstance()behavior. - Fixed bug in the
Stack<Nil>::isInstance().
- Added
std::string_viewstack traits (LUABRIDGE_CXX17must be defined). - Added
std::optionalsupport (Optional.h). - Fixed
RefCountedPtrissues.
- Added namespace
addFunction()acceptingstd::function(C++11 only). - Added class
addStaticFunction()acceptingstd::function(C++11 only). - Updated the Doxygen documentation.
- Added brief API reference into the manual.
- Hidden non-public
luabridgemembers into thedetailnamespace. - Fixed stack cleanup by
LuaRef::isInstance()method.
- Introduce stack
isInstance()method. - Introduce LuaRef
isInstance()method. - Added a convenience
isInstance()function template.
- Do not call the object destructor then its constructor throws.
- String stack get specialization doesn't change the stack value anymore.
- Added namespace
addProperty()accepting C-functions. - Introduced enableExceptions function.
- Fixed registration continuation for an already registered class.
- Fixed registration continuation issues.
- Added class
addFunction()accepting proxy functions (C++11 only). - Added class
addFunction()acceptingstd::function(C++11 only). - Added class
addProperty()accepting functions with lua_State* parameter. - Added class
addProperty()acceptingstd::function(C++11 only). - Added stack traits for
std::unordered_map(UnorderedMap.h). - Now using lightuserdata for function pointers.
- Performance optimization.
- Refactored namespace and class handling.
- Refactored stack operations.
- Handle exceptions in stack operations.
- Added
operator==andoperator!=forRefCountedPtrtemplate.
- Support for
__stdcallfunction pointers.
- Added stack traits for
std::vector(Vector.h). - Added stack traits for
std::list(List.h). - Added stack traits for
std::map(Map.h). - Added ability to use
LuaRefobjects as anstd::mapkeys. - Fixed some manual errata.
- Numerous bug fixes.
- Feature Requests from Github issues.
- Added
LuaRefobject. - Rewritten documentation.
- Split code up into several files.
- Added Lua table and type representations (based on Nigel's code).
- Reformatted documentation as external HTML file.
- Pass
nilto Lua when a null pointer is passed for objects with shared lifetime.
- Option to hide metatables selectable at runtime, default to true.
addStaticMethod()renamed toaddStaticFunction()for consistency.addMethod()renamed toaddFunction()for consistency.addCFunction()registrations.- Convert null pointers to and from
nil. - Small performance increase in class pointer extraction.
- Backward compatibility with Lua 5.1.x.
- Explicit lifetime management models.
- Generalized containers.
- Single header distribution.