Commit graph

935 commits

Author SHA1 Message Date
Marcelo Matus
a9bbfd2b72 fix _swig_repr, as reported by Robin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 18:17:06 +00:00
Marcelo Matus
0395de6a20 fix fastinit option initial value, ie, it should be disabled(0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 04:08:44 +00:00
Marcelo Matus
36c067836e add -fastquery and fix SWIG_Python_GetSwigThis, avoid to call GetAttr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:43:16 +00:00
Marcelo Matus
fbb364e7b5 add -O
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:37:18 +00:00
William S Fulton
a86a9b3fb6 split string, it is too big for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 00:23:37 +00:00
Marcelo Matus
9e952010b9 add -fastinit option after issue reported by Robin Dunn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 11:06:51 +00:00
William S Fulton
25aff229ab Remove void * cast which was suppressing gcc's strict aliasing warning display. Note g++ 4.0 still does not display the warning even though with -O2 the resulting code fails due to aliasing optimisations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:44:34 +00:00
William S Fulton
ee27412e6e Fix DllExport - it is a leftover from the C# module and should not be used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:14:39 +00:00
William S Fulton
2a26e53f75 forgotten check in from a while back needed for visual studio.net 2005
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:04:00 +00:00
Surendra Singhi
6e4fc3b4c4 If there is a variable or argument with the name t' then convert it to either t_arg%d' or `t_var'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 17:56:19 +00:00
Marcelo Matus
b15a7a75d7 add the -olddefs flag for python, I am sure someone will ask for it...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 00:39:25 +00:00
Mikel Bancroft
4aabff8208 02/27/2006: mutandiz
[allegrocl]
	    Add support for INPUT, OUTPUT, and INOUT typemaps.
	    For OUTPUT variables, the lisp wrapper returns multiple
	    values.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 21:45:07 +00:00
Marcelo Matus
46318e8766 fix bug #1263457
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 23:45:28 +00:00
Kevin Ruland
5944accd5f Fix the constructor naming for non-shadow forms.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:49:01 +00:00
Kevin Ruland
0f01a6ed9f More TLS changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:03:12 +00:00
Marcelo Matus
be930bb0e3 fix duplicate method definitions when using -fastproxy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:47:21 +00:00
Marcelo Matus
54078c42b9 fix for non-void returning value and using + %extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:06:41 +00:00
Marcelo Matus
49796f8ab7 fix for directors + empty vtables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 06:49:34 +00:00
Marcelo Matus
e99a8a707f fix using + extend as reported by William
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 01:21:43 +00:00
Marcelo Matus
3d6ad6e78d fix for directors, now the test-suite runs again using -directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:20:09 +00:00
Marcelo Matus
60fca08fd8 fix previous overload +protected member issue, as reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:09:05 +00:00
Marcelo Matus
95815dd5a2 allow director protected members by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 18:18:44 +00:00
Marcelo Matus
0e217ce9fb fix overload + protected member issue reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 16:52:28 +00:00
Marcelo Matus
28e84adf61 fix fastproxy for methods using kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:30:38 +00:00
William S Fulton
6b6147f03b Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones in Visual Studio 2005
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:16:56 +00:00
Marcelo Matus
cf3d3edba9 add swigregister proxy method and move __repr__ to a single global module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 10:31:57 +00:00
Marcelo Matus
742a65ce66 add swigregister proxy method and move __repr__ to a single global module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 09:23:55 +00:00
William S Fulton
892e0202a6 Fix Sun workshop char* problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 23:20:19 +00:00
Marcelo Matus
cb80d44fa6 avoid assert when finding a recursive scope inheritance, emit a warning in the worst case, reported by Nitro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 22:13:37 +00:00
Marcelo Matus
e9877c5ca7 fix gcc warning reported by R. Bernstein
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 21:10:42 +00:00
Kevin Ruland
9a2ca86ac5 Added #include TRMLS.h to the php_module.h header file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 21:30:03 +00:00
Marcelo Matus
2d1b8578cc fix copyctor + template bug #1432125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 05:39:20 +00:00
Marcelo Matus
5f1577a67e fix copyctor + template bug #1432125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 05:30:26 +00:00
Kevin Ruland
a5c2491f6a Fix overloading of constructors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 19:31:16 +00:00
Marcelo Matus
68f665df35 fix static member names, from Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 22:01:31 +00:00
Marcelo Matus
b0cf74124e 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/SWIG@8794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:33:52 +00:00
Marcelo Matus
d911afe543 generate warning for old python versions if the -classic option is not been used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:14:01 +00:00
Marcelo Matus
00006295b0 new fix for director protected members + overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 18:09:46 +00:00
Marcelo Matus
b920c8438c minor cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 08:09:17 +00:00
Marcelo Matus
16d3c24fa2 more fixes for old perl versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 20:37:20 +00:00
Marcelo Matus
76a78eb125 fix C + struct + enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 23:14:33 +00:00
Marcelo Matus
f2b5d37fec fix missing namespace in constants, reported by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 16:39:10 +00:00
Marcelo Matus
ceaeb49a9f fix C + enums + struct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 08:23:45 +00:00
Marcelo Matus
8b9a7ae769 solve duplicate symbol issue reported by Andreas Held
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 02:06:15 +00:00
Marcelo Matus
7515e64361 fix template + typedef issue reported by Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 23:42:37 +00:00
Surendra Singhi
70c1bd07a4 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/SWIG@8731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 20:38:54 +00:00
Marcelo Matus
f772fe7752 add -fastproxy and keep 'def' methods in class definitions for back. comp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 10:20:48 +00:00
Marcelo Matus
403e9ebc9e fix unused 'fail:' label warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:08:56 +00:00
Marcelo Matus
c9ce8fcf52 fix unused variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:07:16 +00:00
William S Fulton
d5f8b761fd Give copy constructor parameter a more appropriate name. Also there is no need to mangle it, the name appears in the proxy classes in java/c#, so better that it is nicely named.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:59:45 +00:00