Olly Betts
618868ce3d
Fix typos
2014-04-29 11:31:29 +12:00
Olly Betts
4c86f17bcb
Merge pull request #159 from v-for-vandal/issue_154
...
Fixing issue 154
2014-04-29 11:19:58 +12:00
Olly Betts
739162ec3e
Fix comment typos
2014-04-28 13:13:47 +12:00
Karl Wette
3aacde4f5f
Whitespace cleanup of Example Makefiles
2014-04-16 12:06:02 +02:00
Artem Serebriyskiy
7c8405368e
Finish implementation with proxy functions
2014-04-15 03:38:45 +04:00
William S Fulton
dc8428889e
Ignored enum fixes.
...
C#/Java - Enums which have been ignored via %ignore and are subsequently
used are handled slightly differently. Type wrapper classes are now generated
which are effectively a wrapper of an empty enum. Previously in Java uncompilable
code was generated and in C# an int was used.
2014-04-08 23:25:27 +01:00
William S Fulton
7bec7c1b60
Further shift operator regression fixes
2014-04-08 19:19:44 +01:00
William S Fulton
0be33b1900
Fix use of shift operators in expressions regression since 3.0.0
2014-04-08 19:19:44 +01:00
William S Fulton
aa4b14a3d2
Fix seg fault with extra ) brackets and >>
2014-04-08 19:19:44 +01:00
William S Fulton
e442903fde
Fix segfault when there are too many closing round brackets in parsed code
2014-04-05 00:18:30 +01:00
William S Fulton
1d857beb9d
Fix regression in 3.0.0 where legal code following an operator<< definition might give a syntax error.
...
SF Bug #1365 .
2014-04-04 08:31:59 +01:00
William S Fulton
2071b7d157
Lua test-suite can now be run out of source
2014-04-01 19:33:20 +01:00
Karl Wette
16039ce426
Fix out of source test-suite runs for Octave
2014-03-31 22:41:55 +01:00
William S Fulton
0fdfa3b6ce
Add runtime test for commit 7a96fba836
2014-03-31 19:29:19 +01:00
William S Fulton
50a9c5fbec
Add C++11 constexpr runtime test
2014-03-31 19:29:19 +01:00
William S Fulton
cd2085aae7
Fixes for C enums used in an API and the definition of the enum has not been parsed.
...
For D, this fixes a segfault in SWIG.
Java, C#, D, Go now produce code that compiles, although the definition of the
enum is needed in order to use the enum properly from the target language.
2014-03-28 07:54:03 +00:00
William S Fulton
15f4b3b19d
Correct messages displayed when running Java test-suite
2014-03-28 07:48:40 +00:00
Artem Serebriyskiy
f2c410a8c0
Fixing issue 152
2014-03-23 14:05:05 +04:00
William S Fulton
91c817b475
Fix C++11 extern template test
2014-03-21 18:36:21 +00:00
William S Fulton
abd31397fa
Always use debug flags for Mono to get decent stacktraces on error.
2014-03-20 19:12:44 +00:00
William S Fulton
f999c4864e
Fix errors test-suite on Mac OSX
2014-03-16 15:20:13 +00:00
William S Fulton
87963d2e68
Java/C# smart pointer tests: Give GC more time to collect objects
2014-03-16 00:44:30 +00:00
William S Fulton
b59feff9f9
Test case compiler warning fix
2014-03-15 21:00:25 +00:00
William S Fulton
e2b6de8a03
Compiler warning fixes in testcases
2014-03-15 18:24:01 +00:00
William S Fulton
13aac0dca9
Portability fixes for errors test-suite
2014-03-15 18:23:02 +00:00
William S Fulton
300ade57e8
Add missing return statements in testcase
2014-03-15 00:23:55 +00:00
William S Fulton
8f967f3341
Add missing return for testcase
2014-03-14 23:26:23 +00:00
William S Fulton
eabdb13115
Fix warning suppression in testcase
2014-03-14 16:53:09 +00:00
William S Fulton
3d230ea253
Fix Guile li_std_string testcase which requires a UTF-8 locale set
...
This was failing on Mac OSX and is a further fix to
43c8f2351c to fix #139
2014-03-14 14:18:42 +00:00
William S Fulton
bf8eb05dbb
Merge pull request #146 from v-for-vandal/class_p1_fixes2
...
Class p1 fixes2 - Lua enums and NSpace
Disable old-names generation for enums in class in namespace
Getattribute->GetFlag
Partially disabling old names generation for classes with nspace
Working around some of the SWIG internal issues with enums
2014-03-14 09:01:15 +00:00
William S Fulton
e5f928e97a
Add metaprogramming type_traits example in C++11 documentation
2014-03-14 01:57:16 +00:00
William S Fulton
01ce992f5d
C++11 result_of testcase
2014-03-14 01:57:16 +00:00
William S Fulton
a542c5277d
C++11 std::reference_wrapper example - no support
2014-03-14 01:57:16 +00:00
William S Fulton
fd5f4c25aa
C++11 alignof alignas testcase and further C++11 doc updates
2014-03-14 01:57:16 +00:00
William S Fulton
9a45a09aec
C++11 conversion operator example and docs added
2014-03-14 01:57:15 +00:00
William S Fulton
adc3cfeb57
More C++11 doc and test improvements
2014-03-14 01:57:15 +00:00
William S Fulton
3fb973644e
More C++11 doc tweaks
2014-03-14 01:57:15 +00:00
William S Fulton
e186dc13b7
C++11 constexpr variables support added
2014-03-14 01:57:14 +00:00
William S Fulton
348caba6e5
Add note about cplusplusout for nested_struct testcase
2014-03-14 01:57:14 +00:00
Vladimir Kalinin
e18044185e
fixes for director class naming when nested classes are used
2014-03-13 18:58:29 +04:00
Artem Serebriyskiy
ddbf439db9
Working around some of the SWIG internal issues with enums
2014-03-12 18:00:15 +04:00
William S Fulton
504c2030bb
Change in default behaviour wrapping C++ bool for Python.
...
Only a Python True or False will now work for C++ bool parameters.
This fixes overloading bool with other types.
2014-03-08 12:04:19 +00:00
William S Fulton
7f45cbd178
Reorganise broken C++11 testcases
2014-03-08 12:02:08 +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
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
Artem Serebriyskiy
1898099620
Fixing enums
2014-03-03 09:54:13 +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