Commit graph

3,826 commits

Author SHA1 Message Date
Simon Marchetto
d5b2df0a0a scilab: fix comment 2014-03-20 15:04:45 +01:00
Simon Marchetto
0bf11ef2d6 scilab: implement and fix test array_member 2014-03-19 10:45:42 +01:00
Simon Marchetto
9a71f5396b scilab: add carrays.i library 2014-03-18 17:55:45 +01:00
Simon Marchetto
5694b6a96a scilab: refactor arrays_typemap 2014-03-18 17:55:18 +01:00
Simon Marchetto
01cf2e3308 scilab: rollback on sciint CreateMagtrixOfDoubleAsInteger does not exist in 5.3.3 2014-03-17 12:29:36 +01:00
Simon Marchetto
d1dface31c scilab: fix arrays_global (<> => isequal) 2014-03-17 11:57:24 +01:00
William S Fulton
b0b5552c14 Fix casts for array setters broken when fixing nested C classes (c++out mode for Octave)
Introduced in 703d5b96fe
Fixes compilation errors with Visual Studio
2014-03-15 12:39:39 +00:00
William S Fulton
9c1bd797b9 Fix missing return statements in Lua code 2014-03-14 23:58:15 +00:00
Simon Marchetto
423faa7783 scilab: in int typemap use API CreateMatrixOfDoubleAsInteger 2014-03-14 16:49:45 +01:00
Simon Marchetto
0a18f873a6 scilab: fix memory leak in matrix typemaps 2014-03-14 14:26:42 +01:00
Simon Marchetto
cdf1144d35 scilab: rename "vector" to "matrix" in matrix typemaps 2014-03-14 11:58:05 +01:00
Simon Marchetto
4b988cf552 scilab: no block in matrix typemaps 2014-03-14 11:44:10 +01:00
Simon Marchetto
d47d3c0633 scilab: return SWIG_OK or SWIG_ERROR (instead of 0) 2014-03-14 11:11:49 +01:00
Simon Marchetto
f5275926d1 scilab: fix asterisk placement 2014-03-13 15:18:56 +01:00
Simon Marchetto
aaa772f330 scilab: remove swig warning 2014-03-13 14:38:32 +01:00
Simon Marchetto
120cfa78cc scilab: minor renaming 2014-03-12 13:06:06 +01:00
Simon Marchetto
89d4dac99d scilab: char* array matrix and vector typemaps 2014-03-12 13:04:12 +01:00
Simon Marchetto
8701e6f843 scilab: support of std::deque 2014-03-11 18:34:14 +01:00
Simon Marchetto
e82225608e scilab: fix error message in macro 2014-03-11 15:47:14 +01:00
Simon Marchetto
38cd5bd405 scilab: check overflow in array typemaps 2014-03-11 15:46:47 +01:00
Simon Marchetto
b60100453f scilab: add missing scimatrixbool.swh 2014-03-11 14:08:28 +01:00
Simon Marchetto
e3a3540542 scilab: fix typemap bool array regression error 2014-03-11 11:14:24 +01:00
Simon Marchetto
013b9f9769 Merge branch 'master' into gsoc2012-scilab 2014-03-11 10:24:09 +01:00
Simon Marchetto
a84c78e411 scilab: minor fixes in matrix typemaps 2014-03-11 10:04:34 +01:00
Simon Marchetto
22dad86b40 scilab: fix typemaps for bool matrix 2014-03-11 09:56:21 +01:00
Simon Marchetto
dc5de4b5c9 scilab: fix constructor_copy and other STL container tests
finally vector<class> and vector<enum> are not supported
2014-03-10 15:21:46 +01:00
William S Fulton
504c2030bb Change in default behaviour wrapping C++ bool for Python.
Only a Python True or False will now work for C++ bool parameters.
This fixes overloading bool with other types.
2014-03-08 12:04:19 +00:00
William S Fulton
e897733b08 Fix missing fragments in Ruby wstring typemaps 2014-03-07 13:15:53 +00:00
Simon Marchetto
143b1a395e scilab: remove useless fragment dependencies 2014-03-05 12:27:40 +01:00
Simon Marchetto
9442156367 scilab: fix int array typemaps: accept in input and return by default double matrixes 2014-03-05 12:24:14 +01:00
Oliver Buchtala
b5bc87667d Fix regressions.
- Adapted to changes in UTL
- Fixed detection of setters and getters.
2014-03-05 01:10:55 +01:00
Oliver Buchtala
a234542543 Merge branch 'master' into tmp
Conflicts:
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
	Examples/test-suite/nspace.i
	Examples/test-suite/nspace_extend.i
	Source/Modules/lang.cxx
	configure.ac
2014-03-05 01:09:26 +01:00
Simon Marchetto
e162ce1e01 scilab: remove useless code in scidouble 2014-03-04 18:18:27 +01:00
Simon Marchetto
d0ccbdc6be scilab: move array typemaps in separate lib sciarray + add float array typemaps 2014-03-04 18:15:08 +01:00
Simon Marchetto
85b1db1a91 scilab: implement null_pointer test 2014-03-04 09:51:43 +01:00
William S Fulton
8b75b90b2f Merge branch 'class_p1_fixes' of github.com:v-for-vandal/swig into v-for-vandal-class_p1_fixes
Lua changes tweaks.

* 'class_p1_fixes' of github.com:v-for-vandal/swig:
  Removing all TODO:REMOVE
  Fixing enums
  __Static -> SwigStatig, __Module -> SwigModule
  Setattr -> SetFlag
  Backward compatibility -> Compatibility Note
  Fixing documentation. Adding an example.
2014-03-03 19:16:18 +00:00
Artem Serebriyskiy
1da65de2b7 Removing all TODO:REMOVE 2014-03-03 11:29:04 +04:00
Artem Serebriyskiy
cad7f86112 __Static -> SwigStatig, __Module -> SwigModule 2014-03-03 09:27:16 +04:00
William S Fulton
7a96fba836 Correct exception thrown attempting to access a non-existent C/C++ global variable on the 'cvar' object.
The exception thrown used to be a NameError. However, as this access is
via a primary, an AttributeError is more correct and so the exception
thrown now is an AttributeError. Reference:
http://docs.python.org/2/reference/expressions.html#attribute-references

SF Patch #346.
2014-03-02 01:31:36 +00:00
Jens Krüger
da44064d6c 'swig_varlink_getattr' throws a wrong exception
If the attribute of a python object could not found a AttributeException
should be thrown instead of a NameException.
2014-03-02 00:24:23 +00:00
William S Fulton
0da97a9d3e Fix illegal C++ symbols 2014-02-28 19:19:44 +00:00
William S Fulton
f011481f2b Cosmetic tweaks to lua runtime 2014-02-28 19:15:51 +00:00
William S Fulton
58caa38616 Restore Lua C++11 rvalue reference 2014-02-28 19:15:51 +00:00
William S Fulton
1be97ed26c Merge Lua changes - branch 'class_p1' of github.com:v-for-vandal/swig into v-for-vandal-class_p1
* 'class_p1' of github.com:v-for-vandal/swig:
  Fixing registerClass. No more wrap: unnecessary attributes
  Fixed registerMethod to work like registerVariable
  Switched to Swig_name_* functions
  Return MIN_OPT_LEVEL for elua
  add nspace_extend test case
  updated documentation following comd options renaming
  Options in alphabetical order
  Members renaming
  target_name -> lua_name
  Fixing cmd options, again
  Fixing segfault
  Removed class_parent_nspace
  Fixes to module options
  Rename methods to make it clear what 'symbols table' they operate on.
  Small documenation fixes
  Updating Lua documentation
  Eliminating namespaces_hash and using symbols table instead
  Attempt to catch unreproducable bug from Travis CI build
  Small bugfixes
  Bugfixes for eLua. eLua emulation mode
  Add compatibility option for old-style inheritance
  Add support for C-style enums in C mode. And tests.
  Style fixes. Comments fixes. Fixing cmd options. etc
  Some fixes for elua
  Attempt to fix unreproducable bug (from Travis CI build)
  Fixes for examples. Wrapped keywords into guardian in keyword_rename test
  Remove some typos
  Remove some obsolete code
  Manually beautifying luarun.swg
  Code beautifier
  Valuewrapper test
  Removing obsolete debug code
  Bugfixes
  A few bugfixes
  Some class bases iteration improvements
  Fixes for elua
  Bugfixes
  Bugfixes. CMD args handling. Code cleanup
  Bugfixes
  Preparations before pull request - part 1
  More changes. Mostly to the would-be class library
  Fixing issuse with v2-compatible static function names
  Add pointer guard
  Add runtime test
  Bugfixes
  nspace.i example is working
  Initial implementation - everything compiles but might not work
2014-02-27 20:04:08 +00:00
Simon Marchetto
beea11cb00 scilab: fix comment 2014-02-25 15:32:34 +01:00
Simon Marchetto
139449f424 scilab: implement test li_std_string 2014-02-24 09:36:20 +01:00
Artem Serebriyskiy
be6723df1e Return MIN_OPT_LEVEL for elua 2014-02-23 16:30:23 +04:00
Olly Betts
2f3bf144c6 Fix assorted comment and documentation typos 2014-02-23 17:15:22 +13:00
William S Fulton
be49f5caee Another revert fragment <stdexcept> for non-UTL languages 2014-02-22 20:53:26 +00:00
William S Fulton
2feb2e6fc6 Revert fragment <stdexcept> for non-UTL languages 2014-02-22 01:11:40 +00:00