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 |
|
William S Fulton
|
8da327e8f4
|
Fix crashes when director methods are ignored
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-20 20:31:44 +00:00 |
|
William S Fulton
|
9e50abd273
|
fixes for make clean and remove the private list of test files to use the common.mk one (untested)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-20 20:22:10 +00:00 |
|
William S Fulton
|
47555737da
|
fixes for make clean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-20 20:21:24 +00:00 |
|
William S Fulton
|
008f06dee4
|
Fix out of source builds #1544718
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-20 20:14:53 +00:00 |
|
Olly Betts
|
f517332594
|
Fix a SEGV when processing an interface file which pulls a template
from one nested namespace into another with "using" (SF bug #1218884).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-20 11:52:56 +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
|
aadfee78ac
|
Fix testsuite to run under PHP after recent PHP testsuite changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-20 11:15:27 +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
|
4302d73927
|
SWIG_TypeCheck() takes a const char * now, so don't cast argument passed
to char *!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-09-20 06:37:50 +00:00 |
|