Commit graph

3,983 commits

Author SHA1 Message Date
William S Fulton
44d0eb2840 test all the C# exceptions that can be thrown from unmanaged code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:59:40 +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
6efd5eb6a0 add new cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:59:04 +00:00
Marcelo Matus
dcfe22ad7b fix example back to use old typemaps rules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:58:42 +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
Marcelo Matus
fd2fe8dd36 update docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:48:03 +00:00
Marcelo Matus
b9fb2f2514 new fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:46:42 +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
eec4f1f754 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 05:39:35 +00:00
William S Fulton
a6d40acd46 example error fixed as reported by Clint Olsen
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-20 19:47:59 +00:00
William S Fulton
3d6246bfe5 More on Gmane and note about sending text emails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 23:08:34 +00:00
William S Fulton
2cdf0a051f add setter into test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:23:37 +00:00
William S Fulton
b33ec1cc24 test new exception mechanism in multithreaded environment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:22:54 +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
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
06ddcbd151 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:17:22 +00:00
William S Fulton
105fe8f4d9 SF #1115055: Failed make install. Patch from Rob Stone.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:16:48 +00:00
William S Fulton
a9dab18f18 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:30:39 +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
2598d7f261 more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:43:04 +00:00
William S Fulton
cb7abaef11 more c# exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:42:39 +00:00
William S Fulton
6d4117591a test java arrays wrapping for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:41:52 +00:00
William S Fulton
a0ddc0cfe8 tests ordering of section blocks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:33:04 +00:00
William S Fulton
54716583f2 test typemap matching rules for variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:31:56 +00:00
William S Fulton
1c776bd850 more c# exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:29: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
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
William S Fulton
0706a82932 Fixes to SWIG_exception for C# and Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:09:06 +00:00
William S Fulton
0f8569d076 Latest exception fixes for properties
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:02:22 +00:00
William S Fulton
eb7b7dfd20 pending exception assertion makeover
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:59:46 +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
William S Fulton
012866444a Code using SWIG_exception macro will now correctly return immediately back to the JVM.
When wrapping member variables, the JNI code is emitted before the Java code - fixes subtle bugs in typemap matching rules.
More fixes to ensure typemap matching rules work for member variable and global variable setters.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:48:59 +00:00
William S Fulton
bd3baa1ec4 attribute node change for a future planned mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:03:59 +00:00
William S Fulton
5d657e01ae const warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:00:52 +00:00
William S Fulton
8a22867e9a Fix so the following produces compileable code like it does in other language modules:
struct XYZ{};
%{ struct XYZ{}; %}


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 20:59:43 +00:00
Matthias Köppe
4bbc9c18b3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:50:07 +00:00
Matthias Köppe
7c80d895b9 Merge patch from Torsten Landschoff <torsten@debian.org>
for improving Pike configuration.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:48:41 +00:00
Matthias Köppe
5753fdb420 Remove %apply for size_t; add %typecheck for size_t and ptrdiff_t
directly.  This fixes warnings in test case wrapmacro.

Add %typecheck for SWIGTYPE.  This fixes warnings in test cases
director_basic, extend_placement, overload_template,
template_default_arg, valuewrapper_opaque.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:30:39 +00:00
Matthias Köppe
41265040fc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-12 16:51:44 +00:00
Matthias Köppe
c7c9fca4c7 New configure switches --without-tcl, --without-python etc. allow to
disable the search for installed languages.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-12 16:51:16 +00:00
William S Fulton
9769504890 added info about searching the mailing lists
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-08 22:41:56 +00:00