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
Oliver Buchtala
8c05fe37af
Removed obsolete paragraph from Javascript documentation.
2014-03-04 22:55:32 +01:00
Oliver Buchtala
924f373a2f
Fix pandoc filter.
...
And add a script that helps to run pandoc with appropriate
command line flags.
2014-03-04 22:51:19 +01:00
Oliver Buchtala
6b82dff8f3
Minor tweaks in Javascript documentation.
2014-03-04 22:50:23 +01:00
Oliver Buchtala
1a7e12911a
Adding a chapter about Javascript tests and examples.
2014-03-04 12:00:13 +01:00
Oliver Buchtala
a9b8b85c1c
Minor change in Javascript configuration.
2014-03-04 11:00:26 +01:00
Oliver Buchtala
dbd61e40e1
Fix issues that were observed with newer JavascriptCore.
2014-03-04 10:41:35 +01:00
William S Fulton
c99417ab13
Lua documentation tweaks and make nspace example more concise.
2014-03-04 07:54:37 +00: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
William S Fulton
5f7f8f17eb
C++11 rvalue reference docs updated.
2014-03-03 19:12:12 +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
Artem Serebriyskiy
e48c2ce35e
Backward compatibility -> Compatibility Note
2014-03-02 19:33:25 +04:00
Artem Serebriyskiy
6b18d20979
Fixing documentation. Adding an example.
2014-03-02 19:10:11 +04:00
William S Fulton
7a96fba836
Correct exception thrown attempting to access a non-existent C/C++ global variable on the 'cvar' object.
...
The exception thrown used to be a NameError. However, as this access is
via a primary, an AttributeError is more correct and so the exception
thrown now is an AttributeError. Reference:
http://docs.python.org/2/reference/expressions.html#attribute-references
SF Patch #346 .
2014-03-02 01:31:36 +00:00
Jens Krüger
da44064d6c
'swig_varlink_getattr' throws a wrong exception
...
If the attribute of a python object could not found a AttributeException
should be thrown instead of a NameException.
2014-03-02 00:24:23 +00:00
William S Fulton
fb96ff9613
Merge branch 'sonney2k-python_tp_name'
...
* sonney2k-python_tp_name:
Further fixes when using type() when using -builtin to include module name
Include module name if non NULL in tp_name
2014-03-01 23:37:23 +00: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
William S Fulton
a3a0535229
Add testcase and info on python -builtin missing argument count check
2014-03-01 16:44:01 +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
09cfc53bdf
Better error detection in some java testcases
2014-03-01 16:14:36 +00:00
William S Fulton
736c6b953e
C# project files update
...
- Update project files to use Visual Studio 2005 (minimum supported .NET
is now 2.0 which is what VS 2005 supports).
- Add project files for arrays example (requires /unsafe)
- Fix support so that the project files work straight out the box on 64
bit systems (32 bit compile is the default).
- Fix support for 64 bit builds - use the x64 platform.
2014-03-01 04:35:00 -08: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
William S Fulton
0da97a9d3e
Fix illegal C++ symbols
2014-02-28 19:19:44 +00:00
William S Fulton
f011481f2b
Cosmetic tweaks to lua runtime
2014-02-28 19:15:51 +00:00
William S Fulton
58caa38616
Restore Lua C++11 rvalue reference
2014-02-28 19:15:51 +00:00
William S Fulton
e208f85bea
Lua html documentation fixes/improvements.
2014-02-28 19:15:45 +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
52c106d27f
Revert unnecessary changes in keyword_rename test
2014-02-27 20:23:32 +00:00
William S Fulton
c36800713b
Use unix fileformat
2014-02-27 20:12:53 +00: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
b20b0f4e4b
Removed CMake.
...
Started a separate project which acts as a CMake shell around SWIG.
2014-02-27 01:02:06 +01:00
Oliver Buchtala
7e015e4acf
Fix regression in Javascript configuration.
2014-02-26 23:26:19 +01:00
Oliver Buchtala
348cb2026e
Fix regressions in configuration of some Javascript examples.
2014-02-26 22:56:31 +01:00
Oliver Buchtala
94869c9228
More gitignores filtering Javascript related files.
2014-02-26 22:47:29 +01:00
Oliver Buchtala
424e3f4712
Fix custom javascript interpreter configuration for OSX.
2014-02-26 22:46:24 +01:00
Oliver Buchtala
15f12d9b59
Make examples work with node.js and the custom interpreter.
2014-02-26 22:44:37 +01:00
Oliver Buchtala
b216a739c4
Introduced an extra Makefile for the custom javascript interpreter.
2014-02-26 20:51:38 +01:00
Oliver Buchtala
bf1606c0f9
Fix travis configuration.
2014-02-26 11:10:09 +01:00
Oliver Buchtala
16a702c0aa
Added a comment.
2014-02-26 10:48:38 +01:00
Oliver Buchtala
e62c6126e9
Fix regressions in Javascript example configuration.
2014-02-26 10:47:48 +01:00
William S Fulton
3aa689d276
Add summary about nested class support added over the last few months
2014-02-26 00:13:18 +00: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