Commit graph

19,282 commits

Author SHA1 Message Date
Mike Romberg
f102d587bc copy everything with a .py extension into the build tree (creating dirs if needed) 2016-06-03 17:30:01 -06:00
Mike Romberg
f1aea15cf7 debug 2016-06-03 13:26:12 -06:00
Mike Romberg
f3c373a584 avoid the shell checks involving __init__.py 2016-06-03 03:17:19 -06:00
Mike Romberg
621325a7dd Something optimizes out empty files and breaks the tests. Put something in. 2016-06-03 01:30:43 -06:00
Mike Romberg
1495313e53 fix for new split module test cases. 2016-06-02 23:56:15 -06:00
Mike Romberg
ddc9fc1eb9 split_wrapper -> split_modules to avoid conflict with clean rule 2016-06-02 22:45:59 -06:00
Mike Romberg
355e4b4903 Add cases for tests without the -py3 flag even when PY3 is set. 2016-06-02 17:29:05 -06:00
Mike Romberg
3a459b3f27 Tests/Examples for the use case of splitting the wrapper.
Half of the wrapper in a package and 1/2 is global.
2016-06-02 14:17:38 -06:00
William S Fulton
260501c45f Add comment about cpp_template_repeat testcase 2016-06-01 21:25:25 +01:00
William S Fulton
fa60e9c7b0 Removing empty errors tests - template typename missing
The missing typename was not warning, but this is too
hard to provide error/warning messages given SWIG supports missing type
information.
2016-06-01 21:25:25 +01:00
William S Fulton
0f0bb3015a Removing empty error tests - this one seems to be valid C preprocessor code 2016-06-01 21:25:25 +01:00
William S Fulton
e64998d55c Removing empty errors tests - tests that are valid C/C++ code 2016-06-01 21:25:25 +01:00
William S Fulton
ddd1b38fa2 Removing empty error tests - c_default_error
C default arguments are allowed, so migrated the error test to a proper test,
as no error or warning is expected.
2016-06-01 21:25:25 +01:00
William S Fulton
cbec3239d2 Correct CHANGES comment about kwargs and compactdefaultargs.
[skip ci]
2016-05-31 22:28:35 +01:00
William S Fulton
b9ca9f5efc Smart pointer to %ignored class doesn't expose inherited methods fix.
Regression introduced in swig-3.0.9 by 3efdbc8
Closes #690
2016-05-31 22:10:37 +01:00
William S Fulton
8aea57c704 Bump version to 3.0.10 2016-05-29 15:46:46 +01:00
William S Fulton
bab5139805 swig-3.0.9 release update 2016-05-29 13:35:37 +01:00
William S Fulton
ddf2e581b2 Check for qt patched version of wkhtmltopdf for pdf doc generation 2016-05-29 13:04:48 +01:00
William S Fulton
5cb545aefa statically link to gcc windows runtimes when cross compiling windows binaries 2016-05-29 12:17:06 +01:00
William S Fulton
8eb9eebb84 Fix warning compiling with i686-w64-mingw32-gcc 2016-05-29 00:50:00 +01:00
William S Fulton
dbb64cc458 No need to detect languages when building Windows binary 2016-05-29 00:46:00 +01:00
William S Fulton
4dda14f906 Fix new mingw detection 2016-05-28 23:59:38 +01:00
William S Fulton
ed44958576 Update windows on linux build to use i686-w64-ming32 2016-05-28 23:46:07 +01:00
William S Fulton
1f0acadcf0 Add gcc-6 Travis testing and use gcc-5.3 instead of gcc-5.2
Test Python, Java and C# with gcc-6
Test gcc-5 on Trusty instead of on Precise to pick up gcc-5.3 instead of gcc-5.2
2016-05-28 20:13:20 +01:00
William S Fulton
55fe53dc3f Fix SWIG overloading warning display for R and allegrocl
Only half the warning would have been displayed due to missing if statement brackets.
Fixes gcc-6 warnings
2016-05-28 20:09:02 +01:00
William S Fulton
2fdd4e10ad configure to only test Go 1.2 and later
Go 1.1 does not seem to work with the -cgo option which is turned on during testing
and 'make check'
2016-05-28 19:01:11 +01:00
William S Fulton
550da9f7ef Testcase warning suppression for vc++ 2016-05-28 15:52:44 +01:00
William S Fulton
bee6964b48 Compile warning fix 2016-05-28 15:13:23 +01:00
William S Fulton
eaf74df22f Fix failure to detect lua.h on some systems
Fixes "present but cannot be compiled" autoconf failure looking for lua.h
2016-05-28 10:37:19 +01:00
William S Fulton
db54a8d5d1 Fix unused warnings in perl wrappers 2016-05-28 09:59:16 +01:00
William S Fulton
624195f313 Fix unused variable warnings in Guile wrappers 2016-05-28 00:45:24 +01:00
William S Fulton
06c47fbcdc Correct file format to unix 2016-05-28 00:45:24 +01:00
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