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
Olly Betts
be148c61b3
Fix a few more typos in comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 06:39:07 +00:00
Olly Betts
675e83dc22
Just generate the wrapper with items and ST(%d) rather than trying to
...
search and replace argc and argv[%d] afterwards. Fixes bugs
#1529249 , #1566718 (and really fixes #1228480 ).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 02:07:19 +00:00
William S Fulton
95958855cf
More %ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 21:24:44 +00:00
Olly Betts
d6c5455edc
More typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 17:26:22 +00:00
Olly Betts
05ff62fcc2
Fix lots of typos in the manual.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 17:25:04 +00:00
William S Fulton
4b72de7d62
contents moved to director.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 21:16:45 +00:00
Olly Betts
cf52954bbb
Use SWIG_GE, SWIG_LE, etc instead of >=, <= since the latter cause
...
problems when used as template parameters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 07:52:24 +00:00
Olly Betts
a84b5110d7
Fix typo in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 07:48:20 +00:00
William S Fulton
a6d091ac16
director_h.swig removed and merged back into director.swg as it used to be to fix #1505591
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 22:02:32 +00:00
William S Fulton
0ff78074fa
various %extend with director tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:59:37 +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
da079c2d2b
Fix #1505591 Throwing exceptions in extended directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:47:08 +00:00
William S Fulton
0919c0de1e
Remove debug. Fix #1505591 Throwing exceptions in extended directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:46:42 +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
William S Fulton
ec17f62e04
fix virtual operators #1056100
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 20:18:30 +00:00
William S Fulton
eae32a8da7
test virtual operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 20:15:24 +00:00
Olly Betts
d5d8f1a3ee
Correct function name in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 03:32:12 +00:00
Olly Betts
647678be07
Apply patch #1561898 - use the mangled C name in $action when using
...
feature shadow.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 02:32:45 +00:00
Olly Betts
cc52ebad47
Fix handle of constant expressions containing character literals (e.g. 'x').
...
Fixes bug #1474463 .
Fix type of result of << and >> to match C rules (the type depends only on
the left argument).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 23:39:30 +00:00
Olly Betts
0d678283ad
Replace "::" with "__" in the module name when using it for a C macro.
...
Fixes bug #1528354 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 22:10:03 +00:00
Olly Betts
344750d16f
Removed bogus semicolon after method definition.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 21:56:58 +00:00
Olly Betts
fdd51d4080
Fix Tcl typemaps to handle unsigned long > LONG_MAX and unsigned long long
...
> LONG_LONG_MAX when converting values from Tcl to C/C++. Fixes bug
#1533266 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 21:55:30 +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
6e23d9a0b5
Fix typo in comment.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 19:57:46 +00:00
Olly Betts
859a8beb79
A few comment tweaks.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 17:33:32 +00:00
Olly Betts
f88d434d27
Fix typo: "loop though" -> "loop through"
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 17:22:27 +00:00
Olly Betts
7ae5628087
Only change _get and _set at the end of the method name (fixes bug #1545078 )
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 17:12:14 +00:00
Olly Betts
4739599460
Fix String_delslice() to update s->sp and s->lines correctly.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 17:09:31 +00:00
Olly Betts
6cbf688002
Make sure that SKIP_XXX always gets defined if the user explicitly disables
...
language xxx (using --without-xxx or --without-alllang). Fixes bug #1543041 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 16:27:25 +00:00
Olly Betts
1e1b3ef4cf
The test for -lnsl, -linet, and -lsocket was only being run on IRIX, rather
...
than run everywhere except IRIX. Rewritten to use AC_SEARCH_LIBS which
should avoid problems on IRIX and any other similar platform.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 16:12:49 +00:00
Olly Betts
3c935aa489
Oops, can't Delete() a String* which we've passed to Setattr.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 03:44:08 +00:00