Commit graph

2,326 commits

Author SHA1 Message Date
Dave Beazley
65734165ca Added new attribute to class nodes
"classtypeobj"

This is the raw, SWIG type-system representation of the class type.  This
should be used in all typemap lookups and operations involving the class name.

Note:  There is inconsistent use of the "classtype" attribute across language modules--
especially in code related to directors.   To avoid breaking the universe, I have
decided to store the correct type encoding as "classtypeobj" instead of replacing
"classtype".   As modules are checked they can elect to use "classtype" or "classtypeobj"
as appropriate.

Note: William, you should use "classtypeobj" to fix the typemap problem (probably).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 18:56:59 +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
Art Yerkes
08d4b05e03 All test cases compile except director_abstract. I clued from what
William Fulton and Dave were talking about regarding the template parameters
and (), and this solved a bunch of wierd little problems I was having.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 08:50:39 +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
William S Fulton
583550d010 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 23:28:50 +00:00
William S Fulton
a6a591af91 Fixed [ 545058 ] configure's --with-tclincl has no effect
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 23:27:34 +00:00
William S Fulton
337c3dd301 Minor bug fix from that initializes the jlong pseudo-pointer to 0 in director methods (makes the Java equals method based on getCPtr() work consistently.)
Submitted by Scott Michel.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 21:18:40 +00:00
William S Fulton
0e5e19a12b no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 21:16:04 +00:00
William S Fulton
28e32ef4a8 Completely removed SWIG_NOINCLUDE as the functions that use it don't need to be shared across different modules, besides there is no runtime library for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:49 +00:00
William S Fulton
09ede20459 Completely removed SWIG_NOINCLUDE as the functions that use it don't need to be shared across different modules, besides there is no runtime library for Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:37 +00:00
Dave Beazley
dfb5c58c46 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:54:26 +00:00
Dave Beazley
d99face03c Added member pointer typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:53:43 +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
William S Fulton
cedcf43dae *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:22:54 +00:00
William S Fulton
1d279ae267 #849064 fixed. Any classes with a non public destructor now have a public delete() method which throw a runtime exception. The delete() method was previously protected.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:13:08 +00:00
William S Fulton
6bda2826e0 Director fix for #include "xxxx_wrap.h". Was incorrectly adding a directory in some situations. See #848335.
#849064 fixed. Any classes with a non public destructor now have a public delete() method which throw a runtime exception. The delete() method was previously protected.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:12:28 +00:00
William S Fulton
0a39ab52c8 Director fix for #include "xxxx_wrap.h". Was incorrectly adding a directory in some situations. See #848335.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:08:14 +00:00
Dave Beazley
52bd03fd68 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:55 +00:00
Dave Beazley
1095ee9859 Added Perl support for member pointers. Some reorganization of other runtime code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:17 +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
9aecb608c5 Fixed (char *STRING, int LENGTH) typemap to use STRLEN type.
Eliminates compiler warning.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:24:38 +00:00
Dave Beazley
7d38c269be Fixed casting problem with references to arrays in gcc-3.3 (and maybe other versions).
I'm not sure if this is a gcc bug or a SWIG bug.  However, the patch makes the
arrayref.i test work on my machine.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:06:35 +00:00
Dave Beazley
ca551bb50e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:24:08 +00:00
Dave Beazley
f35827d9ff Possibly more portable Python version extraction.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:23:14 +00:00
Dave Beazley
a464489c39 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:08:25 +00:00
Dave Beazley
e0ac2e8514 Fixed [ 850666 ] #include extra line added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:08:13 +00:00
William S Fulton
a71d06f539 Check that mcs is the mono C# compiler. Avoids falsely detecting mcs as another Unix utility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 21:15:40 +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
Matthias Köppe
ad48922bcc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 13:32:20 +00:00
Dave Beazley
d0e5f3e8f4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 04:40:22 +00:00
Marcelo Matus
595d36bf1a Fixed not '0' terminated string, that could result in a getting a bad error code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 00:11:18 +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
Dave Beazley
019cf61e92 Fixed infinite recursion bug (maybe)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:56:44 +00:00
Dave Beazley
9eb6a0d8ea Fixed missing variable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:14:13 +00:00
Dave Beazley
7429f62153 Added missing exception.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:06:52 +00:00
Dave Beazley
69d88a944c Fixed parsing problem with = &x[]. This was causing the
Java java-lib_various.i test to fail.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 19:54:09 +00:00
Dave Beazley
b94637f306 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 19:53:29 +00:00
Dave Beazley
919a65fb96 Fixed compilation problems, missing exception.i library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 19:30:38 +00:00
Dave Beazley
d6a2573ef7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 18:53:19 +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
5b85519737 Cygwin gcc now uses __declspec(dllexport) for creating exported functions in the runtime library DLLs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:53:02 +00:00
William S Fulton
dfd57099df Corrected SWIGEXPORT to SWIGIMPORT
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:51:10 +00:00
Dave Beazley
eca80d3999 Doc update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:18:30 +00:00
William S Fulton
01926d2f67 Added missing SWIGIMPORT to runtime library functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:15:15 +00:00
William S Fulton
66cf8d174b Added missing entry about runtime libraries being built on Windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:13:18 +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