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
d5b08c7c08
Recover parser.y and remove parser.c
2013-05-06 00:06:43 +08:00
Yung Lee
d0e790d4e1
Remove auto generated files
2013-05-01 13:29:04 +08: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
Yung Lee
a7405588c1
Create parser.c,parser.h (by bison) and copy swigconfig.h from swigwin (only for Windows/VC++)
2013-04-29 19:58:43 +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
c4b344dcde
Remove isarray variable which is set but never used (fixes GCC 4.6
...
warning)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-05 01:19:32 +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
Joseph Wang
f67509e154
revert objinfo fix. If objinfo is null then we have
...
a malformed DOH and things should crash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-23 15:23:47 +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
William S Fulton
eee2a6a2f2
Add missing line and file number for some errors in %fragment declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-21 06:48:51 +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
Joseph Wang
33e29f4847
set file_debug to false
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 04:58:08 +00:00
Joseph Wang
266ab63924
check for null pointer in inString to prevent segfaults
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 04:05:19 +00:00
Joseph Wang
1ca411b423
Add more debug code into swig internals
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-17 18:40:38 +00:00
William S Fulton
aae9c18e6e
Apply patch #3392264 from Sebastien Bine to parse (unsigned) long long types in enum value assignment.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-16 07:30:14 +00:00
William S Fulton
425b460a09
Fix %include inside %define macros - patch from Karl Wette
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-15 20:32:14 +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
William S Fulton
29fd1e3ce4
Fix crash when requesting more matches than available in regex
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-27 20:55:32 +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
Vadim Zeitlin
9cdc66cc84
Don't override existing entries when inheriting various hashes.
...
Check if the value being inherited doesn't already exist for the derived
class: if it does, we must not overwrite it.
Fixes regression introduced in r12865.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-11 16:29:51 +00:00
Vadim Zeitlin
084425335f
Fix bug which could result in %rename not taking effect for derived classes.
...
We used to modify the hash table that we iterated on in
Swig_name_object_inherit() and this could, and sometimes did, change the
iteration order in such way that not all entries we were looking for could be
found. In practice this means that sometimes the methods renamed or ignored in
the base class could be mysteriously not renamed or ignored in a derived
class.
Fix this by avoiding modifying the hash table in place and using another
temporary hash table instead.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-08 22:34:08 +00:00