Commit graph

3,159 commits

Author SHA1 Message Date
Richard
c1222ebeec Partial fixes for 3.24.40 (0x032440) - incomplete 2014-08-28 19:46:50 -05:00
Richard
3c9e16ef85 Fixed some bugs from previous commit 2014-08-28 19:46:50 -05:00
Richard
e0c0670540 Partially fixed for 3.25.30 (0x032530) - unfinished 2014-08-28 19:46:50 -05:00
Richard
e98a659246 Fixes for v8 3.21.17 (0x032117) 2014-08-28 19:46:50 -05:00
Richard
3d63f9113b Fixes for v8 3.19.18 (0x031918) 2014-08-28 19:46:50 -05:00
Richard
013fb3d22d Fixes for v8 3.19.2 (0x031902) 2014-08-28 19:46:50 -05:00
Richard
8829230641 Fixes for v8 3.17.10 (0x031710) 2014-08-28 19:46:49 -05:00
Richard
47cbf621be Fixes for v8 3.15.11 (0x031511) 2014-08-28 19:46:49 -05:00
Pingan Yi
f38f6371a3 fixup! Patch of http://sourceforge.net/p/swig/mailman/message/29816385 2014-08-13 16:14:57 +08:00
Benoit Sigoure
16549a36e3 Initialize C++ arrays created by array_functions' new_foo().
`array_functions(TYPE, NAME)' generates a `new_foo(size)' function that
allocates a new array of the given type.  When compiling in C, the array
is initialized with `calloc()', which shows that the intent was to have
the array be zero-initialized.  When in C++, however, the array was not
getting initialized, so it could contain random garbage after creation,
when the type was a POD type.

This change makes `new_foo(size)' create a value-initialized array when
in C++, as per the C++ standard's 5.3.4.15 that says that adding a pair
of parentheses at the end of a new-expression does that.
2014-08-12 23:44:50 -07:00
Kris Thielemans
f6b10f299f small suggestions for changes in std_ios.i
Hi

Would it be possible to add the following 2 typedefs to std_ios.i?

 typedef basic_ios<char> ios;
 typedef basic_ios<wchar_t> wios;

at present, it contains only

 %template(ios) basic_ios<char>;
 %template(wios) basic_ios<wchar_t>;

This means however that things like std::ios::openmode are currently not
recognised by SWIG. With the above typedefs, they are. Similar typedefs
should probably be added in std_iostream.i for ostream etc.

Also, while checking std_ios.i, it seems that the definition of basic_ios
has a copy-paste error in the private section (the constructor is still as
ios_base). To avoid confusion, I suggest to change that. Below is a diff
with the suggested changes.

Kris
2014-08-12 23:45:02 +01:00
Timothee Cour
2b2260e996 _ 2014-08-12 09:11:10 -07:00
Simon Marchetto
29f45d91ad scilab: apply K&R coding style for typemaps 2014-08-12 17:31:47 +02:00
Simon Marchetto
460e737df1 scilab: use SWIG_Scilab_Raise() for exceptions 2014-08-08 16:30:00 +02:00
Simon Marchetto
caeaf7dc7e scilab: macro SWIG_SCILAB_ERROR (value 999 by default) for SWIG errors 2014-08-08 16:23:24 +02:00
Simon Marchetto
d89c2f15a0 scilab: use a macro instead of 999 for error code 2014-08-08 15:24:35 +02:00
William S Fulton
1773726073 Doc/comment improvements in Java various.i 2014-08-04 19:22:02 +01:00
Simon Marchetto
f665649658 scilab: apply boost_shared_ptr fix 2014-07-21 14:39:16 +02:00
Simon Marchetto
67f0f71f19 scilab: no need to use prefix "g_" for global names 2014-07-21 10:46:29 +02:00
Simon Marchetto
f365f8e820 scilab: coding style remove "_" from parameter names 2014-07-21 10:18:50 +02:00
Yuval Kashtan
093fe2a556 Add support for java.nio.Buffer
including test-suite test case and documentation
2014-07-18 15:45:16 +03:00
Simon Marchetto
81879c0da8 scilab: coding style: remove "_" from parameter names 2014-07-10 15:13:27 +02:00
Simon Marchetto
bf5f761229 scilab: coding style: remove "_" from parameter names 2014-07-10 12:18:41 +02:00
Simon Marchetto
79e9421f29 scilab: fix typo error 2014-07-10 10:30:28 +02:00
Simon Marchetto
34db2b83c5 scilab: library stl.i include same libraries as in other languages 2014-07-10 09:22:32 +02:00
Simon Marchetto
540973ee1d scilab: code style: remove underscore in parameters (first part) 2014-07-09 18:32:52 +02:00
Mathieu Monney
ecdf692fc8 Fixed JSClassRef declaration not using the static one
The class descriptor is not assigned to the static variable but to a local one, which makes the global variable unused.
2014-07-02 11:27:27 +02:00
William S Fulton
f784d9feaa Remove author names - they are in the COPYRIGHT file 2014-06-26 20:30:25 +01:00
Simon Marchetto
27b5f47d7d scilab: fix commit fragment stdint 2014-06-26 10:04:29 +02:00
Simon Marchetto
821118de9b scilab: rename swig_this(), swig_ptr() to SWIG_this(), SWIG_ptr() 2014-06-26 09:44:49 +02:00
Simon Marchetto
89d9cdb1cd scilab: rename fragment 2014-06-26 09:27:25 +02:00
William S Fulton
0a4b50162d Remove author names - they are in the COPYRIGHT file 2014-06-24 18:56:52 +01:00
Simon Marchetto
8a2472c649 scilab: unsigned ints typemaps behave same as ints (2nd commit: arrays) 2014-06-16 16:25:49 +02:00
Simon Marchetto
e94dc0ca61 scilab: fix range checking in swig_this() 2014-06-16 12:07:09 +02:00
Simon Marchetto
72c6552c2d scilab: unsigned ints typemaps behave same as signed ints (1st commit: scalar) 2014-06-16 12:03:49 +02:00
Simon Marchetto
3ac0dc2be5 scilab: rename matrix typemaps named parameters 2014-06-13 16:21:21 +02:00
William S Fulton
610cefd25c Correct %include delimiters 2014-06-12 07:27:37 +01:00
Simon Marchetto
fb51700c3a scilab: add library cpointer.i (and test case) 2014-06-11 16:50:25 +02:00
Olly Betts
8d226e39dc Merge pull request #188 from jschueller/python_pep8
Python PEP-8 conformity
2014-06-10 23:48:38 +12:00
Olly Betts
b58caf6978 Add more new PHP5.6 keywords 2014-06-08 22:04:55 +12:00
Julien Schueller
6fe71da9fa Fixed remaining pep8 errors 2014-06-07 13:09:15 +02:00
Simon Marchetto
07b06a4089 Merge branch 'master' into gsoc2012-scilab
Conflicts:
	.gitignore
	.travis.yml
	COPYRIGHT
	Examples/Makefile.in
	Examples/test-suite/constructor_copy.i
	Makefile.in
	configure.ac
2014-06-06 16:33:16 +02:00
Julien Schueller
f4fffbf668 Fixed another E701 2014-06-06 15:13:23 +02:00
Julien Schueller
0d589349a1 Fixed pep8 issues E701, E203, E231, E261 2014-06-06 11:03:46 +02:00
Simon Marchetto
8e4041478f scilab: fix Scilab variable creation for scilab 6 2014-06-05 18:34:19 +02:00
Jason Turner
8339a2d441 Fix shared data problem on MacOS 10.9 with xcode 5.1
Move to construct on first use idiom for singleton definition,
which prevents problems with singletons between ruby swig modules
in an environment with multiple modules on MacOS 10.9 with xcode 5.1.

Before this fix, data was being shared between modules which caused
a crash on shutdown of the ruby interpreter if more than one
module was loaded at a time.
2014-06-04 14:11:18 -06:00
William S Fulton
c17f77750a Merge pull request #176 from v-for-vandal/lua_eq
Add default __eq implementation for Lua
2014-06-02 19:52:07 +01:00
Simon Marchetto
0b93dfe31f scilab: fix setApiContext macro for Scilab 5 2014-06-02 18:16:11 +02:00
William S Fulton
22be94d207 Fix std::vector<bool> compile problems on OSX for Javascript 2014-05-31 19:58:42 +01:00
Karl Wette
5c5510842b Octave: remove Python code from std_carray.i 2014-05-29 23:42:55 +02:00