Commit graph

341 commits

Author SHA1 Message Date
William S Fulton
98fb466409 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/SWIG@7588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:36:09 +00:00
William S Fulton
1ca5dca583 typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:34:40 +00:00
William S Fulton
dda5e32a18 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/SWIG@7586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:34:10 +00:00
William S Fulton
1fd078512c 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/SWIG@7568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:05:50 +00:00
William S Fulton
4ec01af9dd 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/SWIG@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
William S Fulton
219517adc0 warning/error fixes for Visual Studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-28 20:58:41 +00:00
Marcelo Matus
cc61850448 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/SWIG@7435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 23:25:03 +00:00
William S Fulton
ee4450aaf2 function comments added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:37:56 +00:00
Marcelo Matus
e2ec34d2b0 fix for #1247477, sorting tables properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-30 17:36:14 +00:00
Marcelo Matus
d27f751265 fix for #1247477, sorting tables properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-30 17:23:10 +00:00
Marcelo Matus
6536806412 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/SWIG@7395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 07:06:10 +00:00
Marcelo Matus
92f11f6c3e fix infinity loop #1209289
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 00:46:10 +00:00
Marcelo Matus
34fbd3d9ae fix error 1221362
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 00:22:12 +00:00
Marcelo Matus
c1972a89f7 cosmetic fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-13 16:45:50 +00:00
William S Fulton
326949ffe9 function comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:41:21 +00:00
William S Fulton
ddd9f11c81 template ext mode on for all languages, not just Python now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
William S Fulton
02f89c5610 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/SWIG@7128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:34:34 +00:00
William S Fulton
39d934c23d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-28 19:43:55 +00:00
William S Fulton
8db59f74d1 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/SWIG@7099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-28 19:38:37 +00:00
Marcelo Matus
528c3981be fix enum cast in C
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 21:39:25 +00:00
Marcelo Matus
c7255e230a add more missing Deletes, and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 23:25:04 +00:00
Marcelo Matus
aa98e6f72d fix ansi warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:53:04 +00:00
Marcelo Matus
a275c0a113 fix template + namespace => infinite loop (see template_matrix.i), reported by Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 23:32:51 +00:00
Marcelo Matus
7695ffc594 fix several memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:39:46 +00:00
Marcelo Matus
fbab379cc3 get rid of static buffers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:36:26 +00:00
Marcelo Matus
ce2c0dce05 fix several memory leaks and add static keys like 'k_name'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:34:44 +00:00
William S Fulton
3b47914307 Warning fix for Intel compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 15:46:04 +00:00
Marcelo Matus
b5875c21bb following Bill's labels patch, we add swiglabels.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:12 +00:00
Marcelo Matus
1b7e795c03 add Deletes where needed, to reduce memory use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 08:48:22 +00:00
John Lenz
67b49825cb 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/SWIG@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
3c6559fe47 const warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:28:43 +00:00
William S Fulton
e27dfb8739 revert to original typemap matching rules for now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:27:09 +00:00
William S Fulton
fa08396fbe 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/SWIG@6954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:26:04 +00:00
John Lenz
c3338b1a16 - 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/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
d1f4bec910 more smart pointers + extend fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-04 09:41:05 +00:00
Marcelo Matus
aba193e439 more fixes and cases for smart pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 08:56:27 +00:00
Marcelo Matus
63ecf6ec37 avoid using reference value for static members, since it can generate unresolved symbols for static const
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 07:38:55 +00:00
Marcelo Matus
ba413fd500 more smart_pointer + static methods fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 01:12:07 +00:00
Marcelo Matus
1bcd974a4e fix %ignore *::Bar::foo case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 21:21:58 +00:00
Marcelo Matus
38ddd05b30 fix template_deftype to work with functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 21:16:13 +00:00
Marcelo Matus
5a0f780ba4 fix typemap search, now you can add a typemap like %typemap(out) int *Foo::foo(int bar);
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 23:03:14 +00:00
Marcelo Matus
db783afdc6 fix typemap search, now you can add a typemap like %typemap(out) int *Foo::foo(int bar);
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:54:40 +00:00
Marcelo Matus
7cb488e057 avoid using of temporal value for wrapping type user + const reference argument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-18 05:57:08 +00:00
Marcelo Matus
0ac8253c3f fixes for templates and template default args, cosmetics, and other fixes for OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
Marcelo Matus
6b499410dd more fixes for template + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
1c382fe97b old extra fix for valuewrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-04 08:33:39 +00:00
Marcelo Matus
a94cb015c7 mix patches #748861 and #1041174 for %extend generation code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-04 08:33:03 +00:00
Marcelo Matus
49c6b3f14f add support for smart pointers + %extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 11:29:17 +00:00
Marcelo Matus
9b963f9763 support of typemaps + template + template def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:01:03 +00:00
Marcelo Matus
18b74e0d30 reverting to 1.17, the protected constructor problem is now fixed in lang.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:56:35 +00:00