| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
AccessorName was being used instead of AttributeName.
Closes #1872.
|
| |
|
|
|
|
|
|
| |
Remove final vestiges of 'complex' keyword.
Closes #252
|
| |
|
|
|
|
|
| |
template_typedef_cplx2 files are generated by the template_typedef_import.multicpptest
but can also be cleaned by the template_typedef_cplx2.cpptest target.
|
|
|
|
| |
For visual c++ compilation when using creal and cimag.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* commit '8245277ad3acd9308ce28c40508b999e9496b27e':
Remove test for unsupported complex or _Complex by itself
More C99 complex fixes, plus Python tests
Restore _Complex as standalone type
Small corrections for handling C99 _Complex
Properly handle C99 complex types even in C++ mode
Conflicts:
Examples/test-suite/python/complextest_runme.py
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* PyBuffer_Release-pybuffer:
Add tests.
Fix the error handling for the PyObject_GetBuffer() calls in pybuffer.i
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* director-return-const-pointer:
Put test in alphabetical order
Perform proper spacing in director method declarations
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a director method returns a const pointer, eg. 'int *const', then in its
method declaration a space has to be inserted between 'const' and the
method name.
This fixes swig#1810.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add ability to change the modifiers for the C# and Java
interface generated when using the %interface macros.
For C# use the 'csinterfacemodifiers' typemap.
For Java use the 'javainterfacemodifiers' typemap.
For example:
%typemap(csinterfacemodifiers) X "internal interface"
Closes #1874
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Use sys.maxint still for Python 2
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* remove-dependency-on-2to3:
Remove need for Python 2to3
Modify examples to be both Python 2 and 3 compatible
Remove python3 specific runme3.py test files
Convert python tests using 2to3
Convert python test scripts to be Python 2 and 3 compatible
Convert swigobject python test to be python 2 and 3 compatible
Convert two tests to work with both Python 2 and 3
Improve director_exception Python test
Remove further print statements from Python tests
Improve Python testing catching exceptions
Improve contract Python testcase testing
Remove print statements from Python tests
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
All Python examples and tests have been written to be both Python 2 and Python 3
compatible, removing the need for 2to3 to run the examples or test-suite.
The 2to3 executable is not always available and even when available does not
always work, e.g. with pyenv. An alternative would be to use the lib2to3 Python
module instead, but this isn't available in some older versions of Python 3.
I had this problem on Ubuntu Bionic on Travis:
checking Examples/python/callback
pyenv: 2to3-3.8: command not found
The `2to3-3.8' command exists in these Python versions:
3.8
3.8.1
Reference issues:
https://github.com/pypa/virtualenv/issues/1399
https://travis-ci.community/t/2to3-command-not-found-in-venv-in-bionic/4495
|
| | | | |
| | | | |
| | | | |
| | | | | |
For removing dependency on 2to3
|
| | | | |
| | | | |
| | | | |
| | | | | |
This file can be run using Python 2, the test is just ignored
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These tests were converted using 2to3 and should be valid using
Python 2.7 and Python 3+.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Unicode testing
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Now these two tests work without having to use 2to3
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add code to handle missed exceptons.
Remove print statement.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use exceptions instead of printing to stdout.
Part of an effort to convert Python tests to python 3 syntax.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Catch expected exceptions only
|
| | | | |
| | | | |
| | | | |
| | | | | |
Catch expected exceptions only - fix bug in test
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use exceptions instead of printing to stdout.
Part of an effort to convert Python tests to python 3 syntax.
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
This set of examples was never tested/documented
There is an equivalent testcase in Examples/test-suite/contract.i
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Issue reported by Carlos Frederico Biscaya on swig-user mailing list.
|
| |_|/
|/| |
| | |
| | | |
Based on Ruby's li_std_pair_runme.rb
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | | |
* directors-comparison-operators:
Use %rename
Fix wrapping of virtual comparison operators with directors
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes #1642.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Reportedly failing. Failure can be replicated with 2.5.1 by increasing
number of loops.
Workaround is to disable GC.
Closes #1646
|
|\ \
| |/
|/|
| |
| |
| | |
* python-doxygen-quotes:
Fix generated Python code for Doxygen comments with triple quotes
Fix generated Python code for Doxygen comments ending with quote
|