William S Fulton
c1bcd0a4f2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 21:27:35 +00:00
William S Fulton
518ac1b415
suppress warning for Lua
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 21:22:38 +00:00
William S Fulton
f1cabd08a2
fix stack overflow when using typemap warning suppression, eg %warnfilter(SWIGWARN_TYPEMAP_CHARLEAK_MSG)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 21:21:29 +00:00
John Lenz
4d10d60d7c
Add SWIG_TYPE_TABLE and SWIG_RUNTIME_VERSION to the octave module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 20:58:43 +00:00
William S Fulton
4b88b00600
add missing header
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 20:01:46 +00:00
Xavier Delacour
8317d87031
Use DOH rather than standard containers for texinfo docs support.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 01:15:51 +00:00
William S Fulton
b89d50d52c
add missing header
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 23:17:05 +00:00
William S Fulton
7f5e24cacb
python warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 22:12:07 +00:00
William S Fulton
ec4491556f
workaround for Perl5 on OSX including math.h somewhere
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 21:04:11 +00:00
William S Fulton
5d8d045c1f
fix #1934695 Getattr(n, wrap:name) assertion
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:53:23 +00:00
William S Fulton
d51a2f9322
fixes for languages without shared_ptr support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:27:42 +00:00
William S Fulton
a356382aeb
swig warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:24:31 +00:00
William S Fulton
1ec30ff479
remove redundant code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:55:31 +00:00
William S Fulton
3e1799e7da
gcc-4.3 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:38:48 +00:00
William S Fulton
462304094b
warning fixes for most target languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:37:51 +00:00
William S Fulton
843674e12a
gcc-4.3 fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:36:58 +00:00
William S Fulton
69d6ce4f33
Fix shared_ptr typemaps for use with %pythonnondynamic
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-04 23:29:59 +00:00
William S Fulton
a37115f55d
Correct test for global shared_ptr variable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-04 23:26:54 +00:00
Jason Stewart
36e9ba403f
added test which breaks perl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-04 10:30:49 +00:00
Xavier Delacour
05097de0ff
Add support for manual %docstrings, so users can provide texinfo help for wrapped functions.
...
Add some support for autodoc feature, so otherwise undocumented functions at least get prototype.
Fix bug in argument number check.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 13:22:19 +00:00
Jason Stewart
da4c710d60
added post- and pre- increment tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 12:03:04 +00:00
Olly Betts
9ef207297e
[Python] Add %newobject reference to python memory management subsection of manual
...
(patch from mdbeachy in SF#1894610).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:59:26 +00:00
Jason Stewart
ad93f971ca
new operator overload tests to locate bugs in pre- increment/decrement operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:48:41 +00:00
Jason Stewart
128880ea1d
added __rsub__() and test for reversed subtraction operator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:40:20 +00:00
Jason Stewart
8c7d3c7ae3
commented out operators: '=', '&', '|' because they have no tests ; added check for reversed arguments in subtraction
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:31:41 +00:00
Jason Stewart
ccff189174
fixed name typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:27:18 +00:00
Jason Stewart
7c15385e4e
modified to match current perl5.cxx capabilities
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:22:02 +00:00
Jason Stewart
e294f2e158
fixed test-name typo ; add tests for pre- increment/decrement
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:20:37 +00:00
Olly Betts
b85052384c
Remove a pointless cast which drops const and causes a warning with certain GCC
...
warning flag settings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-31 04:52:32 +00:00
William S Fulton
48d37ce4f2
Add some info about debugging
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-28 23:52:35 +00:00
William S Fulton
8c24e2ca74
Fix shared_ptr typemaps where the pointer type is a templated type with with more than one parameter.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-27 20:29:01 +00:00
Mark Gossage
11647d87e8
[lua] Added a typemap DISOWN for SWIGTYPE* and SWIGTYPE[], and support for %delobject feature.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-27 01:58:30 +00:00
William S Fulton
97b910d726
Apply patch #1844301 from Monty Taylor to suppress enum constructor unused warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-26 21:04:59 +00:00
William S Fulton
7c6f8dafa7
Apply patch #1924524 from Casey Raymondson which ensures the 'No constructor defined' message is displayed when attempting to call a constructor on a class that doesn't have a constructor wrapper, eg if the C++ class is abstract.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-26 20:43:45 +00:00
William S Fulton
aa4d91b319
Apply patch #1925702 from Casey Raymondson which removeswarning 512 for std::vector wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-26 20:25:56 +00:00
Olly Betts
b2375fd6e6
[Python] Apply GCC 4.3 warnings patch from Philipp Thomas (SF#1925122).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-26 08:52:57 +00:00
Xavier Delacour
7b1cab1554
varargs fixes.
...
Added passthrough out typemaps for internal Octave types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-24 22:33:55 +00:00
Xavier Delacour
316a2decd7
Differentiate complex and real scalar types.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-23 00:48:49 +00:00
Xavier Delacour
652cf605fa
Some documentation improvements for Octave.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-22 19:54:50 +00:00
William S Fulton
a1100e9964
Thread safety patch for Python STL iterators from Abhinandan Jain
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-21 23:11:24 +00:00
Xavier Delacour
fe15a5a87c
Fix varargs.
...
Allow manual construction of entire result octave_value_list.
Make octrun.swg conform to style conventions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-20 23:23:38 +00:00
William S Fulton
b697a8fc75
operator bool mapping to __nonzero__ as per Josh Cherry suggestion
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-20 22:01:39 +00:00
Xavier Delacour
e314d97f32
Added some support for inline texinfo documentation, and fixed a handful of small items needed to get OpenCV bindings to build.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 18:46:30 +00:00
Mark Gossage
e543cd9040
[lua] added %luacode feature, documentation & examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 08:50:59 +00:00
Olly Betts
39ad0f01f6
Fix nonportable sed usage which failed on Mac OS X (and probably
...
other platforms). Fixes SF#1903612.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 00:54:46 +00:00
Olly Betts
f881f98daf
Fix memory leak in SWIG's parser (based on patch from Russell
...
Bryant in SF#1914023).`
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 00:36:35 +00:00
William S Fulton
6f497c2807
Fix bug #1878285 - unnecessary cast for C struct creation wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-12 22:15:00 +00:00
William S Fulton
77cd446a53
remove debugging info from shared_ptr typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-12 16:48:37 +00:00
Xavier Delacour
cb131bfeb9
Fixed import directive, string access segv bug, SWIG_Octave_{Get,Set}Module bug, and added partial support for boost pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-09 20:21:14 +00:00
Mark Gossage
8350c724f5
[lua] updated docs for exceptions
...
added new examples (exception,embed2)
update typmaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-06 09:44:48 +00:00