Commit graph

1,788 commits

Author SHA1 Message Date
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
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
Wolfgang Frisch
62dbc87460 scilab: fix recent C API regression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-05 14:44:27 +00:00
Sylvestre Ledru
efcb2aebed CheckRhs => CheckInputArgument + CheckLhs => CheckOutputArgument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:02:14 +00:00
Vincent Couvert
7444913fda Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@13053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-09 14:28:04 +00:00
William S Fulton
8bf1347354 Warning fixes using clang
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-29 21:51:18 +00:00
William S Fulton
39d8882a82 Apply #3513569 which adds a catchlist to the xml output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-13 06:18:21 +00:00
Vincent Couvert
02d58e0125 Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-11 20:46:17 +00:00
Olly Betts
e3eb54594e [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-05 04:29:11 +00:00
Olly Betts
49efe65a08 Remove superfluous ; after closing } of if statement
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-05 01:20:51 +00:00
Olly Betts
d3987ca87c Fix bad change from r12830.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-04 13:46:16 +00:00
William S Fulton
36ab437443 Revert 12776, 12777 - %shared_ptr fixes with typedef. It breaks li_boost_shared_ptr testcase in Python. To resolve at a later date.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-25 19:10:33 +00:00
Vincent Couvert
eb64659740 Start vector management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-22 11:10:34 +00:00
Ian Lance Taylor
602730a327 Add support for new features available in gccgo 4.7, notably calling
Entersyscall and Exitsyscall around calls to wrapped C/C++ code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-20 22:35:40 +00:00
Joseph Wang
625da47d3b change method of passing arguments into R overloading code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 17:11:02 +00:00
Joseph Wang
2014ba34ab add rtypecheck
fixed function pointer to pass regression tests
added some debug


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 13:46:12 +00:00
Joseph Wang
88eaf1b396 switch on debugs in debug mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 08:02:09 +00:00
Joseph Wang
366d8efd0b change stderr -> stdout for debug messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 07:56:52 +00:00
Ian Lance Taylor
eb5130814d Fix problems in Go support revealed by recent test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-14 19:27:23 +00:00
Xavier Delacour
95a084affb Fix imports test (from Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:09:44 +00:00
Xavier Delacour
bdc0370f2a Fix director_nspace test (from Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:08:44 +00:00
Xavier Delacour
6cd79f4320 Use -globals . to load global variables in module namespace (from Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:07:16 +00:00
Vincent Couvert
dd3db36b1a Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-03 14:37:31 +00:00
David Nadlinger
8fa4d20ec3 [D] Correctly annotate function pointers with C linkage.
Minor cleanups as well.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-23 21:59:00 +00:00
William S Fulton
459e083b3d Fix forward class declaration in a class when used as a base
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-17 07:06:22 +00:00
William S Fulton
6c80f765ca Slight change to the Lua macro names to separate ELUA and ELUAC from normal Lua - patch from Raman Gopalan
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-16 22:50:07 +00:00
William S Fulton
11185e66b1 Add support for %nspace when using directors - C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-07 22:09:28 +00:00
William S Fulton
debd5e9246 Add support for %nspace when using directors - Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-06 18:57:25 +00:00
William S Fulton
de5a78c781 Expand symname special variable in director typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-23 16:27:15 +00:00
William S Fulton
5d678a7b09 Fix regression introduced in r12784
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-22 21:14:09 +00:00
William S Fulton
a5f8ffba91 Remove warning: 'self' is a ruby keyword, renaming to 'C_self' since improving autodoc for Ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-21 22:01:27 +00:00
William S Fulton
4c898b023c The 'directorin' typemap now accepts , etc expansions instead of having to use workarounds - _name, _name etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-21 07:16:44 +00:00
William S Fulton
468ca084fc Correct special variables in 'directorargout' typemap. This change will break any 'directorargout' typemaps you may have written. Please change: to and to \n Also fix the named 'directorargout' DIRECTOROUT typemaps for these languages which didn't previously compile and add in , etc expansion.\n [C#, Go, Java, D] Add support for the 'directorargout' typemap.\n [Java] Add (char *STRING, size_t LENGTH) director typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-20 20:50:36 +00:00
William S Fulton
cc85a98f73 Remove duplicate macros when using -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-28 06:38:46 +00:00
William S Fulton
3aafb96325 Bug fix: Remove root directory from directory search list in Windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-18 07:03:49 +00:00
William S Fulton
f13d958214 same class name in different namespaces confusion when using multiple modules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-13 17:08:15 +00:00
William S Fulton
24133bacd7 Remove numerous hard coded 'result' variable name in generated c/c++ wrappers. The variable name is now defined in just one place, making it possible to change the name easily if a target language so wishes - see cwrap.c.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-30 21:51:50 +00:00
Robert Stone
fb9750698f mainly for SF bug #3423119
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-24 20:31:06 +00:00
William S Fulton
91d22324e7 Add support for eLua including options for Lua Tiny RAM (LTR)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-16 22:53:35 +00:00
Vincent Couvert
fa5117dee3 Missing initialization (Thx Yung-Jang Lee)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-15 08:31:30 +00:00
Vincent Couvert
62663c90d2 ldflags argument must be a string when using ilib_build (wrong previous commit)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-15 08:11:27 +00:00
Vincent Couvert
4d92ed3299 ldflags argument must be a string when using ilib_build
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-15 08:09:47 +00:00
William S Fulton
4c6f66577a Add warnings for badly named destructors. Fix %extend and destructors for templates - they weren't always being wrapped. Fix destructor "name" attribute.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 06:15:29 +00:00
William S Fulton
a141af9574 Fix regression introduced in r12784 where SWIG accepts a non standard constructor and destructor name in %extend, where the typedef name is used as the constructor/destructor name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-08 18:19:45 +00:00
Stefan Zager
b61ccd00ec Bug 3400486: Fix error signalling for built-in constructors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-30 21:37:16 +00:00
William S Fulton
d2dd3c0674 Fix file/line number display for gotype when using typemap debugging options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-26 19:01:50 +00:00
William S Fulton
8b9afd0772 Fix %callback which was generating uncompileable code for C# and D
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-26 18:05:50 +00:00