Commit graph

94 commits

Author SHA1 Message Date
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
Marcelo Matus
dc24c875e6 add template_opaque
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:13:30 +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
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
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
William S Fulton
75d5b64fa1 enum_thorough, more comprehensive enum testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:02:37 +00:00
William S Fulton
c523afc3ec New test case testing some broken aspects of %feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-04 21:05:39 +00:00
Marcelo Matus
f7a318c637 using better names for frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:41:37 +00:00
Marcelo Matus
501bca9b67 add wrapmacro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-20 20:54:12 +00:00
Marcelo Matus
587ecadac7 Fix for friend declarations, and other 'repeated' declarations.
Now, this doesn't generate warnings:

 class A; class B*;

 int foo(A*, B*);

 struct A {
   friend int foo(A*, B*);
 };

but this generates

 struct B {
   friend double foo(A*, B*);
 };

which is correct, since they have different return types.

See the redefined.i file for most cases where
repeated (but not redefined) declarations are
not generating warnings now, such as:

// no warning
#define REPEATED 1
#define REPEATED 1

// yes warning
#define REDEFINED 1
#define REDEFINED 2

this is following the C, C++ and preprocessor
standard behavior.

The function 'need_redefined_warn(..)' was added to
util.c, if some strange corner appears, and therefore,
the parser.y file doesn't need to be changed latter.

Also, the redefined warning format in parser.y
was changed, so now it respond to William's -Fmicrosoft
flag.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 03:16:40 +00:00
Marcelo Matus
e0a249d155 added new test files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-13 01:39:27 +00:00
Dave Beazley
f2743cdc02 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-09 19:37:24 +00:00
Marcelo Matus
768093ccb4 added a new broken director case. the fix is simple but
it will require to modify lang.cxx, so, it will
wait the next release.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 09:05:54 +00:00
Logan Johnson
c15ba7905c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-10 14:28:29 +00:00
Marcelo Matus
2be2c1b02c added the using_pointers test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 23:48:54 +00:00
Dave Beazley
f92e4b1c6c Added test case just to check a few things with protected/private virtual methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 17:50:29 +00:00
Marcelo Matus
8199b93d1d detecting polymorphic virtual methods properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 10:36:15 +00:00
Marcelo Matus
7bbbe3b274 Moving the director protected member support to the top level. Now it should works in all the languages. Test it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 23:00:02 +00:00
Marcelo Matus
c3d8839dcb Moved director+protected members test to BROKEN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 04:07:46 +00:00
Marcelo Matus
75c1713b2d Fixes to support protected members with director, proper virtual member recognition and support of the nodirector feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 01:59:28 +00:00
Dave Beazley
10b8703527 Consolidated some of the C test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 18:37:42 +00:00
Dave Beazley
c76b6ec747 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:57:53 +00:00
Marcelo Matus
66e3262dda Added test for simple template +typedef combinations that produce an inf. recursion, and then seg fault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 08:49:55 +00:00
Dave Beazley
d17b4065ce new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:20:21 +00:00
Marcelo Matus
1e9fff913f Fixed bad test name... uuups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 22:08:42 +00:00
Marcelo Matus
016860e199 Fixed the include/import error reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:37:24 +00:00
Marcelo Matus
8d1ccabff4 Added test for subincluiding files with the same basename, reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 19:56:34 +00:00
Dave Beazley
434b502acc new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:02 +00:00
Dave Beazley
860d85fea2 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:20:44 +00:00
Dave Beazley
c0514f76a6 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-14 19:01:47 +00:00
Dave Beazley
c3c78b8fec new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-01 21:55:26 +00:00
Dave Beazley
c827e658b5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:38:19 +00:00
Dave Beazley
6fb7cf7200 new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 19:56:45 +00:00
Logan Johnson
f994b747b2 Added a new test case for the std_pair.i library module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:05:08 +00:00
William S Fulton
6c9b48715c New test to test directors and templates (from Scott Michel)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:17:32 +00:00
Dave Beazley
d1178eb3b2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 19:59:53 +00:00
Dave Beazley
ec5766c20a new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:23:08 +00:00
Dave Beazley
d627ea5370 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:54:18 +00:00
William S Fulton
e9f27a9c19 Multiple build directory support
.PHONY targets added


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 15:11:26 +00:00
Mark Rose
c1b57370b6 Abstract directors and typemap fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
Dave Beazley
3ce8356c2b new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 19:20:31 +00:00
Dave Beazley
ab47e2aec6 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 15:45:27 +00:00
William S Fulton
34fe6dfd9a missing method bodies added to valuewrapper_default testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-31 21:45:26 +00:00
Dave Beazley
e21c2b2077 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-29 19:29:23 +00:00
William S Fulton
19c2d018ee explicit is a C# keyword so the explicit.i testcase fails.
Removed explicit.i altogether and merged test into constructor_explicit.i as it is almost identical.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 14:07:57 +00:00
Dave Beazley
972acd608a new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 19:08:09 +00:00
William S Fulton
664a3638bb New testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 23:11:11 +00:00
Dave Beazley
e36fa7ef6b new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:30:10 +00:00
Dave Beazley
5ae083be8a new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-28 17:30:04 +00:00
William S Fulton
fce265867e Fix for 'clean' and 'broken' targets.
Note that any whitespace after the last entry in each list will break make


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-11 19:02:51 +00:00