Commit graph

480 commits

Author SHA1 Message Date
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
William S Fulton
5dfe42a6bc Added STRING_OUT typemap test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:03:30 +00:00
Art Yerkes
dc9314406f String from ptr example. Demonstrates use of out typemap and handling of
return value with argout.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 22:59:42 +00:00
Art Yerkes
dc36dabaea Added string-from-ptr example.
-- Response to a question asked by Thaddeus L. Olczyk


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 22:58:56 +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
e6c59f1b0f Fixed configure bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:15:07 +00:00
Art Yerkes
50ade4b291 Added checklist entry and corrected warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:59:49 +00:00
Art Yerkes
87f4bcef2e This example both shows the new enum literal facility, and is a regression
test against the enum scoping problem I had.

Ocaml.cxx: Accidentally reintroduced the enum scoping problem, so I added
an example that will fail if this is ever broken again.

I encountered the actual problem in avifile.h


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:57:57 +00:00
Art Yerkes
fbb9c8481d shapes example: slight correction to depth map.
makedebugtop: include swig.cmo
Lib: factored out more common code, slightly reorganized class type.
     added director define and exceptions.
     std_string: length from the original ocaml string (no longer depends on
      null termination)
     ocamldec.swg/ocaml.swg: added caml_string_len
Examples/Makefile.in: quiet about checking out files.
Ocaml.cxx:
     Fixed abstract director test case.
     Include/exclude director.swg based on directors being enabled.
Final edits for 1.3.20, barring bugs being discovered.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:15:07 +00:00
Dave Beazley
45c674ab50 mzscheme tweaks.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 20:29:30 +00:00
Dave Beazley
c9ee8a19d5 Added OS X tweaks for guile. Note: some guile examples don't use this makefile and remain broken.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 18:10:45 +00:00
William S Fulton
84a7c18d60 Added test for javacode typemap for a templated class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:18:09 +00:00
William S Fulton
ec10b12a9a Added test for arrays of C structs (not typedef'd)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:17:44 +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
Logan Johnson
234bb62536 Suppress warning about multiple inheritance for Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-01 23:11:46 +00:00
Dave Beazley
5572880cf5 Warning messages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-01 13:38:08 +00:00
Dave Beazley
307cc5ea90 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:51:05 +00:00
William S Fulton
313501d146 test non-public destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:31:24 +00:00
William S Fulton
d08fbeab71 Added a protected destructor in derived class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:29:54 +00:00
Dave Beazley
dc3fa7ee39 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:38:59 +00:00
Dave Beazley
f5ea428d8d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 16:54:26 +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
William S Fulton
b0d7c1194d SWIG-1.1 documentation directive removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 22:47:39 +00:00
William S Fulton
1cb1df539f Clearer instructions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:11:42 +00:00
William S Fulton
4a7ea494b9 New -noruntime commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:08:16 +00:00
Dave Beazley
56d598c8fe *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:48:36 +00:00
Dave Beazley
b9c5fb3120 Increased evil quotient. To test bug [ 756552 ] missing default argument class scope with "|"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:25:21 +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
Dave Beazley
c97cf300bc Added string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:45:12 +00:00
Matthias Köppe
85b94c7502 Add runtest for contract.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:22:30 +00:00
Matthias Köppe
9097e28fa4 New library of helper macros for the runtime tests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:15:09 +00:00
Art Yerkes
d1333cd0b4 Added contract example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:55:53 +00:00
Dave Beazley
fef1815ba6 Fixed run test to work with change in static member wrapping.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 00:29:10 +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
Dave Beazley
56baf632c8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:19:47 +00:00
Dave Beazley
8ff296c06d Changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:18:53 +00:00
Dave Beazley
0cbd392007 Changed -c to -noruntime.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:54 +00:00
Dave Beazley
101ebefd40 changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:12 +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
William S Fulton
a7ae5a021e contract assertion test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:19:47 +00:00
William S Fulton
f32aca08f1 multiple inheritance fix workaround for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:55:23 +00:00
William S Fulton
5cd23c3e50 Java C# multiple inheritance warning removal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:35:48 +00:00
Dave Beazley
7b14be5fc0 OS X refinements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:02:37 +00:00
Matthias Köppe
b4ae6e5567 Change meaning of configure option --with-guile to the name of the
Guile executable.  The new option --with-guile-prefix can be used to
specify the tree where Guile is installed.  (However, usually it
suffices to use the single option --with-guile-config.)  When running
the run tests test-suite, make sure to use the version of Guile that
SWIG was configured for.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:55:45 +00:00
Logan Johnson
0ad9f49652 Added a runtime test case for aggregate.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:22:33 +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
71b459a69e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 17:02:30 +00:00