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 |
|
Olly Betts
|
9a6ebd179d
|
Remove fixed limit on size of class_decl array.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 23:28:12 +00:00 |
|
Olly Betts
|
bfc8c664fa
|
Remove unused variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 23:12:15 +00:00 |
|
Olly Betts
|
8904cc86c1
|
Use DOH String instead of static char buffers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 23:10:49 +00:00 |
|
Olly Betts
|
c9cfd2f800
|
Add an explicit "%prec QUESTIONMARK" for the ternary conditional operator
to fix all the shift/reduce conflicts which adding it created.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 23:08:22 +00:00 |
|
Olly Betts
|
7c2638bd89
|
Use "[info sharedlibextension]" instead of trying ".so" then ".dll". All
the other tcl scripts in the test-suite have already been changed in this
way, but this one was missed it seems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 22:43:48 +00:00 |
|
Olly Betts
|
6828d24424
|
Use != in the example here since >= doesn't work correctly yet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 22:40:13 +00:00 |
|
Olly Betts
|
b18f84692d
|
Use the ruby interpreter which configure found rather than just assuming it's
called "ruby".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 22:39:39 +00:00 |
|
Olly Betts
|
1e19f11fdc
|
Use Strchr/strchr instead of Strstr/strstr when searching for a single
character.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 22:36:23 +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
|
8fa318ee36
|
Eliminate nested class from testcase - that's not what we want to test here!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 13:02:27 +00:00 |
|
Olly Betts
|
25ed8b2e50
|
Be careful to only pass unsigned char values to isalpha(), etc in the hope
this is the cause of bug #1518219 (I can't reproduce it on Linux, but glibc
implements a safety net by making isalpha() etc work on signed char values
too...)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 10:43:29 +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 |
|
Olly Betts
|
407b791c23
|
Fix 3 shift/reduce conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 06:23:41 +00:00 |
|
William S Fulton
|
97e9f07120
|
#1506840 testcase - directors with virtual extended methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-23 00:00:58 +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 |
|
Kevin Ruland
|
38ed98a459
|
Use the correct name of the file in the echo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-22 12:41:33 +00:00 |
|
Olly Betts
|
609baae8ba
|
Fix typo in comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-22 05:07:59 +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 |
|
William S Fulton
|
05556f43b8
|
Director %ignore test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-20 20:39:50 +00:00 |
|