Joseph Wang
6e6e45f8be
fix R namespace conflict
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 06:22:04 +00:00
Joseph Wang
023d597862
add new test case for r to test scalar/vector conflicts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-17 18:37:51 +00:00
William S Fulton
aae9c18e6e
Apply patch #3392264 from Sebastien Bine to parse (unsigned) long long types in enum value assignment.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-16 07:30:14 +00:00
William S Fulton
425b460a09
Fix %include inside %define macros - patch from Karl Wette
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-15 20:32:14 +00:00
Ian Lance Taylor
911ee91de1
Add support for go tool used in Go 1.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-14 22:12:45 +00:00
Ian Lance Taylor
589ae60501
Correct test cases to be valid C++ by doing a typedef to the
...
specialized type rather than to the not-visible general template type
parameter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-14 19:25:14 +00:00
Ian Lance Taylor
e0b1691067
Fix %module declaration.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-14 19:23:18 +00:00
Joseph Wang
99f94cc0d2
change Makefile.in to compile class outside of R build system so
...
that we get in the -fPIC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-13 14:37:29 +00:00
William S Fulton
50693941c6
Fix #3475492 - iterating through std::vector wrappers of enumerations.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-13 07:10:24 +00:00
Xavier Delacour
005bc89482
Fix OCTAVE_PATH in octave Makefiles (from Karl Wette)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:08:14 +00:00
Xavier Delacour
6cd79f4320
Use -globals . to load global variables in module namespace (from Karl Wette)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:07:16 +00:00
William S Fulton
7c58a044d2
Add support for negative steps in Python slices on the STL containers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-24 23:41:40 +00:00
William S Fulton
6ee6278bc5
Add runtime testcase for python slicing
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-24 20:38:50 +00:00
David Nadlinger
4e61e0bb76
[D] Fixed possible output ordering issue in test case.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-23 21:59:34 +00:00
David Nadlinger
17a7ba0403
[D] Exception and Error have become blessed names; removed d_exception_name test case.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-23 21:59:20 +00:00
David Nadlinger
8fa4d20ec3
[D] Correctly annotate function pointers with C linkage.
...
Minor cleanups as well.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-23 21:59:00 +00:00
William S Fulton
1b47ddf8f0
Add support for slicing steps to Python STL wrappers (positive step only atm - these work the same as other Python sequences such as list)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-20 21:14:03 +00:00
William S Fulton
459e083b3d
Fix forward class declaration in a class when used as a base
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-17 07:06:22 +00:00
William S Fulton
0f1e483af7
Workaround for C# nameclash to fix error CS0082 in testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-07 22:55:07 +00:00
William S Fulton
11185e66b1
Add support for %nspace when using directors - C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-07 22:09:28 +00:00
William S Fulton
debd5e9246
Add support for %nspace when using directors - Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-06 18:57:25 +00:00
William S Fulton
cd51908860
Use public visibility for pointer constructor and getCPtr() when using nspace fixes and docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-23 20:05:00 +00:00
William S Fulton
5ef2affe53
Use public visibility for pointer constructor and getCPtr() when using nspace fixes and docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-23 20:03:09 +00:00
William S Fulton
0770ea75f4
Remove a warning when building in C# project files when they are converted for use by Visual Studio 2010
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-22 21:52:37 +00:00
William S Fulton
f29193e5a7
Use svn:eol-style CRLF for Visual Studio project files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-22 21:48:33 +00:00
William S Fulton
a5f8ffba91
Remove warning: 'self' is a ruby keyword, renaming to 'C_self' since improving autodoc for Ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-21 22:01:27 +00:00
William S Fulton
b50e6858ac
keyword variable workaround in testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-21 07:18:45 +00:00
William S Fulton
468ca084fc
Correct special variables in 'directorargout' typemap. This change will break any 'directorargout' typemaps you may have written. Please change: to and to \n Also fix the named 'directorargout' DIRECTOROUT typemaps for these languages which didn't previously compile and add in , etc expansion.\n [C#, Go, Java, D] Add support for the 'directorargout' typemap.\n [Java] Add (char *STRING, size_t LENGTH) director typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-20 20:50:36 +00:00
William S Fulton
6d40bb0db8
Add Android examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-10 14:54:31 +00:00
Olly Betts
1d1e8650a3
Remove old copies of Perl Test::Builder and Test::More - these have been
...
included with Perl since 5.6.0.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-08 05:59:37 +00:00
Olly Betts
07c97f8742
Fix comment typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 21:49:44 +00:00
David Nadlinger
e2b2f26bf6
[D] Use stdc.config.c_long/c_ulong to represent C long types.
...
Previously, C's long/ulong types would always be mapped to 32 bit integers in D, which is wrong on D_LP64, but was not really a problem in practice since DMD used to be 32 bit only.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:48:01 +00:00
David Nadlinger
5e5d1e2775
[D] Test case fix: IntVector holds ints, not size_t.
...
Also changed for() to foreach() for better style.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:47:39 +00:00
David Nadlinger
3d82a7a185
[D] Test case fix: Aliases now required for non-overridden base class overloads.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:47:26 +00:00
David Nadlinger
388484bb77
[D] Improved allprotected test case error messages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:47:12 +00:00
David Nadlinger
3da8d17ca8
[D] Do not default to 32 bit glue code for DMD anymore.
...
DMD now has x86_64 support on Linux, OS X and BSD.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:46:58 +00:00
Olly Betts
91888c01ec
Fix comment typo in William's recent change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-29 05:20:45 +00:00
William S Fulton
6d922f2ddd
Fix #3433541 %typemap(in, numinputs=0) with 10+ arguments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-28 19:35:44 +00:00
William S Fulton
bb3528c480
Expand special variables in typemap warnings - rework implementation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-03 20:31:35 +00:00
William S Fulton
3c1ca906ac
Expand special variables in typemap warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-03 19:41:09 +00:00
William S Fulton
0463a49df5
Fix named output typemaps not being used when the symbol uses a qualifier and contains a number
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-01 23:06:53 +00:00
William S Fulton
d1dc016b68
Fix test case so it doesn't clash with the real size_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-25 06:53:07 +00:00
William S Fulton
fbd6d780b7
Remove unnecessary Identifier redefined warning when a using statement redefines a symbol. Behaviour is now like a duplicate typedef of the same symbol.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-14 23:37:16 +00:00
Xavier Delacour
f8774be92d
Allow Octave modules to be re-loaded after a "clear all" (thanks to Karl Wette; SF 3418908)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-13 23:48:28 +00:00
William S Fulton
fa8915ef5f
Fix regression introduced in swig-2.0.1 (r12157) leading to uncompilable code when using typedef and function pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-19 20:54:39 +00:00
William S Fulton
2aeed2fd48
Add missing intrusive_ptr csvarout typemaps for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 22:35:14 +00:00
William S Fulton
4c6f66577a
Add warnings for badly named destructors. Fix %extend and destructors for templates - they weren't always being wrapped. Fix destructor "name" attribute.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 06:15:29 +00:00
Robert Stone
7d359b7895
Fix for SF bug #1481958 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-11 01:04:29 +00:00
William S Fulton
a141af9574
Fix regression introduced in r12784 where SWIG accepts a non standard constructor and destructor name in %extend, where the typedef name is used as the constructor/destructor name.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-08 18:19:45 +00:00
William S Fulton
2fd6b5367d
Fix %extend on typedef classes in a namespace using the typedef name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-08 18:18:33 +00:00