Commit graph

357 commits

Author SHA1 Message Date
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
William S Fulton
34a035e3f1 template ext mode on for all languages, not just Python now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
William S Fulton
cea876777c New function for creating a parameter including the file and line information needed for correctly displaying warnings in typemaps (to show relevant file and line)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:34:34 +00:00
William S Fulton
bf0ae5ee50 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-28 19:43:55 +00:00
William S Fulton
71b3366e0a remove casts for enums - not necessary now that the enum type is used instead of integers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-28 19:38:37 +00:00
Marcelo Matus
9cd959309c fix enum cast in C
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 21:39:25 +00:00
Marcelo Matus
ec3f19d3fd add more missing Deletes, and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 23:25:04 +00:00
Marcelo Matus
9be29fc04b fix ansi warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:53:04 +00:00
Marcelo Matus
27b36e0ed5 fix template + namespace => infinite loop (see template_matrix.i), reported by Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 23:32:51 +00:00
Marcelo Matus
b4edea6fa9 fix several memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:39:46 +00:00
Marcelo Matus
310bff2e1b get rid of static buffers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:36:26 +00:00
Marcelo Matus
32783162e0 fix several memory leaks and add static keys like 'k_name'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:34:44 +00:00
William S Fulton
567d67fbe9 Warning fix for Intel compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 15:46:04 +00:00
Marcelo Matus
42381e5888 following Bill's labels patch, we add swiglabels.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:12 +00:00
Marcelo Matus
7cb76a14f4 add Deletes where needed, to reduce memory use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 08:48:22 +00:00
John Lenz
ef58056ffd Add support for the -external-runtime argument and update all language modules to use it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
4d0e968154 const warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:28:43 +00:00
William S Fulton
faac32387d revert to original typemap matching rules for now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:27:09 +00:00
William S Fulton
04d96a8f14 Fix for typemap matching rules when wrapping variables for languages that wrap them via getter/setter functions (C# and Java)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:26:04 +00:00
John Lenz
f6964f285f - Improve the runtime type sytesm
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00