Commit graph

91 commits

Author SHA1 Message Date
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
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
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
b0bb8b7158 New test case testing some broken aspects of %feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-04 21:05:39 +00:00
Marcelo Matus
e524a03a55 using better names for frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:41:37 +00:00
Marcelo Matus
8e73549052 add wrapmacro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-20 20:54:12 +00:00
Marcelo Matus
eaa0062cd2 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/SWIG@5633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 03:16:40 +00:00
Marcelo Matus
f1178eabac added new test files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-13 01:39:27 +00:00
Dave Beazley
5b49cee830 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-09 19:37:24 +00:00
Marcelo Matus
409dff398b 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/SWIG@5561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 09:05:54 +00:00
Logan Johnson
b3b75149de *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-10 14:28:29 +00:00
Marcelo Matus
45ffdc02a3 added the using_pointers test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 23:48:54 +00:00
Dave Beazley
b4a8805a9f 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/SWIG@5515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 17:50:29 +00:00
Marcelo Matus
833b2f7f0a detecting polymorphic virtual methods properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 10:36:15 +00:00
Marcelo Matus
bbde8dafa9 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/SWIG@5498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 23:00:02 +00:00
Marcelo Matus
825058f7e5 Moved director+protected members test to BROKEN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 04:07:46 +00:00
Marcelo Matus
0f19564193 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/SWIG@5485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 01:59:28 +00:00
Dave Beazley
da53ad7bf2 Consolidated some of the C test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 18:37:42 +00:00
Dave Beazley
5d6988caa4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:57:53 +00:00
Marcelo Matus
0bfce10a2b 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/SWIG@5415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 08:49:55 +00:00
Dave Beazley
5a74e5a4a2 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:20:21 +00:00
Marcelo Matus
4f969ddf31 Fixed bad test name... uuups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 22:08:42 +00:00
Marcelo Matus
183d0b755b Fixed the include/import error reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:37:24 +00:00
Marcelo Matus
04e800b085 Added test for subincluiding files with the same basename, reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 19:56:34 +00:00
Dave Beazley
32a8e14507 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:02 +00:00
Dave Beazley
908eb5d7c3 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:20:44 +00:00
Dave Beazley
a377e7f9f0 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-14 19:01:47 +00:00
Dave Beazley
7db499562b new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-01 21:55:26 +00:00
Dave Beazley
a054ba6eb1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:38:19 +00:00
Dave Beazley
310cf74273 new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 19:56:45 +00:00
Logan Johnson
3c5412866d Added a new test case for the std_pair.i library module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:05:08 +00:00
William S Fulton
4dbee23fda New test to test directors and templates (from Scott Michel)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:17:32 +00:00
Dave Beazley
db7dfca463 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 19:59:53 +00:00
Dave Beazley
0b1294a732 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:23:08 +00:00
Dave Beazley
bf892ecf11 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:54:18 +00:00
William S Fulton
f886cd9e3b Multiple build directory support
.PHONY targets added


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 15:11:26 +00:00
Mark Rose
ec6251e86d Abstract directors and typemap fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
Dave Beazley
0050ff503f new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 19:20:31 +00:00
Dave Beazley
f5d3cbda02 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 15:45:27 +00:00
William S Fulton
f388e6d8d6 missing method bodies added to valuewrapper_default testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-31 21:45:26 +00:00
Dave Beazley
116843d9e0 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-29 19:29:23 +00:00
William S Fulton
d6b6356a02 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/SWIG@4901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 14:07:57 +00:00
Dave Beazley
131f153f70 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 19:08:09 +00:00
William S Fulton
1a5f449090 New testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 23:11:11 +00:00
Dave Beazley
53ef3e4ac7 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:30:10 +00:00
Dave Beazley
f460723127 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-28 17:30:04 +00:00
William S Fulton
042a5a1cbd 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/SWIG@4783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-11 19:02:51 +00:00
Marcelo Matus
20bf783966 Added test that checks the order between the global %except handler and local throw() definitions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-02 21:19:36 +00:00
Dave Beazley
bee8434140 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 19:23:26 +00:00
Dave Beazley
556b711f62 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 17:44:51 +00:00