Commit graph

2,876 commits

Author SHA1 Message Date
William S Fulton
313d71e191 throws typemap documentation added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:25:23 +00:00
William S Fulton
fe7e92f08c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:19:29 +00:00
William S Fulton
86e8bbb00b %feature attributes documented
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:17:58 +00:00
William S Fulton
f9ab536aca *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:14:21 +00:00
William S Fulton
6b5b4028db correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:13:16 +00:00
William S Fulton
6dfefa9d96 %csconstvalue added and typecheck fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:14:49 +00:00
William S Fulton
19f9395193 few corrections and updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:12:21 +00:00
William S Fulton
5dcfaa9798 Notes about %javaconstvalue added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:11:50 +00:00
William S Fulton
c714119ed0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:08:34 +00:00
William S Fulton
24f91357f2 Test for %javaexception classes being added to a method's throws clause
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:07:15 +00:00
William S Fulton
e072f9b077 Test for %javaconstvalue added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:05:48 +00:00
William S Fulton
8a7d12435e Support for %javaconstvalue added (better compile time constants)
Support for %feature("except", throws="ExceptionClass") so that any Java exception classes thrown from JNI code can be added to the throws list - handled in the same way as the 'throws' attribute in typemaps -
macros added for this - %javaexception and %nojavaexception


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:02:38 +00:00
William S Fulton
e00693aa8e Support for %javaconstvalue added (better compile time constants)
Support for %feature("except", throws="ExceptionClass") so that any Java exception classes thrown from JNI code can be added to the throws list - handled in the same way as the 'throws' attribute in typemaps.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:00:05 +00:00
William S Fulton
e86362442a Support for %csconstvalue added (better compile time constants)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:56:54 +00:00
William S Fulton
f7306ec0cb New feature attributes added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:53:22 +00:00
William S Fulton
e2454484ba 1)
%feature improvements for the syntax that takes the feature value within the
            %feature() brackets. The value specified is no longer restricted to being just
            a string. It can be a string or a number. For example, this is now acceptable
            syntax:
              %feature("featurename",20.0);
            whereas previously it would have to have been:
              %feature("featurename","20.0");
            Useful for features that are implemented as a macro, for example:
              #define %somefeature(value)      %feature("somefeature",value)
            These will now work accepting either a string or a number:
              %somefeature("Fred");
              %somefeature(4);

2)
            %feature enhancements. Features can now take an unlimited number of attributes
            in addition to the feature name and feature value. The attributes are optional
            and are much the same as the typemap attributes. For example, the following
            specifies two optional attributes, attrib1 and attrib2:

             %feature(featurename, attrib1="attribval1", attrib2="attribval2") name "val";
             %feature(featurename, val, attrib1="attribval1", attrib2="attribval2") name;


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:48:57 +00:00
William S Fulton
ed9771220c Use mono JIT instead of mono interpreter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:37:39 +00:00
Marcelo Matus
7c2c1a766c fix char[] varout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 23:10:22 +00:00
William S Fulton
d499d9b81e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:52:27 +00:00
William S Fulton
bc28240f48 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:15:26 +00:00
William S Fulton
db374a14f4 Test const char [] instead of const char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:12:22 +00:00
William S Fulton
2760a2b61e Portability fix for windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:11:07 +00:00
William S Fulton
52d0d774ab Fix for directorin char[ANY] typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:09:33 +00:00
William S Fulton
9d70f8449a Missing char[] typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:07:49 +00:00
William S Fulton
9172441c09 Fixes for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:06:19 +00:00
William S Fulton
5fa2399106 Fix for JDK1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:58 +00:00
William S Fulton
2252e3bb13 Proper enum test added. Needs JDK1.5 beta 2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:18 +00:00
William S Fulton
cad4c0201f Fix for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:48:06 +00:00
William S Fulton
bee7575ea9 Mono C# mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:45:12 +00:00
Marcelo Matus
eea53dbb48 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 18:11:38 +00:00
Marcelo Matus
b2ede29b59 some performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Marcelo Matus
0b945f2dd3 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
Luigi Ballabio
13374b6a80 Fix in Perl out-typemap for std::vector (thanks to Josh Cherry)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-11 07:37:41 +00:00
John Lenz
60f4c8988e The guile and chicken _runme scripts are now shared
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-07 05:03:39 +00:00
William S Fulton
cc578cd11f Test case fix for ISO compliant compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-04 23:32:51 +00:00
William S Fulton
e2d6865cc3 Correct changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-04 23:19:44 +00:00
William S Fulton
2f83a02f4a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:54 +00:00
William S Fulton
edcd297829 Patch to fix wrapping of templated methods. ISO compliant compilers, like
Comeau and GCC-3.4.0, don't like the template specifier that SWIG was generating
when calling the method. This fix may break some non standard compliant compilers,
for example, Sun workshop compilers prior to version 6.2.p2. Patch submitted
by Bill Clarke.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:27 +00:00
William S Fulton
2a623ea0b2 Update for enums and special variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:52:24 +00:00
William S Fulton
e25d7599c5 Update for enums and new typemaps and special variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:49:22 +00:00
William S Fulton
d539f9e827 Warnings for new java typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:45:10 +00:00
William S Fulton
b4b81a3347 Mods for new java typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:41:58 +00:00
William S Fulton
c847c0d468 moved broken test to broken list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:41:25 +00:00
William S Fulton
2846e01760 csgetcptr and csptrconstructormodifiers typemap replaced by the csbody/csbody_derived typemap
csclassmodifiers typemap now contains the class type
imclassclassmodifiers and moduleclassmodifiers pragmas now contain the class type
$module special variable support


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:39:16 +00:00
William S Fulton
910e6b2d54 javagetcptr and javaptrconstructormodifiers typemap replaced by the javabody/javabody_derived typemap
javaclassmodifiers typemap now contains the class type
jniclassclassmodifiers and moduleclassmodifiers pragmas now contain the class type
$module special variable support


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:38:05 +00:00
William S Fulton
3d78f49c7b Java and C# typemap changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:30:15 +00:00
William S Fulton
2a37bb5d27 javagetcptr typemap replaced by the javabody typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:27:09 +00:00
William S Fulton
f1090f5a5c javagetcptr and javaptrconstructormodifiers typemap replaced by the javabody/javabody_derived typemap
javaclassmodifiers typemap now contains the class type


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:26:27 +00:00
William S Fulton
a8c76e9cd7 csgetcptr and csptrconstructormodifiers typemap replaced by the csbody/csbody_derived typemap
csclassmodifiers typemap now contains the class type


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:24:48 +00:00
William S Fulton
dbcd53e9d2 csgetcptr typemap replaced by the csbody typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:22:09 +00:00