Commit graph

2,764 commits

Author SHA1 Message Date
Ahmon Dancy
53db012b12 See CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-03 17:10:20 +00:00
John Lenz
1439a8f7c9 Updated chicken documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 22:20:53 +00:00
John Lenz
c0a2aea4cc Fix bug 782468
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 21:24:39 +00:00
Ahmon Dancy
cccaf2fa16 Added typemaps.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-30 23:06:15 +00:00
Ahmon Dancy
7f682c8d4a Added Allegro CL module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 23:00:41 +00:00
Matthias Köppe
2914c927cf *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 18:38:40 +00:00
Dave Beazley
827cdb33f7 Commit test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 18:11:46 +00:00
Matthias Köppe
27684d78ba *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:33:52 +00:00
Matthias Köppe
da82f613cf Add new C test tag_no_clash_with_variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:33:26 +00:00
Matthias Köppe
ebd0e442d9 Use preinst-swig.
Add new C test tag_no_clash_with_variable


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:32:51 +00:00
William S Fulton
be3e61a82c Revert typemaps changes for member variables (and static members and globals for some languages ).
The typemaps were changed to use const ref typemaps (C++ only, not C).
Inconsistency removed and the pointer typemaps used again.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 20:24:18 +00:00
Matthias Köppe
9b4f0793de The typemap for FILE * in ports.i now also accepts a regular FILE *
pointer object.  Also a bug with Scheme file ports that are open for
input and output has been fixed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:09:02 +00:00
Matthias Köppe
4280b31589 In -gh mode, fix the "too many initializers" error
which was caused by an incompatible swig_type_info layout.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:08:27 +00:00
Matthias Köppe
0f3b839af9 Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:07:02 +00:00
Matthias Köppe
0b68c967cb In the generated GOOPS code, don't create methods that would not
specialize any arguments; simply re-export the primitive functions.
(This is a performance optimization which reduces load time and
execution time.)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:05:20 +00:00
Matthias Köppe
ed6a665f52 Respect DESTDIR when installing the M4 macros.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 10:24:12 +00:00
William S Fulton
9ae5f973d2 %import fix for C# enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:56:48 +00:00
William S Fulton
da284c4e93 unnamed enum member variables - less verbose code generation that has a single solution for all compilers. Will only fail silently (no printfs like before) when using compiler switches that force enums to be different size to integers. If anyone ever does this, I will eat my hat
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:42:37 +00:00
William S Fulton
d80d8dba3b Fix for unnamed enum member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:36:13 +00:00
William S Fulton
56211014e6 enums added for testing across different SWIG generated modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:32:48 +00:00
William S Fulton
a7ef2df04d C# runtime tests for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:30:02 +00:00
William S Fulton
1b26b90637 More enum tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:28:53 +00:00
William S Fulton
0acf186f1d Added virtual_poly back in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:27:56 +00:00
Luigi Ballabio
42368516f9 Fix for std::vector Tcl typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-21 14:12:40 +00:00
Marcelo Matus
6efc168b09 fix for java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:42:00 +00:00
Marcelo Matus
553698d489 fix dirprot mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:20:04 +00:00
Marcelo Matus
f6340798c4 add virtual destructors where needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:10:44 +00:00
Marcelo Matus
b8f2bb553a add -directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 08:13:07 +00:00
Marcelo Matus
aa33886558 error fix in lang.cxx and more comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 08:09:57 +00:00
Marcelo Matus
cdf6bd6d74 fix uninitialized const member SpeedClass::myColour2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 07:24:13 +00:00
Marcelo Matus
5993e83ee4 another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:51:49 +00:00
Marcelo Matus
f152262d7a better test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:05:37 +00:00
Marcelo Matus
405a7335a7 fix java reg. tests and add -directors flag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 05:55:35 +00:00
Henning Thielemann
fc5012d5e8 support for type FILE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-10 15:34:33 +00:00
Marcelo Matus
c9e214214b wstring comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:27:29 +00:00
Marcelo Matus
d1f339c6d5 add new broken case template_typedef_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:14:51 +00:00
Marcelo Matus
67d117da25 move array_typedef_memberin, since it works now, and add new broken template_typedef_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:14:11 +00:00
Marcelo Matus
eebd6234d6 inplace opers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:11:35 +00:00
Marcelo Matus
3a34091f80 use tuple in iterator, since is more 'constant' than a list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:00:47 +00:00
Marcelo Matus
c6f9abd8f4 use inplace +=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:59:38 +00:00
Marcelo Matus
fd1c9fb316 fix inplace python opers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:58:47 +00:00
Marcelo Matus
be31340148 add None ptr case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:57:16 +00:00
Marcelo Matus
1f3d73a0b0 add inplace test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:56:14 +00:00
William S Fulton
4f412781f3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:03:01 +00:00
William S Fulton
b411e1ae00 enum_thorough, more comprehensive enum testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:02:37 +00:00
William S Fulton
be3f4b7067 _a -> m_a name change
_a member variable clashes with get_a() for languages that use getter and setter methods for member variables


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:01:43 +00:00
William S Fulton
c92d04d848 Some hints for debugging DOH types added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 19:57:35 +00:00
William S Fulton
bd7371faa9 Typemap changes for C# enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 19:43:26 +00:00
William S Fulton
41724c135f C++ enums are no longer wrapped by integers, they are now wrapped by C# enums.
For Example, given C++:

                enum AnEnum { foo, bar };
                typedef AnEnum AnEnumeration;
                void something(AnEnum e, AnEnumeration f);

            The following is generated:

                public enum AnEnum {
                  foo,
                  bar
                }
                public static void something(AnEnum e, AnEnum f) {...}

See the changes file for further details


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 19:41:40 +00:00
William S Fulton
7d7bf9f254 Mods for enumvalue being split into enumvalue and enumvalueex.
enumvalue contains the enum value for an enum item (if one given/parsed)
enumvalueex fills in the missing enum values, eg enumvalueex is set to 0 if no enum value given for the first enum item,
otherwise, contains the previous enum value + 1.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 19:37:33 +00:00