Commit graph

2,604 commits

Author SHA1 Message Date
William S Fulton
217d63b8a3 Warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-07 21:34:12 +00:00
William S Fulton
47cecb0287 Warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-07 21:27:23 +00:00
William S Fulton
a7078b34ec *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:49:26 +00:00
William S Fulton
62ba646c89 Moved non static function declarations from source files into header files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:48:39 +00:00
William S Fulton
7c67214d9f Moved non static function declarations from source files into header files
Added header include guard


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:44:41 +00:00
William S Fulton
ca2d01a081 Fix so that Windows paths are displayed correctly when reporting errors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:38:58 +00:00
William S Fulton
72c68c375c Added a reference polymorphic return type case test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:08:18 +00:00
William S Fulton
fd5f106b2e Suppress warnings about covariant return types in Java and C#.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:06:52 +00:00
William S Fulton
9e35a6e442 Marcelo's patch which fixes virtual:type attribute always being set.
Removes incorrect warnings about covariant return types in Java and C#.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:06:02 +00:00
Marcelo Matus
b45d143ea2 added a reference polymorphic return type case, and
some extra test for the Java side.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-24 06:53:47 +00:00
William S Fulton
36a25d1f78 Downcast not needed for narrow() call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:59:40 +00:00
William S Fulton
f9fd7b97cb Cast not needed for narrow() call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:59:27 +00:00
William S Fulton
a272be6e65 C# runtime test, based on Java one.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:51:46 +00:00
William S Fulton
9129f61a39 Fix test by using downcasts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:51:19 +00:00
William S Fulton
a33f84ae46 Covariant return type warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:47:21 +00:00
William S Fulton
cf3a5e6222 Covariant return type fixes...
Fixed error where the base class was being used to wrap the derived class C++ pointer.
Emit a warning when encountering these return types as the return type is changed to the base class type.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:46:56 +00:00
William S Fulton
0af36656c1 Covariant return type fixes...
Fixed error where the base class was being used to wrap the derived class C++ pointer.
Also fixed runtime error when using directors - the wrong canonical description was not using the base class type.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:45:38 +00:00
Art Yerkes
98e493b6fa Added suffix arg for c output.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 20:31:06 +00:00
Marcelo Matus
a152fd46a8 using static narrow methods instead of %extended ones.
now it looks more natural and similar to the CORBA downcasting mechanism.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 10:10:04 +00:00
Logan Johnson
6d30946aa4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 17:23:02 +00:00
Logan Johnson
bc186c445c Fix for virtual_poly.i test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 17:12:06 +00:00
Marcelo Matus
575a54adfd added the ruby runtime case and more comments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 10:41:33 +00:00
Marcelo Matus
8cc5b25f18 fix bad variable name in example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 06:32:02 +00:00
Marcelo Matus
c5cf57b254 Added a simple example where the current universal
Java wrapping mechanism doesn't work, showing the
need to use a different way to wrap polymorphic classes.

They are two runtime examples: one for java, which is
failing, and one for python, which works fine.

Detailed description of the case can be found
in the three files committed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 06:26:44 +00:00
Marcelo Matus
8158b1f2ec These is the current tests for the friend function support.
They will give you and idea of what is currently working.

If you have another case you think we need to test, please
send me an email to add it and trying it here.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-20 07:46:27 +00:00
William S Fulton
27a79df294 moved entries to CHANGES file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-17 21:47:41 +00:00
William S Fulton
d139795547 incorporated CHANGES.current entries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-17 21:46:32 +00:00
Dave Beazley
1ab9d79027 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-17 20:00:16 +00:00
Dave Beazley
7e526a0b21 Turned on shadow classes by default.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-17 19:09:36 +00:00
Dave Beazley
80a9062f1d Removed config.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-17 19:09:17 +00:00
Dave Beazley
4d866f0f64 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-17 17:57:55 +00:00
Marcelo Matus
048663e2e9 fixing warning code 315 -> 321
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 06:01:38 +00:00
Marcelo Matus
ca3b23e9ca Adding missing built-in functions and names to pythonkw.swg and
fixing operator! warning code in python.swg


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 06:00:09 +00:00
Dave Beazley
6a6403d2bc Suppress warning 321 by default.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 03:43:51 +00:00
Dave Beazley
b459405a64 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 03:41:33 +00:00
Dave Beazley
7355bdcbd0 Changed warning to 321. 315 already used. Consult Warnings.html for list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 03:40:00 +00:00
Dave Beazley
36570973db Changed warning message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 01:58:23 +00:00
Marcelo Matus
512a9150f4 added reference to only global bad names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-15 20:24:47 +00:00
Marcelo Matus
20c05c4073 be sure the global bad names refer to global functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-15 19:29:09 +00:00
Dave Beazley
2201f0f30c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 15:48:00 +00:00
Dave Beazley
b29f77f801 Weakened constructor name check to work around nested-class hack reported by
Gustavo Niemeyer.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 15:42:32 +00:00
William S Fulton
5fb27bf2a3 Test typemaps are being found for templated classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 00:17:22 +00:00
William S Fulton
187bc5e0a9 arrays of structures runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 00:02:33 +00:00
William S Fulton
66a19d43b0 remove SWIG_exception for director protected methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 23:52:31 +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
William S Fulton
c527709f74 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:27:05 +00:00
William S Fulton
51803c4b21 Director protected method wrapping tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:21:17 +00:00
William S Fulton
531e78b236 Added %javamethodmodifiers check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:20:42 +00:00
William S Fulton
9055c5a7b5 Removed default %csmethodmodifiers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:18:32 +00:00
William S Fulton
6b3f076018 Removed default %javamethodmodifiers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:17:58 +00:00