Lua-API++  2015-02-12-3
Lua-API++ library
Changelog

2015-02-12-0

2015-02-12-1

  • minor fix to remove some warnings about uninitialized fields.

2015-02-12-2

  • changed signal value for explicit Context initialization into a enum (no more static constants);
  • added rawlen function to value types (5.2+);
  • compatibility mode for compilers that do not support NRVO (such as Visual Studio), turned on with LUAPP_COMPATIBILITY_NO_NRVO macro;
  • minor fixes that increase compatibility with Visual Studio 2015.

2015-02-12-3

2015-01-21-0

  • added compatibility profile for Lua 5.3 featuring:
  • breaking change: compatibility profile 5.3 is now default; the code targeting Lua 5.2 must define LUAPP_COMPATIBILITY_V52 macro;
  • transparent change: concatenation and arithmetics are refactored to one-definition simplifying the codebase;
  • minor fixes in v2015-01-21-1:
    • renamed lua_impl.cpp to impl.cpp and updated usage recommendations;
    • moved test to separate directory.

2014-11-24-0

  • Added argument-checkging functions, Context::checkArgs and Context::requireArgs check types and amount of arguments passed to the function in Context::args. First function performs silent check and returns boolean result while the second one raises Lua error with explanation if the check failed.
  • Added new conversion function, to. Without argument, it performs unchecked conversion. Given backup value, it performs type check and returns backup if the type did not match, superseding optcast which is now deprecated.

2014-10-29-0

  • Breaking change: store operation for registry now returns RegistryKey instead of int. It is still the same int, but it cannot be modified, assigned to, used in arithmetics etc.

2014-09-22-0

  • Table::iterate now accepts bool- and void-returning callbacks, and checks its compatibility with static assert;
  • fixed closure-handling utilities in 5.1 mode.

2014-09-18-0

2014-09-09-0

  • Removed "explicit" qualifier on Table(Valref) constructor, allowing assign-form Table creation.

2014-09-01-0

  • Fixed issue with wrapping functions that returned a reference.

2014-08-29-0

  • Added auto-wrapping of member functions;
  • added support for long long and unsigned long long native types;
  • added motivational example.

2014-08-28-0

  • Temporary interface marked as rvalue-only;
  • added missing std::string counterparts to some functions in State and Context;
  • added creation of closures from LFunction and automatic promotion of LFunction;
  • added automatic promotion of generic C functions.

2014-08-18-0

  • Initial release.