Zackery Spytz
c12ab1f012
Fix attribution error for Python buffers fix in CHANGES.current
...
[skip ci]
Closes #1940 .
2021-02-01 20:41:54 +01:00
tungpham25
36960396ba
Revert "Merge pull request #3 from tungntpham/new-node-fixes-refactor"
...
This reverts commit 35f05bd541 , reversing
changes made to 0ea6a3bdbf .
2021-01-28 21:48:45 +00:00
Tung Pham
35f05bd541
Merge pull request #3 from tungntpham/new-node-fixes-refactor
...
OPTIM: Restructured the code where it checks for V8 version
2021-01-25 20:28:01 +00:00
James Gerity
280b82c8ac
Document lack of support for auto for C++ variables ( #1125 )
2021-01-19 10:03:56 +13:00
TungPham51D
4ce34742a7
OPTIM: Restructured the code where it checks for V8 version, removing duplicate code and potentially improving the readability.
2021-01-14 13:48:19 +00:00
Thomas Reitmayr
7963445048
Add and improve Ruby test cases in the context of nesting and namespaces
...
This is done in preparation for adding namespace support to the Ruby
part of SWIG. Some existing test cases were reorganized or duplicated
for flat/nonflat nesting. For some a Ruby test script was added.
Finally the ruby/Makefile.in was improved so that for test cases
without an explicit test script, the generated wrapper library will
be loaded by the Ruby interpreter to ensure loading works fine.
2020-12-16 22:30:46 +01:00
William S Fulton
b6c2438d7d
Merge pull request #1887 from jschueller/call
...
Drop deprecated PyEval_CallObject method
2020-10-16 21:39:07 +01:00
William S Fulton
380d14ea2f
Merge pull request #1888 from jschueller/sudo
...
Travis: sudo is useless now
2020-10-16 21:38:36 +01:00
Julien Schueller
9ed60ac7a0
Drop deprecated PyEval_CallObject method
...
see https://docs.python.org/3.9/whatsnew/3.9.html
2020-10-15 08:43:21 +02:00
Julien Schueller
8a4672edd1
Travis: sudo is useless now
2020-10-14 12:13:53 +02:00
William S Fulton
bc09d05174
testname typo fix
2020-10-10 17:59:17 +01:00
William S Fulton
638ca8152d
complex can now be used as an identifier
...
Remove final vestiges of 'complex' keyword.
Closes #252
2020-10-10 16:07:55 +01:00
William S Fulton
8edb047785
Update changes file with complex fixes
2020-10-10 15:27:22 +01:00
William S Fulton
71a13e60de
Quieten ccomplextest
2020-10-10 15:21:13 +01:00
William S Fulton
4b5baf0a60
0.0 float warning fix
2020-10-10 15:02:26 +01:00
William S Fulton
f318bb8286
Add missing clean targets
...
template_typedef_cplx2 files are generated by the template_typedef_import.multicpptest
but can also be cleaned by the template_typedef_cplx2.cpptest target.
2020-10-10 15:02:26 +01:00
William S Fulton
04e49b174b
Further ccomplextest hacks
...
For visual c++ compilation when using creal and cimag.
2020-10-10 15:02:26 +01:00
William S Fulton
fd592fdc3b
Split C complex.h from C++ complex testing
2020-10-10 15:01:29 +01:00
William S Fulton
9a2513bf85
Javascript v8 C complex wrappers fix
2020-10-10 14:53:46 +01:00
William S Fulton
57957787b7
Convert C++ comment to C comment
2020-10-10 14:53:46 +01:00
William S Fulton
2cbf7d725a
Remove Remove runtime test for unsupported complex or _Complex by itself
2020-10-10 14:53:46 +01:00
William S Fulton
4f184500d7
Merge commit ' 8245277ad3' into c99-complex
...
* commit '8245277ad3 ':
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
2020-10-10 14:53:33 +01:00
William S Fulton
0034b3572e
Update changes file
2020-10-07 22:42:56 +01:00
William S Fulton
b456449940
Update python_pybuffer_runme.py syntax for working under both python 2 and 3
2020-10-07 22:41:04 +01:00
William S Fulton
4d5f4bcd33
Merge branch 'PyBuffer_Release-pybuffer'
...
* PyBuffer_Release-pybuffer:
Add tests.
Fix the error handling for the PyObject_GetBuffer() calls in pybuffer.i
2020-10-07 22:37:17 +01:00
William S Fulton
b84cd9c53e
Update changes file
2020-10-07 22:29:56 +01:00
William S Fulton
fe676f840a
Merge branch 'director-return-const-pointer'
...
* director-return-const-pointer:
Put test in alphabetical order
Perform proper spacing in director method declarations
2020-10-07 22:26:25 +01:00
William S Fulton
339377410b
Put test in alphabetical order
2020-10-07 22:21:37 +01:00
William S Fulton
8889635683
Merge pull request #1859 from adelva1984/no-host-exceptions
...
javascript: replace exceptions with SWIG_exit
2020-10-07 22:09:01 +01:00
William S Fulton
e71f781140
Apply suggestions from code review
...
Print errors to stderr instead of stdout
2020-10-07 22:06:47 +01:00
William S Fulton
61ea3c05de
Add missing virtual destructor to testcase
2020-09-28 09:57:51 +01:00
William S Fulton
c1b004f4fa
Add access modifier support for interface feature
...
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
2020-09-25 18:54:25 +01:00
William S Fulton
c8ac73513b
changes file entry for C# wchar_t csvarout fix
2020-09-24 22:39:01 +01:00
William S Fulton
71d4822860
Add Ruby test for wchar_t members in li_std_string testcase
2020-09-24 22:36:32 +01:00
Raj
d26e0f70d6
Merge pull request #3 from d3v53c/huntr-01
...
os.system calls migrated to subprocess.call / Popen api calls in Tools/mkdist.py
2020-09-17 16:03:53 +01:00
Mr. Krabbs
ca567a9557
removed destructuring operator for backward compatibililty
2020-09-16 07:29:37 -07:00
Mr. Krabbs
08478798f1
cleanup
2020-09-14 15:18:11 -07:00
Mr. Krabbs
2a4b4ea6e6
changed os system calls to subprocess calls
2020-09-14 14:44:48 -07:00
d3v53c
3bfbab1dae
cmd exec using subprocess rather than system calls
2020-09-14 04:28:19 -07:00
Gareth Francis
33765e5025
Extend C# wchar_t member test to pass unicode strings
2020-09-12 17:19:15 +01:00
Gareth Francis
6db3ab0d05
Add test for wchar_t members to li_std_string.i
2020-09-12 17:04:28 +01:00
Gareth Francis
beb1d8498d
Fix C# wchar_t* csvarout to be same as csout
2020-09-05 17:03:34 +01:00
Olly Betts
975f8fcfdb
Avoid undefined behaviour in DOH Replace() function
...
If the source and replacement strings were the same length, the code
was performing undefined pointer arithmetic involving a NULL pointer.
I'm not aware of any observable effects of this in practice, but it's
potentially problematic. It's detected by ubsan, for example when
running `make check-python-test-suite`:
DOH/string.c:839:4: runtime error: applying non-zero offset to non-null pointer 0x602000001558 produced null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior DOH/string.c:839:4 in
2020-09-04 10:44:49 +12:00
William S Fulton
b018c32f9d
Fix crashes in swig_connect_director during director class construction.
...
Occurs when using the director class from multiple threads - a race condition
initialising block scope static variables.
Block scope static variables are guaranteed to be thread safe in C++11,
so the fix is guaranteed when using C++11. However, most modern compilers
also fix it when using C++03/C++98.
Closes #1862
2020-08-28 18:23:47 +01:00
William S Fulton
70e78d4125
Travis testing of Python 3.9
2020-08-27 20:23:19 +01:00
William S Fulton
e774fe5cfd
Python 3.9 support for -builtin
...
Add missing initializer for member ‘_heaptypeobject::ht_module’ to complete
Python 3.9 support.
2020-08-27 20:22:39 +01:00
William S Fulton
bebb655975
Merge branch 'more-octave-fixes'
...
* more-octave-fixes:
Octave: error() must be called with an argument
2020-08-27 19:45:32 +01:00
William S Fulton
9c50887daa
Python 3.9 support
...
Remove PyEval_InitThreads() call for Python 3.7 and later as Python calls
it automatically now. This removes a deprecation warning when using Python 3.9.
https://docs.python.org/3/c-api/init.html#c.PyEval_InitThreads
2020-08-27 19:37:26 +01:00
Karl Wette
251ab662bf
Octave: error() must be called with an argument
2020-08-27 17:19:13 +10:00
William S Fulton
01a2d5fe4c
Merge pull request #1861 from adelva1984/no-return-without-have-pcre
...
naming: Add unreachable return to !HAVE_PCRE path
2020-08-25 21:14:08 +01:00