Since Lua 5.3 the "%c" format character in lua_pushfstring will produce
the string "<\XXX>" (XXX being a decimal code sequence) when
given unprintable characters.
Use lua_pushlstring instead to reproduce the old behavior.
* Renamed SWIG_Lua_equal to SWIG_Lua_class_equal
* If class has no __eq implemented, then default __eq is provided.
Default __eq compares actual pointers stored inside Lua userdata
- Examples/Makefile.in rules use SRCDIR as the relative source directory
- ./config.status replicates Examples/ source directory tree in build
directory, and copies each Makefile to build directory, prefixed with
a header which sets SRCDIR to source directory
- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir
- Examples/test-suite/errors/Makefile.in needs to filter out source
directory from SWIG error messages
- Lua: embedded interpreters are passed location of run-time test
- Python: copy run-time scripts to build directory because of 2to3
conversion; import_packages example copies __init__.py from source
directory; test-suite sets SCRIPTDIR to location of run-time tests
- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
can be substituted with SRCDIR; removed './' from require() statements
so that NODE_PATH can be used to point Node.js to build directory
- some of the %.clean rules in the test-suite Makefiles were using a single tab
as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
* 'class_p1' of github.com:v-for-vandal/swig:
Fixing registerClass. No more wrap: unnecessary attributes
Fixed registerMethod to work like registerVariable
Switched to Swig_name_* functions
Return MIN_OPT_LEVEL for elua
add nspace_extend test case
updated documentation following comd options renaming
Options in alphabetical order
Members renaming
target_name -> lua_name
Fixing cmd options, again
Fixing segfault
Removed class_parent_nspace
Fixes to module options
Rename methods to make it clear what 'symbols table' they operate on.
Small documenation fixes
Updating Lua documentation
Eliminating namespaces_hash and using symbols table instead
Attempt to catch unreproducable bug from Travis CI build
Small bugfixes
Bugfixes for eLua. eLua emulation mode
Add compatibility option for old-style inheritance
Add support for C-style enums in C mode. And tests.
Style fixes. Comments fixes. Fixing cmd options. etc
Some fixes for elua
Attempt to fix unreproducable bug (from Travis CI build)
Fixes for examples. Wrapped keywords into guardian in keyword_rename test
Remove some typos
Remove some obsolete code
Manually beautifying luarun.swg
Code beautifier
Valuewrapper test
Removing obsolete debug code
Bugfixes
A few bugfixes
Some class bases iteration improvements
Fixes for elua
Bugfixes
Bugfixes. CMD args handling. Code cleanup
Bugfixes
Preparations before pull request - part 1
More changes. Mostly to the would-be class library
Fixing issuse with v2-compatible static function names
Add pointer guard
Add runtime test
Bugfixes
nspace.i example is working
Initial implementation - everything compiles but might not work
Checks that if OldClass was renamed to NewClass, then not only
OldClass.static_method is now NewClass.static_method, but also
compatibility name OldClass_static_method is now NewClass_static_method.
Same for enums, static vars etc
1) Static members and static functions inside class can be accessed as ModuleName.ClassName.FunctionName (MemberName respectively). Old way aka ModuleName.ClassName_FunctionName still works.
2) Same goes for enums inside classes: ModuleName.ClassName.EnumValue1 etc.
3) More 'runme' tests for lua + modifications to existing tests to test new changes.
Code is loosely based upon python implemenation of the same thing.
Patch #62.