Commit graph

782 commits

Author SHA1 Message Date
William S Fulton
c654b0807c Updated method names since move to new pending exception approach
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 23:59:02 +00:00
Marcelo Matus
ec057c2498 fix prototype warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 21:38:32 +00:00
Marcelo Matus
35c501428b fix prototype warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 19:35:42 +00:00
John Lenz
fa7c87f4bb Some updates to the chicken documenatation, a few more fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 22:19:46 +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
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
91fc53b41b fix possible seg fault when reporting bad object type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 21:16:25 +00:00
Marcelo Matus
640c18b7d7 fix seg fault when runtime fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-12 01:11:49 +00:00
William S Fulton
e2da751502 SWIGTYPE out typemap mod to fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-09 22:33:32 +00:00
William S Fulton
2287a2c8e4 SWIGTYPE out typemap fix - Perl should always take ownership of the memory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-09 22:31:55 +00:00
William S Fulton
43985c6ee6 Fix undefined behaviour when throwing exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7041 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:49:34 +00:00
William S Fulton
fb00ecc75d NullReferenceException replaced with ArgumentNullException
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:47:13 +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
William S Fulton
ec16549387 debug removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:12:25 +00:00
William S Fulton
b212d0da4c comments on alternative char* typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 15:42:11 +00:00
Marcelo Matus
7dba15ba0a fix memory leak reported by Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 06:41:43 +00:00
Marcelo Matus
12d289fe06 better SwigPyObject -> long/hex/oct, no warnings now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-05 02:19:48 +00:00
Marcelo Matus
6ea76d52f4 fix compare, reported by Cameron Patrick
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-04 18:17:10 +00:00
Marcelo Matus
7079c05fb5 fix hex pointer conversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-02 17:52:34 +00:00
John Lenz
830baef907 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@7019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-01 19:27:20 +00:00
Marcelo Matus
cf9a7c5760 more warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-01 00:17:37 +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
bb80ee9ac9 Fix bool performance warning for Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 22:24:22 +00:00
Marcelo Matus
03465fd407 more fixes for security and warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 20:25:10 +00:00
Marcelo Matus
24cc273b92 more warning fixes, cosmetics, and uniformity changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 08:47:17 +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
Marcelo Matus
9cbe065017 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@6998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 23:48:20 +00:00
Marcelo Matus
6d9726ef6f add template constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 23:41:32 +00:00
Marcelo Matus
cd5aa31041 fix seg. fault after error report
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 20:40:21 +00:00
John Lenz
29a6966f74 Fix bug in runtime.swg, it should now work properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 06:14:24 +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
6c63b1c5b9 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@6992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 21:00:09 +00:00
Marcelo Matus
9150a78f9f fix for SF#1096981, bad long castings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 23:16:30 +00:00
William S Fulton
2ac73684da C# exceptions - wider range of exceptions to throw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:57:39 +00:00
William S Fulton
c83bd7f640 Wider range of C# exceptions to throw. More applicable exceptions in are thrown.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:56:18 +00:00
Marcelo Matus
aa125ef94c Use SWIGUNUSED attribute and fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:54:20 +00:00
Marcelo Matus
e881c6308d fix PyOS_snprintf for old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:53:41 +00:00
Marcelo Matus
8dd4c07eeb fix empty map bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:52:43 +00:00
Marcelo Matus
693487a845 fix static/inline warning, add SWIGUNUSED attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:51:59 +00:00
Marcelo Matus
fbb82792fd fix unused warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:51:14 +00:00
William S Fulton
942ec4b99e Patch from Olly Betts, so that wrappers compile with Zend thread safety enabled.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 05:40:41 +00:00
William S Fulton
b985b7dbcc Correct memory allocation for STRINGARRAY
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:18:02 +00:00
William S Fulton
fd1a2bcba0 %exception fixes for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:23:59 +00:00
William S Fulton
edd9bb98e5 revert last %exception changes for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:10:13 +00:00