Commit graph

376 commits

Author SHA1 Message Date
Marcelo Matus
c26263a2f4 normalize operation, first reduce, then qualify
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:12:15 +00:00
Marcelo Matus
53484556bf fix template + operator()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:10:38 +00:00
Marcelo Matus
1733655950 fix recursive inclusion seg fault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:04:47 +00:00
Marcelo Matus
d4756ad5e3 fix for the switch/case:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:06:54 +00:00
Marcelo Matus
a4d5b788a6 fix %extend(%typemaps + %fragments) before class declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:46:41 +00:00
Marcelo Matus
1f2953ccdd fix old template + many many typedefs error detected in Udo tremel's template_typedef_rec.i example, and deactive TEMPLATE_QUALIFY cache for problems with OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 17:18:00 +00:00
Marcelo Matus
8c5cc36c49 add 'self' attribute for later use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:26:37 +00:00
Marcelo Matus
fdf4d72b4b fix for templates to avoid using the templatereduce mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:25:28 +00:00
Marcelo Matus
1eeb4ca322 fixes for 'typedef unsigned long size_t'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:38:09 +00:00
Marcelo Matus
34e0da0d4d more memory leaks fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:16:57 +00:00
Marcelo Matus
7703b99b53 add template type cache
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:15:44 +00:00
Marcelo Matus
9d5fd23f88 more memory leaks...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 00:36:28 +00:00
Marcelo Matus
391941907d add Swig_scopename_split
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 00:07:07 +00:00
Marcelo Matus
b66f1e672b fix many/many memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
3413b92e7a remove many memory leaks and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
cf1585fef7 add NewStringEmpty, use more StringEuqual and less Strcmp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:32:56 +00:00
Marcelo Matus
0a78185d8a use direct methods for string, hash and avoid Strstr/Strnstr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 02:44:12 +00:00
Marcelo Matus
c56a36cf7f add direct HashCheckAttr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 09:58:26 +00:00
Marcelo Matus
460734844b several clean/speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:58:24 +00:00
Marcelo Matus
4267a26ecd fix for perl + multiple modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:10 +00:00
William S Fulton
bfd28d78d0 fix and make publicly available the upper case and lower case conversion functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:59:01 +00:00
Marcelo Matus
a7606e024c add owndata field to swig_type_info, so clientdata can be properly delete if needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:53:30 +00:00
Marcelo Matus
f159d6e43f fix name_set extra mangling that confuses chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:43:30 +00:00
Marcelo Matus
b2f38e08d9 make all the suffix/prefix operations aware of operators, as in 'Foo::operator ns2::Bar()', where the prefix is 'Foo'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:25:18 +00:00
Marcelo Matus
f4b6ffd561 fix extra mangling that confuses chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:22:42 +00:00
Marcelo Matus
da9836402b fix problem with operator < + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 16:45:20 +00:00
Marcelo Matus
efe4250b18 all the SwigType_add/delete methods now return the pointer of the modified type, so, we can reduce temporal variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:37:51 +00:00
Marcelo Matus
2cbcd0abc6 manage the labels as fail:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:36:01 +00:00
Marcelo Matus
0c33167c26 disown the 'self' pointer when deleting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:35:14 +00:00
Marcelo Matus
028f1e492d uniform the name_get/name_set names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:18:43 +00:00
Marcelo Matus
cc9f9be00f small cosmetic change to manage parentesis () closed in different lines, and make compact mode more compact
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 12:18:31 +00:00
Marcelo Matus
eb4f07711e fix seg fault with simple typedef struct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-14 13:36:12 +00:00
Marcelo Matus
09e6c0071b add proper default rule for function ptrs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:26:50 +00:00
Marcelo Matus
67f1d7c41d add more support for wchar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:23:20 +00:00
Marcelo Matus
1cf0373523 fixes for new flag attribute convention in ref/unref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:21:30 +00:00
William S Fulton
d801875576 Modify following features to work as flags, so that they can be truely set and unset: novaluewrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:36:09 +00:00
William S Fulton
4b582b54f1 typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:34:40 +00:00
William S Fulton
37a6cc366a Modify following features to work as flags, so that they can be truely set and unset: nounref, noref, noattr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:34:10 +00:00
William S Fulton
019cbb567a Modify following features to work as flags, so that they can be truely set and unset:
nodefault


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:05:50 +00:00
William S Fulton
beebb0a8e1 Modify following features to work as flags, so that they can be truely set and unset:
java:const
            java:downcast
            compactdefaultargs
            ignore
            valuewrapper


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
William S Fulton
a0cb4442d7 warning/error fixes for Visual Studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-28 20:58:41 +00:00
Marcelo Matus
d61a776308 avoid swig_types of length 0, and allow to iterate over the array, for Lua mainly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 23:25:03 +00:00
William S Fulton
f94e5e4870 function comments added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:37:56 +00:00
Marcelo Matus
7de3e1e5e7 fix for #1247477, sorting tables properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-30 17:36:14 +00:00
Marcelo Matus
a8054943ef fix for #1247477, sorting tables properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-30 17:23:10 +00:00
Marcelo Matus
f906b4d5e7 fix sorting problem with template types, strcmp can't be used directly with the DOH_String type. Use Cmp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 07:06:10 +00:00
Marcelo Matus
980eb368af fix infinity loop #1209289
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 00:46:10 +00:00
Marcelo Matus
986753951c fix error 1221362
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 00:22:12 +00:00
Marcelo Matus
0d0e42a440 cosmetic fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-13 16:45:50 +00:00
William S Fulton
a4729b150d function comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:41:21 +00:00