Commit graph

3,833 commits

Author SHA1 Message Date
Marcelo Matus
397f473edd add private case and runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 02:04:37 +00:00
Marcelo Matus
2c01a74927 remove 'experimental' from directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 00:32:37 +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
69121f887d test all the C# exceptions that can be thrown from unmanaged code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:59:40 +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
6aca241887 add new cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:59:04 +00:00
Marcelo Matus
7ca386e731 fix example back to use old typemaps rules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:58:42 +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
Marcelo Matus
d10d8a5d72 update docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:48:03 +00:00
Marcelo Matus
da68a7d97d new fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:46:42 +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
1cc19cdbe1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 05:39:35 +00:00
William S Fulton
a637c5b860 example error fixed as reported by Clint Olsen
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-20 19:47:59 +00:00
William S Fulton
995034cd2f add setter into test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:23:37 +00:00
William S Fulton
ffa8942be1 test new exception mechanism in multithreaded environment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:22:54 +00:00
William S Fulton
ab006f5428 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/SWIG@6969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:19:16 +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
9a1dca900d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:17:22 +00:00
William S Fulton
baec7d3ce5 SF #1115055: Failed make install. Patch from Rob Stone.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:16:48 +00:00
William S Fulton
844c2b7382 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:30:39 +00:00
William S Fulton
f149a9f3d1 swig -help prints to stdout not stderr now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:04:10 +00:00
William S Fulton
5e287b52f7 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/SWIG@6963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:02:44 +00:00
William S Fulton
f76b8a49ff more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:43:04 +00:00
William S Fulton
a9935f3916 more c# exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:42:39 +00:00
William S Fulton
f2e13c6616 test java arrays wrapping for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:41:52 +00:00
William S Fulton
0476b88c17 tests ordering of section blocks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:33:04 +00:00
William S Fulton
f132464de1 test typemap matching rules for variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:31:56 +00:00
William S Fulton
3bfe544083 more c# exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:29:44 +00:00
William S Fulton
3c6559fe47 const warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:28:43 +00:00
William S Fulton
e27dfb8739 revert to original typemap matching rules for now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:27:09 +00:00
William S Fulton
fa08396fbe 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/SWIG@6954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:26:04 +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
William S Fulton
c8b6a0687c Fixes to SWIG_exception for C# and Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:09:06 +00:00
William S Fulton
97ed6ef9f3 Latest exception fixes for properties
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:02:22 +00:00
William S Fulton
ea7207963c pending exception assertion makeover
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:59:46 +00:00
William S Fulton
1df331a843 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/SWIG@6948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:57:15 +00:00
William S Fulton
63853d1cea 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/SWIG@6947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:48:59 +00:00
William S Fulton
77b8c342e4 attribute node change for a future planned mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:03:59 +00:00
William S Fulton
ae10ce8207 const warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:00:52 +00:00
William S Fulton
07748b6b52 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/SWIG@6944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 20:59:43 +00:00
Matthias Köppe
23ebc1ecbd *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:50:07 +00:00
Matthias Köppe
02e7e35868 Merge patch from Torsten Landschoff <torsten@debian.org>
for improving Pike configuration.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:48:41 +00:00
Matthias Köppe
05a6e3b6da 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/SWIG@6941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:30:39 +00:00
Matthias Köppe
4cab34e1c2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-12 16:51:44 +00:00