Commit graph

3,004 commits

Author SHA1 Message Date
William S Fulton
5ad2cd3518 Notes about %javaconstvalue added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:11:50 +00:00
William S Fulton
3adc74f359 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:08:34 +00:00
William S Fulton
2fce1634c7 Test for %javaexception classes being added to a method's throws clause
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:07:15 +00:00
William S Fulton
3942120b10 Test for %javaconstvalue added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:05:48 +00:00
William S Fulton
1ed50b305b 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@6001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:02:38 +00:00
William S Fulton
5b10a2cb11 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@6000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:00:05 +00:00
William S Fulton
56182e04f1 Support for %csconstvalue added (better compile time constants)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:56:54 +00:00
William S Fulton
24a7f00d0a New feature attributes added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:53:22 +00:00
William S Fulton
000c8d455a 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@5997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:48:57 +00:00
William S Fulton
8c792a6f31 Use mono JIT instead of mono interpreter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:37:39 +00:00
Marcelo Matus
58fc17cb81 fix char[] varout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 23:10:22 +00:00
William S Fulton
d38c2ac031 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:52:27 +00:00
William S Fulton
858a8c39d9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:15:26 +00:00
William S Fulton
cb62b4dd90 Test const char [] instead of const char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:12:22 +00:00
William S Fulton
6e4091ddd8 Portability fix for windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:11:07 +00:00
William S Fulton
4267e2d4d5 Fix for directorin char[ANY] typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:09:33 +00:00
William S Fulton
0901b50f9d Missing char[] typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:07:49 +00:00
William S Fulton
22f81ece7c Fixes for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:06:19 +00:00
William S Fulton
e11d8b931d Fix for JDK1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:58 +00:00
William S Fulton
dc55225be7 Proper enum test added. Needs JDK1.5 beta 2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:18 +00:00
William S Fulton
8b3c711129 Fix for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:48:06 +00:00
William S Fulton
586c6d0b07 Mono C# mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:45:12 +00:00
Marcelo Matus
0603e7529b added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 18:11:38 +00:00
Marcelo Matus
a02d064ad6 some performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Marcelo Matus
2ae6c092a8 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
Luigi Ballabio
2ee999ed53 Fix in Perl out-typemap for std::vector (thanks to Josh Cherry)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-11 07:37:41 +00:00
John Lenz
c394a8dd9f The guile and chicken _runme scripts are now shared
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-07 05:03:39 +00:00
William S Fulton
0e7633162b Test case fix for ISO compliant compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-04 23:32:51 +00:00
William S Fulton
e987dfc82a Correct changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-04 23:19:44 +00:00
William S Fulton
567355372f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:54 +00:00
William S Fulton
2c301423bf 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@5975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:27 +00:00
William S Fulton
e29fd56f11 Update for enums and special variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:52:24 +00:00
William S Fulton
126d6773f1 Update for enums and new typemaps and special variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:49:22 +00:00
William S Fulton
f465c942b5 Warnings for new java typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:45:10 +00:00
William S Fulton
ea8c4a903b Mods for new java typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:41:58 +00:00
William S Fulton
5d0f146bb0 moved broken test to broken list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:41:25 +00:00
William S Fulton
ad46ed2214 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@5969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:39:16 +00:00
William S Fulton
83f70b7d17 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@5968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:38:05 +00:00
William S Fulton
970027f277 Java and C# typemap changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:30:15 +00:00
William S Fulton
ebfd496ff5 javagetcptr typemap replaced by the javabody typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:27:09 +00:00
William S Fulton
0b87a86919 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@5965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:26:27 +00:00
William S Fulton
77daf7e813 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@5964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:24:48 +00:00
William S Fulton
56211210f9 csgetcptr typemap replaced by the csbody typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:22:09 +00:00
John Lenz
13d6c8849e Update the chicken documenation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 21:49:26 +00:00
William S Fulton
24796816de Fix for gcc-3.4.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 21:37:49 +00:00
William S Fulton
d76a783efd *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:27:14 +00:00
William S Fulton
0517402cea typesafe enum support for storing the enum name (for ToString)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:25:18 +00:00
William S Fulton
bef3646321 typesafe enum support for storing the enum name (for toString)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:24:54 +00:00
William S Fulton
ca9959d2cd various tweaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:22:46 +00:00
William S Fulton
ac855f9298 various tweaks
ToString() method support


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:22:19 +00:00