Commit graph

1,634 commits

Author SHA1 Message Date
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
John Lenz
b3eb733c32 Improvements to the chicken module: tinyclos works with overloaded methods and some other changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 06:33:16 +00:00
William S Fulton
fe1562b5d9 oops, resurrected warning 470, but with a slightly better name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 21:49:49 +00:00
William S Fulton
15cd05107b director warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:54:44 +00:00
William S Fulton
e683b3c7f7 directorout typemaps added (patch from Scott Michel)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:53:36 +00:00
William S Fulton
441efdb411 corrected directorout warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:52:53 +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
508fd65f13 fix string cmp old change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-22 09:51:29 +00:00
William S Fulton
c5a6351bff fix %varargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:06:12 +00:00
William S Fulton
99310ae64c warning change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-20 22:11:11 +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
John Lenz
92df04c40b Lots more bug fixes for the chicken module: almost the entire test-sutie now runs
The only tests that are failing are ones that depend on std_vector.i and similar


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 07:28:19 +00:00
Marcelo Matus
40d483208a adding -notemplatereduce option + docs for -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 06:02:29 +00:00
John Lenz
3c8513346d Fix a few more chicken bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-16 06:51:03 +00:00
John Lenz
99db8b33b2 Fix a few bugs in the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 23:02:58 +00:00
William S Fulton
47e471fc7e Modifications to the typemaps giving users fine control over memory ownership and lifetime of director classes. Patch from Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:31:31 +00:00
John Lenz
827fa350ab Add garbage collection support to the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:15:47 +00:00
Marcelo Matus
d75313afe0 add more missing Deletes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 23:32:31 +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
bdf5a07d91 fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-11 08:44:06 +00:00
Marcelo Matus
fd947483fa fix seg fault when using bad runtime file, such as a dir
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-11 08:42:16 +00:00
William S Fulton
5fdad83539 Fix for Perl incorrectly taking memory ownership for return types that are typedefs to a struct/class pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 21:55:08 +00:00
Marcelo Matus
b9d62a6563 fix fragments for Type* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:58:55 +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
75b86293fd add better director+exception support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:47:55 +00:00
Marcelo Matus
98695ef366 fix several memory leaks and add template+nested class warning, but disable it since it generates 4 extra shift/reduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:41:02 +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
1ab25e9512 add more details for director when __init__ is not call
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-05 00:09:07 +00:00
Marcelo Matus
09636e03f4 adding missing virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-02 17:51:58 +00:00
Marcelo Matus
006097c0a9 fix more VC7.1 warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:51 +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
William S Fulton
c7198b8192 Fix broken build when using Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 22:31:59 +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
Marcelo Matus
cc21f3219a finishing change from 'static' to 'SWIGINTERN'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 07:40:41 +00:00
Marcelo Matus
1a129db676 add robust -nortti implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 07:18:42 +00:00
Marcelo Matus
58db22803e add -nortti option in python, to avoid using RTTI, mainly with directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 00:47:10 +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
Marcelo Matus
327dbabf19 fix %template + private SF#1099976
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 02:10:14 +00:00
William S Fulton
d02743af6d Memory leak fix in some of the scripting language modules when using default arguments in constructors. The scripting language was not taking ownership of the C++ object memory when any of the constructors that use default arguments was called.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:19:16 +00:00
William S Fulton
2906fc959e swig -help prints to stdout not stderr now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:04:10 +00:00
William S Fulton
e0b0628804 swig -version prints to stdout not stderr now (won't affect the autoconf macro version detection)
swig -help prints to stdout not stderr now


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:02:44 +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
William S Fulton
5f49d9db1a Code using SWIG_exception macro will now correctly return immediately back to managed code.
When wrapping member variables, the PInvoke code is emitted before the C# code - fixes subtle bugs in typemap matching rules.
More fixes to ensure typemap matching rules work for member variable and global variable properties.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:57:15 +00:00