Commit graph

19,342 commits

Author SHA1 Message Date
Lior Goldberg
d0fc5b7b5b Add C++11 alias templates 2016-07-06 00:31:04 +03:00
William S Fulton
36bbeb478d changes file entry for ignoring nested classes 2016-06-26 00:42:12 +01:00
William S Fulton
b24e970a28 Merge branch 'wkalinin-nested-ignore-fix'
* wkalinin-nested-ignore-fix:
  renamed test module, in accordance with other tests
  function body fixed
  added foo() definition to satisfy some test linking fails
  func() renamed to foo() for 'go'
  fixed test-suite/nested_ignore.i
  test for #662
  fix for nested ignored types

Closes #662
2016-06-26 00:33:19 +01:00
William S Fulton
2da7e066b3 Merge branch 'avalluri-leaks'
* avalluri-leaks:
  whitespace fix
  memory leak improvements - delete at end of scope
  CCache: Fix typo in null check
  CCache: Fix memory/file descriptor leaks
  scilab.cxx: Fix memory leaks
  Fix leaked file descriptor
  Lua: Fix possible memory leaks
  go.cxx: Fix use of a freed variable

Closes #710
Closes #712
Closes #713
Closes #715
Closes #716
2016-06-26 00:16:30 +01:00
William S Fulton
adfa531a3b whitespace fix 2016-06-26 00:06:15 +01:00
William S Fulton
7ec7cc63da memory leak improvements - delete at end of scope 2016-06-26 00:06:01 +01:00
William S Fulton
875aca5976 Add changes entry for -castmode and integer conversion fix
Closes #711
2016-06-25 21:43:55 +01:00
Mike Romberg
7dc5879714 castmode was failing overflow tests. Fix it. 2016-06-25 21:17:38 +01:00
William S Fulton
23caea3b68 Add changes entry for %implicitconv fix with -castmode or -fastdispatch 2016-06-25 21:06:17 +01:00
William S Fulton
91a79c8df2 Merge branch 'ahnolds-implicittest'
* ahnolds-implicittest:
  Fixing implicitconv handling for fastdispatch and castmode
2016-06-25 20:46:58 +01:00
William S Fulton
9f37796e80 Add new C++11 type aliasing support to changes file 2016-06-25 16:08:44 +01:00
Alec Cooper
4f1c491090 Fixing implicitconv handling for fastdispatch and castmode 2016-06-23 08:06:14 -04:00
Lior Goldberg
c363a93d69 Added support for type alias 2016-06-22 23:13:28 +03:00
William S Fulton
86fd5c9858 Fix autodoc testcase for python -fastproxy
Also fixes -O.
This is a minimal change avoiding the differences in the function names
when -fastproxy is used until autodoc code is improved with doxygen
changes.

Closes #721.
2016-06-22 00:15:05 +01:00
William S Fulton
3459099fb8 %shared_ptr and %template testcase modified to work for python -O
Testcase has now been modified to mask the problem by providing the default parameter 'int' in:
%shared_ptr(Space::BaseDefault<short, int>)
If this is not done then d fails to convert to BaseDefault<short>&

This needs fixing in SWIG, but the problem is masked for now, so that the python
testcase works when run with the -O option.
2016-06-21 19:49:27 +01:00
William S Fulton
38cda92938 smartptr inheritance fix when using templates and typedefs
Fixes SF bug 3333549 - %shared_ptr fixes when the type is a template using
template parameters that are typedef'd to another type.

Also fixes python -O optimization where the smart pointer conversion to the
base class needs to work because of the virtual methods that have been
optimized away.
2016-06-21 07:00:56 +01:00
William S Fulton
cc7319f52f Replace assert from Python testcases with code that always runs.
assert code is sometimes not executed, eg when running python -O.
2016-06-19 20:11:51 +01:00
Amarnath Valluri
6234ebd486 CCache: Fix typo in null check 2016-06-17 15:07:39 +03:00
Amarnath Valluri
478d5df911 CCache: Fix memory/file descriptor leaks
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
2016-06-17 15:07:36 +03:00
Amarnath Valluri
9b371b48d1 scilab.cxx: Fix memory leaks
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
2016-06-16 15:59:21 +03:00
Amarnath Valluri
030a3b08bf Fix leaked file descriptor
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
2016-06-16 15:53:22 +03:00
Amarnath Valluri
08d5e19e6e Lua: Fix possible memory leaks
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
2016-06-16 15:51:50 +03:00
Amarnath Valluri
11b971f405 go.cxx: Fix use of a freed variable
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
2016-06-16 15:47:12 +03:00
William S Fulton
84b06fa21b Bump version to 3.0.11 2016-06-12 10:14:11 +01:00
William S Fulton
d9875c6579 swig-3.0.10 release 2016-06-12 00:23:15 +01:00
William S Fulton
9c9a503a50 Add more about Python module loading changes from Mike Romberg 2016-06-12 00:20:51 +01:00
William S Fulton
b8cbe1399b Merge branch 'mromberg-extend'
* mromberg-extend:
  Python docs on static linking section edits
  Add more documentation about statically linked python modules.
2016-06-12 00:13:30 +01:00
William S Fulton
64f5d23b13 Python docs on static linking section edits 2016-06-12 00:13:07 +01:00
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
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