Commit graph

2,795 commits

Author SHA1 Message Date
Simon Marchetto
4f2715a9ec Scilab: fix test case li_std_vector 2013-06-12 10:59:11 +02:00
Simon Marchetto
bc73c5877d Scilab: fix test case typemap_variables 2013-06-10 11:01:17 +02:00
Simon Marchetto
2e7a435440 Add example for STL sets 2013-06-03 17:20:10 +02:00
Simon Marchetto
a61d829676 Fix example for STL vectors 2013-06-03 17:20:09 +02:00
Simon Marchetto
a9f366b142 Fix matrix example 2013-06-03 17:20:08 +02:00
Simon Marchetto
0ac03d9fe9 New example for templates 2013-06-03 17:20:04 +02:00
Yung Lee
25df4f9f01 Remove duplicate line 2013-04-30 19:19:02 +08:00
Yung Lee
ff10bf04b8 Update testing code in examples/scilab/matrix2 2013-04-29 20:23:04 +08:00
Yung Lee
680374f251 Redefine SWIG_Error and add testing code in examples\scilab\contract 2013-04-29 20:16:36 +08:00
Vincent Couvert
0d7be20f79 New version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-06 16:17:36 +00:00
Vincent Couvert
53b2b4405d Update tests & examples after Scilab API modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-06 11:31:47 +00:00
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
Sylvestre Ledru
4db1f7564e api_scilab.h is now enough
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:36:32 +00:00
Sylvestre Ledru
1d19873227 Update previous syntax to the latest. LhsVar => AssignOutputVariable + Rhs => nbInputArgument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:07:08 +00:00
Sylvestre Ledru
efcb2aebed CheckRhs => CheckInputArgument + CheckLhs => CheckOutputArgument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:02:14 +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
a0e21e82ca char **STRING_ARRAY typemaps fixed to handle null pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 14:29:23 +00:00
William S Fulton
1bc105bd72 Add missing Lua factory.i test for patch #3219676
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-24 18:56:16 +00:00
William S Fulton
63a6a0e214 Fix symbol name clash under windows in testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 07:13:55 +00:00
Robert Stone
121086fb77 * revert perl5 li_typemaps run tests due to Windows regressions.
* stricter casting to sidestep compiler warnings on Windows.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-18 21:49:32 +00:00
William S Fulton
cc5b232021 testcase fix for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-17 05:52:25 +00:00
William S Fulton
f9e85bb27f Some test-suite fixes for visual studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-16 18:45:33 +00:00
Karl Wette
35b2270f84 Make octave_dim tests pass for octave version != 3.2.4
- see SourceForge #3516652

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 22:47:38 +00:00
William S Fulton
117cb9b74a Fix a few warnings/errors in the test-suite using Solaris compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 21:56:38 +00:00
William S Fulton
bee885dfe0 Rename r_base_test to overload_method as it is a useful test for all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 18:10:58 +00:00
William S Fulton
4e3428ff66 One test per line in Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 17:44:09 +00:00
Joseph Wang
d12e7ecd9e add test to confirm fix to sourceforge 3478922
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 12:54:42 +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
William S Fulton
f00a41093c As std_list.i is not available in many language, put this python specific test just in Python makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 21:11:19 +00:00
William S Fulton
df4f9adf0a Diagnostics for erratically failing test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 20:29:22 +00:00
William S Fulton
e8aab00b6d Remove run tests which should have been done in rev 12953 (reverting %shared_ptr fixes with typedef)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 17:01:39 +00:00
William S Fulton
449599c8f3 nspace tests result in a warning if %nspace not supported where before it sometimes resulted in an error in the testsuite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 16:26:45 +00:00
William S Fulton
5c8e5542ef Apply #3219676 from Shane Liesegang which adds: - support for %factory - a __tostring method - a __disown method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-13 18:28:37 +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
Vincent Couvert
aef5a8062f Remove generated files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-10 20:03:22 +00:00
Vincent Couvert
654066529b Fixes a few C++ test cases: clientdata_prop/imports/mod/multi_import/packageoption/template_typedef_import. Thx to Wolfgang Frisch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-10 19:56:17 +00:00
Olly Betts
e3eb54594e [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-05 04:29:11 +00:00
William S Fulton
196097949b Add JNI checking when running Java test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-29 20:27:56 +00:00
Joseph Wang
800e00c9be check in R-swig changes that implement vector conversions to and
from std::vector


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-29 16:32:51 +00:00
Xavier Delacour
b0ea5581c3 add extra logic to the octave_swig_type::dims(void) method: it checks if the user has defined a __dims__ method and uses this in stead of returning (1,1) (patch from jgillis, sf 3425993)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-26 15:45:02 +00:00
William S Fulton
36ab437443 Revert 12776, 12777 - %shared_ptr fixes with typedef. It breaks li_boost_shared_ptr testcase in Python. To resolve at a later date.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-25 19:10:33 +00:00
Vincent Couvert
eb64659740 Start vector management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-22 11:10:34 +00:00
William S Fulton
e91a00ae50 Avoiod Ruby keyword warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-20 19:17:06 +00:00
Joseph Wang
6e6e45f8be fix R namespace conflict
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 06:22:04 +00:00
Joseph Wang
023d597862 add new test case for r to test scalar/vector conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-17 18:37:51 +00:00
William S Fulton
aae9c18e6e Apply patch #3392264 from Sebastien Bine to parse (unsigned) long long types in enum value assignment.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-16 07:30:14 +00:00
William S Fulton
425b460a09 Fix %include inside %define macros - patch from Karl Wette
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-15 20:32:14 +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