Commit graph

22,690 commits

Author SHA1 Message Date
Andrey Starodubtsev
b2bcf040c0 java directorargout + java/typemaps.i fixes
- directorargout didn't work - it used string "jresult" instead of
  argument name
- java/typemaps.i didn't work with directors
- test for using java/typemaps.i in directors added
2016-06-08 15:04:47 +03:00
Vladimir Kalinin
4aa86c6647 renamed test module, in accordance with other tests 2016-06-08 14:19:29 +03: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
Alan Woodland
3908817fc3 Document autobox.i 2016-05-31 22:11:15 +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
Alan Woodland
c5a724f1bb Made the conversion from long->int for size_type mapping onto Java interfaces cleaner. 2016-05-31 21:43:13 +01:00
Alan Woodland
5eb46d5f9f Be consistent in semantics of %extend on std::list::iterator 2016-05-31 21:06:09 +01:00
Alan Woodland
00ac1f38e5 Comment on consideration of making iterator non-static. 2016-05-31 21:06:09 +01:00
Alan Woodland
1f4a8e6231 Java style fix: iterator->Iterator 2016-05-31 20:28:08 +01:00
Alan Woodland
583fdce790 Moving iterator functionality into nested Java class now. 2016-05-31 20:22:39 +01:00
Alan Woodland
c78a005a29 Removed typedef from li_std_list test as it's not expected to work properly in templated code 2016-05-31 14:56:21 +01:00
Alan Woodland
e561a78205 Added a best case workaround for std::list::size_type vs jint problem. There's a bit of commentry added around it too for clarity. 2016-05-31 14:49:03 +01:00
Alan Woodland
9ade17cc50 Drop non-const reference from autobox typemap macro to be consistent. 2016-05-31 14:49:03 +01:00
Alan Woodland
b09fce84a4 just use a forward declaration for C++ iterator types to fix enum errors 2016-05-31 14:49:02 +01:00
Alan Woodland
4a149f66fd Added enum to li_std_list tests 2016-05-31 14:49:02 +01:00