Commit graph

1,513 commits

Author SHA1 Message Date
William S Fulton
ec0b9ecfdd remove double include of python header file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-14 22:39:52 +00:00
William S Fulton
49316589b9 - explicitcall feature removed.
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:45:31 +00:00
Mark Gossage
7c475898c2 added support for multiple modules & multiple interpreters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:49:47 +00:00
Mark Gossage
db5bb83440 added support for passing function pointers as well as native lua object
into wrappered function
added example funcptr3


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:45:03 +00:00
Olly Betts
6bf67f2412 Fix a few typos in comments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:38:45 +00:00
Olly Betts
3a5fb61abe Apply patch from SF bug: [ 1466086 ] PHP namespace clash - ErrorCode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:18:01 +00:00
Joseph Wang
fdb2e62161 rename non-classes operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:48 +00:00
Mark Gossage
a8451e7c69 Bugfix #1542466 added code to allow mapping Lua nil's <-> C/C++ NULL's
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 08:00:13 +00:00
Surendra Singhi
05230f4fd4 operator overloading support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-13 13:26:37 +00:00
William S Fulton
e4a580f4f3 Fix for directors and non jvm created threads - the jvm would not close
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:12 +00:00
Luigi Ballabio
ca4316a38c Fixes for std::pair typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-01 07:51:45 +00:00
Mikel Bancroft
f41560641b 07/25/2006: mutandiz
[allegrocl]
	    more additions to std::string, some tweaks and small bug fixes
	    -nocwrap mode.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-25 22:59:16 +00:00
William S Fulton
8cad0e2d49 Fix long long typemaps so that they can be applied to __int64 and other equivalents
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-24 20:37:10 +00:00
Mark Gossage
1d24d79e1d upfdated to the typemaps to support std:strings with '\0' in them, and to add a typemap for SWIGTYPE** OUTPUT
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-21 08:51:40 +00:00
Mikel Bancroft
b506475d12 07/19/2006: mutandiz
[allegrocl]
	    - Add std_string.i support.
	    - Add newobject patch submitted by mkoeppe (thanks!)
	    - Fix type name mismatch issue for nested type definitions.
	      specifically typedefs in templated class defns.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 21:53:07 +00:00
John Lenz
6bb04af69e Increment SWIG_RUNTIME_VERSION to 3, because of addition of owndata
Reported by: Prabhu Ramachandran


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-15 01:38:53 +00:00
Olly Betts
b9bf752f46 Fix the easiest warnings in the generated code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-11 04:53:33 +00:00
Hans Oesterholt-Dijkema
60aa816eec * mzscheme code can now dynamically load libraries, that are needed
at runtime. This allows for code to be generated at some site, and
  distributed without the need for SWIG.

  The distribution needs only the header filesfor which the code has been
   generated. Linking is done at runtime, by loading the dynamic libraries.

   Functions are resolved when needed.

   Though somewhat inefficient, it provides for a way to distribute code
   or binaries that are independent of the version of the installed libraries,

   which comes in especially handy for e.g. binding against Gtk.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-09 17:10:05 +00:00
William S Fulton
e70cb047d4 Fix directorout typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:06:25 +00:00
William S Fulton
0994267e00 Fix operator warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:04:35 +00:00
William S Fulton
b6ce0715c9 debug comments in generated code removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:02:54 +00:00
William S Fulton
0fd23e92ba new explicitcall feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:00:55 +00:00
William S Fulton
f6bc004de9 update to use proxy terminology
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 21:17:30 +00:00
Joseph Wang
3a821460fe Committing R-SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:01:18 +00:00
William S Fulton
8ee70f7762 fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-21 21:18:24 +00:00
John Lenz
b9207872c0 Remove integers_runme.ss because Chicken does not test for integer overflow
Fixes to get apply_strings.i to work in the testsuite
Minor documentation updates


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-21 04:16:21 +00:00
Olly Betts
688aba81d5 Added some missing keywords to the PHP4 keyword list, and
fixed __LINE__ and __FILE__ which were in the wrong category.
Also added all the keywords new in PHP5, and added comments
noting the PHP4 keywords which aren't keywords in PHP5.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-17 13:33:05 +00:00
Mikel Bancroft
3c1661620a 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@9165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-16 02:28:19 +00:00
William S Fulton
7a08980899 More namespace pollution fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 19:29:59 +00:00
William S Fulton
e0f40b00a8 Vladimir Menshakov patch for compiling wrappers with python-2.5 alpha.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 19:24:54 +00:00
William S Fulton
83f49ed6aa Add warning for directorout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:03:57 +00:00
William S Fulton
981a5597d3 Fix return by reference for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:49:25 +00:00
Mikel Bancroft
c0faf9773e 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@9133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-25 23:22:05 +00:00
Mikel Bancroft
7c36fe2581 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@9131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-24 08:33:07 +00:00
Olly Betts
b9dfced8ca 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@9118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-15 02:01:05 +00:00
Olly Betts
fe4b1da5dc Fix a typo.
[Patch recommit]


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:56:46 +00:00
William S Fulton
c03eaa5082 Fix char* %apply for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:50:06 +00:00
William S Fulton
f32a05a608 C# director support added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:38:24 +00:00
William S Fulton
a256f0b454 cosmetic mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:17:45 +00:00
William S Fulton
bdc28f90ca better director support for reference types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:16:20 +00:00
William S Fulton
b98445c19f Director support added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:15:37 +00:00
Olly Betts
843444d5ba Don't segfault if PHP Null is passed where a C++ reference is wanted.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-07 01:10:31 +00:00
William S Fulton
ff7ab7afac more %apply char* fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 23:26:57 +00:00
Olly Betts
086d6b0280 Fix wrappers generated for global 'char' variables to not include a terminating
zero in the PHP string.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 14:57:19 +00:00
Olly Betts
aab77a372a Wrap multi-statement macro SWIG_PHP_Error(code,msg) in do {...} while (0)
to protect it from expanding incorrectly (spotted by Sam Liddicott).
Fortunately all current uses by SWIG itself appear to be safe.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 00:34:01 +00:00
Marcelo Matus
3eac44710d fix bug #1480074
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 05:48:55 +00:00
Marcelo Matus
aef1bfcf1a fix std::vector<const int*>, reported by tagna@gaia.ecs.csus.edu
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 05:24:41 +00:00
Marcelo Matus
eb5053c631 more fixes/tests for empty strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 04:45:41 +00:00
Marcelo Matus
8947229522 more fixes to use %apply and char, unsigned char and others
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 02:01:17 +00:00
Marcelo Matus
ae96b6ec7d cosmetic fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 23:08:51 +00:00