William S Fulton
fe042d2ebc
Replace cvs $Header$ with svn $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
Olly Betts
c1b5afa09b
Remove bogus unused parameter from Printf call.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-23 15:15:24 +00:00
John Lenz
fb51964d01
Fix a bunch of minor bugs found by Coverity scanner
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 02:55:27 +00:00
Olly Betts
097ad60911
Re-add missing \n to deprecation warning for -feature, which got reverted
...
somehow.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 01:11:10 +00:00
Olly Betts
baf892ed8f
Fix unused parameters passed to Printf().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 01:08:53 +00:00
Gonzalo Garramuno
cc123a7d6d
Changed -init_name to -initname per William's
...
request.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 01:03:31 +00:00
Olly Betts
cecb0ff03b
Add missing \n to deprecation warning for -feature, and fix terminology
...
"option" not "directive".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 18:09:39 +00:00
Gonzalo Garramuno
6acae8cb76
Applied Olly's patch for protoTypes, which could
...
previously segfault due to a wrong Printf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 10:27:02 +00:00
Gonzalo Garramuno
4cd98d3865
Improved algorithm of renaming of methods with numbers at the end.
...
Fixed some const issues.
Improved report on overloaded function error.
Fixed some minor iterator potential problems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-04 13:12:31 +00:00
Gonzalo Garramuno
e90e28acfc
Removed some bloat from repeated autodoc comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-04 00:37:08 +00:00
Gonzalo Garramuno
86258412fb
Overloaded parameters printed for static functions
...
was incorrect. Fixed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 22:55:38 +00:00
Gonzalo Garramuno
8e630bd57d
Refactored the overloaded method error into
...
a simple auxiliary function in a .swg file.
This makes the resulting .cxx files a little
bit less bloated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 22:45:13 +00:00
Gonzalo Garramuno
f6f61e8328
Changed name of variable msg to swigMsg to avoid
...
potential name conflicts.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 22:20:13 +00:00
Gonzalo Garramuno
0e4b239b3e
Fixed a minor issue in the test-suite regarding
...
trying to compile overloaded functions under C.
Fixed refcount test crashing due to autodoc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 22:08:32 +00:00
Gonzalo Garramuno
3d51df15be
Improved overload method mismatch error with
...
printing of all available prototypes. Similar
to a patch to python recently.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 21:01:19 +00:00
Gonzalo Garramuno
95a3ecf285
Made rdoc documentation spit the full name of
...
class/methods to avoid name clashes.
rdoc, unfortunately, needs patching to recognize
this properly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 10:48:17 +00:00
Gonzalo Garramuno
7d570676f5
Better autodocs.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 09:56:28 +00:00
Gonzalo Garramuno
fe6df177db
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 06:07:08 +00:00
Gonzalo Garramuno
ccf65a1e56
Added support for inheritance in class description,
...
even if not recognized by rdoc yet.
Added autodoc flag to Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 00:18:15 +00:00
Gonzalo Garramuno
c6ece2bb93
Made autodoc ignore numinputs=0.
...
Added more typemap(doc) for documenting STL
and standard ruby methods.
Added missing RUBY_SELF typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 22:09:06 +00:00
Gonzalo Garramuno
d3945a4d40
Improved autodoc documentation for standard ruby methods
...
and for STL containers, using %feature instead of
hard-coding the stuff in ruby.cxx.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 20:37:21 +00:00
Gonzalo Garramuno
75f1af27a5
Improvements to ruby's autodocumentation.
...
GC.start was failing when ruby was run without verbose warnings. Fixed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 19:39:53 +00:00
Gonzalo Garramuno
ec4daa8b0e
Improved rdoc generation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 13:32:18 +00:00
Gonzalo Garramuno
594483bbda
STL stream support for Ruby.
...
docstring and autodoc support for Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 10:00:26 +00:00
Gonzalo Garramuno
1b349d4749
Fixed a bug with argout values being incorrectly
...
returned when the first argout/returned element
was an array.
Made std::pair and container returned elements be
frozen (like tuples in python).
Added the std_containers.i test from python and
created a ruby runme file for it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-01 22:40:55 +00:00
Gonzalo Garramuno
806d9040c5
Updated CHANGES.current.
...
Fixed problems with insert() and unshift() functions in std::vector for ruby.
Updated Ruby documentation.
Improved swig_assert.rb.
Added "second" singleton to std_pair in ruby.
Modified two tests to follow the new STL stuff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-30 09:45:10 +00:00
Gonzalo Garramuno
8931224836
Fixed incorrect outputing of free_* functions
...
when user had defined a new free function with
%freefunc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 19:44:23 +00:00
Gonzalo Garramuno
15393d5ead
Updated "asvoid" to become "numoutputs" as documented.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 08:59:32 +00:00
Gonzalo Garramuno
4b8d11d0e2
Fixed ruby's newobject1 and newobject2 demos.
...
Added swig_assert.rb and started using it in some tests.
Added my patches to ruby.cxx, rubyrun.swg, rubystrings.swg
and rubytracking.swg [see: sourceforge]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-28 04:20:28 +00:00
William S Fulton
5cd992dade
%extend for static member varibles work in progress ... more consistent code across different language modules and memory leak fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:12:25 +00:00
William S Fulton
8c2b66a11d
Fix director operator pointer casts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-09 22:32:28 +00:00
William S Fulton
aa04c4c057
beautify/format source code with gnu indent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
William S Fulton
7d7a9a387e
%ignore and virtual director methods fix - problem reported by Roy Sutton
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-21 23:40:28 +00:00
William S Fulton
37a08a2b03
remove unused variable in generated director code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:49:44 +00:00
Mark Gossage
eedf0d5469
Removed #include <string> & <iostream> which stopped compilation under mingw
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-18 02:37:48 +00:00
William S Fulton
aa47311a53
Fix #1505594 director objects not returned as director objects in %extend methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 19:42:21 +00:00
William S Fulton
be89441352
Fix virtual conversion operators for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:08 +00:00
William S Fulton
8d333d90f0
director error message fixes to correctly generate templated class names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:01:31 +00:00
William S Fulton
1abf0e32a6
Fix uncompileable code when overloaded methods are used with the director:except feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:52:15 +00:00
William S Fulton
95958855cf
More %ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 21:24:44 +00:00
William S Fulton
0919c0de1e
Remove debug. Fix #1505591 Throwing exceptions in extended directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:46:42 +00:00
Olly Betts
0d678283ad
Replace "::" with "__" in the module name when using it for a C macro.
...
Fixes bug #1528354 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 22:10:03 +00:00
Olly Betts
7ae5628087
Only change _get and _set at the end of the method name (fixes bug #1545078 )
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 17:12:14 +00:00
William S Fulton
f0d1d772fa
- explicitcall feature removed.
...
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:55:24 +00:00
William S Fulton
d9d1a7d5c4
ensure $symname is suitably expanded
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 21:26:10 +00:00
Olly Betts
810e52803e
Fix warning from Intel C++ v9.0 on generated header file:
...
ruby/foo_wrap.h(14): warning #64 : declaration does not declare anything
class Swig::Director;
^
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 20:01:49 +00:00
William S Fulton
7f74b8e7a3
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Marcelo Matus
3d6ad6e78d
fix for directors, now the test-suite runs again using -directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:20:09 +00:00
Marcelo Matus
403e9ebc9e
fix unused 'fail:' label warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:08:56 +00:00
Marcelo Matus
41beef4aba
add fail: label for the get methods always, just in case someone write a 'varout' typemap that need it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 22:56:15 +00:00