Commit graph

1,935 commits

Author SHA1 Message Date
Marcelo Matus
f772fe7752 add -fastproxy and keep 'def' methods in class definitions for back. comp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 10:20:48 +00:00
Marcelo Matus
01893da18e fixes for %templates/%rename/%features + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 20:25:43 +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
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
e70d0e09af better error message for #error exit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:37:55 +00:00
William S Fulton
72f6688a6b gcc-2.96 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:13:07 +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
a9ec1b6092 better fix for seg. fault in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 07:35:02 +00:00
Marcelo Matus
2bbbdcccf2 fix missing line/file name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 07:33:28 +00:00
Marcelo Matus
66bee27235 fix seg fault in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 00:00:39 +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
Charlie Savage
7d6632b050 Reimplemented Swig_string_ucase(String *s) to take into account digits in names.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 09:02:11 +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
Marcelo Matus
3c65c5cee3 fix seg fault with undefined templatee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 17:18:31 +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
36b16faeab fix unapplied 'novaluewrapper' feature and add directive forms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 23:32:51 +00:00
Marcelo Matus
486d21f75e fix unapplied 'novaluewrapper' feature and add directive forms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 23:18:08 +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
d8396a84c9 don't add forward class to the classes hash. We needed this before for naturalvar, but is not needed anymore. Now produce seg faults when a forward class statement is found after a class declaration. Reported by Evan Weis
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 20:18:38 +00:00
Matthias Köppe
d41b4531dc New string encoding method, "schemify".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:07:00 +00:00
Matthias Köppe
ac981a9843 Add k_copy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:04:08 +00:00
Matthias Köppe
6f8fc89de1 (Swig_name_copyconstructor): Use "copy" naming scheme, not "construct".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:03:45 +00:00
Marcelo Matus
3fe6f9717e fix ignored '%template(Foo)' after '%ignore Foo'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 17:03:08 +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
51becdbe09 add forward class to the classhash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:40:47 +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
William S Fulton
0b88adaf9d Make default #error behaviour as expected instead of like #warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 21:33:15 +00:00
Marcelo Matus
7fafd1b991 fix assert when deleting last_path, not needed anymore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 20:58:19 +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
e236ab4584 fix several compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 22:58: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