Commit graph

144 commits

Author SHA1 Message Date
Wolfgang Frisch
15d5d89b2f scilab: Make the build process non-interactive.
When Scilab encounters an error in builder.sce, it leaves the user with
an interactive scilab-cli shell. This is undesirable when executing test
cases.

This patch makes Scilab exit with an error code instead.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-04 07:45:30 +00:00
Wolfgang Frisch
264eedebd6 Merge commit 'e010feb054e21872ba5e315c52e4e990fe354a9f' into local/gsoc2012-scilab
Conflicts:
	Examples/Makefile.in

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-04 07:20:23 +00:00
Sylvestre Ledru
a59b4e13b2 Make sure no atoms module are loaded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:40:26 +00:00
Vincent Couvert
7444913fda Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@13053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-09 14:28:04 +00:00
William S Fulton
442422fee0 Remove annoying echo of compiler invocation by R CMD SHLIB
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 22:57:48 +00:00
Vincent Couvert
02d58e0125 Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-11 20:46:17 +00:00
Ian Lance Taylor
911ee91de1 Add support for go tool used in Go 1.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-14 22:12:45 +00:00
Joseph Wang
99f94cc0d2 change Makefile.in to compile class outside of R build system so
that we get in the -fPIC


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-13 14:37:29 +00:00
Xavier Delacour
005bc89482 Fix OCTAVE_PATH in octave Makefiles (from Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:08:14 +00:00
Vincent Couvert
dd3db36b1a Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-03 14:37:31 +00:00
Olly Betts
07c97f8742 Fix comment typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 21:49:44 +00:00
David Nadlinger
3da8d17ca8 [D] Do not default to 32 bit glue code for DMD anymore.
DMD now has x86_64 support on Linux, OS X and BSD.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:46:58 +00:00
Xavier Delacour
f8774be92d Allow Octave modules to be re-loaded after a "clear all" (thanks to Karl Wette; SF 3418908)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-13 23:48:28 +00:00
Xavier Delacour
3372c2ba62 Changes Octave module loading behavior, so that modules can be safely loaded inside functions without first being loaded at the base level. (Basically the module is now always loaded in the base context, and then a local link to the module is created in the current context.) Added an example, module_load, to Examples/octave to test this behaviour in different ways. Tested examples work for octave 3.0.5, 3.2.4, and 3.4.0. (thanks to Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-31 20:50:59 +00:00
Xavier Delacour
dae9457962 Octave patches for 3.4.0 compatibility, etc. (sf 3387394, thanks for Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-08 21:41:34 +00:00
Vincent Couvert
a8b8b6c5d4 * New version for Scilab module using fragments
* A C and CPP tests generate and compile except tests using vectors (to be done)



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-20 08:34:46 +00:00
Sylvestre Ledru
954256979c Merged from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-06 10:15:45 +00:00
Olly Betts
06e8329c48 No need to add . to LD_LIBRARY_PATH for PHP.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-07 23:01:26 +00:00
William S Fulton
1fab53b204 [Ocaml] Apply patch #3151788 from Joel Reymont. Brings Ocaml support a up to date (ver 3.11 and 3.12), including std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-14 07:22:06 +00:00
David Nadlinger
0c3f855cc9 [D] Not only build, but also run the examples for the 'check' target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-01 14:23:47 +00:00
David Nadlinger
7903475571 [D] Workaround for an argument handling discrepancy between DMD and LDC.
See http://dsource.org/projects/ldc/ticket/380 for the corresponding LDC ticket.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 16:58:14 +00:00
David Nadlinger
e120dfcc70 D compiler sanity checks in configure; check D2 by default if no D1 compiler can be found.
For both D1 and D2, if the compiler has not been specified explicitly via a command line option, the configure script tries to compile a minimal program stub. Only if this succeeds, the respective compiler is enabled.

If neither a working D1 nor a working D2 compiler has been found, D is skipped completely as usual.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 16:57:55 +00:00
David Nadlinger
03aefbc6e9 Added support for the D programming languge.
It is still a bit rough around some edges, particularly with regard to multi-threading and operator overloading, and there are some documentation bits missing, but it should be fine for basic use.

The test-suite should build and run fine with the current versions of DMD, LDC and Tango (at least) on Linux x86_64 and Mac OS X 10.6.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-18 00:24:02 +00:00
Sylvestre Ledru
1842244c93 Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 14:15:42 +00:00
Vincent Couvert
f7d5a8cccc Improve Scilab test suite with start/quit scripts + remove useless display.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 09:15:59 +00:00
William S Fulton
49fb2f8550 Missing changes for rev 12123 to fix 'make partialcheck' for go
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-17 23:54:21 +00:00
Ian Lance Taylor
5af2978f77 Add support for the Go programming language.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 01:13:31 +00:00
William S Fulton
314d4f17de Fix running R examples and update docs about R CMD SHLIB
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-25 06:43:21 +00:00
William S Fulton
e854baabec Change Octave to run C tests in SWIG C mode, not C++ mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-11 22:48:56 +00:00
Baozeng Ding
07cb6351f1 merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-30 03:03:24 +00:00
William S Fulton
fb99ef318c fixes for make distclean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 00:20:42 +00:00
Baozeng Ding
d8a371808a merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-11 00:59:12 +00:00
Joseph Wang
9683047b9a move fPIC location to be in front of -o
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-04 03:50:09 +00:00
Joseph Wang
272ed9fc29 require -fPIC in compile line
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-15 01:27:17 +00:00
Baozeng Ding
f844123608 add 'class' example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-15 09:29:10 +00:00
Baozeng Ding
0623fdff8b add 'funcptr, inctest, integers, preproc, name' testcases and fix the empty testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 09:22:36 +00:00
Baozeng Ding
d433e27f15 fix typemap_subst.i testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-10 14:01:05 +00:00
Baozeng Ding
b0e85706b6 merge frome trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-10 01:40:09 +00:00
Miklos Vajna
451f71d7b1 remove unnecessary extra semicolons in the tesuite
Basically just style cleanup, "fi;" or "fi; \" -> "fi".

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-09 22:52:08 +00:00
William S Fulton
56c5b52c1d remove unnecessary extra shells being spawned in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-09 22:39:51 +00:00
Baozeng Ding
93a0308e21 added some pointer support and fixed style problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-17 16:21:54 +00:00
Baozeng Ding
84aecae48a merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-04 06:48:39 +00:00
William S Fulton
db8d652407 remove junk from Octave C example compilation command line options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-26 23:11:27 +00:00
Baozeng Ding
8d2ce8c8a8 Some change:getVarAddressFromPosition,createMatrixOfDouble,createMatrixOfString and add argument number checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-25 03:14:26 +00:00
Baozeng Ding
4e9cbd8a7c add support for constants
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-13 12:18:35 +00:00
Olly Betts
ed4d6ddec1 Some distros (e.g. frugalware) build PHP with --enable-safe-mode, so as we need
to explicitly disable it to avoid the testsuite failing with:

Warning: dl(): Dynamically loaded extensions aren't allowed when running in Safe Mode

Patch from Miklos Vajna.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-29 23:38:19 +00:00
William S Fulton
a1933f7bbc Fix make partialcheck-ocaml-test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 20:08:57 +00:00
William S Fulton
fc33c676b4 Fix make partialcheck-mzscheme-test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 19:02:04 +00:00
William S Fulton
06b2eca75e remove last vestiges of php4 and encourage use of -php rather than -php5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 23:15:20 +00:00
William S Fulton
bcc796f676 modify build system to use php instead of php4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 21:40:54 +00:00