Commit graph

1,754 commits

Author SHA1 Message Date
Olly Betts
07ae5a2aca Don't treat `restrict' as a reserved identifier in C++ mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-16 16:42:00 +00:00
Olly Betts
e6611209f6 [PHP5] Fix how zend_throw_exception() is called (bug #1700785).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-16 15:13:45 +00:00
Olly Betts
fb2e4b580d Define SWIGTEMPLATEDISAMBIGUATOR to template for aCC (reported on
swig-user that this is needed).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-10 14:14:52 +00:00
Olly Betts
8b9af6389b [PHP5] If ZTS is enabled, release <module>_globals_id in MSHUTDOWN
to avoid PHP interpreter crash on shutdown.  This solution was
suggested here: http://bugs.php.net/bug.php?id=40985


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-04 09:40:55 +00:00
Olly Betts
a5ac23e6d2 [PHP4] Add missing ZTS annotations to generated C++ wrapper code
to fix compilation failures when using ZTS enabled SWIG (Linux
distributions tend to disable ZTS, but notably the Windows build
uses it by default).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-03 15:56:36 +00:00
Surendra Singhi
85a3666f7c git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9666 626c5289-ae23-0410-ae9c-e8d60b6d4f22 2007-04-01 13:22:36 +00:00
Olly Betts
e90a095e77 Avoid generating '<:' token when using SwigValueWrapper<> on a type
which starts with '::' (patch #1690948).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-30 02:34:38 +00:00
John Lenz
1396dffb68 add SWIG_fail to SWIG_expcetion macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-25 17:40:56 +00:00
William S Fulton
4fe414504f String copying patch from Josh Cherry reducing memory consumption by about 25%.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-23 22:12:10 +00:00
William S Fulton
74aa9cef17 Apply patch 1631987 - Java typemap for bool INOUT fails on big-endian machines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-21 21:00:21 +00:00
William S Fulton
337f63fd28 seg fault fix when parsing incorrect C++ namespace code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-16 23:39:28 +00:00
William S Fulton
36759b3303 ARRAYSOFCLASSES and ARRAYSOFENUMS fix so that they can be applied to pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-16 23:37:15 +00:00
Olly Betts
438195cfe9 [PHP5] When we know the literal numeric value for a constant, use
that to initialise the const member in the PHP wrapper class.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-03 15:38:52 +00:00
Olly Betts
a63013152c [PHP5] Fix PHP wrapper code generated for certain cases of
overloaded forms with default arguments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-02 19:05:45 +00:00
Surendra Singhi
ea90e889fa Patch 1656395
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-02-26 13:16:01 +00:00
Mark Gossage
e38a14b2df Fixed bug in typemaps which caused derived_byvalue and rname test cases to fail.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-02-22 09:21:23 +00:00
William S Fulton
71c5f58bb3 Fix #1538522 and #1338527, forward templated class declarations without a name for the templated class parameters, such as: template <typename, class> class X;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-25 23:50:04 +00:00
Mark Gossage
93496ba199 Patch #1598063 Typo in typemaps.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-23 01:38:53 +00:00
Mark Gossage
571a84c9e7 removed reference to contributers
Patch #1640862 (malloc.h to stdlib.h)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-23 01:29:00 +00:00
Mark Gossage
a997938b63 Added a lua specific carrays.i which adds the operator[] support.
modified the main code to make it not emit all the class member functions & accessors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-22 04:59:16 +00:00
William S Fulton
9f88801914 add support for newfree typemaps in php module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-12 23:41:49 +00:00
Dave Beazley
b92d8e5cff Major overhaul of C/C++ scanner API. Unified tokenizing code so that tokens are scanned by a common code base
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-12 19:01:40 +00:00
Mark Gossage
7378cdd2f5 Added typemap throws for std::string*, typemap for SWIGTYPE DYNAMIC, changed the existing throws typemap to throw a string instead of making a copy of the object
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-12 09:52:00 +00:00
Dave Beazley
ff41049b1c Eliminated use of swigkeys.h/.c files.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 20:58:19 +00:00
Dave Beazley
264b7dff90 API cleanup. Documentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-30 18:27:47 +00:00
Mark Gossage
515e846e2a Added more STL (more exceptions, map, size_t), fixed test case: conversion_ns_template.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-26 10:15:35 +00:00
Mark Gossage
bc08e0f335 making setting immutables an error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-21 04:53:12 +00:00
William S Fulton
d6f38ba217 Fix typedef'd variable wrappers that use %naturalvar, eg, std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-20 23:09:01 +00:00
William S Fulton
4b31a3ee50 add C# std::string and wchar typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-15 23:50:39 +00:00
Olly Betts
4f7099cb56 Fix bug #1613673 (bad PHP5 code generated for getters and setters).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-14 02:15:58 +00:00
Dave Beazley
0097d49e8c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 15:59:59 +00:00
William S Fulton
5a5bddca2a Add note about svn migration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-04 23:01:54 +00:00
William S Fulton
e32fea635f move 1.3.31 mods to CHANGES from CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-29 21:53:50 +00:00
William S Fulton
eb94f51265 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-20 23:21:21 +00:00
William S Fulton
46512edf43 version 1.3.31
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-20 21:58:19 +00:00
William S Fulton
f2ca3aaec1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-15 23:51:02 +00:00
William S Fulton
1c44dd048b move 1.3.30 changes into CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-15 23:48:44 +00:00
Mark Gossage
789b9f7581 updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-14 05:05:09 +00:00
William S Fulton
a48e53ec20 1.3.30 release update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-13 22:13:00 +00:00
Olly Betts
e8d78bff73 Retrospectively add an entry for the PHP5 class wrappers, since I apparently
failed to do it at the time and it's a rather major change to not mention!


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-12 05:19:07 +00:00
William S Fulton
8a0adffaad *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-12 01:23:16 +00:00
William S Fulton
b21c8b5150 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-10 23:15:37 +00:00
William S Fulton
95f69090e8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-09 22:38:24 +00:00
William S Fulton
99b727a6da *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 01:04:13 +00:00
Mikel Bancroft
be61c5347b [allegrocl] see CHANGES.current.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-07 19:34:18 +00:00
William S Fulton
efe6b1abf0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-03 21:57:49 +00:00
William S Fulton
f41f64a1d5 updates for 1.3.30 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-02 00:00:05 +00:00
William S Fulton
0f23c1de45 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 22:04:31 +00:00
John Lenz
206e5c64af Patch from Chris Shoemaker to clean up some warnings in the guile module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-30 04:44:46 +00:00
William S Fulton
a1a8cda04e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:35:24 +00:00