Commit graph

19,307 commits

Author SHA1 Message Date
Mike Romberg
2bb732008a Add more documentation about statically linked python modules. 2016-06-11 16:08:24 -06:00
William S Fulton
82a932373f Merge branch 'mromberg-pkgdoc'
* mromberg-pkgdoc:
  Python module loading documentation tweaks
  Add documentation about how foo.py finds/loads _foo for python.

[skip ci]
2016-06-11 00:59:39 +01:00
William S Fulton
d18b6e2c8d Python module loading documentation tweaks 2016-06-11 00:59:00 +01:00
Mike Romberg
7b1b2e177f Add documentation about how foo.py finds/loads _foo for python. 2016-06-07 15:28:40 -06:00
William S Fulton
de56ef9e4d Release notes for 3.0.10.
[skip ci]
2016-06-07 20:08:42 +01:00
William S Fulton
7a26e33b2a Test Python 3 without -py3 option on Travis 2016-06-07 08:18:07 +01:00
William S Fulton
9b73cd036f Avoid polluting global python namespace with version_info symbol 2016-06-07 08:12:48 +01:00
William S Fulton
af60ef9dc9 Add changes entry for python 2.7 -relativeimport 2016-06-06 22:27:07 +01:00
William S Fulton
98e2132c0b Merge branch 'mromberg-relative'
* mromberg-relative:
  Python: Do not import all of sys when using -relativeimport
  Add missing print statements to the Python import_packages tests
  Update -relative import documentation to reflect runtime check.
  > to >=
  Make the check for python3 -relative does python runtime check.
2016-06-06 22:23:27 +01:00
William S Fulton
81adedd7dd Python: Do not import all of sys when using -relativeimport 2016-06-06 22:20:07 +01:00
William S Fulton
dd40a25349 Add missing print statements to the Python import_packages tests 2016-06-06 22:12:56 +01:00
Mike Romberg
ac7157dfc6 Update -relative import documentation to reflect runtime check. 2016-06-06 13:43:58 -06:00
Mike Romberg
d55151ac70 > to >= 2016-06-06 13:26:55 -06:00
William S Fulton
2d5c32048c Only test python:abc feature when passing -py3 to swig 2016-06-06 19:10:25 +01:00
Mike Romberg
9ce4b58df4 Make the check for python3 -relative does python runtime check. 2016-06-06 01:28:40 -06:00
William S Fulton
df30ae0f0b Examples makefile changes to make it easier to test python3 without -py3
Use:
  make check-python-test-suite PY3=1 SWIGOPTPY3=
  make check-python-examples PY3=1 SWIGOPTPY3=
2016-06-05 22:39:34 +01:00
William S Fulton
4c51c655d4 Expand Travis to test python 2.6 with -builtin 2016-06-05 21:43:15 +01:00
William S Fulton
a293ee6a15 Remove unused code in R wrappers 2016-06-05 21:40:03 +01:00
William S Fulton
f3cff47845 Add changes entry for python import fixes 2016-06-05 21:23:18 +01:00
William S Fulton
ad98b58a3b Merge branch 'mromberg-impfix'
* mromberg-impfix:
  Examples readme file tweak
  remove builtin tests as they are already covered.
  Apply patch to cleanup whitespace from wsfulton
  and... remove all the .py files that were copied over from the source tree.
  remove -py3 related tests.  Move py3 specific code to it's own module
  copy everything with a .py extension into the build tree (creating dirs if needed)
  debug
  avoid the shell checks involving __init__.py
  Something optimizes out empty files and breaks the tests.  Put something in.
  fix for new split module test cases.
  split_wrapper -> split_modules to avoid conflict with clean rule
  Add cases for tests without the -py3 flag even when PY3 is set.
  Tests/Examples for the use case of splitting the wrapper. Half of the wrapper in a package and 1/2 is global.
2016-06-05 21:03:40 +01:00
William S Fulton
53ff928688 Examples readme file tweak 2016-06-05 11:23:58 +01:00
Mike Romberg
2ea01f349d remove builtin tests as they are already covered. 2016-06-04 14:12:33 -06:00
Mike Romberg
0cc3c78abf Apply patch to cleanup whitespace from wsfulton 2016-06-04 14:07:50 -06:00
Mike Romberg
906564d97c and... remove all the .py files that were copied over from the source tree. 2016-06-03 20:20:33 -06:00
Mike Romberg
055ddc6dfc remove -py3 related tests. Move py3 specific code to it's own module 2016-06-03 18:11:07 -06:00
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