Artem Serebriyskiy
ddbf439db9
Working around some of the SWIG internal issues with enums
2014-03-12 18:00:15 +04:00
William S Fulton
b31507a657
Use proxy class for rvalue reference parameters
2014-03-07 12:32:07 +00:00
William S Fulton
dbf44fc181
Fix std::map and smart pointers.
...
Fixes problem with method overloading when some methods are added by %extend
and others are real methods and using template default parameters with smart pointers.
This is noticeable as a regression since 2.0.12 when using the default smart pointer
handling for some languages when the smart pointer wraps std::map and other STL containers.
Fixes SF Bug 1363
2014-03-06 19:52:03 +00:00
Artem Serebriyskiy
3028b16cee
Partially disabling old names generation for classes with nspace
2014-03-06 15:24:17 +04:00
Oliver Buchtala
89610e984e
Beautified Javascript module.
2014-03-05 01:39:26 +01:00
Oliver Buchtala
b5bc87667d
Fix regressions.
...
- Adapted to changes in UTL
- Fixed detection of setters and getters.
2014-03-05 01:10:55 +01:00
Oliver Buchtala
a234542543
Merge branch 'master' into tmp
...
Conflicts:
.travis.yml
Examples/Makefile.in
Examples/test-suite/director_nspace.i
Examples/test-suite/nspace.i
Examples/test-suite/nspace_extend.i
Source/Modules/lang.cxx
configure.ac
2014-03-05 01:09:26 +01:00
Artem Serebriyskiy
869de3e761
Getattribute->GetFlag
2014-03-04 14:33:41 +04:00
Artem Serebriyskiy
e48dee81ea
Disable old-names generation for enums in class in namespace
2014-03-04 13:54:38 +04:00
William S Fulton
8b75b90b2f
Merge branch 'class_p1_fixes' of github.com:v-for-vandal/swig into v-for-vandal-class_p1_fixes
...
Lua changes tweaks.
* 'class_p1_fixes' of github.com:v-for-vandal/swig:
Removing all TODO:REMOVE
Fixing enums
__Static -> SwigStatig, __Module -> SwigModule
Setattr -> SetFlag
Backward compatibility -> Compatibility Note
Fixing documentation. Adding an example.
2014-03-03 19:16:18 +00:00
Artem Serebriyskiy
1da65de2b7
Removing all TODO:REMOVE
2014-03-03 11:29:04 +04:00
Artem Serebriyskiy
1898099620
Fixing enums
2014-03-03 09:54:13 +04:00
Artem Serebriyskiy
cad7f86112
__Static -> SwigStatig, __Module -> SwigModule
2014-03-03 09:27:16 +04:00
Artem Serebriyskiy
23f0df2c0e
Setattr -> SetFlag
2014-03-02 20:15:09 +04:00
William S Fulton
4fb940d913
Further fixes when using type() when using -builtin to include module name
...
Using type() on a builtin type should include the package and module
name, see http://docs.python.org/2/c-api/typeobj.html
2014-03-01 23:26:27 +00:00
Soeren Sonnenburg
d8bfe00e25
Include module name if non NULL in tp_name
2014-03-01 23:26:27 +00:00
Arnaud Diederen
8998f11ca3
Fix Python argument count checking when using -modern
...
SF bug: https://sourceforge.net/p/swig/mailman/message/31957171/
SF Patch: 3471
2014-03-01 16:43:49 +00:00
William S Fulton
aaa71288b1
Cosmetic changes to lua.cxx after recent changes
2014-02-28 23:15:29 +00:00
William S Fulton
d957d37636
Minor code improvements after Lua changes.
2014-02-28 19:49:53 +00:00
Oliver Buchtala
70385842df
Add missing copy ctor for Javascript Code Template class.
2014-02-28 10:40:41 +01:00
William S Fulton
1be97ed26c
Merge Lua changes - branch 'class_p1' of github.com:v-for-vandal/swig into v-for-vandal-class_p1
...
* '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
2014-02-27 20:04:08 +00:00
Oliver Buchtala
16a702c0aa
Added a comment.
2014-02-26 10:48:38 +01:00
Oliver Buchtala
15550dab45
Fix issue with strange constants under OSX.
...
Receiving strange constant nodes before the real tree
under OSX 10.8. Not so under Ubuntu 12.04.
2014-02-25 20:16:15 +01:00
Artem Serebriyskiy
c6dd6b0726
Fixing registerClass. No more wrap: unnecessary attributes
2014-02-25 14:36:03 +04:00
Artem Serebriyskiy
fadc9c8f31
Fixed registerMethod to work like registerVariable
2014-02-25 14:11:53 +04:00
Artem Serebriyskiy
4a94345c9a
Switched to Swig_name_* functions
2014-02-25 12:51:28 +04:00
Olly Betts
2f3bf144c6
Fix assorted comment and documentation typos
2014-02-23 17:15:22 +13:00
Artem Serebriyskiy
dac0e989e3
Options in alphabetical order
2014-02-22 19:01:48 +04:00
Artem Serebriyskiy
166b19e860
Members renaming
2014-02-22 18:26:46 +04:00
Artem Serebriyskiy
f12d8aa174
target_name -> lua_name
2014-02-22 18:06:47 +04:00
Artem Serebriyskiy
77a7069f9e
Fixing cmd options, again
2014-02-22 17:56:21 +04:00
Artem Serebriyskiy
ec629beb31
Fixing segfault
2014-02-22 15:46:22 +04:00
William S Fulton
91f4828a4a
Fix missing fragment name in warning message about missing fragment
2014-02-22 01:04:50 +00:00
William S Fulton
d55692c31e
Fix warning suppression using %warnfilter for PHP reserved class names.
...
The features need to be merged in before issuing a warning as
%warnfilter is a %feature.
2014-02-21 08:29:20 +00:00
Oliver Buchtala
8e65414a76
Add an extra argument for enabling nodejs support.
...
This is essentially using the v8 emitter plus setting a #define.
2014-02-20 11:37:15 +01:00
Oliver Buchtala
48e7df8eb2
Better error message when no Javascript emitter is specified.
2014-02-20 11:15:18 +01:00
Artem Serebriyskiy
b30aa53709
Removed class_parent_nspace
2014-02-19 16:02:49 +04:00
Artem Serebriyskiy
2767f2a55e
Fixes to module options
2014-02-19 14:05:29 +04:00
Artem Serebriyskiy
4eef510e33
Rename methods to make it clear what 'symbols table' they operate on.
2014-02-19 13:34:50 +04:00
Artem Serebriyskiy
e6d0f1327b
Eliminating namespaces_hash and using symbols table instead
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
14452cad03
Attempt to catch unreproducable bug from Travis CI build
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
0c6263a0c2
Small bugfixes
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
705beb6753
Bugfixes for eLua. eLua emulation mode
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
0ee724ca80
Add compatibility option for old-style inheritance
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
6d49a57b53
Add support for C-style enums in C mode. And tests.
...
In backward compatible mode C style enums binding are correctly
generated
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
4b0ed73317
Style fixes. Comments fixes. Fixing cmd options. etc
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
a87710275d
Some fixes for elua
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
89c6fbb780
Attempt to fix unreproducable bug (from Travis CI build)
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
7e09b6687e
Remove some typos
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
1e282e3981
Code beautifier
2014-02-19 13:34:49 +04:00