Commit graph

642 commits

Author SHA1 Message Date
William S Fulton
6a946e6dc4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:40:07 +00:00
William S Fulton
ef0e803611 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 23:04:57 +00:00
William S Fulton
bdd66b813e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:51:52 +00:00
Mark Gossage
4619eb44ac updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:59 +00:00
William S Fulton
1c69920257 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:35:04 +00:00
Olly Betts
adf46e4378 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@9404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 12:40:04 +00:00
William S Fulton
5c3a3b0e28 dos2unix to remove ctrl-M chars
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:06:34 +00:00
Mark Gossage
8db9c9a820 updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 05:22:17 +00:00
Marcelo Matus
a8d7866a36 Fix %ignore + %copyctor as reported in #1486281
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 03:29:33 +00:00
Olly Betts
62949e02e3 Fix for handling strings with zero bytes from Stephen Hutsal.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 08:59:19 +00:00
Surendra Singhi
24529c7f13 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-30 19:01:46 +00:00
William S Fulton
8d6f192be6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 22:00:49 +00:00
William S Fulton
9306989787 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:48:07 +00:00
William S Fulton
1b7eb36ae5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 20:19:06 +00:00
Olly Betts
7e8f1dd8b1 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@9350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 20:37:51 +00:00
Olly Betts
6e47d7e5c6 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@9333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 21:39:09 +00:00
Olly Betts
4c1b1332a5 Support ternary conditionals (a ? b : c) in constant expressions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 09:35:31 +00:00
Olly Betts
fb93e2ff91 Allow <, >, <=, >=, !=, ==, and % in constant expressions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 08:30:46 +00:00
William S Fulton
edd5bfeb1a %ignore director fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
William S Fulton
e9ed2f8c84 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:40:22 +00:00
Olly Betts
ea75f3a1c3 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@9309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:20:52 +00:00
Olly Betts
f4a08d4d44 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@9307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:00:51 +00:00
Olly Betts
fa0a9c74c1 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@9306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 08:04:24 +00:00
Olly Betts
3dc5e0e91a Overload resolution now works in PHP out of the box.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 06:59:07 +00:00
Olly Betts
4d4792dc5e 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@9302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:32:22 +00:00
Mark Gossage
05fd4e3fea updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-18 05:45:46 +00:00
William S Fulton
c6908beb16 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 09:57:54 +00:00
William S Fulton
c51284fdbf 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@9274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:54:12 +00:00
Mark Gossage
7236bc3bb3 added support for multiple modules & multiple interpreters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:55:38 +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
Olly Betts
b4f433d564 [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@9260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-29 02:29:16 +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
John Lenz
ebeee6b93b Add feature:constasvar to guile module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-19 23:32:56 +00:00
William S Fulton
7fae2aef94 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:33 +00:00
William S Fulton
414cf8e1dc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:33:22 +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
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
Mark Gossage
c2672cf291 addition to support the -external-runtime command line option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 01:20:39 +00:00
William S Fulton
b0c7b999bd no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-17 21:57:30 +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
William S Fulton
04316e82c9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 21:28:11 +00:00
John Lenz
3026463d4c Chicken: Add the %feature("constasvar"), which exports constants as variables instead of functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 01:54:32 +00:00
William S Fulton
313842de67 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:04:58 +00:00
Joseph Wang
30bfad8bd3 Changed README and CHANGES.current file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:06:36 +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
Olly Betts
d95e0cce8a 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@9166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-17 01:33:17 +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
c9871e06da *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:49:35 +00:00