Commit graph

2,309 commits

Author SHA1 Message Date
William S Fulton
5439863ce1 #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/SWIG@5440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:13:08 +00:00
William S Fulton
a9c2e7aef3 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/SWIG@5439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:12:28 +00:00
William S Fulton
ed5a4bbb63 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/SWIG@5438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:08:14 +00:00
Dave Beazley
40fd19a7c4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:55 +00:00
Dave Beazley
1bb91ece90 Added Perl support for member pointers. Some reorganization of other runtime code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:17 +00:00
Dave Beazley
f56c57274e new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:38:59 +00:00
Dave Beazley
e4319e118e Fixed (char *STRING, int LENGTH) typemap to use STRLEN type.
Eliminates compiler warning.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:24:38 +00:00
Dave Beazley
d62e0c9800 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/SWIG@5433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:06:35 +00:00
Dave Beazley
f829c8643c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:24:08 +00:00
Dave Beazley
cb97e287cd Possibly more portable Python version extraction.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:23:14 +00:00
Dave Beazley
ea3ae10a55 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:08:25 +00:00
Dave Beazley
bc81e745c0 Fixed [ 850666 ] #include extra line added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:08:13 +00:00
William S Fulton
f7d52ef6df 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/SWIG@5428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 21:15:40 +00:00
Dave Beazley
4edf93a7f2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 16:54:26 +00:00
Matthias Köppe
d499c4501a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 13:32:20 +00:00
Dave Beazley
ba5ac437fe *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 04:40:22 +00:00
Marcelo Matus
eed2349c8f 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/SWIG@5424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 00:11:18 +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
Dave Beazley
a1c8cc4283 Fixed infinite recursion bug (maybe)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:56:44 +00:00
Dave Beazley
27b2e02a3a Fixed missing variable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:14:13 +00:00
Dave Beazley
112fc7dcaf Added missing exception.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:06:52 +00:00
Dave Beazley
d61738778a 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/SWIG@5419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 19:54:09 +00:00
Dave Beazley
2e0266bb71 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 19:53:29 +00:00
Dave Beazley
057c2d5dd1 Fixed compilation problems, missing exception.i library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 19:30:38 +00:00
Dave Beazley
4b07fef8d9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 18:53:19 +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
William S Fulton
5a286c6c10 SWIG-1.1 documentation directive removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 22:47:39 +00:00
William S Fulton
f3cc31dec9 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/SWIG@5413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:53:02 +00:00
William S Fulton
3dfbcbb02c Corrected SWIGEXPORT to SWIGIMPORT
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:51:10 +00:00
Dave Beazley
47f612c99a Doc update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:18:30 +00:00
William S Fulton
60c74da9c6 Added missing SWIGIMPORT to runtime library functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:15:15 +00:00
William S Fulton
814c7ae11b Added missing entry about runtime libraries being built on Windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:13:18 +00:00
William S Fulton
2bd6b24910 Clearer instructions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:11:42 +00:00
William S Fulton
08d345055c Mods for the new way of building the runtime libraries using the swig executable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:09:39 +00:00
William S Fulton
24c09718b8 New -noruntime commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:08:16 +00:00
Dave Beazley
5321307d02 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:48:36 +00:00
Dave Beazley
1c4cda1129 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:29:33 +00:00
Dave Beazley
9a0a04303d [ 756552 ] missing default argument class scope with "|"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:27:17 +00:00
Dave Beazley
356471eac3 Increased evil quotient. To test bug [ 756552 ] missing default argument class scope with "|"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:25:21 +00:00
Dave Beazley
075af8535a [ 840878 ] support for %inline { ... } (PATCH)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:48:11 +00:00
Dave Beazley
7d69b06c5c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:47:52 +00:00
Dave Beazley
001d1d0184 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:26:16 +00:00
Dave Beazley
e7c45edd39 Fixed [ 836903 ] C++ inconsistency (with void arguments).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:26:03 +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
Dave Beazley
1a8980eec5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:08:42 +00:00
Dave Beazley
465eebfb32 [ 841074 ] better croaking (PATCH)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:06:56 +00:00
Matthias Köppe
297b943f2e Rename the three smob types to "swig-pointer",
"collectable-swig-pointer", "destroyed-swig-pointer", so that the
automatically generated class metaobjects <swig-pointer> etc. do not
contain whitespace (which prints stranegly as a symbol) and do not
clash with the <swig> class metaobject of the GOOPS wrapper.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:03:59 +00:00
Dave Beazley
5572e70a6d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:49:03 +00:00
Dave Beazley
ed4fd6b6cd Fixed [ 791835 ] Default argument with cast: txt = (char *)"txt" syntax Error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:48:51 +00:00
Dave Beazley
ddfd4fd4ed Added string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:45:12 +00:00