Commit graph

18,532 commits

Author SHA1 Message Date
Olly Betts
064f18131d Fix "check_quant" target in ocaml testsuite
Previously it would be confused by testcases names which were a suffix
of another testcase name (e.g. name and keyword_rename).
2015-03-18 15:49:48 +13:00
Olly Betts
7af659ccaa ocaml testsuite is not in good shape 2015-03-18 15:18:44 +13:00
Olly Betts
7eb890e64f Fix typo in forward declaration 2015-03-18 13:42:53 +13:00
Olly Betts
f2c2baf2af Remove bogus comment 2015-03-18 13:39:26 +13:00
Olly Betts
b7557aeb03 Add ocaml to travis 2015-03-18 13:31:10 +13:00
Olly Betts
2278c9b33d Remove pointless export of variables 2015-03-18 13:12:57 +13:00
Olly Betts
eec4e7e2ee Use the ocamlc configure found 2015-03-18 13:12:12 +13:00
Olly Betts
6d80e40699 Remove dead Ocaml configure probes
A number of the probed for values are no longer actually used anywhere.
2015-03-18 13:10:59 +13: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
Olly Betts
e6ed961711 Fix configure message about ocaml version check
The test is actually > 3.08.2, not >= 3.08.2 as the message previously
implied.  The change in question happened after 3.08.2, so ">" is the
correct test:

http://caml.inria.fr/pub/ml-archives/caml-list/2005/07/ad882d2c46496ad44e6ea6c31a989860.en.html
2015-03-18 12:33:20 +13:00
Ian Lance Taylor
baf1fe036a [Go] Correct goargout typemap when matching multiple parameters. 2015-03-16 11:45:15 -07:00
Olly Betts
ab677205d8 Suppress warning from Intel compiler
Fixes issue #192, reported by kesmit13
2015-03-16 18:12:38 +13:00
Olly Betts
0193c98608 Fix random case flipping of an HTML source line
Introduced in a586874
2015-03-16 18:02:03 +13:00
Olly Betts
c1d6ca0116 Merge branch 'master' of github.com:swig/swig 2015-03-16 15:16:44 +13:00
Olly Betts
87a1892719 Trim trailing blank lines 2015-03-16 14:41:15 +13:00
Olly Betts
eba41f4f56 Note vadz as contributing to Python
Taken from doxygen branch
2015-03-16 14:36:44 +13:00
William S Fulton
7fa1058a8a Configure fix and warning fix for Go 2015-03-14 23:40:30 +00:00
Ian Lance Taylor
32bb4dcd6d Merge branch 'master' of git://github.com/swig/swig 2015-03-12 08:14:17 -07:00
Ian Lance Taylor
eccfa288b8 [Go] Consistently use the same type when dispatching to an overloaded
function.
2015-03-12 08:13:16 -07:00
Olly Betts
7ba0652677 Create director_common.swg for language-indep code
Move -DSWIG_DIRECTOR_STATIC handling there, so this is now supported for
all languages with director support, not just Python and PHP.
2015-03-12 19:51:11 +13:00
Olly Betts
c4268c369b Fix cut-and-paste typo 2015-03-12 17:50:52 +13:00
Olly Betts
09b5ea542b Merge pull request #352 from ibell/patch-6
Added some information on manually compiling for R
2015-03-11 12:43:20 +13:00
Ian Bell
a2513b083a Added some information on manually compiling for R
This was the root of my problem, and it would have been good to have this clearly explained before.
2015-03-10 10:07:05 -06:00
William S Fulton
95cc6c9561 .travis.yml branch builds correction
[skip ci]
2015-03-10 07:25:23 +00:00
Ian Lance Taylor
4c399718d0 [Go] Add -I $(SRCDIR) to CGO_CPPFLAGS. 2015-03-09 10:06:04 -07:00
Ian Lance Taylor
b1311b0d88 [Go] Use -I ../../.. instead of -I $(pwd) to see if this helps with
Travis.  (Travis is reporting failures that I can not recreate.)
2015-03-08 20:30:47 -07:00
Ian Lance Taylor
a6a9a89524 [Go] Fix overloading on an undefined type. 2015-03-06 17:51:30 -08:00
Ian Lance Taylor
b15a66f2ab [Go] Use imtype when checking for pointer in cgo type. Permit func,
map, chan values to be converted to pointers when using cgo.
2015-03-04 14:25:10 -08:00
Ian Lance Taylor
9ad497c08e [Go] Add -cgo option, required for Go version 1.5 and later. 2015-03-02 14:03:33 -08:00
Olly Betts
df36d84f1b Avoid debug code segfaults when top==NULL 2015-02-26 14:59:49 +13:00
Olly Betts
de1cae9319 Fix segmentation fault when top==NULL
Introduced by nested class handling (reported in issue#346 by Paweł Tomulik).
2015-02-26 14:57:19 +13:00
Ian Lance Taylor
1dd401899f [Go] Change SWIG directors to use a handle instead of a Go pointer.
In future releases of Go it will not be possible to pass Go pointers
into C/C++ code.  The handle is automatically translated back to the
Go value using a Go map.  Since directors must be explicitly deleted,
we can reliably use that call to remove the handle from the map.
2015-02-22 11:09:58 -08:00
Ian Lance Taylor
40f5b1ecc6 [Go] Fixes so that the go_subdir_import test will work with gccgo. 2015-02-22 11:01:24 -08:00
Ian Lance Taylor
6866c96348 Merge pull request #331 from mishas/go-subimports
Fixed SWIG go for cases when SWIG %import-s another package which is located in a subdirectory.
2015-02-17 06:48:32 -08:00
Misha Seltzer
beed5f3479 Changed to using $() instead of ${} in the makefile for consistancy 2015-02-17 10:27:45 +02:00
Misha Seltzer
9e2c75c2a8 Fix running tests when the test build outputs are generated in a different folder. (Fixes Travis' test runs). 2015-02-17 10:27:45 +02:00
Misha Seltzer
fcf2b68e84 Fixed errors due to last sync. 2015-02-17 10:27:45 +02:00
Misha Seltzer
8da4d20308 Fixed SWIG go for cases when SWIG %import-s another package which is located in a subdirectory. 2015-02-17 10:27:45 +02:00
Olly Betts
ece9854e8f Give more helpful message for "make dist" 2015-02-17 16:00:22 +13:00
Olly Betts
9842bada7c Fix typo 2015-02-15 18:56:02 +13:00
Simon Marchetto
4b2ccd2892 scilab: fix compilation error on Windows 2015-02-13 12:07:27 +01:00
William S Fulton
ec4b711d70 Merge branch 'besser82-bugfix/build-on-s390-arch'
* besser82-bugfix/build-on-s390-arch:
  Fix build on S390(x)-architecture
2015-02-11 23:55:16 +00:00
William S Fulton
60aecaba58 Restore some incorrectly commented out lines in .travis.yml 2015-02-11 23:50:29 +00:00
William S Fulton
f8491f8ab0 Merge branch 'clang-warning-fixes'
* clang-warning-fixes:
  Correct Examples makefile for guile
  Suppress clang warning in testcase
  preproc_constants warning suppression when using clang
  Warning suppression in li_std_vector_extra testcase for clang
  preproc_constants warning suppression when using clang
  Modify preproc testcase to remove clang warning
  Rename test warning suppressions when using clang
  primitive_types testcase improvement
2015-02-11 23:44:20 +00:00
William S Fulton
37bd50ddf9 Guile - fix generated code for static const char member variables when defined and declared inline. 2015-02-11 23:34:23 +00:00
William S Fulton
2947b711d9 Warning fixes in Go cdata library
GCC warnings -Wpointer-to-int-cast and -Wdeclaration-after-statement
2015-02-11 23:34:16 +00:00
William S Fulton
1ef899a57b Merge branch 'stricter-warnings'
* stricter-warnings:
  Go changes for wrappers to compile as ISO C90
  Scilab typecheck typemaps fix for C90
  No error for one Javascript node warning
  Warning fix in testcase for Javascript node
  nested_extend_c testcase fix when compiled by C++ target languages
  Temporarily remove -Werror for Scilab testing
  C90 fixes for Javascript JSC
  There are a couple of testcases that aren't compliant and supression via pragmas doesn't work for gcc < 4.8
  Warning suppression change
  Scilab typemap fixes for C89
  compiler warning suppression correction in testcase
  Suppress pedantic warnings in C# testcases
  Suppress pedantic warnings in testcases
  Pedantic warning fix in testcase
  pedantic warning fix for D wrappers
  Travis testing to use testflags.py for setting CFLAGS and CXXFLAGS
  Add travis build for error-declaration-after-statement branch
2015-02-11 23:33:26 +00:00
William S Fulton
e3a8ee1927 Go changes for wrappers to compile as ISO C90
Fixes:
ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
2015-02-11 23:32:46 +00:00
William S Fulton
4e86210e74 Scilab typecheck typemaps fix for C90
Fix mix of mixed declarations and code.
Also redo these typemaps so that the SWIG preprocessor comments don't appear
in the generated code.
2015-02-11 23:32:45 +00:00
William S Fulton
7b8d1a18a6 No error for one Javascript node warning
until overload_rename testcase is fixed for -Werror=unused-function
2015-02-11 23:32:45 +00:00