Commit graph

4,854 commits

Author SHA1 Message Date
William S Fulton
9705ff87be patch by Kevin Smith to emit directors when %feature("director") is specified for a class with no virtual methods, but a virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-12 21:18:09 +00:00
William S Fulton
b4a002dad0 Removed spurious junk so the file compiles
strdup removed - not ANSI and not on my system


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-12 20:56:17 +00:00
Matthias Köppe
1924a31659 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:56:43 +00:00
Matthias Köppe
dbf01e8ce1 Use the new common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:55:32 +00:00
Matthias Köppe
783d69e252 New common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +00:00
Ahmon Dancy
8a7c459cda See CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-03 17:10:20 +00:00
John Lenz
742ba1ad0d Updated chicken documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 22:20:53 +00:00
John Lenz
2a575da398 Fix bug 782468
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 21:24:39 +00:00
Ahmon Dancy
1c79f74da3 Added typemaps.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-30 23:06:15 +00:00
Ahmon Dancy
fef1a09e5a Added Allegro CL module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 23:00:41 +00:00
Matthias Köppe
8870f55a89 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 18:38:40 +00:00
Dave Beazley
7ca6059075 Commit test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 18:11:46 +00:00
Matthias Köppe
6a70c66183 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:33:52 +00:00
Matthias Köppe
e83d3d8bf8 Add new C test tag_no_clash_with_variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:33:26 +00:00
Matthias Köppe
673069df69 Use preinst-swig.
Add new C test tag_no_clash_with_variable


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:32:51 +00:00
William S Fulton
594773a7e3 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@5890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 20:24:18 +00:00
Matthias Köppe
eab20219ec 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@5889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:09:02 +00:00
Matthias Köppe
959ab00630 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@5888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:08:27 +00:00
Matthias Köppe
6ae154049f Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:07:02 +00:00
Matthias Köppe
9b711ca7e6 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@5886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:05:20 +00:00
Matthias Köppe
60fe29cc2a Respect DESTDIR when installing the M4 macros.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 10:24:12 +00:00
William S Fulton
18ad5f64b1 %import fix for C# enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:56:48 +00:00
William S Fulton
d346f06722 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@5883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:42:37 +00:00
William S Fulton
11f26b416c Fix for unnamed enum member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:36:13 +00:00
William S Fulton
3c7e02750a enums added for testing across different SWIG generated modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:32:48 +00:00
William S Fulton
73a69ab9b0 C# runtime tests for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:30:02 +00:00
William S Fulton
0b2236222d More enum tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:28:53 +00:00
William S Fulton
8a5d6dc59c Added virtual_poly back in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:27:56 +00:00
Luigi Ballabio
30fe3353a5 Fix for std::vector Tcl typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-21 14:12:40 +00:00
Dave Beazley
1818bc34b4 updated to SF
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-19 00:52:16 +00:00
Marcelo Matus
9627230e4c fix for java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:42:00 +00:00
Marcelo Matus
23ea59435d fix dirprot mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:20:04 +00:00
Marcelo Matus
38089c5a2a add virtual destructors where needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:10:44 +00:00
Marcelo Matus
9fd6e6ebfd add -directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 08:13:07 +00:00
Marcelo Matus
64c0b01733 error fix in lang.cxx and more comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 08:09:57 +00:00
Marcelo Matus
d3803cbe4c fix uninitialized const member SpeedClass::myColour2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 07:24:13 +00:00
Marcelo Matus
5e4add70ed another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:51:49 +00:00
Marcelo Matus
2734216bb7 better test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:05:37 +00:00
Marcelo Matus
1eba66b31b fix java reg. tests and add -directors flag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 05:55:35 +00:00
Henning Thielemann
1244cec434 support for type FILE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-10 15:34:33 +00:00
Marcelo Matus
54ab1128b0 wstring comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:27:29 +00:00
Marcelo Matus
c975833b27 add new broken case template_typedef_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:14:51 +00:00
Marcelo Matus
18592f7491 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@5863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:14:11 +00:00
Marcelo Matus
36f285610b inplace opers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:11:35 +00:00
Marcelo Matus
68608f907e use tuple in iterator, since is more 'constant' than a list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:00:47 +00:00
Marcelo Matus
d295432509 use inplace +=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:59:38 +00:00
Marcelo Matus
a9b4a82eae fix inplace python opers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:58:47 +00:00
Marcelo Matus
d1be16a5d3 add None ptr case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:57:16 +00:00
Marcelo Matus
74eb5b7dc3 add inplace test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:56:14 +00:00
William S Fulton
b0ca61077e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:03:01 +00:00