Commit graph

19,250 commits

Author SHA1 Message Date
William S Fulton
ff21a0bca9 Remove unused variables from C# boost::intrusive_ptr wrappers 2016-05-28 00:45:24 +01:00
William S Fulton
a91d1b5a42 Remove unused kwnames generated variable in Ruby wrappers
This seems to be from some left over Python kwargs / unfinished kwargs support
2016-05-28 00:45:24 +01:00
William S Fulton
6725b2fdf6 Fix unused variable warnings in test-suite 2016-05-28 00:45:24 +01:00
William S Fulton
7ead141aa9 Fix unused variable warning in Perl wrappers 2016-05-28 00:45:24 +01:00
Olly Betts
1e718c2ad0 Fix php-config name in error message 2016-05-27 22:50:18 +12:00
William S Fulton
43fe8aced6 Testcase workaround for missing boost::array::fill
Some older versions of boost don't have this function.
2016-05-26 20:55:28 +01:00
William S Fulton
2a98821c79 Changes file entry minor edit
[skip ci]
2016-05-24 23:08:45 +01:00
William S Fulton
b711675b62 Changes file entry for Python implicit namespace packages 2016-05-24 23:06:40 +01:00
William S Fulton
d01efd82e1 Merge branch 'mromberg-implpkg'
* mromberg-implpkg:
  Minor edits to Python implicit namespace package docs
  use %inline for test
  use relative import for -builtin and python2
  Python3 removes support for relative imports
  Document implicit namespace packages for python
  disable namespace package build
  Attempt to calm the testing gods...
  use whatever name winders uses for .so files.
  Examples (and tests) for python namespace packages
  disable namespace package build
  spelling
  Attempt to calm the testing gods...
  use whatever name winders uses for .so files.
  Don't run example for old pythons
  Examples (and tests) for python namespace packages
  use importlib to load C extension modules for python 2.7 and newer
2016-05-24 22:48:37 +01:00
William S Fulton
4253740d40 Minor edits to Python implicit namespace package docs 2016-05-24 22:46:46 +01:00
Mike Romberg
5ceef0a813 use %inline for test 2016-05-24 22:46:45 +01:00
Mike Romberg
10d71ca01a use relative import for -builtin and python2 2016-05-24 22:46:35 +01:00
William S Fulton
763827c2e1 Ruby opaque pointer handling regression fix
This bug was introduced in swig-3.0.8 in #146252 adding shared_ptr
support. An ObjectPreviouslyDeleted error was incorrectly thrown
when the pointer was used as a parameter after being set to zero
via a call to 'DATA_PTR(self) = 0'.

It isn't clear to me which approach is better in this corner case,
so I've gone for backwards compatibility and restored the old behaviour.

Closes #602
2016-05-24 19:09:17 +01:00
Olly Betts
dc1fad3f9b Stop preinst-swig.in from being executable
The template itself isn't useful to run, and the generated file
"preinst-swig" is explicitly made executable by configure.
2016-05-22 18:59:00 +12:00
William S Fulton
09549d735d Changes entry for improved Ruby error message
[skip ci]
2016-05-17 20:08:56 +01:00
William S Fulton
70f5a9ceed Merge branch 'tamuratak-master'
* tamuratak-master:
  Revert introduction of minor memory leak in Ruby wrappers
  ruby: use nodeType attribute to determine whether functions are constructors.       get return type each time.
2016-05-17 20:05:20 +01:00
William S Fulton
1330337491 Revert introduction of minor memory leak in Ruby wrappers 2016-05-17 20:04:24 +01:00
William S Fulton
18000dbc7b Add changes entry for Ruby %module docstring
Closes #582
2016-05-17 19:09:40 +01:00
William S Fulton
38f8fd811c Merge branch 'ruby-module-docstring'
* ruby-module-docstring:
  Ruby module docstring avoid memory leak
  Ruby add support for docstring option in %module()
2016-05-17 19:04:20 +01:00
William S Fulton
809d54b13a php test warning fix 2016-05-14 21:32:24 +01:00
William S Fulton
98a31ff633 Fix directorin SWIGTYPE typemaps to make a copy as these are used for pass by value.
Closes #434
2016-05-14 21:32:24 +01:00
William S Fulton
b062d998e9 Improve missing php-config error message during configure 2016-05-14 21:32:24 +01:00
William S Fulton
2d267c99f6 Fix RUNTOOL for Octave examples 2016-05-14 21:32:24 +01:00
joequant
8890a675f7 Merge pull request #663 from richardbeare/RVectorRefsRebase
R vector refs rebase
2016-05-13 04:33:41 +08:00
William S Fulton
cf5fcd0a9b Display output when running the R examples
Running 'make check-r-examples' is quiet like the other examples and
running 'make check-r-examples RUNPIPE=' will display the examples
output like the other languages. The output displayed when running
each example in its own particular directory. The output is less than
what was previously in the .Rout file as -q --slave is used.
2016-05-08 00:08:10 +01:00
William S Fulton
f2d4e2ea0d Display Rout file when R test case fails
To aid debugging
2016-05-08 00:08:10 +01:00
William S Fulton
63e2f636de Testcase fix for R
Workaround bug in R when a method with default arguments end in 'get'
2016-05-07 19:30:13 +01:00
William S Fulton
15ebf3df03 Fix assertion handling defaultargs
Occurs when using %extend for a template class and the extended methods
contain default arguments.

Closes #611
2016-05-07 12:33:29 +01:00
William S Fulton
b0ba1cae76 html doc fixes
[skip ci]
2016-05-06 07:36:58 +01:00
William S Fulton
bf24c11645 Correct default arg link in Python docs
[skip ci]
2016-05-06 07:36:53 +01:00
William S Fulton
c4b7605638 Add changes entry for Python operator/ fixes 2016-05-05 23:06:35 +01:00
William S Fulton
5e6ab1d61d Merge branch 'ejulien-python_operator_overload_test_suite'
* ejulien-python_operator_overload_test_suite:
  Add __str__ to operator_overload testcase for python builtin
  Python operator_overload runtime testcase cleanup
  Work around a limitation of the Python binding generator related to the += family of operators.
  Fix Python 3 division member operator when -builtin is not used.
  Fix class member division operator.
  Remove the PY3BUILTIN switch as its behavior can be achieved with the existing SWIG_FEATURES=-builtin switch.
  Implement the operator overload test suite for Python.

Conflicts:
	Examples/test-suite/operator_overload.i
2016-05-05 23:01:35 +01:00
William S Fulton
9ceee4ba87 Correct documentation link for Typemap delimiters 2016-05-05 21:12:54 +01:00
William S Fulton
e7f9a3e8f4 Add __str__ to operator_overload testcase for python builtin
Just for debugging the testcase with -builtin
2016-05-05 21:10:52 +01:00
William S Fulton
a09ef99606 Python operator_overload runtime testcase cleanup
Remove C test code comment ... this code is in operator_overload.i already
2016-05-05 20:28:22 +01:00
Vadim Zeitlin
b97612f1d6 Make check-failing-test make macro more hygienic
Minor fix to avoid using the variable defined outside of the macro in its
expansion.

See #665.
2016-05-03 17:23:25 +02:00
William S Fulton
3efdbc8f2e Don't issue unnecessary base class ignored message
Don't warn about base class being ignored when the derived class is
itself ignored.

Closes #669
2016-05-02 22:50:09 +01:00
William S Fulton
e28b7f1fcf Workaround cgo declarations after statements in Go Travis tests
These should be fixed when go-1.7 is released
2016-05-02 21:28:12 +01:00
William S Fulton
8666b99e74 Test Go 1.5 on Ubuntu Trusty on Travis
1.5 is the default version on Trusty (VER=1.5 added just for display on Travis)
2016-05-02 21:24:48 +01:00
William S Fulton
06657a9814 Merge pull request #668 from dnwillia-ansys/fix-gcc-warnings
Remove gcc warnings when using -Wconversion in SWIG_UnpackData.
2016-05-02 00:19:22 +01:00
William S Fulton
57f1c378b2 Remove JNI checks due to numerous spurious warnings in some versions of jdk-1.8
Was happening with openjdk-1.9 on Ubuntu 16.04 Xenial Xerus and also seen in jdk-1.8 on Fedora 23 (jdk-1.8.0_65-b17)
2016-05-01 17:35:55 +01:00
William S Fulton
cc15fcebd0 Fix java testcase for jdk-1.9
Package.getName() returns an empty string instead of null in jdk-1.9
exposing bug in use of replaceAll whose 1st arg is a regex expression.
2016-05-01 16:32:15 +01:00
William S Fulton
6db5556456 Add Lua 5.3 testing on Travis 2016-05-01 12:43:47 +01:00
William S Fulton
07b2f5ac09 Detect newer versions of Lua during configure 2016-05-01 11:53:29 +01:00
William S Fulton
e952a19a3d Fix examples for lua 5.3 2016-05-01 11:52:02 +01:00
William S Fulton
a8110e3761 Correct Python docs example
Fix PyTuple_SetItem in argout typemap
Fix from Bob Hood on swig-user mailing list
[skip ci]
2016-04-30 12:58:22 +01:00
Dan Williams
7bcf3ddc89 Remove gcc warnings when using -Wconversion. Right side of expressions are signed char. 2016-04-27 10:55:22 -04:00
Richard Beare
85f0930f73 cleaned up constants 2016-04-21 18:11:56 +10:00
William S Fulton
e0728f582a Merge pull request #665 from vadz/check-failing
Add check-failing target to check that failing tests still do fail
2016-04-21 07:01:46 +01:00
Vadim Zeitlin
9a7114cc38 Add check-failing target to check that failing tests still do fail
This is useful to remove the tests which pass after the latest fixes from the
list of the failing tests.
2016-04-20 19:55:29 +02:00