Commit graph

450 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Marcelo Matus
b07a589fcb move %extend_smart_pointer to pyuserdir.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 03:07:28 +00:00
Marcelo Matus
65728e968e add extended support for smart pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 09:48:40 +00:00
Marcelo Matus
074fba0b98 add back def PySwigObject_GetDesc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 23:28:15 +00:00
Marcelo Matus
0db9cfc821 remove unused var
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 23:48:56 +00:00
Marcelo Matus
31915bb0d5 fix bug #1420757
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 23:13:54 +00:00
Marcelo Matus
d2648ed8fd fix for subversion 1.3.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:53:07 +00:00
Marcelo Matus
e05f7cfffc add extranative option to keep old copy mode for std containers as the default behavior
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:00:37 +00:00
Marcelo Matus
14a5d7f762 fix for solaris + no stlport4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 16:24:23 +00:00
Marcelo Matus
dbdcf4462c fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
f59680b810 fix warning in solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:12:18 +00:00
Marcelo Matus
36ab776a61 fix -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
8e91804233 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:33:06 +00:00
Marcelo Matus
5e77ca27e0 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:22:13 +00:00
William S Fulton
23b90b3d1c fix solaris workshop compiler noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 21:14:21 +00:00
Marcelo Matus
183ca0b945 add more backward comp macros/fragments/methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 08:59:32 +00:00
Marcelo Matus
f8bc27f476 add more backward comp macros/fragments/methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 08:48:48 +00:00
Marcelo Matus
b8bf059066 set PyObject * out typemaps back to simple returns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:05 +00:00
Marcelo Matus
5a42618968 add support for 'old' tuple output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:26:11 +00:00
Marcelo Matus
c716bf093e remove 'hello'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:24:48 +00:00
Marcelo Matus
809584928c add and extend missing/deleted docs for the pythonappend/pythonpreppend features and the new directive forms %pythonappend/%pythonpreppend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 18:47:15 +00:00
Marcelo Matus
f76880fc20 add the 'str' method to cvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 16:28:43 +00:00
Marcelo Matus
96cab4a488 fix errors for 32bit arch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 00:33:19 +00:00
Marcelo Matus
6f263ce7cf fix missing endif
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 17:58:13 +00:00
Marcelo Matus
c5492251bd more fixes to MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:00:32 +00:00
Marcelo Matus
d56b75b1ac silence warnings with -O1 -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 01:03:37 +00:00
Marcelo Matus
5601aff69c fix cast from double to long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:18:58 +00:00
Marcelo Matus
43eaf119fe fix missing long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 08:44:46 +00:00
Marcelo Matus
137ab96746 use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
William S Fulton
65620fb539 Choose SWIG exception specification override (%catches) instead of real exception specifications for code that goes into the wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:01:54 +00:00
William S Fulton
a658cc52aa remove unnecessary exception specifications, thereby preventing Visual Studio from having epileptic warnings fits filling the screen with heaps of compete and utter rubbish because it doesn't handle exception specifications properly.
Marcelo, please check that this doesn't remove any generated catch handlers. I dont' feel up to chasing a million and one macros to be sure.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 22:36:04 +00:00
Marcelo Matus
9c7d46c48c add missing '%' in front of #include
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 18:49:12 +00:00
Marcelo Matus
0969072b63 fix memory PyObject * typemaps to avoid memory leaks with iterators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:05:12 +00:00
Marcelo Matus
2f69e0bf33 add functional header for std::less
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 16:47:51 +00:00
William S Fulton
bbaf3f1233 Fix so that C++ code is not generated for C wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:22:34 +00:00
Marcelo Matus
7169422ff6 fix missing _PyInstance_Lookup for versions < 2.3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:44:59 +00:00
Marcelo Matus
ea53f7c645 map iterators now use the native PySwigIterator, which is very very good for large maps, since no more temporals key/value tuples are needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 00:40:44 +00:00
Marcelo Matus
a7986b9077 add value iterator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:30:53 +00:00
Marcelo Matus
68f9b0408c update as std::map
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:48:47 +00:00