Commit graph

21,847 commits

Author SHA1 Message Date
Oliver Buchtala
2981eda00d Initial CMake configuration.
Needs to be tested under OSX and Windows.
2021-02-25 10:50:41 +01:00
William S Fulton
7ba19e7586 Document node v12 support and minimum is now v6
Code to remove support for node v0.10 upto v6 is still to be removed.
2021-02-24 22:22:36 +00:00
William S Fulton
7b37c8cd02 Merge branch 'pr/new-node-fixes'
* pr/new-node-fixes:
  Travis testing: Node 12 support not fully working yet
  Revert "Merge pull request #3 from tungntpham/new-node-fixes-refactor"
  OPTIM: Restructured the code where it checks for V8 version, removing duplicate code and potentially improving the readability.
  Nodejs: run tests against Node.js v12
  Add support for Node.js v12
  Replace Handle with Local depending on Node.js version
  Introduce macros to support both Handle and Local types
2021-02-24 22:14:47 +00:00
William S Fulton
1edc58d8fe Travis testing: Node 12 support not fully working yet 2021-02-24 22:11:10 +00:00
William S Fulton
c3c4ec1e88 html link corrections 2021-02-24 22:07:36 +00:00
William S Fulton
ac8de714af Travis testing tcl for MacOSX10.14 and later
Used suggestion from
https://www.postgresql-archive.org/PG-vs-macOS-Mojave-td6047357.html#a6056680
to add in sysroot.

Note that the examples failed at runtime unless tcl was installed from homebrew:
  brew install --cask tcl
2021-02-20 14:50:01 +00:00
William S Fulton
d344698934 Travis osx: install tcl 2021-02-20 14:49:52 +00:00
William S Fulton
38530af028 brew-install now handles more than one argument 2021-02-20 14:49:52 +00:00
William S Fulton
b58e44700a Travis: skip make check-maintainer-clean on osx
Often fails with: rm: Resource temporarily unavailable
2021-02-20 14:49:52 +00:00
William S Fulton
f7b5fea09f Travis osx: Disable octave testing
Octave 6.1 is installed and has a new non-backwards compatible API
2021-02-20 14:47:04 +00:00
William S Fulton
ad3f3b6ed5 Travis osx: perl needs installing now 2021-02-20 14:47:03 +00:00
William S Fulton
7d85efbf3c Lua example fix for newer osx 2021-02-20 14:47:03 +00:00
William S Fulton
33c547d079 Travis osx - guile is now pre-installed 2021-02-20 14:47:03 +00:00
William S Fulton
3716e7348e Travis: brew list versions 2021-02-20 14:46:48 +00:00
William S Fulton
b65ec5c369 Travis update to use newer macOS 10.15.7 xcode12.2 2021-02-20 14:45:38 +00:00
William S Fulton
6358510c57 Travis: disable MinGW testing
MinGW server seems to be offline
2021-02-19 21:50:43 +00:00
William S Fulton
1ec44da352
Merge pull request #1945 from ZackerySpytz/attribute-attribute2ref-typos
Fix typos in attribute2ref() in Lib/typemaps/attribute.swg
2021-02-17 17:57:34 +00:00
Zackery Spytz
bcfa927298 Fix typos in attribute2ref() in Lib/typemaps/attribute.swg
AccessorName was being used instead of AttributeName.

Closes #1872.
2021-02-09 09:21:14 -07:00
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
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