Joseph Wang
e216963630
back out of previous change. There seem to be version dependent
...
changes in what gets printed out and previous change causes
double printing in earlier versions of R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-20 15:54:36 +00:00
Joseph Wang
a6764a156c
use print to output sprintf
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-18 13:53:47 +00:00
William S Fulton
049035ff3e
Add discard and add methods to std::set and std::multiset wrappers so that pyabc.i can be used ensuring MutableSet is a valid abstract base class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13619 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-15 22:36:15 +00:00
William S Fulton
289b8bb269
Fix additio of assumeoverride testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-13 21:59:14 +00:00
William S Fulton
009c191430
Add assumeoverride feature option for Java directors to improve performance when it can be assumed that all methods are overridden by the Java derived classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-13 21:41:08 +00:00
Sylvestre Ledru
7dac1bc524
Fix somes typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-08 09:19:26 +00:00
William S Fulton
2d24ca37d1
Fix invalid code sometimes being generated for C# director methods with many arguments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 15:49:43 +00:00
William S Fulton
32071e8690
Restore previously broken tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:25:16 +00:00
William S Fulton
54726b9d09
Fix using declarations and templates. %template was putting the
...
instantiated template into the global namespace instead of the namespace
of the template definition. This fixes regression in swig-2.0.5 copying
the std::pair typemaps which occurs with a 'using std::pair'
declaration. This also fixes lots of other using declarations of
template problems (template forward declarations. combinations
using directives).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:24:22 +00:00
William S Fulton
6e6ce16e4e
Fix using declarations combined with using directives with forward class
...
references.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:23:07 +00:00
William S Fulton
1ce0058256
Fix symbol table bug with combinations of using directives and using declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-25 06:36:29 +00:00
William S Fulton
7ec1e11604
Fix bug 3529601 - seg fault when a protected method has the director
...
feature but the parent class does not. Also fix similar problems with
the allprotected feature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-29 22:02:43 +00:00
William S Fulton
55bda8f9f2
Fix seg fault attempting to warn about illegal destructors - introduced in rev 13111
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-28 06:20:45 +00:00
William S Fulton
184519b6a6
attempt to fix test again
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 23:01:28 +00:00
William S Fulton
020e137347
test fix again
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 22:37:57 +00:00
William S Fulton
522382c05e
test fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 22:20:22 +00:00
Karl Wette
a276c0b45a
[octave] skip part of module_load test for older Octaves
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 21:18:50 +00:00
William S Fulton
76a115ea41
Test fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 18:42:32 +00:00
Olly Betts
7196e556a5
Fix SF#3528035, a regression introduced by the fix for SF#3428833.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-23 02:58:24 +00:00
Olly Betts
de9d01dbcd
[PHP] Fix getters for template members. (SF#3428833)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-18 02:43:52 +00:00
Olly Betts
b32c70e244
Comment out use of call-time pass by reference, which has been deprecated for
...
ages, and is no longer supported by PHP 5.4.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-18 02:42:23 +00:00
Karl Wette
daffde6c28
Updated Octave module_load examples for new module loading
...
- Module compiled twice to check '-globals .' behaviour
- Only one runme.m needed since clearing modules should
now be safe for all Octave versions.
- Tests new module loading syntax and behaviour
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-14 09:24:34 +00:00
Karl Wette
e4a92ee692
Link Octave tests and examples against Octave libraries
...
- Tests for bugs associated with loading .oct modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-14 09:23:06 +00:00
William S Fulton
ef7a8a8253
Fix typemap method hiding regression introduced in swig-2.0.5 - rev 12764
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-11 21:23:37 +00:00
Olly Betts
43b3e20d2f
Add wrapmacro_runme.php
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-11 05:58:18 +00:00
Olly Betts
fcb46fe2fa
[PHP] Fix the constant typemaps for SWIGTYPE, etc - previously
...
these used the wrong name for renamed constants. Add
autodoc_runme.php to the testsuite as a regression test for this.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-10 11:41:19 +00:00
Olly Betts
70a134872a
Remove two instances of call-time pass by reference, which has been removed in
...
PHP 5.4, and isn't needed for these tests anyway.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-10 10:37:42 +00:00
William S Fulton
af079aa439
Disable enum_forward test for Octave as this is a C only code test which does not compile as C++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-10 05:43:23 +00:00
William S Fulton
73b0431fbc
Fix C enum forward declarations in some target languages (notably Java)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-01 18:44:22 +00:00
William S Fulton
a0e21e82ca
char **STRING_ARRAY typemaps fixed to handle null pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 14:29:23 +00:00
William S Fulton
1bc105bd72
Add missing Lua factory.i test for patch #3219676
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-24 18:56:16 +00:00
William S Fulton
63a6a0e214
Fix symbol name clash under windows in testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 07:13:55 +00:00
Robert Stone
121086fb77
* revert perl5 li_typemaps run tests due to Windows regressions.
...
* stricter casting to sidestep compiler warnings on Windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-18 21:49:32 +00:00
William S Fulton
cc5b232021
testcase fix for vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-17 05:52:25 +00:00
William S Fulton
f9e85bb27f
Some test-suite fixes for visual studio
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-16 18:45:33 +00:00
Karl Wette
35b2270f84
Make octave_dim tests pass for octave version != 3.2.4
...
- see SourceForge #3516652
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 22:47:38 +00:00
William S Fulton
117cb9b74a
Fix a few warnings/errors in the test-suite using Solaris compiler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 21:56:38 +00:00
William S Fulton
bee885dfe0
Rename r_base_test to overload_method as it is a useful test for all languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 18:10:58 +00:00
William S Fulton
4e3428ff66
One test per line in Makefile
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 17:44:09 +00:00
Joseph Wang
d12e7ecd9e
add test to confirm fix to sourceforge 3478922
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 12:54:42 +00:00
William S Fulton
442422fee0
Remove annoying echo of compiler invocation by R CMD SHLIB
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 22:57:48 +00:00
William S Fulton
f00a41093c
As std_list.i is not available in many language, put this python specific test just in Python makefile
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 21:11:19 +00:00
William S Fulton
df4f9adf0a
Diagnostics for erratically failing test case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 20:29:22 +00:00
William S Fulton
e8aab00b6d
Remove run tests which should have been done in rev 12953 (reverting %shared_ptr fixes with typedef)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 17:01:39 +00:00
William S Fulton
449599c8f3
nspace tests result in a warning if %nspace not supported where before it sometimes resulted in an error in the testsuite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 16:26:45 +00:00
William S Fulton
5c8e5542ef
Apply #3219676 from Shane Liesegang which adds: - support for %factory - a __tostring method - a __disown method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-13 18:28:37 +00:00
Olly Betts
e3eb54594e
[Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-05 04:29:11 +00:00
William S Fulton
196097949b
Add JNI checking when running Java test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-29 20:27:56 +00:00
Joseph Wang
800e00c9be
check in R-swig changes that implement vector conversions to and
...
from std::vector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-29 16:32:51 +00:00
Xavier Delacour
b0ea5581c3
add extra logic to the octave_swig_type::dims(void) method: it checks if the user has defined a __dims__ method and uses this in stead of returning (1,1) (patch from jgillis, sf 3425993)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-26 15:45:02 +00:00