Commit graph

265 commits

Author SHA1 Message Date
William S Fulton
97c138dbd8 Travis: ensure the requested language version is being tested
The various Python versions were not being tested
2016-02-04 08:32:30 +00:00
William S Fulton
42c140053e Add ruby-2.3 testing to Travis 2016-02-04 08:09:28 +00:00
Olly Betts
b3bedc210c [Javascript] For v8 >= 4.3.0, use V8_MAJOR_VERSION.
Fixes https://github.com/swig/swig/issues/561.
2016-01-12 09:33:13 +13:00
William S Fulton
6b4d9d7bfa Add check that mingw gcc is installed when making release 2015-12-31 17:53:45 +00:00
William S Fulton
adc773455d Merge branch 'missing-initializers'
* missing-initializers:
  Tcl fix when using -Wmissing-field-initializers warnings
  Php fix for -Wmissing-field-initializers warning
  Fixes for Octave and missing -Wmissing-field-initializers in swig_octave_member
  Fixes for Ruby and using -Wmissing-field-initializers
  R test case warning fixes
  Use -Wmissing-field-initializers warning testing all languages on Travis
2015-12-19 16:34:38 +00:00
William S Fulton
aa3e2c82c7 Use -Wmissing-field-initializers warning testing all languages on Travis 2015-12-19 16:14:01 +00:00
William S Fulton
64dcd50b99 Remove dependency on yodl tools and remove ccache-swig man page
Use the CCache.html docs instead of the ccache-swig man page.
The yodl2man and yodl2html tools are no longer used and so SWIG no
longer has a dependency on these packages which were required when
building from git.

Closes #286
Closes #128
2015-12-17 02:36:48 +00:00
William S Fulton
fcb2ed1d10 Add -Wmissing-field-initializers to python Travis testing 2015-12-14 01:22:41 +00:00
William S Fulton
16a3ff3603 Add executable permissions to new scripts 2015-09-05 15:43:05 +01:00
Alexey Sokolov
5dd553e244 Travis: unify GCC5 and SWIG_CC variables 2015-09-05 11:21:17 +01:00
Alexey Sokolov
3f0072c7ca Add R to testflags.py 2015-09-02 08:22:29 +01:00
Alexey Sokolov
9155ff0fbb Integrate OS X .travis.yml into master branch using multi-os feature.
http://docs.travis-ci.com/user/multi-os/

Expand testflags.py to support clang vs gcc, as clang is used on OS X.
2015-09-02 08:21:48 +01:00
William S Fulton
9aa0f85cda Workaround Appveyor random failures due to nuget install errors
Add and use nuget-install.cmd based on
https://github.com/appveyor/ci/blob/master/scripts/nuget-restore.cmd
2015-08-12 18:27:20 +01:00
William S Fulton
c6f8aadc64 Cosmetic corrections - Mac OS X 2015-08-02 20:14:20 +01:00
William S Fulton
026d879058 Move MinGW mixed path conversion code to the pathconvert tool
In preparation for adding MinGW support to patch #438.
2015-08-01 23:08:53 +01:00
William S Fulton
f815209c7d Travis testing c++11 and gcc5
Modify testflags.py to control the -std= option passed to gcc
Install new boost for c++11 with gcc5 testing
2015-07-10 22:02:14 +01:00
Olly Betts
6207b8bfa3 Move testflags.py into Tools/ 2015-04-16 10:55:34 +12:00
William S Fulton
e544ce8f82 Update AX_PATH_GENERIC for spaces support
Fix when the _CFLAGS and _LIBS are provided and they contain a space

For example:
./configure PCRE_LIBS='-L/home/me/pcre/lib -lpcre'

Serial number 13 in autoconf macro archive
2015-04-04 02:17:57 +01:00
William S Fulton
e60445b280 Add support for Windows in AX_BOOST_BASE
Serial 26 in autoconf macro archive
2015-04-04 02:17:57 +01:00
William S Fulton
2347e87451 CSharp test-suite support on windows
- Add pathconvert tool to convert to a windows path for input files for
  C# compiler
- Simplify vcfilter
2015-04-04 02:17:56 +01:00
Olly Betts
c7c6f2381e Eliminate AC_COMPARE_VERSION
We also have AX_COMPARE_VERSION which does essentially the same job.
2015-03-18 12:39:57 +13:00
William S Fulton
a6e06706ef Add a tool to simply obtain all the latest OpenBuild build logs
Requires a working copy of the project and package before hand - the
obs-update script can be used for this.
2015-01-17 23:17:57 +00:00
William S Fulton
2b04d37b94 Tidy up Javascript build system 2014-12-28 16:13:22 +00:00
Bruce Mitchener
78de526b1d [js] v8-shell.cxx had some Windows line endings. 2014-10-15 18:38:39 +07:00
William S Fulton
b1595014e7 Revert "Octave: disable optimization of tests for faster compiles/less memory usage"
This reverts commit 8e37bcf1a8.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:55 +01:00
Karl Wette
8e37bcf1a8 Octave: disable optimization of tests for faster compiles/less memory usage
- Filter out all but -g... and -W... flags from OCTAVE_CXXFLAGS
- Use AX_CHECK_COMPILE_FLAG() to check if -O0 is supported, if so
  add to end of OCTAVE_CXXFLAGS to ensure optimization is disabled
- Also run mkoctfile under "env -" to protect it from environment
- Also use more standard-compliant sed expressions
2014-10-05 14:56:33 +02:00
Richard
911fd761b0 Minor improvements 2014-08-28 19:46:52 -05:00
Richard
6fee208010 Fixes for v8 3.19.2 (0x031902) 2014-08-28 19:46:51 -05:00
Richard
a6ffb22a2a Fixed for v8 3.27.34 2014-08-28 19:46:51 -05:00
Richard
d4920591d4 Fixes for v8 3.24.3 (0x032403) 2014-08-28 19:46:51 -05:00
Richard
c23375d39d Show V8 Deprecated warnings 2014-08-28 19:46:51 -05:00
Richard
1a0605bf45 Partial fixes for 3.24.40 (0x032440) - incomplete 2014-08-28 19:46:51 -05:00
Richard
98b1fca4d8 Fixed for v8 3.25.30 (0x032530) 2014-08-28 19:46:50 -05:00
Richard
e98a659246 Fixes for v8 3.21.17 (0x032117) 2014-08-28 19:46:50 -05:00
Richard
3d63f9113b Fixes for v8 3.19.18 (0x031918) 2014-08-28 19:46:50 -05:00
Richard
8ee40e408b Fixes for v8 3.17.10 (0x031710) 2014-08-28 19:46:50 -05:00
Richard
44e57d9cfd Allow to compile for specific V8 version 2014-08-28 19:46:50 -05:00
William S Fulton
36a6a0cbe0 Update AX_BOOST_BASE autoconf macro to serial 23 2014-05-29 19:54:13 +01:00
Karl Wette
46ce4d3ba9 Distclean Tools/javascript 2014-05-29 02:24:33 +02:00
William S Fulton
18d72f4562 Add in CPPFLAGS and LDFLAGS to examples/test-suite
- Split current usage of CXXFLAGS into the conventional CPPFLAGS CXXFLAGS and LDFLAGS
- Split current usage of CFLAGS into the conventional CPPFLAGS CFLAGS and LDFLAGS
- This restores 'make whatever CXXFLAGS=-g' which stopped working during
  the recently added suppport for out of source builds.
- LDFLAGS is currently empty, but is there for future use
2014-05-15 23:11:08 +01:00
Karl Wette
f574a34155 Allow examples and test-suite to be built out of source tree
- Examples/Makefile.in rules use SRCDIR as the relative source directory

- ./config.status replicates Examples/ source directory tree in build
  directory, and copies each Makefile to build directory, prefixed with
  a header which sets SRCDIR to source directory

- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir

- Examples/test-suite/errors/Makefile.in needs to filter out source
  directory from SWIG error messages

- Lua: embedded interpreters are passed location of run-time test

- Python: copy run-time scripts to build directory because of 2to3
  conversion; import_packages example copies __init__.py from source
  directory; test-suite sets SCRIPTDIR to location of run-time tests

- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
  can be substituted with SRCDIR; removed './' from require() statements
  so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Karl Wette
96153c7c0a Regenerate configured Makefile if Makefile.in or config.status have changed 2014-05-11 21:31:32 +02:00
Karl Wette
7cd9063b52 Remove execute permissions from various non-executable files
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
  test suites, so also do not need to be executable
2014-05-02 20:06:11 +02:00
William S Fulton
a3ad811cee Makefile and autoconf file tidy up for Javascript 2014-04-16 07:38:52 +01:00
Oliver Buchtala
f43741c3b7 Remove gdb pretty printing.
This will be provided in a separate branch.
2014-03-31 00:37:02 +02:00
Oliver Buchtala
7ce16cc56d Remove cmake relict. 2014-03-30 23:32:59 +02:00
Oliver Buchtala
c2f22bb2b8 Fix regression in custom v8 interpreter.
Issue showed up with newer v8 version.
2014-03-06 06:32:06 +01:00
Oliver Buchtala
b5bc87667d Fix regressions.
- Adapted to changes in UTL
- Fixed detection of setters and getters.
2014-03-05 01:10:55 +01:00
Oliver Buchtala
a234542543 Merge branch 'master' into tmp
Conflicts:
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
	Examples/test-suite/nspace.i
	Examples/test-suite/nspace_extend.i
	Source/Modules/lang.cxx
	configure.ac
2014-03-05 01:09:26 +01:00
Oliver Buchtala
dbd61e40e1 Fix issues that were observed with newer JavascriptCore. 2014-03-04 10:41:35 +01:00