Commit graph

1,381 commits

Author SHA1 Message Date
Marcelo Matus
52ca5dcdf6 add the factory library for UTL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 18:42:20 +00:00
Marcelo Matus
7bf9d1746a delete extra new lines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 18:41:40 +00:00
Marcelo Matus
8e29e828be fix for Py_NotImplemented as reported by Olly and Amaury
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 16:59:00 +00:00
Charlie Savage
aff76328a7 Fixed a bug in Ruby's object tracking functionality. Previously, an object could be returned even if it did not have the correct type. This could occur if a factory class' creation method had a signature returning a base type (like geometry) but in reality a subclass (like Point) was returned. In that case, it would then be impossible to implement a "downcast" method and get back a Ruby object of type Point. Also updated the test-suite to test this situation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 08:20:48 +00:00
Marcelo Matus
ae83eaab01 fix seterrormsg as reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 17:42:54 +00:00
Marcelo Matus
c58c487181 cosmetic for generated python code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:33:18 +00:00
William S Fulton
e960842b55 Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:15:23 +00:00
Matthias Köppe
bf1f3e4c09 [MzScheme] Typemaps for all integral types now accept the full range
of integral values, and they signal an error when a value outside the
valid range is passed.

[Guile] Typemaps for all integral types now signal an error when a
value outside the valid range is passed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 19:28:42 +00:00
Marcelo Matus
027e8561ae fix for python 2.3 and gc_refs issue reported by Luigi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 20:54:17 +00:00
Marcelo Matus
f1a00ddf25 more fixes for old Solaris compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 08:17:23 +00:00
Marcelo Matus
5ebfa83e66 fix warning reported by Nitro in VC7
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:27:30 +00:00
Marcelo Matus
609c14457d fix premature object deletion reported by Paul in tcl3d
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:19:50 +00:00
William S Fulton
a8ed3543a8 Fix Sun workshop char* problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 23:20:19 +00:00
Kevin Ruland
0a79bdb042 Added TSRMLS_CC to get_constant call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 21:28:08 +00:00
Mark Gossage
29c7334a8f added correct void* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 02:49:55 +00:00
Marcelo Matus
0a0702f086 more keyword fixes, from Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 22:01:51 +00:00
Marcelo Matus
390c3e2ae1 more comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:36:39 +00:00
Marcelo Matus
c9639395c9 uniform the location of the includes and fixes, now in perlhead.swg as rubyhead.swg and pyhead.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:33:52 +00:00
William S Fulton
264cd3132f More and better fixes for older versions of perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 02:21:26 +00:00
Marcelo Matus
f1f328a58d comments, clean and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 02:20:17 +00:00
Marcelo Matus
bdc5dc78a8 simplify generated code and more consistent names/sections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 01:57:32 +00:00
William S Fulton
c9de72f7ce Rearrange macros, keeping SWIG macros together and missing perl macros together.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 22:54:23 +00:00
Marcelo Matus
a81d0c4691 more fixes for old perl versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 20:37:20 +00:00
Marcelo Matus
f501d6eca9 define SvIOK_UV if missing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 19:36:01 +00:00
William S Fulton
7260176b7f Support for older versions of Perl again.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 16:40:08 +00:00
William S Fulton
f24ed65e94 perl_get_sv is deprecated
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 16:37:14 +00:00
William S Fulton
603f17d56f remove more global pollution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 16:23:48 +00:00
Marcelo Matus
fdb55e82ab add macors for PTR2IV INT2PTR when needed, bug #1208765
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 09:47:39 +00:00
Marcelo Matus
799f7e9254 use one line macro when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 09:24:28 +00:00
Marcelo Matus
91462765db more fixes to use one line macro when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 09:00:00 +00:00
Marcelo Matus
f5fa773e53 use one line macro when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 08:14:58 +00:00
Marcelo Matus
7909b2de81 delete extra spaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 20:42:34 +00:00
Charlie Savage
188a9b9f77 Updated link that points to table of Ruby keywords.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 20:21:53 +00:00
Marcelo Matus
473215225d fix ruby kw warnings, all can be methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 20:07:44 +00:00
Marcelo Matus
404abfaa11 fix predicate, excluding template case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 17:34:52 +00:00
Marcelo Matus
1d4edd3b43 fix renaming for begin/end
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 16:43:24 +00:00
Marcelo Matus
fa672bcb12 add minor and missing noblock attributes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 23:56:59 +00:00
Marcelo Matus
1392d9f9f8 fix ruby std::vector to support element with nodefault constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 23:55:53 +00:00
William S Fulton
359c05309a Add in specialization for pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 22:23:03 +00:00
Marcelo Matus
060c6e185f simplify output via macro SWIG_ArgError
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 17:37:13 +00:00
Marcelo Matus
6a53d0fbac split operation since they are macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 09:23:43 +00:00
Marcelo Matus
ff36d2d809 fix destroy issue reported by Mike Romberg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 00:03:21 +00:00
Marcelo Matus
2764016815 add back. comp. names, reported by paul@posft.de
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 21:53:06 +00:00
Surendra Singhi
25ef77d499 Fixes the placement of swig-lisp code, and also makes sure that
literals are properly converted for enums.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 20:38:54 +00:00
Marcelo Matus
43e628c5a6 simpler warning for mem leak, due to problem reported by Mike Romberg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 18:38:22 +00:00
Marcelo Matus
6749a7cf89 add missings getattro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 16:47:47 +00:00
Kevin Ruland
d90cfcb917 Fix typemaps for void* and void**.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 14:02:44 +00:00
Marcelo Matus
94145533a5 more fixes for 1.5.2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 09:28:56 +00:00
Marcelo Matus
b1ac8b5775 fix %import problem reported by Eric Blossom
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 03:58:58 +00:00
Marcelo Matus
5a499c711f fix checking for noargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:11:40 +00:00