William S Fulton
10172161bf
Update STL library documentation
2017-05-20 15:38:38 +01:00
William S Fulton
2ec156fb7f
Merge branch 'vadz-csharp-complex'
...
* vadz-csharp-complex:
Add header to std_complex.i
Fix linkage problems in C# std::complex wrappers
C# std::complex wrappers marshalling by value
C# std::complex wrappers SwigValueWrapper fix
Use %naturalvar for C# std::complex wrappers
Allow avoiding generation of unwanted std::complex<T> typemaps
Also apply csvar{in,out} typemaps to std::complex references
Add std_complex.i for C# too
Extend C# complex support to member variables of this type
Add support for std::complex<> to C#
Use new unified Mono mcs compiler if available under Unix
2017-05-20 15:21:48 +01:00
William S Fulton
18d7e0462e
Merge pull request #991 from jschueller/patch-1
...
[Python] Fix E731: do not assign a lambda expression
2017-05-20 12:59:02 +01:00
Julien Schueller
ed54cc904c
Fix E731: do not assign a lambda expression
...
https://www.python.org/dev/peps/pep-0008/#programming-recommendations
2017-05-19 22:49:23 +02:00
William S Fulton
fb941315c1
Add header to std_complex.i
2017-05-19 20:25:15 +01:00
William S Fulton
57ec5ec056
Fix linkage problems in C# std::complex wrappers
...
Fix warnings and subsequent exception trying to use wrappers:
Warning C4190: 'CSharp_complextestNamespace_VectorStdCplx_getitemcopy'
has C-linkage specified, but returns UDT 'SwigSystemNumericsComplex'
which is incompatible with C
Rename swig_complex_typemaps macro to SWIG_COMPLEX_TYPEMAPS
2017-05-19 19:52:39 +01:00
William S Fulton
e11e1c4cb8
C# std::complex wrappers marshalling by value
...
Change the wrapping to marshall directly to the .net
System.Numerics.Complex type instead of using an intermediate
std::complex .net type.
2017-05-19 08:15:01 +01:00
William S Fulton
8c13ee2411
C# std::complex wrappers SwigValueWrapper fix
...
Fix std::complex constructor declaration to stop SwigValueWrapper from
being generated
2017-05-19 07:10:43 +01:00
William S Fulton
bb758d7810
Use %naturalvar for C# std::complex wrappers
2017-05-19 06:58:54 +01:00
Olly Betts
8f1ae7a876
Add CHANGES.current entry for #970
2017-05-16 17:51:45 +12:00
Olly Betts
9a0180c56c
Merge pull request #970 from nihal95/master
...
Adds pragma version directive for php5 and php7. Fixes #360 .
2017-05-16 17:47:35 +12:00
William S Fulton
37d90ca3ec
Appveyor testing- install python-devel package
...
Needed for newer versions of cygwin on Appveyor in order to run Python tests
2017-05-15 18:42:12 +01:00
William S Fulton
6a3910690b
director_exception testcase warning fixes
...
Fixes: 'function assumed not to throw an exception but does'
2017-05-14 01:07:14 +01:00
William S Fulton
a271043555
Fix warnings in Java OUTPUT and INOUT typemaps
2017-05-14 00:39:08 +01:00
William S Fulton
d02302bd48
Remove php and perl5 C++11 and C++14 testing on Travis
...
The language headers are not C++11 compatible
2017-05-13 23:18:12 +01:00
William S Fulton
320df84607
Add missing return for pure virtual director wrappers for D and C#
2017-05-13 23:17:02 +01:00
William S Fulton
ebd37155a8
Fix potential use of uninitialized variables in directors
2017-05-13 22:40:59 +01:00
William S Fulton
ace88b45a0
Expand c++11 and c++14 Travis testing
...
Add testing for Go, Perl, PHP, Tcl
2017-05-13 18:15:55 +01:00
William S Fulton
731f175d21
propagate c++11 noexcept to director classes for Go
2017-05-13 18:13:53 +01:00
William S Fulton
1416a158f0
changes file entry for noexcept on director methods
2017-05-13 18:13:53 +01:00
William S Fulton
f6d10278f8
Merge branch 'yag00-master'
...
* yag00-master:
Add raise methods for throwing c++ exceptions in C#, Java, D
php5: propagate c++11 noexcept to director classes
Revert "java : noexcept method can't raise Swig::DirectorException"
Revert "csharp : noexcept method can't raise Swig::DirectorPureVirtualException"
csharp : noexcept method can't raise Swig::DirectorPureVirtualException
java : noexcept method can't raise Swig::DirectorException
#526 : propagate c++11 noexcept to director classes
#526 : propagate c++11 noexcept to director classes test case
2017-05-13 17:05:25 +01:00
William S Fulton
07ab80b49e
Add raise methods for throwing c++ exceptions in C#, Java, D
...
The director c++ exceptions are thrown in a helper method instead of in
the director overloaded method. This circumvents compiler warnings about
throwing exceptions when the method has an exception specification or
noexcept. If the exception is thrown, abort will still be called!
In Java, the "director:noexcept" typemap can be used to do something
else. This typemap should be ported to the other languages too.
2017-05-13 17:01:15 +01:00
William S Fulton
971404485f
php5: propagate c++11 noexcept to director classes
2017-05-13 16:59:36 +01:00
William S Fulton
cedfbfbee8
Revert "java : noexcept method can't raise Swig::DirectorException"
...
This reverts commit e13eaaae21 .
2017-05-13 16:16:29 +01:00
William S Fulton
e429a891c9
Revert "csharp : noexcept method can't raise Swig::DirectorPureVirtualException"
...
This reverts commit 9dcf10138e .
2017-05-13 16:16:17 +01:00
William S Fulton
e05412088f
director_thread testcase fix
2017-05-12 19:41:31 +01:00
William S Fulton
be5d046f7d
director_thread testcase improvements
...
- Add missing threading constructs to director_thread test for Windows
- pthreads tidy up
2017-05-12 18:57:37 +01:00
William S Fulton
e8e56f74ca
Fix thread race in director_thread test
2017-05-12 07:41:40 +01:00
Nihal
21108781a7
Add documentation and examples for php version pragma.
...
Pragma version to specify versions for PHP5 and PHP7 extensions.
See issue #360 .
2017-05-08 12:02:53 +05:30
Nihal
7f72398eb6
Add tests for PHP pragma version to both PHP5 and PHP7.
...
Pragma version to specify version of PHP5 and PHP7 extensions.
See issue #360 .
2017-05-08 12:02:18 +05:30
Nihal
eb9e72f3b2
Add new pragma to specify version to PHP5 and PHP7 extensions.
...
See issue #360 , feature request to have version in php5 and php7 extensions.
2017-05-08 11:43:38 +05:30
Nihal
3adf88e9ef
Refactor to generate init section before the code.
...
Prerequisite to address issue #360 , feature request of adding extension version.
This change has been taken from Sources/Modules/php.cxx - PHP7 Backend.
2017-05-07 17:49:02 +05:30
Christophe Duvernois
9dcf10138e
csharp : noexcept method can't raise Swig::DirectorPureVirtualException
2017-04-28 11:45:36 +02:00
Christophe Duvernois
e13eaaae21
java : noexcept method can't raise Swig::DirectorException
2017-04-28 11:45:02 +02:00
Christophe Duvernois
4777a0ad3c
#526 : propagate c++11 noexcept to director classes
2017-04-27 23:37:15 +02:00
Christophe Duvernois
b4efa7b16e
#526 : propagate c++11 noexcept to director classes test case
2017-04-27 23:35:55 +02:00
William S Fulton
fcde570091
Merge branch 'redbrain-parser-fix'
...
* redbrain-parser-fix:
Add testcase for macros with commas in comment
Fix bug with comments inline in macros - commit fixes #974
Closes #974
2017-04-27 19:48:25 +01:00
William S Fulton
956495dd47
Add testcase for macros with commas in comment
2017-04-27 19:47:29 +01:00
Philip Herron
624ec3e1b7
Fix bug with comments inline in macros
...
- commit fixes #974
2017-04-27 15:35:13 +01:00
William S Fulton
7ad8ac92c0
Test c++11 unordered containers in Python
2017-04-25 19:40:08 +01:00
William S Fulton
430f20a533
Merge branch 'tamuratak-fix_python_unordered_2'
...
* tamuratak-fix_python_unordered_2:
[python] add %swig_sequence_iterator_with_making_function and make %swig_sequence_iterator forward to it. add %swig_sequence_forward_iterator too.
[python] make SwigPyIteratorClosed_T and SwigPyIteratorOpen_T inherit from forward iterator classes.
[python] fix std unordered containers
2017-04-25 07:55:21 +01:00
William S Fulton
34dee11d1d
Add changes file entry for Lua warning fix
2017-04-25 07:34:54 +01:00
William S Fulton
50e6611a9c
Merge branch 'jleveque-warning_fix'
...
* jleveque-warning_fix:
[Lua] Fix compiler warnings
2017-04-25 07:31:31 +01:00
William S Fulton
7b9d94db2e
Fix Lua warning for missing (SWIGTYPE CLASS::*) typemaps for C wrappers
2017-04-25 07:29:54 +01:00
William S Fulton
db11e82896
Makefile cosmetics
2017-04-24 20:45:01 +01:00
William S Fulton
32855cfb69
Merge branch 'tamuratak-fix_ruby_unordered_set'
...
* tamuratak-fix_ruby_unordered_set:
[ruby] add simple tests for std unordered containers.
[ruby] clarify dependency of fragments for unordered_set containers.
Conflicts:
Examples/test-suite/ruby/Makefile.in
2017-04-24 20:44:12 +01:00
William S Fulton
ee44f9ba67
Merge branch 'tamuratak-fix_ruby_null_shared_ptr'
...
* tamuratak-fix_ruby_null_shared_ptr:
[ruby] add a test.
[ruby] use std::vector::back() method.
[ruby] enable a test for null shared_ptr in containers.
[ruby] add a test for null shared_ptr in containers.
[ruby] treat null shared_ptr in std containers properly.
Conflicts:
Examples/test-suite/ruby/Makefile.in
2017-04-24 19:50:59 +01:00
Takashi Tamura
70740c51d0
[ruby] add simple tests for std unordered containers.
2017-04-22 16:36:09 +09:00
Takashi Tamura
43c3ca3767
[ruby] clarify dependency of fragments for unordered_set containers.
2017-04-22 16:35:25 +09:00
William S Fulton
28f7d61986
Bump version to 4.0.0
2017-04-21 19:36:09 +01:00