Olly Betts
|
72fc8be46c
|
[PHP] Fix handling of overloaded methods/functions where some
return void and others don't - whether this worked or not depended
on the order they were encountered in (SF#3208299).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-14 12:33:56 +00:00 |
|
Olly Betts
|
5d765893ed
|
Simplify test-suite/overload_return_type.i (checked that it still fails before
the fix it's a regression test for) and added _runme.php for it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-14 11:58:58 +00:00 |
|
Olly Betts
|
c61cc387bc
|
Fix comment typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-14 09:49:27 +00:00 |
|
David Nadlinger
|
ce6516fb4c
|
[D] nspace support.
As for C# and Java, this doesn't work for free functions/variables yet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-13 00:32:26 +00:00 |
|
David Nadlinger
|
ff965c1aff
|
[D] std.algorithm.indexOf() was deprecated, use countUntil() instead.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-13 00:30:21 +00:00 |
|
William S Fulton
|
6d7acd2615
|
linker fix for smart_pointer_template_const_overload testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-13 00:16:44 +00:00 |
|
William S Fulton
|
52e59d530d
|
gcc-4.5 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-12 21:37:35 +00:00 |
|
William S Fulton
|
c8b89bd075
|
Fix partial overloading warning messages appearing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-11 22:36:59 +00:00 |
|
William S Fulton
|
5f4d8c6112
|
Fix SF #3194294 - corner case bug when 'NULL' is used as the default value for a primitive type parameter in a method declaration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-09 22:31:08 +00:00 |
|
Olly Betts
|
06e8329c48
|
No need to add . to LD_LIBRARY_PATH for PHP.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-07 23:01:26 +00:00 |
|
Olly Betts
|
571204c98f
|
Fix typo which stopped %.test convenience helper from running multitests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-07 03:14:24 +00:00 |
|
William S Fulton
|
28af783d18
|
Templated smart pointers overloaded with both const and non const operator-> generated uncompilable code when the pointee was a class with either public member variables or static methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-03-02 22:30:05 +00:00 |
|
William S Fulton
|
90847fb49e
|
Solaris warnings/errors testcase fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 19:29:50 +00:00 |
|
William S Fulton
|
77110db863
|
Sun studio warning suppression in tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 13:02:21 +00:00 |
|
Ian Lance Taylor
|
7ac265ff3d
|
For Go: Fix handling of INPUT variables when using typemaps.i. This
fixes cases where the gotype typemap is used to produce a simple Go
type for a non-simple C/C++ type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 05:48:25 +00:00 |
|
Ian Lance Taylor
|
6c02fa5729
|
More varargs overload testing for Go.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 04:47:17 +00:00 |
|
Ian Lance Taylor
|
ebe2840756
|
Fix new varargs_overload test for Go.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 04:40:32 +00:00 |
|
Ian Lance Taylor
|
bb3caf14a2
|
Add Go execution test for new rename_simple test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 04:40:00 +00:00 |
|
Ian Lance Taylor
|
0c8c5e7614
|
Fix handling of protected methods in Go when using directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 03:52:04 +00:00 |
|
William S Fulton
|
643f603475
|
Fix C code in test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 00:37:54 +00:00 |
|
William S Fulton
|
4458ce66d0
|
Fix link error in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 00:27:39 +00:00 |
|
William S Fulton
|
a77b30e664
|
Fix link error in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-20 00:24:57 +00:00 |
|
Ian Lance Taylor
|
21ca5a854c
|
Adjust for the elimination of the "float" and "complex" types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-19 20:22:33 +00:00 |
|
William S Fulton
|
23a5fecc60
|
Additional %varargs and overloading testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-19 19:20:37 +00:00 |
|
William S Fulton
|
4447395ad3
|
Modify octave exception checking test to take account of older (3.0) versions prefixing with 'error: ', but not in newer (3.2) versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-19 17:11:05 +00:00 |
|
William S Fulton
|
964532ed86
|
Modify octave exception checking test to take account of newlines being added in older (3.0) versions, but not in newer (3.2) versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-19 17:07:03 +00:00 |
|
William S Fulton
|
95de0a3437
|
Rename symbol in test case as the name is clashing in some way with new versions of Octave (3.2.4)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-19 16:20:38 +00:00 |
|
William S Fulton
|
e019b40f7d
|
Fix Lua warning suppression for overload_extend testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-19 12:39:44 +00:00 |
|
William S Fulton
|
90bcaa3117
|
Add Octave test of global constants when accessed from a function reported by Alan W Irwin as previously not working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-19 01:16:47 +00:00 |
|
William S Fulton
|
81ae06d960
|
Rename covariant_return.i testcase as it is not testing covariant return types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-18 23:18:42 +00:00 |
|
William S Fulton
|
873d07d1e5
|
Fix #3184549 - vararg functions and function overloading when using the -fastdispatch option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-18 21:25:42 +00:00 |
|
Olly Betts
|
bf7c9e9a42
|
[PHP] An overloaded method which can return an object or a
primitive type no longer causes SWIG to segfault. Reported by Paul
Colby in SF#3168531.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-18 06:39:51 +00:00 |
|
William S Fulton
|
94e141cbd0
|
Warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-17 22:43:28 +00:00 |
|
William S Fulton
|
0913f41fb4
|
Change preprocessing error for tokens appearing after #else and #end to warning. Add some missing warning documentation and a couple of warning messages tidy up.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-17 21:54:13 +00:00 |
|
William S Fulton
|
efd06d0668
|
Preprocessing now errors out if extra tokens appear after #else and #end. Add preprocessor errors when preprocessor expressions are missing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-16 20:48:48 +00:00 |
|
William S Fulton
|
1fab53b204
|
[Ocaml] Apply patch #3151788 from Joel Reymont. Brings Ocaml support a up to date (ver 3.11 and 3.12), including std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-14 07:22:06 +00:00 |
|
William S Fulton
|
e0ee14c3ba
|
Fix Fix #1927852 - #include directives don't preprocess the file passed to it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-13 13:53:14 +00:00 |
|
William S Fulton
|
16ba0aca53
|
Fix preprocessor breakages introduced in rev 12441 which was fixing defined() being expanded outside of #if and #elif preprocessor directives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-12 23:27:50 +00:00 |
|
William S Fulton
|
63af0a2d72
|
Fix #1940536, overactive preprocessor which was expanding defined(...) outside of #if and #elif preprocessor directives.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-07 07:29:55 +00:00 |
|
William S Fulton
|
65f377c422
|
Hack for testcase to compile under PHP 5.3 / gcc-4.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-05 23:04:05 +00:00 |
|
William S Fulton
|
a5837dd7e6
|
[C#] SF #3085906 - Possible fix running test-suite on Mac OSX.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-05 12:58:29 +00:00 |
|
William S Fulton
|
4f616b5942
|
SF #3127633 Fix infinite loop in recursive typedef resolution.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-05 01:09:40 +00:00 |
|
William S Fulton
|
f4c74bc500
|
R - SF #3168676 Fix %rename not working for member variables and methods. Add new simple rename testcase with runtime tests for C# and R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-04 23:42:06 +00:00 |
|
William S Fulton
|
1918e2a844
|
Make R unittests pass failure to the Make system, otherwise failures are masked and won't be seen
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-04 23:40:06 +00:00 |
|
William S Fulton
|
a0b869da38
|
Remove runtime warnings in overloading php example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-01 19:58:44 +00:00 |
|
William S Fulton
|
e7e542ffc9
|
li_boost_shared_ptr.i testcase - fix for missing %shared_ptr highlighted by new smart pointer warning 520
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-01 19:14:14 +00:00 |
|
William S Fulton
|
af4873f879
|
Linker errors fixed for member_funcptr_galore testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-01 07:17:51 +00:00 |
|
William S Fulton
|
4a73d986dd
|
Any 'using' statements in the protected section of a class were previously ignored with dirprot mode, certainly with Java and C#. Also directors - a call to a method being defined in the base class, not overridden in a subcalss, but again overridden in a class derived from the first subclass was not being dispatched correcly to the most derived class - affecting non-scripting languages. Fix for C# is based on recent fix for D.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-02-01 07:02:50 +00:00 |
|
William S Fulton
|
640cce2c50
|
Fix typecheck typemaps for SWIGTYPE *const&
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-01-30 00:42:27 +00:00 |
|
William S Fulton
|
17ad110543
|
Add li_typemaps_apply to tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2011-01-29 21:53:16 +00:00 |
|