Commit Graph

927 Commits

Author SHA1 Message Date
Robin Dunn
5b8bc4fe17 Use textfile_open when loading core.pi to avoid encoding errors in Python3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-16 01:15:21 +00:00
Robin Dunn
28dff8e00b Set the svn:eol-style property to native for the newer files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 08:58:31 +00:00
Robin Dunn
32b174134b Verify that the cl.exe used for the wx and py builds is the one that the target Python wants to be built with, and also set the environment vars from that version of the compiler's vcvarsall.bat the same way that distutils does it. Ensure that CPU is set for the wx build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 08:49:44 +00:00
Robin Dunn
24d80511a8 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 21:05:43 +00:00
Andrea Gavana
7dc13f1e2b Work around for the buildbot sphinx generator which seems unable to find tables and snippets (hopefully this will do the job)...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 15:11:14 +00:00
Andrea Gavana
9decb82713 Phoenix: Revise the way `:param: and :rtype: are handled in sphinx_generator.py so that the module name does not appear in front of the class. Minor cleanups to the docstrings generators. Fixed interlinks in wx.lib.busy.py and wx.lib.softwareupdate.py`.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-06 20:33:39 +00:00
Andrea Gavana
66840744d2 Phoenix: few corrections to the overviews; Added some more contributed snippets; Fixed some more converted snippets; Added the correct interlink references in the etg files; better handling of the Doxygen stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-05 20:44:52 +00:00
Andrea Gavana
44bd22d409 Phoenix: handle the ::wxSomething case (no, really, wxWindow::wxSetCursor in wxSetCursorEvent????)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 22:05:51 +00:00
Andrea Gavana
6eb532bdc5 Phoenix: better handling of XML tail items after source code...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 21:26:03 +00:00
Andrea Gavana
75820304c8 PersistenceManager: apply a slightly modified version of Werner's patch to check if anything was restored or not (second try)...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 21:03:37 +00:00
Andrea Gavana
6157b2bc35 Phoenix: sizers_overview.rst expanded; added a bunch of "contributed" snippets on various classes/methods; many fixes on strange doxygen layouts and XML hierarchies; fixed many cross-references between classes/methods/functions in the etg files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 20:58:27 +00:00
Andrea Gavana
bed39f701d Phoenix: again improvements for pathological linebreaks inside parameter descriptions (GLContext.__init__, DC.Blit and ConfigBase.__init__)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 22:37:19 +00:00
Andrea Gavana
617e7fcdfb Phoenix: don't lookup "..." strings for module.class names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 21:51:38 +00:00
Andrea Gavana
e48ed22135 PersistenceManager: apply a slightly modified version of Werner's patch to check if anything was restored or not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 21:29:37 +00:00
Andrea Gavana
6d0ef23bee AquaButton: apply patch from Werner to allow the definition of a disabled colour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 21:16:07 +00:00
Andrea Gavana
b117617572 Phoenix: few additional fixes to some of the samples, plus better formatting for the remaining troublesome docs classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 20:50:04 +00:00
Andrea Gavana
983d3c4c35 Fix a couple of broken snippets for xml and xrc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 22:57:07 +00:00
Andrea Gavana
bd891fbdf4 Phoenix: converted snippets for xml and xrc. Fixed minor issues in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 22:38:22 +00:00
Andrea Gavana
cc30e20a0c Phoenix: add xml and xrc modules to index.rst.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 19:55:07 +00:00
Andrea Gavana
96de16a077 Phoenix: add xml and xrc modules to constants.py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 11:16:42 +00:00
Robin Dunn
b7cf438804 MSW build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 01:16:49 +00:00
Robin Dunn
29f615a5f2 No real change, just triggering a rebuild of this module on the buildbots
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 23:36:53 +00:00
Robin Dunn
fc96b1bcd0 Add back a semi-colon that got lost somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:33:18 +00:00
Robin Dunn
4d5faa2868 Add _xml and _xrc modules with some unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:32:53 +00:00
Robin Dunn
10ec2fb1f1 just add some extra info in a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:32:20 +00:00
Robin Dunn
f41acfcf92 NO_IMAGE --> -1 in default arg values since the class is still being defined at the time the arg is seen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:31:55 +00:00
Robin Dunn
73d6fb4baa Chop the names at '(' if any when checking if the name is in the core module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:31:30 +00:00
Robin Dunn
ae54ccbb3a Don't skip writing the overloads when one has MethodCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:31:05 +00:00
Robin Dunn
d5ed51e2d8 Add link for wx.html2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:30:39 +00:00
Robin Dunn
5763838e37 Don't comment out DEPENDS and other items used by the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:30:13 +00:00
Robin Dunn
bdc847d0f0 Fix both cases of SetStatusWidths to just use a wxArrayInt mapped type instead of a plain C array and size. Add unit tests for it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:29:48 +00:00
Robin Dunn
a33098471a Add tweaks for SetStatusWidths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:29:21 +00:00
Robin Dunn
84c453ef2c Add missing increment of the pixel iterator for the wx.BitmapBufferFormat_RGBA format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:28:56 +00:00
Andrea Gavana
604b778a2c Phoenix docs: handle funny-formatted heading sections for window styles, extra styles and event handling; Add missing modules in the main.html Sphinx file; Convert some more snippets, specifying the highlight language used (XML/HTML for some snippets in wx.html); Correctly reference classes and functions in wx.Bitmap pure-Python methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 20:54:13 +00:00
Andrea Gavana
3ca003508a Phoenix: revert build.py to the previous version, it was committed by mistake...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-29 21:23:30 +00:00
Andrea Gavana
cd5581f696 Phoenix docs update: added support for wx.html2 and friends, converted a bunch of snippets and translated the wx.Command/wx.CommandProcessor overviews. Revised some internal links between documentation classes and overviews (again... please wx-devs stop renaming the interlinks between classes and overviews).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-29 21:18:30 +00:00
Robin Dunn
79a234544a Remove html2 from the todo list since it is done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:24:27 +00:00
Robin Dunn
90bdb0339c More combobox fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:24:03 +00:00
Robin Dunn
794a237843 Sometimes when we remove the wx prefix we really want to make it be "wx.Name" instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:23:36 +00:00
Robin Dunn
422814f88b Add html2 (WebView) classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:23:10 +00:00
Robin Dunn
1e0bcc84c8 Change the type of HtmlCell.Find.param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:22:39 +00:00
Robin Dunn
b6865190d5 rename 'from' and 'to' parameters to avoid syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:22:14 +00:00
Robin Dunn
8c9583fdca little comment fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:21:49 +00:00
Robin Dunn
850ef9684f Some fixes for read-only combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:21:22 +00:00
Robin Dunn
036b3db33c Add wx.GenericMessageDialog and wx.RichMessageDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:20:56 +00:00
Robin Dunn
76951ca9a4 Comment out a bot and its builders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:20:25 +00:00
Robin Dunn
b42ab9180a Define wxFSW_EVENT_UNMOUNT if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-19 18:19:05 +00:00
Robin Dunn
db9351e83a Use PyObject_RichCompareBool instead of PyObject_Cmp, for Python3 compatibility and because it's a better API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:43:48 +00:00
Robin Dunn
aacc033a6d Add the rest of the dataview classes, lots of unittests and supporting helpers and MappedTypes.
Update existing dataview and variant classes and MappedTypes to add missing features and such needed for Classic compatibility and full coverage of the API.

Add some samples ported from the Classic demo so the DVC and related classes can be seen in action.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:22:20 +00:00
Robin Dunn
ef5144d08d Update to SIP 4.14.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-17 22:21:46 +00:00