William S Fulton
1cc735df5e
%implicitconv will now accept None where the implicit conversion takes a C/C++ pointer.
...
Problem highlighted by Bo Peng on the swig-user mailing list. SF patch #230 .
2013-08-28 20:28:15 +01:00
Simon Marchetto
e1264181a0
Scilab: disable configure cache at end of test-suite
2013-08-26 15:22:58 +02:00
Simon Marchetto
2e30637a21
Scilab: fix clean config cache
2013-08-22 18:32:34 +02:00
Simon Marchetto
474bdcef91
Scilab: configure cache in test run dir
2013-08-22 16:10:59 +02:00
Simon Marchetto
908c9d1f14
Scilab: fix use of configure cache for multicpptest test-suite
2013-08-22 14:37:28 +02:00
Simon Marchetto
6201dec455
Scilab: use configure cache for test-suite
2013-08-22 10:49:48 +02:00
Simon Marchetto
fa166983aa
Scilab: remove unneeded examples from check list
2013-08-21 14:37:35 +02:00
Simon Marchetto
67d4079e1f
Scilab: fix tests failing in 5.3.3 (conflict with Scilab function Error)
2013-08-21 11:11:41 +02:00
Simon Marchetto
7a0aaa39b3
Scilab: add STL list example in check list
2013-08-20 10:26:56 +02:00
Simon Marchetto
62b61b5349
Scilab: fix examples (no paging which stops tests)
2013-08-20 10:26:08 +02:00
Simon Marchetto
3a190fec2b
Scilab: check Scilab version & support of Scilab 5.3.3 (program arguments)
2013-08-19 17:40:31 +02:00
Simon Marchetto
f7c11a8882
Revert "Scilab: support of Scilab 5.3.3"
...
This reverts commit d6eb7323b6 .
2013-08-09 14:55:29 +02:00
Simon Marchetto
ff25d2c536
Revert "Scilab: add Scilab in makefile check version targets"
...
This reverts commit 66edc244b9 .
2013-08-09 14:46:39 +02:00
Simon Marchetto
66edc244b9
Scilab: add Scilab in makefile check version targets
2013-08-09 12:16:00 +02:00
Simon Marchetto
d6eb7323b6
Scilab: support of Scilab 5.3.3
...
Fix: for test suite and examples, run Scilab with -noatomsautoload if Scilab version >=5.4 only
2013-08-07 18:21:18 +02:00
Simon Marchetto
7a3428d912
Scilab: fix test case clean
2013-08-07 14:14:41 +02:00
Simon Marchetto
9dc203e7dd
Scilab: Example makefile accepts Scilab specific options
2013-08-07 14:03:14 +02:00
Sylvestre Ledru
21e17eaa73
Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
...
Conflicts:
Examples/Makefile.in
2013-08-06 10:06:31 +02:00
William S Fulton
80f8d1d922
Fix for missing C++ code in std::multimap wrappers.
...
%template for a std::multimap generated uncompilable code unless a
%template for a std::map of the same template types was also coded up.
This patch is needed in conjunction with previous commit - 5f1fff1849
Closes #64
Closes #65
2013-08-06 07:02:49 +01:00
Simon Marchetto
255603639f
Scilab: rollback, support of container<class*> only (not <class>)
2013-07-31 18:28:23 +02:00
Simon Marchetto
74243ae306
Scilab: fix constructor_copy test_case
...
using vector<T> needs T have default constructor
2013-07-23 14:59:01 +02:00
Simon Marchetto
16d45620ba
Scilab: fix example check list
2013-07-22 17:57:30 +02:00
Simon Marchetto
f7b67980e6
Scilab: fix some example scripts (missing exit)
2013-07-22 17:57:30 +02:00
Simon Marchetto
2ce2862472
Scilab: fix some example makefiles (restore target check)
2013-07-22 17:53:00 +02:00
Simon Marchetto
111c1eb538
Scilab: add vector<class> in STL vector example
2013-07-22 17:39:01 +02:00
Simon Marchetto
ef48783589
Scilab: add STL list example
2013-07-19 18:01:18 +02:00
Simon Marchetto
ca282beae6
Scilab: add bool type in STL vector example
2013-07-19 17:31:59 +02:00
Simon Marchetto
1cf1e72e72
Scilab: update STL set example
...
Fixes:
- use generic support of STL set
- add example for set of string
2013-07-18 08:56:53 +02:00
Simon Marchetto
28dd6985c2
Scilab: add STL simple vector example (available also for Python, Ruby...)
2013-07-18 08:56:44 +02:00
Simon Marchetto
2472fe492a
Scilab: rewrite STL vector example (vector argument passing example)
...
Fixes:
- use generic support of vectors
- add vector of object example
- improve example messages
- simplify cpp code
- move example code to "std_vector" folder
2013-07-18 08:56:37 +02:00
Simon Marchetto
1b26ad8b21
Scilab: added target in Examples makefile for debugging
2013-07-18 08:56:12 +02:00
Karl Wette
479df82616
Octave: more robust configuration
...
- do not rely on --eval argument to find mkoctfile, instead assume it
is in the same directory as octave itself (which it always should be)
- check Octave options to make sure they are supported, including
--no-window-system to prevent warnings if building without an X server
- disable Octave if any vital tests fail
2013-07-16 20:59:50 +01:00
joequant
e8c6384f77
add regression tests for SEXP return values
2013-07-14 20:29:37 +08:00
William S Fulton
d0af4f50d3
Add %pythonbegin directive.
...
For adding code at the beginning of the generated .py file.
2013-07-05 06:30:16 +01:00
William S Fulton
1c44078751
Improve testing of %pythonprepend and %pythonappend
2013-07-02 20:00:17 +01:00
William S Fulton
ace8fcd972
SWIG_AsWCharPtrAndSize improper operation if cptr NULL
...
SF bug #1327
This doesn't have any noticeable effect with the usage of
SWIG_AsWCharPtrAndSize as shipped by SWIG, but could be a problem if a
user is using this function with cptr equal to zero and psize is non-zero
- the length would be incorrectly set due to the call to PyUnicode_GetSize
failing.
2013-07-02 18:58:56 +01:00
William S Fulton
112d7aa6d0
Go examples and test-suite format fixes
...
Patch has the results of find . -name *.go -exec gofmt -w {} \;
SF Patch #339 .
2013-07-01 20:13:36 +01:00
Simon Marchetto
d1beaef1ba
Scilab: improve STL vector example (test all argument passing modes)
2013-06-20 18:21:23 +02:00
Simon Marchetto
9bdeb67312
Scilab: update STL vector example with vector<string>
2013-06-20 11:38:14 +02:00
Simon Marchetto
8ca085b528
Scilab: update matrix2 example (with int & string matrix conversion)
2013-06-20 10:55:05 +02:00
Simon Marchetto
4f2715a9ec
Scilab: fix test case li_std_vector
2013-06-12 10:59:11 +02:00
William S Fulton
7f95c7bb3e
Use a less confusing macro name, SWIG_PYTHON_NO_DEBUG => SWIG_PYTHON_INTERPRETER_NO_DEBUG
2013-06-11 19:15:57 +01:00
William S Fulton
5cdfc503e1
Add SWIG_PYTHON_NO_DEBUG macro for building Debug wrappers against the Python Debug dll
2013-06-11 00:22:21 -07:00
Simon Marchetto
bc73c5877d
Scilab: fix test case typemap_variables
2013-06-10 11:01:17 +02:00
Paweł Tomulik
c9295401da
clean all .py files generated by python-test-suite
...
Closes #49
2013-06-04 22:23:53 +01: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
William S Fulton
72f2d8ac8f
Fix Python test-suite makefile to show which tests have runtime tests (for Python 3).
2013-05-27 10:24:02 +01:00