Commit graph

13,598 commits

Author SHA1 Message Date
William S Fulton
f74c2b9ede Add in Octave and R sections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-02 22:13:14 +00:00
Xavier Delacour
2ded60495f Implement OCTAVE::runtimeCode, wrap some parts of runtime in anonymous namespace, put Director rtdir map into module clientdata.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-02 15:35:49 +00:00
Xavier Delacour
393391965c Initial commit of Octave module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-01 23:35:44 +00:00
William S Fulton
50b1578e19 update note about wchar_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-01 16:46:51 +00:00
William S Fulton
30c4214ece Fix #1904537 Swig causes a Perl warning 'x used only once' in Perl 5.10 reported by Ari Jolma
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-29 23:42:52 +00:00
William S Fulton
1a560e3866 global variables test and shared_ptr varin/varout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-29 23:23:35 +00:00
William S Fulton
03ac417e7f simpler error display for method names using new Swig_name_decl()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-28 23:14:07 +00:00
William S Fulton
63fb043af3 bump version number
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-28 23:12:16 +00:00
William S Fulton
a9566a3368 minor correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 21:38:10 +00:00
William S Fulton
e72ab83d42 Remove ancient text about version 1.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 21:36:35 +00:00
William S Fulton
11f41c2482 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10275 626c5289-ae23-0410-ae9c-e8d60b6d4f22 2008-02-27 20:28:17 +00:00
William S Fulton
d995ec534b fixes for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 20:22:09 +00:00
William S Fulton
0c55b8dad8 vc++ fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 18:18:03 +00:00
William S Fulton
2e342337c0 windows fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 18:12:18 +00:00
William S Fulton
7f0f0e8f44 readying 1.3.34
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 15:35:20 +00:00
William S Fulton
2bef4d6b0c Set wrap:name for variables for use in special variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 15:29:55 +00:00
William S Fulton
9c5610a8e9 R function pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 13:09:52 +00:00
William S Fulton
69e6f39cfd test more global function pointer variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 13:07:26 +00:00
William S Fulton
c0e0bf2a26 Improve wrapping of global function pointer variables for R - note that use of SWIG_exception_fail does not work as the in typemaps are being used for return types and really something like directorin/directorout typemaps are required
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 13:06:46 +00:00
William S Fulton
f858eca260 Add some generic function pointer support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 13:01:17 +00:00
William S Fulton
b67e0a28a3 Fixes for $wrapname to work in %exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-25 22:07:28 +00:00
William S Fulton
69771aa3aa remove unnecessary status message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-25 22:06:29 +00:00
William S Fulton
e6d6ee5681 document special variables for %exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-25 22:04:54 +00:00
William S Fulton
f0a4145cb3 Add shared_ptr test to regular test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 23:07:30 +00:00
William S Fulton
3d2f9af64d minor comment mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 22:54:27 +00:00
William S Fulton
9b7042280c Add member variable support for shared_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 22:53:11 +00:00
Joseph Wang
731180ac3e Add item about fix to R 2.6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 05:04:53 +00:00
Olly Betts
f787f5bfba Fix year in dates of recent changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 00:30:06 +00:00
William S Fulton
8b7ec50ab9 Fix test for the extra whitespace in template parameter lists
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 23:59:01 +00:00
William S Fulton
4d58a827d1 Add support function for displaying the declaration of a methods. Add special variables for use in %exception: $wrapname $overname $decl $fulldecl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 23:48:37 +00:00
William S Fulton
61cc1dd334 Add support function for displaying the declaration of a methods. Add special variables for use in \%exception:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 23:43:34 +00:00
William S Fulton
2cb828dbf8 Beautify the output a bit - always put spaces around a template type list, eg Foo< abc >, was Foo<abc >.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 23:25:37 +00:00
William S Fulton
f7deb81de1 Fix C compilation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 23:18:39 +00:00
William S Fulton
a025af2d2e Remove some unnecessary casts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 23:12:09 +00:00
William S Fulton
444f643c4e Add shared_ptr typecheck typemaps for Python and add overloaded method tests for shared_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 23:10:58 +00:00
William S Fulton
9029bae5e0 Move funcptr.i from being an R only test to a test for all languages. Modify the test to test function pointers with no arguments, which is a problem for R.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 22:41:34 +00:00
William S Fulton
14d23e5a59 Alter SwigType_parmlist to return an empty list if there are no parameters, rather than a list of one empty type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 22:38:43 +00:00
Joseph Wang
1094fcda7b Fix memory overflow. Need to allocate one extra byte for the null
termination for the string


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-12 06:53:35 +00:00
Joseph Wang
9dde51fcf3 Set S4 flag which should fix the problem in R 2.6 that some S4 methods
are not working.

Remove 2.6 warning


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-12 06:16:20 +00:00
Mark Gossage
9441b672cd [Lua] Added a patch by Torsten Landschoff to fix the unary minus issue
Ran 'astyle --style=kr -2' across lua.cxx to neaten it up

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-11 03:11:18 +00:00
William S Fulton
cf8ecb3d8e add some more info about the runtime api change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 21:50:10 +00:00
William S Fulton
c6d76a5965 Bump SWIG_RUNTIME_VERSION due to change in the conversion functions, ie change in definition of swig_converter_func
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 21:44:18 +00:00
William S Fulton
c62cb6180e always pass in non-null value for newmemory parameter in the casting function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 21:34:56 +00:00
William S Fulton
e9dc2e8dc9 Fix test since #1798728 was backed out
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 20:47:49 +00:00
William S Fulton
1dc594f292 remove multiple inheritance warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 20:37:30 +00:00
William S Fulton
a91e4906b5 Add newmemory parameter for SWIG_TypeCast
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 00:35:11 +00:00
William S Fulton
c47f473b3c fix code comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-09 12:39:29 +00:00
William S Fulton
fa03e21139 fix merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-09 12:27:22 +00:00
William S Fulton
3d1356dead Complete the Python support for shared_ptr mainly for derived classes. This includes the smartptr feature for overriding the class registration function and shared_ptr typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-09 12:26:21 +00:00
William S Fulton
f39242fa92 Complete the Python support for shared_ptr mainly for derived classes. This includes the smartptr feature for overriding the class registration function and shared_ptr typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-09 12:25:41 +00:00