Commit graph

21,752 commits

Author SHA1 Message Date
William S Fulton
143837ddf1 Update changes file 2020-08-13 16:26:50 +01:00
William S Fulton
bfddc50a6a Add C# support for void *VOID_INT_PTR member variables
Issue reported by Carlos Frederico Biscaya on swig-user mailing list.
2020-08-13 16:06:48 +01:00
William S Fulton
a38f30a194 Add basic std::pair Python testing
Based on Ruby's li_std_pair_runme.rb
2020-08-13 16:06:48 +01:00
William S Fulton
46e17f1458
Merge pull request #1843 from chrisburr/patch-1
PyTypeObject::ob_base isn't available in PyPy
2020-07-29 21:49:50 +01:00
Chris Burr
eafe1e2daa
Use Py_TYPE in SwigPyBuiltin_SetMetaType 2020-07-28 08:11:02 +02:00
Chris Burr
917110212e
PyTypeObject::ob_base isn't available in PyPy 2020-07-17 12:15:54 +02:00
William S Fulton
d967e4c8b8 Use conventional 'v' prefix for release tagging
See semantic versioning:
  https://semver.org/spec/v2.0.0.html

Closes #1825
2020-06-23 19:18:58 +01:00
William S Fulton
ce4164b66d Add director comparison operator fix to changes file 2020-06-14 23:09:11 +01:00
William S Fulton
ee7eb6b58a Merge branch 'directors-comparison-operators'
* directors-comparison-operators:
  Use %rename
  Fix wrapping of virtual comparison operators with directors
2020-06-14 22:23:57 +01:00
William S Fulton
09a5b83aac
Merge pull request #1822 from vapier/master
configure: use AC_PATH_TOOL for pkg-config
2020-06-14 10:23:02 +01:00
William S Fulton
4546aae41d Add missing python cygwin build in appveyor.yml 2020-06-13 14:04:50 +01:00
William S Fulton
148f6b48fc Move python cygwin to Appveyor allow_failure list. 2020-06-13 13:56:28 +01:00
Mike Frysinger
e9a21197ec configure: use AC_PATH_TOOL for pkg-config
AC_CHECK_PROGS will find the tool using exactly the name given: it
only searches for "pkg-config".  When doing native builds, this is
generally fine.  However, when cross-compiling, this is not ideal
as `pkg-config` is often configured for the build system, not the
system we want to cross-compile for.

Switch to using the AC_PATH_TOOL tool instead.  This will look for
"pkg-config" with a $host- prefix first before falling back to the
plain "pkg-config".  When doing native builds, things should still
behave the same, but now things work better out of the box when we
cross-compile.

For example, `./configure --host=aarch64-linux-gnu` will first look
for "aarch64-linux-gnu-pkg-config" before falling back to the plain
"pkg-config".
2020-06-12 19:08:29 -04:00
William S Fulton
b94dd4b770 Merge branch 'pyopers-docs'
* pyopers-docs:
  Fix references to pyopers.swg in the Python docs
2020-06-12 23:10:45 +01:00
William S Fulton
23e5362882 Merge branch 'vapier-master'
* vapier-master:
  configure: change $PKGCONFIG to $PKG_CONFIG
2020-06-12 23:09:31 +01:00
William S Fulton
d3fa519a9c Stop running cygwin python test on Appveyor
Currently broken, unable to find header files.
2020-06-12 23:08:00 +01:00
William S Fulton
8bf2f473f4 Revert "Allow cygwin to fail on Appveyor"
This reverts commit dbb88876e6.
2020-06-12 23:06:40 +01:00
Mike Frysinger
24945669fd configure: change $PKGCONFIG to $PKG_CONFIG
The PKG_CONFIG variable name aligns with the standard upstream
value that the pkg-config project itself uses.
2020-06-11 18:04:15 -04:00
Zackery Spytz
8f795a4220 Fix references to pyopers.swg in the Python docs
[skip ci]
2020-06-09 17:42:46 -06:00
William S Fulton
b7bcb338cf Add C++20 documentation chapter 2020-06-08 20:56:40 +01:00
William S Fulton
dbb88876e6 Allow cygwin to fail on Appveyor 2020-06-08 20:52:10 +01:00
William S Fulton
470d1926f8 Bump version to 4.1.0 2020-06-08 20:47:47 +01:00
William S Fulton
efe5f181cf html fixes 2020-06-08 20:19:47 +01:00
William S Fulton
7070320335 Revert "Add C++20 documentation chapter"
This reverts commit 36e8d521de.

Conflicts:
	Doc/Manual/R.html
2020-06-08 20:06:55 +01:00
William S Fulton
3c007e81d6 swig-4.0.2 release notes 2020-06-07 23:03:06 +01:00
Zackery Spytz
b1b13d7d0a Use %rename 2020-06-07 13:56:07 -06:00
William S Fulton
8041bfdf09 Ruby testcase fix
Reportedly failing. Failure can be replicated with 2.5.1 by increasing
number of loops.
Workaround is to disable GC.

Closes #1646
2020-06-07 17:59:21 +01:00
William S Fulton
db3774ac8d Merge branch 'develop'
Github issue #1805 and pull request #1807

* develop:
  Replace `-isystem` compile flag with `-I`
2020-06-07 14:05:10 +01:00
William S Fulton
a70998889b Changes file updates 2020-06-07 11:32:16 +01:00
William S Fulton
938c3bbb54 Merge branch 'fix-1199'
* fix-1199:
  fix #1199
2020-06-07 10:29:55 +01:00
William S Fulton
991c2afe11 Merge branch 'python-doxygen-quotes'
* python-doxygen-quotes:
  Fix generated Python code for Doxygen comments with triple quotes
  Fix generated Python code for Doxygen comments ending with quote
2020-06-07 10:23:33 +01:00
William S Fulton
2e846e564d Merge branch 'escape-filepaths'
* escape-filepaths:
  escape phony targets as well
  escape target name
  escape path of generated file
  escape filepaths
2020-06-07 10:11:39 +01:00
William S Fulton
ba0154d90a Fix node 6 and 8 testing on Travis
Later versions of node-gyp (7.0.0) being installed by npm don't seem
to work with node 6 and 8.
2020-06-06 10:29:41 +01:00
William S Fulton
6275af60a7 Ruby s390x now working on Travis 2020-06-06 08:46:09 +01:00
William S Fulton
a6dc8821c2 Merge branch 'andreas-schwab-master'
* andreas-schwab-master:
  Ruby wstring - only include endian.h on linux
2020-06-06 08:42:17 +01:00
Andreas Schwab
58ffbe616f Ruby wstring - only include endian.h on linux
This file is not always available on other systems.
See #1801
2020-06-06 08:39:47 +01:00
Zackery Spytz
4e57c5536d Fix wrapping of virtual comparison operators with directors
Closes #1642.
2020-06-05 10:25:20 -06:00
Noah Stegmaier
cf7802c5cc escape phony targets as well 2020-06-04 12:24:08 +02:00
Noah Stegmaier
e224194735 escape target name 2020-06-04 12:17:51 +02:00
Noah Stegmaier
d723f82160 escape path of generated file 2020-06-04 12:10:24 +02:00
Noah Stegmaier
3cc4d76e23 escape filepaths 2020-06-04 12:10:24 +02:00
Anatol Pomozov
9da2e4f5d4 Replace -isystem compile flag with -I
Using `-isystem` flag causes compilation errors with GCC10.
Replace it with `-I` flag.

Fixes #1805

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
2020-06-02 23:33:12 -07:00
William S Fulton
430a44e075 Merge branch 'ruby-bigendian'
* ruby-bigendian:
  Travis ruby s390x (big endian) architecture testing
  Install libpcre3-dev for Linux builds
  Don't fail the build if CPU model or memory can't be detected
  Switch one of Travis CI Ruby builds to use s390x arch
2020-06-02 23:27:05 +01:00
William S Fulton
3867639897 Travis ruby s390x (big endian) architecture testing
Currently failing on this architecture.
Add s390x testing for Ruby c++11 Xenial rather than replace AMD Ruby
C++11 Xenial testing.
2020-06-02 23:24:56 +01:00
William S Fulton
85f2378b84 Merge branch 'r-script-fixes'
* r-script-fixes:
  Fix further missing semicolons in R code.
  fixed some missing semicolons. Each one caused a compile error in generated code
2020-06-02 18:11:12 +01:00
William S Fulton
ac3f668c83 Minor configure.ac output display correction testing for octave 2020-06-02 18:11:12 +01:00
William S Fulton
6542d848dc Fix further missing semicolons in R code.
Fixes errors in R code when using -small as this option causes lines to be joined.
2020-06-02 10:16:18 +01:00
William S Fulton
64e2c43c93 Merge branch 'octave-fixes'
* octave-fixes:
  octrun.swg: ensure type_id() is set correctly
  .travis.yml: build Octave on OSX with CPP=11
  .travis.yml: require Octave build on OSX to pass
  .travis.yml: add Octave test on Ubuntu Bionic
  Octave: use pre-compiled headers to speed up test suite, if supported
  Tools/travis-osx-install.sh: disable 'brew cleanup' to save Travis job run time
  Tools/travis-osx-install.sh: use Tools/brew-install to install Octave
  octave.cxx: fix exception raising for newer Octave versions
  octave.cxx: add missing return statement before "fail:" label
  octave.cxx: this belongs in the code (as opposed to definition) section
  octave.cxx: remote whitespaces
  octave.cxx: replace Printf() with Append() for consistency
  octruntime.swg: do not use atexit() to quit Octave
  octrun.swg: remove octave_value type-id from octave_swig_bound_func
  configure.ac: fix calls to mkoctfile for Octave configuration
2020-05-31 22:49:15 +01:00
Karl Wette
d73ef20475 octrun.swg: ensure type_id() is set correctly 2020-05-31 22:11:51 +10:00
Karl Wette
cec09a7e6e .travis.yml: build Octave on OSX with CPP=11 2020-05-31 22:11:51 +10:00