Commit graph

640 commits

Author SHA1 Message Date
William S Fulton
01ede93b1c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:51:52 +00:00
Mark Gossage
f9826a8046 updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:59 +00:00
William S Fulton
de3f93598f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:35:04 +00:00
Olly Betts
a8dc94bf85 Fix #1569587 for PHP. Don't use sizeof() except with string literals. Change
some "//" comments to "/* */" for portability.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 12:40:04 +00:00
William S Fulton
4127b733ab dos2unix to remove ctrl-M chars
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:06:34 +00:00
Mark Gossage
e1f7b3a405 updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 05:22:17 +00:00
Marcelo Matus
f323221f41 Fix %ignore + %copyctor as reported in #1486281
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 03:29:33 +00:00
Olly Betts
4e9e588769 Fix for handling strings with zero bytes from Stephen Hutsal.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 08:59:19 +00:00
Surendra Singhi
f4b879a717 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-30 19:01:46 +00:00
William S Fulton
6beecead97 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 22:00:49 +00:00
William S Fulton
35f01072f6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:48:07 +00:00
William S Fulton
a246532924 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 20:19:06 +00:00
Olly Betts
61472bb0ac Don't accidentally create a "<:" token (which is the same as "[" in C++).
Fixes bug # 1521788.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 20:37:51 +00:00
Olly Betts
2f6a268e55 Support building with recent versions of the Ruby 1.9 development branch.
Fixes bug #1560092.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 21:39:09 +00:00
Olly Betts
4f803bf0c4 Support ternary conditionals (a ? b : c) in constant expressions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 09:35:31 +00:00
Olly Betts
3dca18e4db Allow <, >, <=, >=, !=, ==, and % in constant expressions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 08:30:46 +00:00
William S Fulton
d096cc1613 %ignore director fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
William S Fulton
5837d1a2cb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:40:22 +00:00
Olly Betts
916a265191 Allow templates to be instantiated using negative numbers and constant
expressions (which fixes SF bug #956282 and several others).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:20:52 +00:00
Olly Betts
7f2a849617 Revert the "automatic -noproxy for C code" change (for now at least) - the
testsuite contains examples with proxy classes for C code, so it's not as
obviously correct a change as I had thought.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:00:51 +00:00
Olly Betts
fe4a39819c Treat a nested class definition as a forward declaration rather
than ignoring it completely, so that we generate correct code for
passing opaque pointers to the nested class (fixes SF bug #909387).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 08:04:24 +00:00
Olly Betts
5baafd12c0 Overload resolution now works in PHP out of the box.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 06:59:07 +00:00
Olly Betts
9eb77c5800 Previously -noproxy was required when wrapping some C code
to avoid SWIG generating new_XXX methods.  Now proxy classes are
only ever enabled when wrapping C++ code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:32:22 +00:00
Mark Gossage
194b9336d4 updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-18 05:45:46 +00:00
William S Fulton
d3cac2d0ea *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 09:57:54 +00:00
William S Fulton
a19cc4444e remove DOS CR/LF in mgossage entries
Add in explicitcall removal and director recursive call changes


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:54:12 +00:00
Mark Gossage
0136671c59 added support for multiple modules & multiple interpreters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:55:38 +00:00
Olly Betts
44eaee3a01 Apply patch from SF bug: [ 1466086 ] PHP namespace clash - ErrorCode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:18:01 +00:00
Olly Betts
b42168cf6e [php] Move constant initialisation from RINIT to MINIT to fix a
warning when using Apache and mod_php.  We only need to create
PHP constants once when we're first initialised, not for every HTTP
request.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-29 02:29:16 +00:00
Mark Gossage
02f0a49bc5 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/SWIG@9256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 08:00:13 +00:00
John Lenz
e59a47f6b1 Add feature:constasvar to guile module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-19 23:32:56 +00:00
William S Fulton
4b0899528b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:33 +00:00
William S Fulton
84f07bf77e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:33:22 +00:00
Mikel Bancroft
2709b65d83 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/SWIG@9225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-25 22:59:16 +00:00
Mark Gossage
b2363bff02 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/SWIG@9221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-21 08:51:40 +00:00
Mikel Bancroft
f2ff50e60e 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/SWIG@9220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 21:53:07 +00:00
Mark Gossage
31c0982668 addition to support the -external-runtime command line option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 01:20:39 +00:00
William S Fulton
5f1bf2e541 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-17 21:57:30 +00:00
John Lenz
cf3a18e631 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/SWIG@9214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-15 01:38:53 +00:00
William S Fulton
24a6facb9a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 21:28:11 +00:00
John Lenz
b001bf16a5 Chicken: Add the %feature("constasvar"), which exports constants as variables instead of functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 01:54:32 +00:00
William S Fulton
4152a5d8cd *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:04:58 +00:00
Joseph Wang
9ea5e51b6c Changed README and CHANGES.current file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:06:36 +00:00
John Lenz
b3cc02cfd0 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/SWIG@9170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-21 04:16:21 +00:00
Olly Betts
1cf8dee120 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/SWIG@9167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-17 13:33:05 +00:00
Olly Betts
68e04737ed Don't segfault if PHP Null is passed as this pointer (e.g.
Class_method(Null)) - give a PHP Error instead.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-17 01:33:17 +00:00
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
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
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