Commit graph

21,786 commits

Author SHA1 Message Date
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
Karl Wette
77c0fdaa79 .travis.yml: require Octave build on OSX to pass 2020-05-31 22:11:51 +10:00
Karl Wette
f11e25f3f6 .travis.yml: add Octave test on Ubuntu Bionic 2020-05-31 22:11:51 +10:00
Karl Wette
d11e29615d Octave: use pre-compiled headers to speed up test suite, if supported 2020-05-31 22:11:51 +10:00
Karl Wette
df8bb1feeb Tools/travis-osx-install.sh: disable 'brew cleanup' to save Travis job run time 2020-05-31 06:43:15 +10:00
Karl Wette
d8d0466e8d Tools/travis-osx-install.sh: use Tools/brew-install to install Octave 2020-05-31 06:43:15 +10:00
Karl Wette
d9c94848ec octave.cxx: fix exception raising for newer Octave versions
- Since (at least) Octave 5.1.0, the Octave error() function now raises a C++
  exception, which if uncaught immediately exits a SWIG wrapper function,
  bypassing any cleanup code that may appear after a "fail:" label.
- This patch adds a "try { ... } catch(...) { }" block around the contents of
  SWIG wrapper functions to first execute the cleanup code before rethrowing any
  exception raised.
- It is backward compatible with earlier versions of Octave where error() does
  not raise an exception, which will still branch to the "fail:" block to
  execute cleanup code if an error is encountered.
2020-05-31 06:43:15 +10:00
Karl Wette
e67f125582 octave.cxx: add missing return statement before "fail:" label 2020-05-31 06:43:15 +10:00
Karl Wette
f6286a1b19 octave.cxx: this belongs in the code (as opposed to definition) section 2020-05-31 06:43:15 +10:00
Karl Wette
99bb5dcc70 octave.cxx: remote whitespaces 2020-05-31 06:43:15 +10:00
Karl Wette
66f4f7de8e octave.cxx: replace Printf() with Append() for consistency 2020-05-31 06:43:15 +10:00
Karl Wette
26423d06b3 octruntime.swg: do not use atexit() to quit Octave
- This reverts commit 931656bcbe
- Since atexit() does not pass along the desired exit status,
  __swig_atexit__() always exits with status zero, regardless
  of whether Octave completed successfully or raised an error.
- This means the success/failure of Octave scripts which load
  SWIG modules cannot be determined by other programs, which
  makes them unusable.
- Instead, provide a Octave function swig_exit() which calls
  ::_Exit() with a given exit status. This way at least a
  clean exit from Octave can be guaranteed for future versions
  if the seg-fault problem is not fixed.
2020-05-31 06:43:15 +10:00
Karl Wette
30132bf777 octrun.swg: remove octave_value type-id from octave_swig_bound_func
- The {DECLARE|DEFINE}_OV_TYPEID_FUNCTIONS_AND_DATA declarations
  attached to this class cause a seg-fault in the module_load
  Octave example. Removing these declarations fixes the seg-fault.
- While cause of seg-fault is unknown, note that (in Octave 5.1.0)
  the declaration of octave_function, which is the base class for
  octave_swig_bound_func, does not use these declarations. So it's
  possible they simply are not required for this type of subclass.
2020-05-31 06:43:15 +10:00
Karl Wette
e0d85fc939 configure.ac: fix calls to mkoctfile for Octave configuration
- As of Octave 5.1.0, mkoctfile no longer works with 'env -'
  (no environment), so need to pass at least PATH and
  LD_LIBRARY_PATH for it to work.
- Still need to clear environment so that it doesn't override
  mkoctfile defined variables, e.g. CXXFLAGS.
2020-05-31 06:43:15 +10:00
Marcel Steinbeck
3c9dd44ff4 D: Replace deprecated imports (package std.c). Fixes #1593 2020-05-30 16:28:48 +01:00
William S Fulton
305a824a6e
Merge pull request #1726 from vadz/unsigned-char
Fix reading options files on platforms with unsigned char
2020-05-30 00:01:51 +01:00
William S Fulton
02e967d05d
Merge pull request #1716 from ZackerySpytz/Python-utf8-cache
Use PyUnicode_AsUTF8() for Python >= 3.3
2020-05-29 23:56:10 +01:00