[oolua] [ANN] OOLua 2.0.0 Beta 2

  • From: "Liam Devine" <liamdevine@xxxxxxxxx>
  • To: oolua <oolua@xxxxxxxxxxxxx>
  • Date: Sun, 27 Oct 2013 00:33:38 +0100


I am pleased to announce, that Version 2.0.0 Beta 2 is now available for download.

So why not head over to http://oolua.org in a mad stampede and DOS the Raspberry Pi :) It is hosting the OOLua site and downloads using OpenResty, which is Nginx with Lua build in.

If you should find anything wrong or want to suggest improvement to either the library or documentation, then please to let me know. You can either post it to this mailing list or by opening an issue on the tracker.

OOLua changes 2.0.0 Beta1
- Pretty much a new DSL which is not backwards compatible
- Calling static functions in Lua now requires the dot notation
- Calling new in Lua now requires the dot notation
- New Lua module which generates boilerplate OOLua C++ files, removes old console application - Added HTML docs and improved inline documentation for DSL, makes online wiki invalid - Added a new Lua module for comparisons and updated C++ code, now compares with LuaBind,LuaBridge,SLB3 and SWIG - Added OOLua version macros OOLUA_VERSION_MAJ OOLUA_VERSION_MIN and OOLUA_VERSION_PATCH

OOLua changes 2.0.0 Beta2
- Base checking no longer touches the Lua stack
- C string traits no longer use a std::string temporary
- Script helper class now has OOLUA::Script::push and OOLUA::Script::pull methods - Bug fix. If an abstract class had a base class which was not abstract, then it was possible to call new on the type.
- Renamed Table::set_value to OOLUA::Table::set
- Renamed Table::remove_value to OOLUA::Table::remove
- New Lua simplified class format, which improves self call performance
- Extra parameters to bound functions are now ignored. Does not include constructors
- Renamed Script::get_ptr to OOLUA::Script::state for consistency
- Added a base class exception type OOLUA::Exception
- Added OOLUA::lua_return which is a specific trait for return types which will be owned by Lua. - Added OOLUA::maybe_null which allows C functions and member functions to return NULL - Added OOLUA::lua_maybe_null which allows C functions and member functions to return a runtime value of NULL, if it is not NULL then the instance will be owned by Lua - Changed OOLUA_C_FUNCTION, it now requires a lua_State pointer instance identified as "vm" instead of 'l' - Added OOLUA::light_p This pulls a light userdata from the stack and casts to the requested type - Added OOLUA::light_return This is a function return type which pushes a light userdata onto the stack - Removed ability for OOLUA::lua_acquire_ptr to be used on function returns, use OOLUA::lua_return instead - Removed ability for OOLUA::cpp_acquire_ptr to be used for function parameters, use OOLUA::cpp_in_p instead - Modified OOLUA_MGET, OOLUA_MSET and OOLUA_MGET_MSET to use optional parameters. - Added oolua_dsl.h and oolua_dsl_export.h which reduces the include graph when using the DSL - Added oolua_string.h/.c to make it easier to enable other string types as an integral type. OOLUA::STRING
- Bug fix. Prevent exceptions escaping from stand alone functions.
- Bug fix. Incorrect function dispatcher being set on a cached base constant method. - Removed OOLUA::register_class_and_bases, OOLUA::register_class now does this. - Added OOLUA::idxs_equal to compare stack indices, may take metamethods into consideration,
compatible with Lua 5.1 and 5.2

http://openresty.org/
http://oolua.org/issues

--
Liam

Other related posts:

  • » [oolua] [ANN] OOLua 2.0.0 Beta 2 - Liam Devine