Commit graph

16,270 commits

Author SHA1 Message Date
Simon Marchetto
e6af8948ef Scilab: add string matrix typemaps 2013-06-19 16:34:12 +02:00
Simon Marchetto
9b270b9f6a Scilab: fix matrix typemap parameter names 2013-06-19 16:28:57 +02:00
Simon Marchetto
347dee5cda Scilab: refactor SwigScilabStringToCharPtrAndSize (use String API getAllocatedString) 2013-06-19 16:10:24 +02:00
Simon Marchetto
1efaa1ae67 Scilab: refactor SwigScilabStringToCharPtr (use String API getAllocatedString()) 2013-06-19 16:10:23 +02:00
Simon Marchetto
6280dd2d1a Scilab: fix SWIG_FromCharPtr error 2013-06-19 16:10:23 +02:00
Simon Marchetto
f268b0564a Scilab: remove SwigScilabStringFromCharPtrAndSize (same as SwigScilabStringFromCharPtr) 2013-06-19 16:10:22 +02:00
Simon Marchetto
e42055dcc4 Scilab: fix SWIG_NewPointerObj & SWIG_NewFunctionPtrObj error 2013-06-19 09:35:50 +02:00
Simon Marchetto
eddbb8f59e Scilab: SWIG exception raise macro : rethrow exceptions 2013-06-19 09:35:42 +02:00
Sylvestre Ledru
542b991d62 Merge pull request #60 from smarchetto/gsoc2012-scilab
Fix Scilab test-suite build errors
2013-06-13 07:54:22 -07:00
Simon Marchetto
e9437fe400 Scilab: fix test case li_boost_shared_ptr 2013-06-12 12:14:53 +02:00
Simon Marchetto
7c9163e48a Scilab: fix test case import_stl_b 2013-06-12 11:02:59 +02:00
Simon Marchetto
af03df97c4 Scilab: C++ operators not wrapped in Scilab yet, remove warnings 2013-06-12 11:01:46 +02:00
Simon Marchetto
4f2715a9ec Scilab: fix test case li_std_vector 2013-06-12 10:59:11 +02:00
Simon Marchetto
ffc1d1221a Scilab: fix test case autodoc 2013-06-11 18:01:16 +02:00
Simon Marchetto
45dbdb2776 Scilab: fix test case constructor_copy (and others)
Signed-off-by: Simon Marchetto <simon.marchetto@scilab-enterprises.com>
2013-06-11 16:46:38 +02:00
Simon Marchetto
bc73c5877d Scilab: fix test case typemap_variables 2013-06-10 11:01:17 +02:00
Simon Marchetto
c2b149cb0c Scilab: fix test case member_pointer 2013-06-10 10:59:32 +02:00
Sylvestre Ledru
318572471c Merge pull request #57 from smarchetto/gsoc2012-scilab
Improvement of the swig-scilab support: brings typemaps, examples, and build fixes
2013-06-06 00:35:04 -07:00
Simon Marchetto
2e7a435440 Add example for STL sets 2013-06-03 17:20:10 +02:00
Simon Marchetto
96ba677aa2 Add typemaps for STL sets (supports set<int>) 2013-06-03 17:20:09 +02:00
Simon Marchetto
a61d829676 Fix example for STL vectors 2013-06-03 17:20:09 +02:00
Simon Marchetto
c61f9b233d Fix STL vector typemaps (supports vector<int> and vector<double>) 2013-06-03 17:20:08 +02:00
Simon Marchetto
a9f366b142 Fix matrix example 2013-06-03 17:20:08 +02:00
Simon Marchetto
cf88d6a109 Add int matrix typemaps 2013-06-03 17:20:07 +02:00
Simon Marchetto
0531f30fea Fix double matrix typemaps (add some typemaps) + move code in separate file 2013-06-03 17:20:07 +02:00
Simon Marchetto
2847765ddf Fix int matrix typemap (accept empty matrix as input) 2013-06-03 17:20:06 +02:00
Simon Marchetto
46a234ed8f Fix int scalar typemap (do not base on double typemap) 2013-06-03 17:20:06 +02:00
Simon Marchetto
e667d59ed9 Fix enum typemaps (now base on int conversion) 2013-06-03 17:20:06 +02:00
Simon Marchetto
e2cc98ffc1 Add typemap for returning enum from function 2013-06-03 17:20:05 +02:00
Simon Marchetto
f48e95cb47 Fix compilation error 2013-06-03 17:20:05 +02:00
Simon Marchetto
e9dd482c83 swig --addsrc option: support several source files 2013-06-03 17:20:04 +02:00
Simon Marchetto
0ac03d9fe9 New example for templates 2013-06-03 17:20:04 +02:00
Sylvestre Ledru
0390648862 Merge pull request #43 from YungLee/gsoc2012-scilab
Gsoc2012 scilab
2013-05-29 06:20:04 -07:00
William S Fulton
8e89cad271 Bump version to 2.0.11 2013-05-27 20:27:50 +01:00
William S Fulton
1524d02e13 Add swig-2.0.10 release date and release notes 2013-05-27 19:24:04 +01: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
William S Fulton
af8f77a627 Fix to ensure 2to3 for Python 3 examples is run 2013-05-27 00:27:31 +01:00
William S Fulton
2004b9fc03 Add Python 3 Travis tests 2013-05-26 23:58:12 +01:00
William S Fulton
b3ca22dc33 Fix Python examples to compile and run under Python 3 2013-05-26 23:02:13 +01:00
William S Fulton
fd93beadf4 Fix 'make check-python-test-suite PY3=1' and -j (make jobs) 2013-05-25 22:29:18 +01:00
William S Fulton
5481270c2a Fix Python 3 inconsistency handling -ve numbers for unsigned C types.
An OverFlow error is now consistently thrown instead of a TypeError.

Fixes primitive_types testcase for Python 3
2013-05-25 10:36:14 +01:00
Artem Serebriyskiy
3e188e508d Add test case for attributes with moderately complex templates
* New test case tests that %attribute macros correctly supports passing
  template with multiple parameters as class name or attribute type name

* Some further changes were made to %attribute macros - now
  AttributeType is protected with %arg as well. This allows you
  to have attributes of type e.g. std::pair<int,int> etc

Update CHANGES file for %attribute template fixes

Closes #48
2013-05-25 00:44:36 +01:00
Artem Serebriyskiy
c956c4c87f Fix %arg in Lib/attribute.i 2013-05-25 00:37:57 +01:00
Artem Serebriyskiy
3357ee85cd Fix all attributes macroses 2013-05-25 00:37:57 +01:00
William S Fulton
030b97c891 Documentation sectioning update 2013-05-25 00:15:48 +01:00
William S Fulton
f15eb3f5ec Fix vararg documentation for Python 3
Memory handling is different to Python 2.
2013-05-24 23:02:34 +01:00
William S Fulton
074c0039db Fix Python version checking in Python tests 2013-05-24 18:57:26 +01:00
William S Fulton
8700e79b3e Guile port example fix for Guile 2.0
Rewinding the file before passing it to C fixed the problem of not being
able to read the file contents.

Also explain the error about writing to a string.
2013-05-23 23:24:19 +01:00
William S Fulton
0f1e3da5de Fix the high passed to PyTuple_GetSlice in varargs wrappers.
Harmless bug as slices can take any size larger than the actual size for
the high value. Reported in SF Bug 1326.
2013-05-23 21:25:41 +01:00
Geert Janssens
6e794da3f3 Guile port example - print a message to show the error is expected 2013-05-21 17:23:37 +02:00