Commit graph

888 commits

Author SHA1 Message Date
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
c9ce8fcf52 fix unused variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:07:16 +00:00
William S Fulton
d5f8b761fd Give copy constructor parameter a more appropriate name. Also there is no need to mangle it, the name appears in the proxy classes in java/c#, so better that it is nicely named.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:59:45 +00:00
Marcelo Matus
888d6e947a add missing check for noargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 09:08:27 +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
Marcelo Matus
2396ded0f4 fix varout typemaps for swigtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:31:19 +00:00
Marcelo Matus
d311988106 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/SWIG@8673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:00:37 +00:00
Marcelo Matus
3aec3913d8 readd removed \!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 22:46:46 +00:00
Marcelo Matus
0f7b502a3b fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Kevin Ruland
8a156f523a 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/SWIG@8661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:40:59 +00:00
Marcelo Matus
15fff92a74 fix Wall/pedantic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:18:50 +00:00
Marcelo Matus
0d6baa85ef fix -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
f8407dd07b fix missing static member access methods, discovered with li_std_string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:52:39 +00:00
Marcelo Matus
ba1e3f9ee3 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:22:13 +00:00
Marcelo Matus
506cece240 use hidden attr instead of self, is more general
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:42:22 +00:00
Marcelo Matus
e7191fece9 fix/apply naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:29:20 +00:00
Marcelo Matus
ab03eb18e7 check/fix the %delobject feature for member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:21:52 +00:00
Surendra Singhi
dafc4dbdfc Frank Buss's fix for anon enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 14:07:54 +00:00
Marcelo Matus
2624e7c08b Use append instead of printf
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:02:37 +00:00
Marcelo Matus
c198225f9d add missing goto fail when needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 04:14:57 +00:00
Marcelo Matus
68f61c7c12 implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:41:48 +00:00
Marcelo Matus
ae430d0ea9 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/SWIG@8578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:39:24 +00:00
Marcelo Matus
e8b3542f9a implement the naturalvar feature for global vars in java and csharp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:38:00 +00:00
Marcelo Matus
3b866d286b implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:36:13 +00:00
Matthias Köppe
8a1cb2fcf6 Don't forget to close the "scmstubfile".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 01:42:58 +00:00
Surendra Singhi
853c92edda Removed a bug which was not allowing code for unions to be generated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 15:04:24 +00:00
Surendra Singhi
55211bbf26 Fixed the void* bug. Thanks to Matthias.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 12:40:05 +00:00
Marcelo Matus
654efd7ba5 fix template forward + using
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:12 +00:00
Marcelo Matus
120184f1be fix kwargs + -O and use Swig_name_make for parameter names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:49 +00:00
Marcelo Matus
dba7b6d425 fix detection of public access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 17:31:15 +00:00
Marcelo Matus
c9344a3e06 fix warning for unused var
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:15:35 +00:00
Marcelo Matus
c249ad9291 fix for VC warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:49:43 +00:00
Marcelo Matus
b29252b2b3 solve label warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:01:54 +00:00
Marcelo Matus
9d50efa32e fix perl C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:15 +00:00
Marcelo Matus
56c682d6f9 fix missing freeargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 07:43:53 +00:00
Marcelo Matus
841b1e15bc 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/SWIG@8461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:01:11 +00:00
Charlie Savage
924a56a1aa 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/SWIG@8441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:25:48 +00:00
Charlie Savage
ce83e5d091 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/SWIG@8439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:31:20 +00:00
Marcelo Matus
290a7da24c fix extend constructor + default destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:09 +00:00
Marcelo Matus
aadfeadad9 add the -autorename/-noautorename option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:22:32 +00:00
Matthias Köppe
bec3b173a3 Don't use catch...throw in C mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:26:56 +00:00
Charlie Savage
f4d48d7bfc 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/SWIG@8404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:51:49 +00:00
Marcelo Matus
16e70de9ae add the -dump_parse_top and -dump_parse_modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 17:19:02 +00:00
Mark Gossage
27da47b56c updated CHANGES.current & small fix to lua.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 07:22:46 +00:00
Surendra Singhi
695b448cd4 Fixed a struct related bug. Reported by Frank Buss and Kilian.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 05:42:24 +00:00
Marcelo Matus
929428bd3f finally, fix the croak/Nullch issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 15:56:57 +00:00
Marcelo Matus
a24b11a8d3 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/SWIG@8368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 01:34:06 +00:00
William S Fulton
8c6ffe1de8 Fix to compile under visual studio which has a limit on string lengths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:58 +00:00
William S Fulton
e3179dca4c Visual Studio warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:22 +00:00
William S Fulton
9369bae9f4 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:19:30 +00:00