Commit graph

6,208 commits

Author SHA1 Message Date
William S Fulton
d102ce79b2 fix include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 23:02:45 +00:00
William S Fulton
d277c06bdc test include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 22:59:22 +00:00
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
William S Fulton
3ab253b850 Fix #1450661. String_seek truncating strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:48:00 +00:00
William S Fulton
6d2a2b630d fix declaration to match implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:39:51 +00:00
Olly Betts
61b1372996 Covert a stderr message to a proper SWIG warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 11:08:28 +00:00
Olly Betts
110a537445 Clean up the old disabled "script accessible destructor" code. I don't think
we'll want it again, but if we do we can retrieve it from CVS.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 10:30:44 +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
Mark Gossage
0ef981882d [Lua] Fix #1569587. The name is now correct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:21 +00:00
William S Fulton
dedd667655 Hash and List examples added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-05 21:14:49 +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
William S Fulton
d0c2731764 Test virtual conversion operators for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:45 +00:00
William S Fulton
be89441352 Fix virtual conversion operators for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:08 +00:00
William S Fulton
1137bf3ec8 Fix some bugs since change of vtable to use List instead of Hash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:32:47 +00:00
Olly Betts
2788a39211 Eliminate $ext in the generated php wrapper (namespace pollution bad!)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 15:53:07 +00:00
Olly Betts
122b0cbd04 The wrapper function filtering should only happen for -php4 without -noproxy.
Further simplify the property getter/setter code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:54:39 +00:00
Olly Betts
fa8bf1b870 Make the char we use to instantiate single character constants static, as
PHP doesn't appear to take a copy.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:25:38 +00:00
Olly Betts
da3dab3777 Remove some superfluous semicolons from after function definitions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 12:43:35 +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
William S Fulton
3dec1f6ec5 ignores on templated class methods added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:04:35 +00:00
William S Fulton
8d333d90f0 director error message fixes to correctly generate templated class names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:01:31 +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
Mark Gossage
25062ce4e8 Partial Fix #1569587. The type is now correct, but the name is still not correct.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 05:21:02 +00:00
Olly Betts
07c40f5f75 Back out fix for #1474463 since the problems the fix causes are worse than
the problem fixed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 04:57:12 +00:00
Olly Betts
1b89128bf5 Remove some dead code; tidy up some formatting.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 04:52:51 +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
William S Fulton
0982452472 remove last checkin which isn't used anywhere
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 23:27:34 +00:00
William S Fulton
ea9dc991cc remove unused code which won't work after the director vtable mods to use a List instead of a Hash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 23:00:12 +00:00
William S Fulton
a510b20491 Directors are output in the order in which they are declared in the C++ class rather than in some pseudo-random order.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:52:31 +00:00
William S Fulton
1abf0e32a6 Fix uncompileable code when overloaded methods are used with the director:except feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:52:15 +00:00
William S Fulton
79eb884747 Directors are output in the order in which they are declared in the C++ class rather than in some pseudo-random order.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:44:12 +00:00
William S Fulton
ccf9423225 Ruby director overload and director:except testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:29:37 +00:00
Olly Betts
25636f132f Tidy up descriptions of destructors.
Fix comments for handles for simple types.

Omit superfluous "else" when generating property getter and setter handling
code, which produces smaller generated source code, and simplifies the
generating code.

With -php5, if -prefix isn't specified, don't prefix classes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 16:58:16 +00:00
Olly Betts
04b6cd7f92 Fix 2 compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 15:03:45 +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
Marcelo Matus
5dc2ce0c73 Fix 'property' issue reported in #1471039
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 03:37:13 +00:00
Olly Betts
ec5c4bc6f8 More fixes for double generation of methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-02 19:05:55 +00:00
Olly Betts
ad6f144dc9 Sort out double generation of methods in the proxy case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-02 07:57:56 +00:00
Surendra Singhi
1e10010a86 Some Documentation for CFFI module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-30 19:03:52 +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
Surendra Singhi
5f2930a9b3 Patch 1565413 (bitfield support)
Patch 1562280 (vararg support)
Patch 1561115 (C expression to Lisp) + enhanced support for most operators.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-30 18:57:32 +00:00
Olly Betts
1ec0417eb5 Use SWIGPHP instead of SWIGPHP4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-29 10:09:23 +00:00
Olly Betts
baabc2b834 Use SWIGPHP rather than SWIGPHP4 since the latter is now only defined when
generating code explicitly for PHP4.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-29 10:03:50 +00:00
William S Fulton
24f1a5fed1 test #1508327 - Overloaded methods are hidden when using -fvirtual optimisation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 22:02:03 +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
ebffa5213f testcase for -fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 21:53:23 +00:00
William S Fulton
fa40d8f98b Fix #1508327 - Overloaded methods are hidden when using -fvirtual optimisation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 21:52:20 +00:00
Olly Betts
eebc219854 Use isxdigit().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 06:45:46 +00:00
Olly Betts
57a68af35f Register string constants using REGISTER_STRINGL_CONSTANT instead of
REGISTER_STRING_CONSTANT since (a) this will cope with embedded zeros
and (b) it'll be fractionally faster.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 06:42:36 +00:00