Commit graph

5,953 commits

Author SHA1 Message Date
Marcelo Matus
e914e7dd6a add -fastquery and fix SWIG_Python_GetSwigThis, avoid to call GetAttr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:43:16 +00:00
Marcelo Matus
4469c94646 add -O
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:37:18 +00:00
Marcelo Matus
bcc01f061f fix for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:36:55 +00:00
Marcelo Matus
2c5eb13b5c delete extra ;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:35:57 +00:00
William S Fulton
0e576a3403 remove sprintf deprecated message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 00:38:54 +00:00
William S Fulton
b106b13983 split string, it is too big for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 00:23:37 +00:00
William S Fulton
ee03aa87d1 remove extra void * cast which hides type punned aliasing gcc warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 23:51:56 +00:00
William S Fulton
723c528772 1.3.29 date added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 23:44:44 +00:00
William S Fulton
ee3ef1c81a html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 23:43:20 +00:00
William S Fulton
b52a5b380b contents update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 23:42:59 +00:00
William S Fulton
c691e210bd mention csharp.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 23:42:12 +00:00
William S Fulton
6ccf376ab1 Add notes about strict aliasing rules
Add section on non-primitive types type mapping


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 23:41:02 +00:00
Marcelo Matus
9669b8d5b2 add -fastinit option after issue reported by Robin Dunn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 11:06:51 +00:00
William S Fulton
f8cafaf373 Fix compilation error in test case (gcc).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 23:35:57 +00:00
William S Fulton
ff86331dbb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 23:06:47 +00:00
William S Fulton
a969ab73dd 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@8948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:44:34 +00:00
William S Fulton
7a0351adc2 remove unused method warning with gcc -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:41:12 +00:00
William S Fulton
62383e4cec remove unused warnings with gcc -Wall
Add sanity check back in checking that the pending exception count is zero per thread


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:39:54 +00:00
William S Fulton
5f89971986 Remove DllExport - it is a leftover from the C# module and was removed a while ago and should not be used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:37:23 +00:00
William S Fulton
1dbc857c42 add missing virtual destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:35:23 +00:00
Marcelo Matus
1d7d67046f fix bug #1439898
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:35:23 +00:00
Marcelo Matus
ee3fafb073 fix bug #1439898
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:29:34 +00:00
Marcelo Matus
abd94d0297 add test case for bug #1439898
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:17:54 +00:00
Marcelo Matus
2a66d2d35c temporal fix since TCL has no std::vector<T*> specialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:14:48 +00:00
Marcelo Matus
abcb750a99 fix bug #1439898 ]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:08:23 +00:00
Marcelo Matus
d4163acbc2 fix builtin names warnings, so they ony apply to functions, as reported by James Bigler and the 'max' name issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 05:16:16 +00:00
Matthias Köppe
ec1b440dbf *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 04:00:54 +00:00
Matthias Köppe
3cab3284f2 [Guile -scm] Add typemaps for "long long"; whether the generated code
compiles, however, depends on the version and configuration of Guile.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 04:00:31 +00:00
William S Fulton
91b557c59e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:30:46 +00:00
William S Fulton
f35ca61913 Add inner exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:19:56 +00:00
William S Fulton
05d6ff3b15 Add inner exception support with ideas from Tamas Szekeres
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:18:45 +00:00
William S Fulton
41623ab2d4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:15:03 +00:00
William S Fulton
163bda978b 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@8931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:14:39 +00:00
William S Fulton
09bd1b834d Php5 exception support from Ollie Betts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:11:16 +00:00
William S Fulton
cc96957919 forgotten check in from a while back needed for visual studio.net 2005
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:04:00 +00:00
Marcelo Matus
7475a6b25e add std::vector<T*> specialization to fix #1386582
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 17:58:47 +00:00
Marcelo Matus
3dd67204e0 add test case for #1386582
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 15:28:31 +00:00
Marcelo Matus
ccae4e1142 apply patches for std::string/std::vector provided by Anthony Heading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 15:17:45 +00:00
Marcelo Matus
22d022c7de add SWIG_TYPECHECK_SWIGOBJECT to resolve simple overload functions as Graph(int i)/Graph(PyObject* p)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 06:13:13 +00:00
Marcelo Matus
157f655be6 reduce the typedef reduce cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 05:48:53 +00:00
Marcelo Matus
efaac02bd2 add SWIG_TYPECHECK_SWIGOBJECT to resolve simple overload functions as Graph(int i)/Graph(PyObject* p)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 23:30:37 +00:00
Marcelo Matus
574fb19357 reduce polution of macro comments by using one line macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 23:27:03 +00:00
Marcelo Matus
b9279de942 the visibility attribute also works with gcc3.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 08:19:18 +00:00
Marcelo Matus
c96bc2cd1b the visibility attribute also works with gcc3.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 08:08:51 +00:00
Marcelo Matus
5c23745537 add support for the GCC visibility attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:40:56 +00:00
Marcelo Matus
64fe0620cb add visibility attribute for GCC, now you can compile using -fvisibility=hidden
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:14:57 +00:00
Marcelo Matus
cc30a3d0d7 better using SWIGEXPORT for DllExport
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 06:14:23 +00:00
Marcelo Matus
063cd988c4 add the DllExport label for backward compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 18:59:41 +00:00
Marcelo Matus
8b7fbd4d1c fix wrong %include reported by Jab Rehders
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 18:41:32 +00:00
Surendra Singhi
80cdfb3594 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@8914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 17:56:19 +00:00