Commit graph

884 commits

Author SHA1 Message Date
Marcelo Matus
6c6d16529e 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@8682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 22:56:15 +00:00
Marcelo Matus
8f8673bd2c fix varout typemaps for swigtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:31:19 +00:00
Marcelo Matus
e05f7cfffc add extranative option to keep old copy mode for std containers as the default behavior
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:00:37 +00:00
Marcelo Matus
285aeff366 readd removed \!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 22:46:46 +00:00
Marcelo Matus
dbdcf4462c fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Kevin Ruland
466726083f Fixed problems when overloading C++ member functions.
- only register the wrapper function.
 - fix dispatchFunction() implementation to accomodate this_ptr.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:40:59 +00:00
Marcelo Matus
26afeac0c7 fix Wall/pedantic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:18:50 +00:00
Marcelo Matus
36ab776a61 fix -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
7b2dbbc3ce fix missing static member access methods, discovered with li_std_string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:52:39 +00:00
Marcelo Matus
5e77ca27e0 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:22:13 +00:00
Marcelo Matus
c98cffe7a6 use hidden attr instead of self, is more general
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:42:22 +00:00
Marcelo Matus
a4b8f2cb27 fix/apply naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:29:20 +00:00
Marcelo Matus
d731d23397 check/fix the %delobject feature for member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:21:52 +00:00
Surendra Singhi
76ca56641e Frank Buss's fix for anon enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 14:07:54 +00:00
Marcelo Matus
43a5a07593 Use append instead of printf
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:02:37 +00:00
Marcelo Matus
db51f00b52 add missing goto fail when needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 04:14:57 +00:00
Marcelo Matus
1bb180523b implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:41:48 +00:00
Marcelo Matus
79dc4cb64a implement the naturalvar feature for global vars in java and csharp, implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:39:24 +00:00
Marcelo Matus
d9bd8fff41 implement the naturalvar feature for global vars in java and csharp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:38:00 +00:00
Marcelo Matus
ccee08ce43 implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:36:13 +00:00
Matthias Köppe
35aa28d221 Don't forget to close the "scmstubfile".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 01:42:58 +00:00
Surendra Singhi
c09e55e409 Removed a bug which was not allowing code for unions to be generated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 15:04:24 +00:00
Surendra Singhi
efca43aaa7 Fixed the void* bug. Thanks to Matthias.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 12:40:05 +00:00
Marcelo Matus
d9b9f27ec6 fix template forward + using
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:12 +00:00
Marcelo Matus
88350eb73a fix kwargs + -O and use Swig_name_make for parameter names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:49 +00:00
Marcelo Matus
9f40ef5268 fix detection of public access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 17:31:15 +00:00
Marcelo Matus
db67a26473 fix warning for unused var
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:15:35 +00:00
Marcelo Matus
86b27e6dc7 fix for VC warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:49:43 +00:00
Marcelo Matus
6e0704f335 solve label warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:01:54 +00:00
Marcelo Matus
6cb4870883 fix perl C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:15 +00:00
Marcelo Matus
a40126abe2 fix missing freeargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 07:43:53 +00:00
Marcelo Matus
e1d78b0dec allow to apply freearg ven when no in typemap is in place when numimputs=0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:01:11 +00:00
Charlie Savage
723d385e36 Added support for Ruby bang methods. Bang methods end in exclamation points and indicate that the object being worked on will be modified in-place as opposed to being copied.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:25:48 +00:00
Charlie Savage
2d8f0d1d06 Changed spelling mistake in autorename command line option text, also changed text a bit to be more descriptive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:31:20 +00:00
Marcelo Matus
85e3bb1e86 fix extend constructor + default destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:09 +00:00
Marcelo Matus
1813eec6ed add the -autorename/-noautorename option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:22:32 +00:00
Matthias Köppe
117037584f Don't use catch...throw in C mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:26:56 +00:00
Charlie Savage
62cb2b8e90 Moved constant renames from the c++ code to ruby.swg to reuse the new %rename functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:51:49 +00:00
Marcelo Matus
0b345e8546 add the -dump_parse_top and -dump_parse_modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 17:19:02 +00:00
Mark Gossage
10f0f87e57 updated CHANGES.current & small fix to lua.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 07:22:46 +00:00
Surendra Singhi
5f637015c2 Fixed a struct related bug. Reported by Frank Buss and Kilian.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 05:42:24 +00:00
Marcelo Matus
a9e1d15913 finally, fix the croak/Nullch issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 15:56:57 +00:00
Marcelo Matus
8f10a5ba9d clarify in the code what is the catch list and the throw list, which don't have to be the same, and don't modify the throws attribute since it should be inmutable (for xml and others)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 01:34:06 +00:00
William S Fulton
4199849c63 Fix to compile under visual studio which has a limit on string lengths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:58 +00:00
William S Fulton
8bf04dad3f Visual Studio warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:22 +00:00
William S Fulton
ed8dc5198f warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:19:30 +00:00
Marcelo Matus
bc39db5341 change the %catchs name to %catches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:17:15 +00:00
Charlie Savage
c2399a7aa2 Updated Ruby Exception handling. Classes that are specified in throws clauses, or are marked as %exceptionclass, are now inherited from rb_eRuntimeError. This allows instances of these classes to be returned to Ruby as exceptions. Thus if a C++ method throws an instance of MyException, the calling Ruby method will get back a MyException object. To see an example, look at ruby/examples/exception_class.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 19:19:19 +00:00
Marcelo Matus
043e45ca47 rename %throws to %catchs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 18:47:51 +00:00
Marcelo Matus
5c5584ab40 better support for the %throws directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 17:19:22 +00:00