Commit graph

782 commits

Author SHA1 Message Date
William S Fulton
09dfe38209 Updated method names since move to new pending exception approach
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 23:59:02 +00:00
Marcelo Matus
9894f1b2d3 fix prototype warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 21:38:32 +00:00
Marcelo Matus
7ee5f85b5a fix prototype warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 19:35:42 +00:00
John Lenz
a09045ab5c Some updates to the chicken documenatation, a few more fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 22:19:46 +00:00
John Lenz
897e5ad40d 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/SWIG@7079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 07:28:19 +00:00
John Lenz
6bcccbe455 Fix a few more chicken bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-16 06:51:03 +00:00
John Lenz
61330651b0 Fix a few bugs in the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 23:02:58 +00:00
William S Fulton
17f65da214 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/SWIG@7070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:31:31 +00:00
John Lenz
2bdd9cda1e Add garbage collection support to the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:15:47 +00:00
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
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
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
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
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
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
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
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
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
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
William S Fulton
849bfe284f Fix bool performance warning for Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 22:24:22 +00:00
Marcelo Matus
5b74ab97a7 more fixes for security and warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 20:25:10 +00:00
Marcelo Matus
e38ce2b2c3 more warning fixes, cosmetics, and uniformity changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 08:47:17 +00:00
Marcelo Matus
4c873ffb8d finishing change from 'static' to 'SWIGINTERN'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 07:40:41 +00:00
Marcelo Matus
ffc93a4bbd add robust -nortti implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 07:18:42 +00:00
Marcelo Matus
02a61719bd add -nortti option in python, to avoid using RTTI, mainly with directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 00:47:10 +00:00
Marcelo Matus
192e00615d More fix for warnings, and add some of the ideas of the Bill's 'labels' patch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 23:48:20 +00:00
Marcelo Matus
4a72bb83c7 add template constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 23:41:32 +00:00
Marcelo Matus
6bfa1437bb fix seg. fault after error report
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 20:40:21 +00:00
John Lenz
290e0016d1 Fix bug in runtime.swg, it should now work properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 06:14:24 +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
8d7eaea667 Fixes for new Exception mechanism, but still failing.
Debug code left in for testing on other systems.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 21:00:09 +00:00
Marcelo Matus
2ab2beac5c fix for SF#1096981, bad long castings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 23:16:30 +00:00
William S Fulton
4e685824fd C# exceptions - wider range of exceptions to throw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:57:39 +00:00
William S Fulton
0e0573fa01 Wider range of C# exceptions to throw. More applicable exceptions in are thrown.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:56:18 +00:00
Marcelo Matus
86c306dcc2 Use SWIGUNUSED attribute and fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:54:20 +00:00
Marcelo Matus
3853c510c6 fix PyOS_snprintf for old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:53:41 +00:00
Marcelo Matus
9537f69323 fix empty map bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:52:43 +00:00
Marcelo Matus
43b0008892 fix static/inline warning, add SWIGUNUSED attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:51:59 +00:00
Marcelo Matus
0f4ccf3f96 fix unused warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:51:14 +00:00
William S Fulton
95dab62304 Patch from Olly Betts, so that wrappers compile with Zend thread safety enabled.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 05:40:41 +00:00
William S Fulton
a0bdbf50a7 Correct memory allocation for STRINGARRAY
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:18:02 +00:00
William S Fulton
c9d6c1a6e3 %exception fixes for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:23:59 +00:00
William S Fulton
e0a1a5231e revert last %exception changes for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:10:13 +00:00