Commit graph

128 commits

Author SHA1 Message Date
Marcelo Matus
0efc38f727 add template+typedef+ns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 05:58:31 +00:00
William S Fulton
f76b8a49ff more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:43:04 +00:00
Marcelo Matus
b316e6445a fix varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 04:34:43 +00:00
Marcelo Matus
c98340f0a7 fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
256dcda5f8 add test case using 'super'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:40:18 +00:00
Marcelo Matus
db5a9e2140 fix smart_pointer + extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 06:58:41 +00:00
Marcelo Matus
844924b2c9 add template_default_pointer broken case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:15:23 +00:00
Marcelo Matus
2f1bf5cac4 add template_default_pointer broken case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:14:56 +00:00
Marcelo Matus
6923d5346c add smart_pointer +members test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:06:04 +00:00
William S Fulton
a935d489b3 Broken makefile fixed (trailing \ at end of list)
name_inherit tests moved into name_cpp


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:08:57 +00:00
Marcelo Matus
20debc4ed8 added more test cases and broken ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 18:45:28 +00:00
Marcelo Matus
5b3e4bc601 fix typemap + numinputs +argout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 00:22:29 +00:00
William S Fulton
dc903c677a lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
Marcelo Matus
3fc7b773d9 fixes for namespaces + class declarations + %template directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 08:38:21 +00:00
Marcelo Matus
43ff4e34d1 add patch 962168 for Multiple Inheritance problem, seems to be working fine
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:17:20 +00:00
William S Fulton
bd39c43fa0 Removed default arg test cases as the tests were moved into default_args.i some while back
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:19:15 +00:00
Marcelo Matus
df669f2ca2 derive_nested.i and using_namespace.i not longer broken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:35:49 +00:00
Marcelo Matus
50b87f398b more examples, and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:08:55 +00:00
John Lenz
75e462baa8 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
3264efdfbf add tests and fix the value wrapper for opaque types, including the template cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:08:06 +00:00
Marcelo Matus
86d466d06b move broken example to derived_byvalue.i since it could take long to fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:02:50 +00:00
William S Fulton
275cb78630 extend_default wasn't in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:55:26 +00:00
John Lenz
143bfb2a62 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
William S Fulton
37863d349b test for default argument in director virtual methods and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:06:29 +00:00
Marcelo Matus
963a72613b add destructor reprotected/desprotected case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 19:07:40 +00:00
Marcelo Matus
200111d52d more cases, and C/C++ compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:32:03 +00:00
Marcelo Matus
c3b41dd959 strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
Marcelo Matus
776f15623e several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
59a4f48e9e default_args added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:50:50 +00:00
William S Fulton
1fa4e19a91 Bill Clarke patch to restore multiple build directories for test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-10 22:24:24 +00:00
William S Fulton
1500ca6ed7 A comprehensive single test case for testing char strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:45:09 +00:00
William S Fulton
d2c06e97dc broken test moved to broken tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:43:02 +00:00
John Lenz
0fb8c59673 Three new broken test cases created to test various patches in the patch list.
Bugs 909389, 962115, and 899332.
These bugs all have fixes in the patch system.
Patches 903150, 914926, and 962168.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 07:06:01 +00:00
William S Fulton
6e570eda85 Testcases that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:36:19 +00:00
William S Fulton
c847c0d468 moved broken test to broken list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:41:25 +00:00
Marcelo Matus
a6d2269a26 add template_opaque
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:13:30 +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
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