David Nadlinger
892caec201
[D] Fixed a bug in the loop breaking code for directors leading to a superclass implementation erroneously being called.
...
The situation in which this would previously happen is illustrated in the new "director_alternating" test case. Currently broken for C# and Java.
Thanks to Jimmy Cao for reporting this.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 21:05:49 +00:00
William S Fulton
25c8689226
Use htmldoc's new --overflow option and fix overflow warnings in the pdf documentation generation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 01:28:09 +00:00
William S Fulton
916e4644b6
fixes for html tidy in D.html
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 00:19:58 +00:00
William S Fulton
0892ef8496
Fix most of the html errors in D.html
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 20:26:21 +00:00
William S Fulton
005b70be3a
Chapter renumbering after adding D chapter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 20:05:44 +00:00
William S Fulton
4c28028b43
Fix order of D chapter in Sections summary
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 20:03:31 +00:00
William S Fulton
3c0fba5685
SF patch # 3091116 to remove hard coded path to python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 19:57:28 +00:00
William S Fulton
cdc8d13ae6
Fix rname testcase when run under OpenJDK icedtea on Linux because libjvm.so also contains a class called Base. Also remove need for Go specific handling in this testcase.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-05 21:15:10 +00:00
David Nadlinger
a344899ed8
[D] Added workaround for LDC to the D1 version of the 'funcptr' example.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-01 14:34:51 +00:00
David Nadlinger
0c3f855cc9
[D] Not only build, but also run the examples for the 'check' target.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-01 14:23:47 +00:00
David Nadlinger
ab2af5ebe2
[D] Removed leftover %dstripprefix definition.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-30 17:37:48 +00:00
David Nadlinger
91523f7510
[C#, D, Java] Check for collision of parameter names with target language keywords when generating the director glue code.
...
The situation in which the generated could would previously be invalid is illustrated in the new 'director_keywords' test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-30 15:40:17 +00:00
David Nadlinger
38c88a0931
[D] Operator overloading support for D1 and D2.
...
As mentioned in the documentation, opIndexAssign and implicit casting are not supported yet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-30 02:44:04 +00:00
William S Fulton
9a0f7ed06c
Some more constness added to DOH and code comment consistency changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-23 20:30:41 +00:00
William S Fulton
4f99df61c5
Fix special variable not being expanded for csvarin typemaps when used for global variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-23 20:28:17 +00:00
William S Fulton
7f4283f684
Fix special variable not being expanded for csvarin typemaps when used for global variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-23 20:27:34 +00:00
Olly Betts
c6f3ac5420
Fix typo in code (found by cppcheck)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-16 12:54:01 +00:00
William S Fulton
babfccc072
Remove accidental commit of CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-15 22:00:23 +00:00
William S Fulton
1adc50e730
constify SwigType * in many places
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-15 21:55:08 +00:00
William S Fulton
bb2d758920
Use a SwigType instead of String where expected including call to SwigType_manglestr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-15 20:37:40 +00:00
William S Fulton
8f1bde9d81
Fix expansion in array typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-14 21:38:36 +00:00
William S Fulton
18cede40d2
Only check if D compiler works if the compiler was found
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-12 20:02:09 +00:00
Olly Betts
569470c4b9
Fix typo (extra ')') in Python docs (SF#3131673).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-10 05:52:45 +00:00
William S Fulton
0148d7eb75
Specify minimum Go version for users who read the CHANGES file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-09 07:42:24 +00:00
William S Fulton
2ccdf35dd6
more standard configure messages for checking Go version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-09 07:39:19 +00:00
William S Fulton
93b030ec6a
Fix wallkw runtime test since D was added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 19:58:19 +00:00
William S Fulton
64852460a0
Fix wallkw runtime test since D was added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 19:56:14 +00:00
William S Fulton
c8c3e13065
function prototype in comment fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 19:35:52 +00:00
William S Fulton
32769435fd
More extensive member function pointer test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 19:35:03 +00:00
David Nadlinger
7903475571
[D] Workaround for an argument handling discrepancy between DMD and LDC.
...
See http://dsource.org/projects/ldc/ticket/380 for the corresponding LDC ticket.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 16:58:14 +00:00
David Nadlinger
e120dfcc70
D compiler sanity checks in configure; check D2 by default if no D1 compiler can be found.
...
For both D1 and D2, if the compiler has not been specified explicitly via a command line option, the configure script tries to compile a minimal program stub. Only if this succeeds, the respective compiler is enabled.
If neither a working D1 nor a working D2 compiler has been found, D is skipped completely as usual.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 16:57:55 +00:00
David Nadlinger
56dfa781ff
Only check for Go version if a compiler was found.
...
This fixes a syntax error in the code which would occur when no Go compiler was found at all.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-08 16:57:32 +00:00
William S Fulton
5558d0092a
Remove bad usage of a String rather than SwigType for D directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-07 21:15:05 +00:00
William S Fulton
61fefd8cc4
Remove bad usage of a String rather than SwigType for csharp directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-07 20:12:17 +00:00
Ian Lance Taylor
8467a6926e
We disable Go if the compiler is too old.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-07 20:03:47 +00:00
Ian Lance Taylor
6d75f6cc1c
Disable Go (6g/8g) if the version is too old.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-07 20:01:59 +00:00
William S Fulton
02750e80a3
Fix #3127394 - use of network paths on Windows/MSys.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-06 20:43:56 +00:00
William S Fulton
24591490c2
Mention SWIG_FEATURES for running the test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-03 17:29:07 +00:00
William S Fulton
d87c312fd0
Corrections to calls to SwigType_manglestr to use a genuine SwigType
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-29 07:49:42 +00:00
David Nadlinger
3477a9dff1
[D] Replaced the term "wrap D module" with "intermediary D module" (including names derived from it).
...
This was suggested by wsfulton on the mailing list in order to bring the D module in line with the C# one, the naming scheme of which is intended to be language-independent.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-28 23:12:03 +00:00
David Nadlinger
a22df2eca9
[D] Refer to the built-in Exception class using its fully-qualified name.
...
A C++ class called "Exception" could shadow the built-in one before, leading to compilation errors in the exception handling code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-27 00:13:44 +00:00
David Nadlinger
d7cc6904c5
[D] Document "-d2" switch, native pointer support and D_VERSION=2.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 23:23:26 +00:00
William S Fulton
b89248404d
Remove generated files from svn for Go examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 20:32:23 +00:00
William S Fulton
75ad4f57b9
Incorrect mangling leading to some cast errors in the Go director destructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 20:28:39 +00:00
William S Fulton
004643ff30
Fix mangling of PHP constructor wrapper when types use global scope or typedefs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-25 20:39:11 +00:00
William S Fulton
e0c82f6f2b
portability fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-25 20:35:10 +00:00
David Nadlinger
e362f85431
[D] Use __cdecl instead of __stdcall on Windows as well to avoid special casing.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-22 00:33:26 +00:00
David Nadlinger
cd492d8300
[D] Added a missing part of the Windows wrapper library loading code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-21 23:43:19 +00:00
David Nadlinger
68678aefd5
Added note about the inclusion of D to the CHANGES file.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-18 10:16:15 +00:00
David Nadlinger
d69d8ff641
[D] Renamed the "dnativeconst" feature to "dmanifestconst".
...
This should make it clearer that it controls manifest constant generation, not handling of C++ const member functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-18 10:16:05 +00:00