Commit graph

3,904 commits

Author SHA1 Message Date
Marcelo Matus
6bb35657f2 fix possible seg fault when reporting bad object type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 21:16:25 +00:00
Marcelo Matus
a25fbd5159 fix seg fault when runtime fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-12 01:11:49 +00:00
Marcelo Matus
af1068e336 fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-11 08:44:06 +00:00
Marcelo Matus
1d566d2cbd fix seg fault when using bad runtime file, such as a dir
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-11 08:42:16 +00:00
William S Fulton
e288b128da *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-09 22:34:07 +00:00
William S Fulton
1b74b48d51 SWIGTYPE out typemap mod to fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-09 22:33:32 +00:00
William S Fulton
772eff2af3 SWIGTYPE out typemap fix - Perl should always take ownership of the memory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-09 22:31:55 +00:00
William S Fulton
b7d94f544a Corrected exception specification terminology
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 22:08:37 +00:00
William S Fulton
ee16fd54e0 Fix undefined behaviour when throwing exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 22:06:53 +00:00
William S Fulton
c9df29c482 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 21:56:11 +00:00
William S Fulton
d9826b509e 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/SWIG@7051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 21:55:08 +00:00
Marcelo Matus
bd3acc66f7 fix fragments for Type* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:58:55 +00:00
Marcelo Matus
ca3c4d97eb add simutry
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:55:29 +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
5885e6ba25 add case of vector + pointer +templates from Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:51:39 +00:00
Marcelo Matus
7796b3bede add more template+namespaces+matrix cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 06:46:15 +00:00
Marcelo Matus
5a8fa59771 add template_matrix.i case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 00:11:39 +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
William S Fulton
1f4194e8d4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 22:09:55 +00:00
William S Fulton
896dba13e9 null checks added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:51:09 +00:00
William S Fulton
abc9d8c97e Fix undefined behaviour when throwing exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7041 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:49:34 +00:00
William S Fulton
3825c088e4 NullReferenceException replaced with ArgumentNullException
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:47:13 +00:00
Marcelo Matus
ee92e3c92a collect info from new and old python changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:03:44 +00:00
Marcelo Matus
ca7159f7e7 add better director+exception support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:47:55 +00:00
Marcelo Matus
9350534385 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/SWIG@7037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:41:02 +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
dd50236717 More error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:19:40 +00:00
William S Fulton
b25916c5f3 Fixes to run on Mono 1.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:17:28 +00:00
William S Fulton
86cac5e73c Mono 1.1 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:15:19 +00:00
William S Fulton
db4ab69bba debug removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:12:25 +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
William S Fulton
0aded2c565 Minor additional comments on exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 15:44:30 +00:00
William S Fulton
6acd7d833d comments on alternative char* typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 15:42:11 +00:00
Marcelo Matus
b2ec22090d fix memory leak reported by Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 06:41:43 +00:00
Marcelo Matus
3c385cb49c better SwigPyObject -> long/hex/oct, no warnings now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-05 02:19:48 +00:00
Marcelo Matus
5394efadec add more details for director when __init__ is not call
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-05 00:09:07 +00:00
Marcelo Matus
e69c547289 fix compare, reported by Cameron Patrick
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-04 18:17:10 +00:00
Marcelo Matus
19613c8909 fix hex pointer conversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-02 17:55:13 +00:00
Marcelo Matus
32d5addaa6 fix hex pointer conversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-02 17:52:34 +00:00
Marcelo Matus
00ea3d5ae8 adding missing virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-02 17:51:58 +00:00
John Lenz
f0f00c8472 Switch mzscheme to use SWIG_TypeCheckStruct instead of SWIG_TypeCheck.
TypeCheckStruct is slightly faster


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-01 19:27:20 +00:00
Marcelo Matus
768d977a82 more warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-01 00:17:37 +00:00
Marcelo Matus
ad5280f2e2 fix VC7.1 compilation problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-01 00:00:19 +00:00
Marcelo Matus
3c93d884c7 fix more VC7.1 warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:51 +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
78607ebbf5 fix ruby warn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:57:51 +00:00
William S Fulton
f8984f4db8 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 22:33:47 +00:00
William S Fulton
2c2387b652 Fix broken build when using Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 22:31:59 +00:00