Mikel Bancroft
080fa80ff3
06/15/2006: mutandiz
...
[allegrocl]
Add initial support for std::list container class.
Fix a few bugs in helper functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-16 02:28:19 +00:00
William S Fulton
6ed1cebc22
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:49:35 +00:00
William S Fulton
e037db38fd
Fixes for autoconf-2.59d (2.60 beta)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:49:15 +00:00
William S Fulton
d13459f6ca
Replace JNIEXPORT with SWIGEXPORT, thereby enabling the possibility of using gcc -fvisibility=hidden for potentially smaller faster loading wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:00:59 +00:00
William S Fulton
fb15c9401e
More namespace pollution fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 19:29:59 +00:00
William S Fulton
9e108b2790
Another jdk header location added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 19:28:40 +00:00
William S Fulton
a94fc18b39
Nested class workarounds added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 19:27:44 +00:00
William S Fulton
ff1bd7a80d
Vladimir Menshakov patch for compiling wrappers with python-2.5 alpha.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 19:24:54 +00:00
William S Fulton
b98f5d8d7f
Fix for buffer overflow when using large %feature(docstring) reported by Joseph Winston
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-12 21:15:58 +00:00
William S Fulton
62c2b709d9
Fix for buffer overflow when using large %feature(docstring) reported by Joseph Winston
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-12 21:10:25 +00:00
William S Fulton
6c9455d440
Daniel Moore patch - more operator overloading support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-12 21:07:38 +00:00
William S Fulton
10f4584612
html fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-08 21:22:54 +00:00
William S Fulton
a38a0ee182
operator <= >= patch from Daniel Moore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-06 08:22:13 +00:00
William S Fulton
0e756c1125
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:07:43 +00:00
William S Fulton
b39b6e386b
link updates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:07:17 +00:00
William S Fulton
964315b84c
Suppress director out warning for pointers/references
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:05:15 +00:00
William S Fulton
df6c795a37
Fix test for gcc-4.1
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:04:35 +00:00
William S Fulton
5723482a49
Add warning for directorout typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:03:57 +00:00
William S Fulton
d228d4225c
uninitialised variable warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:02:23 +00:00
William S Fulton
5d261cff61
operator overload fix patch from Daniel Moore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:00:27 +00:00
William S Fulton
0409138721
Remove protected method wrapper (directors) which was being generated when there was no corresponding method in the C++ class. It seemed to be adding in proxy director methods to derived classes if the base class had a protected virtual method. There is no reason to have the extra method (it doesn't happen with public methods) and is the wrong place to add extra methods in any case - should be done in one of the earlier parse stages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 22:15:24 +00:00
William S Fulton
da8b2acc99
Fixes for override / hidden methods detection when using directors (for C#)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 22:08:09 +00:00
William S Fulton
71679e2fce
add new director tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 21:36:20 +00:00
William S Fulton
6326f4d5c6
redundant attribute check removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 21:03:26 +00:00
William S Fulton
1aade65755
Only generate C# SwigDerivedClassHasMethod() if there are director methods in the class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 21:00:26 +00:00
William S Fulton
fa1a3c7cb7
Add in missing director directives
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:53:37 +00:00
William S Fulton
89e33f9fda
Correct comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:52:00 +00:00
William S Fulton
06ac19312a
Fix return by reference for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:49:25 +00:00
William S Fulton
28700fd085
clean up more of the generated files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:48:32 +00:00
William S Fulton
fd1829d596
Add in documentation clean
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:47:26 +00:00
William S Fulton
fa5e3a1f07
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:43:12 +00:00
Mikel Bancroft
3069aa45fb
05/25/2006: mutandiz
...
[allegrocl]
Fix bug in generation of CLOS type declarations for unions
and equivalent types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-25 23:22:05 +00:00
Olly Betts
7808da6cd2
Eliminate use of static fixed sized buffers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-25 08:01:36 +00:00
Mikel Bancroft
cf55986a90
5/24/2006: mutandiz
...
[allegrocl]
Don't require full class definition to generate CLOS wrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-24 08:33:07 +00:00
Olly Betts
f5951ecb34
Fix some typos.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-21 11:13:33 +00:00
Olly Betts
b4b814dd26
Make GCC visibility support work with PHP.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 12:59:06 +00:00
Olly Betts
f08ed23361
Typo fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 09:03:29 +00:00
Olly Betts
8d5406d958
Fix typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 05:58:26 +00:00
Olly Betts
5f242792d3
Remove reference to -dlname.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 04:56:19 +00:00
Olly Betts
8a9da3c42e
Removed support for -dlname (use -module instead). Fixed
...
naming of PHP extension module to be consistent with PHP
conventions (no "php_" prefix on Unix; on PHP >= 4.3.0, handle Unix
platforms which use something other than ".so" as the extension.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-19 05:43:26 +00:00
Olly Betts
e5398e9c1e
Assorted corrections.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-18 08:46:04 +00:00
William S Fulton
beb007b72c
Fix seg fault when parsing:
...
%inline {
and no closing brace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-17 20:16:21 +00:00
Olly Betts
6251ece095
Conditionalise generation of the C++ implemented proxy classes on the target
...
PHP version being PHP4 (since they don't work for PHP5).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-17 09:22:57 +00:00
Olly Betts
92556ddac3
Set "wrapperType = staticmemberfn;" when processing a static member function.
...
This should make no difference currently (testsuite output is unchanged) but
it's required for generating PHP5 OO wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-15 02:28:52 +00:00
Olly Betts
42e34e1308
Convert C++ std::string to and from ruby such that strings containing
...
zero bytes are handled correctly, as they are elsewhere.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-15 02:01:05 +00:00
Olly Betts
b1997e54ea
Add -php5 option which will turn on PHP5-specific output (and -php4 will
...
generate PHP4-specific output, with -php just being an alias for one of them.
Currently the only difference is that -php5 SWIGPHP5 is defined instead of
SWIGPHP4.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-15 00:16:32 +00:00
Olly Betts
faa6c0b375
Fix typos in comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 20:19:21 +00:00
Olly Betts
810e52803e
Fix warning from Intel C++ v9.0 on generated header file:
...
ruby/foo_wrap.h(14): warning #64 : declaration does not declare anything
class Swig::Director;
^
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 20:01:49 +00:00
Olly Betts
69d8eda7f8
There's no need to call zend_get_parameters_array_ex() when no parameters
...
have been passed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 19:58:34 +00:00
Olly Betts
860643a341
When iterating Hash hash with Iterator ki, use ki.item instead of
...
Getattr(hash, ki.key).
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 19:06:45 +00:00