Commit graph

1,944 commits

Author SHA1 Message Date
Simon Marchetto
0fc9e4d0a4 Scilab: support of Scilab 5.3.3 (api_scilab: Rhs, Lhs, ..) 2013-08-19 17:57:56 +02:00
Simon Marchetto
2026078a49 Scilab: fix seg fault on tests naturalvar, li_std_string 2013-08-09 11:45:40 +02:00
Simon Marchetto
021cb99b4c Scilab: add build verbosity level (ilib_verbose) option 2013-08-07 12:27:43 +02:00
Simon Marchetto
89f6510fc4 Scilab: fix usage text 2013-08-06 10:48:56 +02:00
Sylvestre Ledru
adc73b7e99 Update of the Close to reflect changes in swig (5a1e82a2f4 ?) 2013-08-06 10:12:17 +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
Simon Marchetto
077e69a851 Scilab: fix SWIT_Init() close in C mode 2013-07-31 11:57:16 +02:00
Simon Marchetto
d034386fc6 Scilab: fix usage of swig scilab program (-help) 2013-07-31 10:46:40 +02:00
Simon Marchetto
c5c684632a Scilab: fix vararg test case crash 2013-07-23 15:03:53 +02:00
Simon Marchetto
25ffa87cab Scilab: fix dynamic_cast test case
Close SWIG_Init() in Scilab executable.
2013-07-23 15:02:39 +02:00
Simon Marchetto
d85cc8b796 Scilab: SWIG_Init() used in C++ mode only 2013-07-22 17:57:30 +02:00
Simon Marchetto
ae92e24b0c Scilab: missing delete variable in scilab program 2013-07-22 17:41:45 +02:00
Simon Marchetto
3dd0ebdde9 Scilab: wrap SWIG_Init() function to initialize module SWIG types (needed for STL support) 2013-07-18 08:56:05 +02:00
Simon Marchetto
c2b149cb0c Scilab: fix test case member_pointer 2013-06-10 10:59:32 +02:00
Simon Marchetto
e9dd482c83 swig --addsrc option: support several source files 2013-06-03 17:20:04 +02: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
William S Fulton
3f9d7ed416 Minor fixes after Coverity analysis 2013-05-16 08:13:56 +01:00
Yung Lee
0a66805e7a Add cleanup code (copy and modify from tcl.cxx) 2013-04-29 20:18:32 +08:00
Yung Lee
100e46d95b Remove non-ascii characters at a comment line in d.cxx that trouble VC++ 2013-04-29 20:00:21 +08:00
William S Fulton
9203c6d5c6 Remove deprecated Guile options from help.
Also use wording for deprecated options warning which is consistent with
elsewhere.
2013-04-29 08:02:18 +01:00
Geert Janssens
ce14abaf61 guile: emit warning when -gh or -scm option are used 2013-04-28 22:06:28 +02:00
Geert Janssens
b819d2a91e Drop guilegh interface
All of guile's interface files now use the scm interface.
This should not affect any users. Swig generated code
using the scm interface can be mixed with gh interface
using user code.
It does simplify maintenance of the guile swig code though.
2013-04-28 22:06:24 +02:00
William S Fulton
99231457db Fixes for warnings issued by clang 2013-04-28 17:59:40 +01:00
Yung Lee
6e06b50adf Remove non-ascii characters at a comment line in d.cxx that trouble VC++ 2013-04-22 18:28:26 +01:00
William S Fulton
695de9ee0e Tcl: change differently named constructors behaviour.
Where overloaded constructors are given different names, a class is constructed by calling
the name of the first constructor wrapper parsed rather than the last one parsed.
Behaviour is not perfect as either name could be used, it is just consistent with Python.

Fixes Examples/tcl/operator example - broken in 0e57357472
2013-04-19 22:47:27 +01:00
Karl Wette
2a3e687c19 Octave: fix bugs in output of cleanup code
Closes #35
2013-04-17 22:23:27 +01:00
William S Fulton
296498c159 Cosmetic tidyup in smartptr feature code and document smartptr fix in previous commit 2013-04-17 21:56:23 +01:00
Brant K. Kyser
25eaee49f3 Add check for smart pointer type in generated code for director connection. This fixes a crash in the generated code caused by the dynamic_cast returning 0 because the specified types are incorrect for smart pointer types.
Add runtime test to the C# test suite's director smartptr test that demonstrates crash in generated code when directors are used with smart pointer types.

Closes #34
2013-04-17 21:55:11 +01:00
Karl Wette
611acbf944 Add -MP option for generating phony targets for all dependencies
- Modelled on similar option in GCC
2013-04-15 22:17:48 +02:00
Olly Betts
24ff00690f Use ZVAL_STRINGL instead of ZVAL_STRING to set funcname as we know the length at swig-time 2013-04-14 08:03:46 +12:00
Olly Betts
a16dc29046 Removed unused Printf parameter 2013-04-14 06:14:47 +12:00
William S Fulton
e182b4844c Fix seg fault in SWIG using directors when class and virtual method names are the same except being in different namespaces when the %nspace feature is not being used. 2013-03-19 19:50:44 +00:00
William S Fulton
9d0b20916f Add ability to suppress some director warnings by their method name, not just the containing class name 2013-03-19 19:50:43 +00:00
Karl Wette
52c754a22d Minor fix to Octave autodoc generation for functions returning structs
Patch #27

- see also git commit 72ffdb930d
2013-03-09 00:10:41 +00:00
Sylvestre Ledru
e0b14786d6 Fix some useless code detected by scan-build (LLVM/Clang) 2013-03-08 20:53:18 +00:00
William S Fulton
d1b40b468b Fix C code where a typedef name was used for constructor and destructor names in %extend. Deprecate use of typedef names for constructor and destructor names going forwards. 2013-02-18 22:40:42 +00:00
William S Fulton
397409fbb1 Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5 2013-01-30 22:18:13 +00:00
William S Fulton
d172e3d0ed Apply patch SF #334 - Fix Python default value conversions TRUE->True, FALSE->False. 2013-01-29 07:31:11 +00:00
William S Fulton
38f37ef5ae Apply patch SF #335 - Truly ignore constructors in directors with %ignore and correct testcase that tests this 2013-01-29 06:55:22 +00:00
Brant K. Kyser
3654031d4f Repair typo from previous commit. 2013-01-19 01:27:34 +00:00
William S Fulton
bd3e93ae61 Tidy up last few commits for Java new jniclasspackage pragma 2013-01-19 00:58:56 +00:00
William S Fulton
36ce54da8d Whitespace fixup 2013-01-19 00:34:05 +00:00
Brant K. Kyser
9318ece01f Use NSPACE_SEPARATOR rather than literal. 2013-01-17 08:13:05 +00:00
Brant K. Kyser
f7e27ec7a9 Fix issue with using directors with the nspace feature without the -package commandline argument. 2013-01-17 08:13:05 +00:00
Brant K. Kyser
ace33bbf41 Fix issue with using directors with the nspace feature without the -package commandline argument. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
7104b20d0d imclass_class_package variable names seems to have class in it one too many times... renamed to imclass_package. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
862d27f05a Fix issue of package directory not being created when using jniclasspackage pragma. General cleanup of implementation. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
3bdcb14117 Add jniclasspackage pragma & change error regarding use of nspace without -package to warning. 2013-01-17 08:13:03 +00:00
William S Fulton
0e6af5c0ea Fix cstype typemap lookup for member variables so that a fully qualified variable name matches 2013-01-15 06:45:47 +00:00
William S Fulton
7841a0d097 Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00