Vincent Couvert
aef5a8062f
Remove generated files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-10 20:03:22 +00:00
Vincent Couvert
654066529b
Fixes a few C++ test cases: clientdata_prop/imports/mod/multi_import/packageoption/template_typedef_import. Thx to Wolfgang Frisch
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-10 19:56:17 +00:00
Vincent Couvert
eb64659740
Start vector management
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-22 11:10:34 +00:00
Vincent Couvert
dd3db36b1a
Merge from trunk
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-03 14:37:31 +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
William S Fulton
282ab494ab
Further to rev 12393, add missing testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-05 05:39:33 +00:00
Xavier Delacour
2f68aa0a34
Added example of friend operator use to Examples/octave/operator, fixed minor bug that causes a panic in octave 3.0.5. Tested examples work for octave 3.0.5, 3.2.4, and 3.4.0. (thanks to Karl Wette)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-31 20:54:11 +00:00
Xavier Delacour
3372c2ba62
Changes Octave module loading behavior, so that modules can be safely loaded inside functions without first being loaded at the base level. (Basically the module is now always loaded in the base context, and then a local link to the module is created in the current context.) Added an example, module_load, to Examples/octave to test this behaviour in different ways. Tested examples work for octave 3.0.5, 3.2.4, and 3.4.0. (thanks to Karl Wette)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-31 20:50:59 +00:00
William S Fulton
8b9afd0772
Fix %callback which was generating uncompileable code for C# and D
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-26 18:05:50 +00:00
William S Fulton
30206f975c
Fix constructors in named typedef class declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-25 19:27:38 +00:00
William S Fulton
c794d08597
Fix %newobject when used in conjunction with %feature(ref). The code from the ref feature was not always being generated for the function specified by %newobject. Documentation for ref and unref moved from Python to the C++ chapter.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-23 19:29:10 +00:00
Ian Lance Taylor
e82f320510
Run gofmt on hand written Go code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-22 20:04:06 +00:00