Commit Graph

31 Commits

Author SHA1 Message Date
Robin Dunn
a72f4631fe Update SWIG patch to output "True" ("False") in the autodoc string
when "true" ("false") is in the .i file.

Changed the .i files to use true/false to avoid collisions with any
True/False in headers that may be included.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 20:23:54 +00:00
Robin Dunn
414863fd52 New patch for SWIG, updated to SWIG 1.3.22. Removed old patches that
have already been put in to SWIG


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 18:32:44 +00:00
Robin Dunn
42637d6004 Add a package="name" option to the %module directive in my SWIG patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 02:27:43 +00:00
Robin Dunn
f96a747517 be explicit about the version of SWIG to use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 02:14:06 +00:00
Robin Dunn
c8fac2b60d Modules generated by SWIG can now have module docstrings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:25:33 +00:00
Robin Dunn
bcb1a72d5f undid one of the last SWIG tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 06:29:27 +00:00
Robin Dunn
6c7eee75ce Updated SWIG docstring changes, also merged prepend patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:37:50 +00:00
Robin Dunn
0cb6df6e3d Updated SWIG patches to CWIG CVS 20040130.
Added a new patch that changes addtofunc to pythonAppend and adds pythonPrepend.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 01:11:51 +00:00
Robin Dunn
700c96d420 docstring patch has been submitted to SF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 02:35:25 +00:00
Robin Dunn
3d3e0170c0 Fixed autodoc for static methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 00:12:34 +00:00
Robin Dunn
b978d7aa08 These files just changed in SWIG again, so update the patches again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 22:55:38 +00:00
Robin Dunn
1de47c7cb4 Updated SWIG patches and wxPython's SWIG runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 22:31:34 +00:00
Robin Dunn
1202c414ea Added SF Patch#
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:08:42 +00:00
Robin Dunn
28a15b3e4c Updated SWIG patches for new CVS line numbers, also output "int" for
enum types in the autodoc strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-19 04:39:38 +00:00
Robin Dunn
0221a4c390 Another try at fixing this patch so it applies cleanly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 19:46:13 +00:00
Robin Dunn
a2526d81f4 Cleaned up a bogus newline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 19:31:06 +00:00
Robin Dunn
3b2fa8c6f3 A little tweak to the usage text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 19:25:33 +00:00
Robin Dunn
1e9b37a2fa Updated the docstring patch to match current SWIG CVS line numbers and
such.

Added swig.xmlout.patch, which fixes a couple problems in the XML
output of SWIG: an extra "/>" was removed and newlines in attribute
values were changed to the #10; entity reference so they will be
preserved by parsers. Also, added options for dumping or writing to a
file the XML of the parse tree *after* other language modules have
been run (previously you could only do the XML output *instead of* a
regular language module.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 19:07:00 +00:00
Robin Dunn
6977316f8d Updated docstring patch so that it senses multi-line docstrings and
does a proper indentation if so.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-27 00:53:46 +00:00
Robin Dunn
80f334397a Updates for the autodoc/docstring patch, fixes overloaded functions
where one or more of them have a specific autodoc (not "0" or "1")


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-21 17:05:30 +00:00
Robin Dunn
d58a0c0392 Updated docstring patch for new SWIG CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 17:35:50 +00:00
Robin Dunn
6a30d63aed SWIG patch for "autodoc" and "docstring" %features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 06:27:42 +00:00
Robin Dunn
5434ebd693 Recent changes in SWIG make this patch no longer necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 18:42:38 +00:00
Robin Dunn
d14a1e2856 Merged the wxPy_newswig branch into the HEAD branch (main trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-12 21:34:20 +00:00
Robin Dunn
322a3817ea Removed the old patch files for swig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 04:26:02 +00:00
Robin Dunn
0220cbc169 Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 00:41:21 +00:00
Robin Dunn
0122b7e3fc Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:26:38 +00:00
Robin Dunn
493f1553fd Cleanup up the demo a bit
Added wxWave

Added another patch for SWIG that optimizes the generated code some
and eliminates some unused type mappings in the type registry.
(Reduces it by about half!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 21:59:59 +00:00
Robin Dunn
9416aa89ca Implemented the first phase of OOR (Original Object Return). See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 22:47:09 +00:00
Robin Dunn
cb29fb86c0 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-11 02:33:52 +00:00
Robin Dunn
c368d904fc Merged wxPython 2.2.2 over to the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 21:08:42 +00:00