Commit Graph

245 Commits

Author SHA1 Message Date
Robin Dunn
4330044017 Set svn:eol-style properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 22:00:10 +00:00
Robin Dunn
c17bb549fe Add FindItem and FindItemById
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:37 +00:00
Robin Dunn
24307717fc Add missing FindWindowBy* functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:30 +00:00
Robin Dunn
ccaf7dccd6 Test for missing SetOrientation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:24 +00:00
Robin Dunn
e7a2c5fac1 Add missing EVT_TOGGLEBUTTON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:19 +00:00
Robin Dunn
6291fd7cc9 Present the math operators for Point, Size, Rect as if they were methods of the class instead of global functions. This helps disambiguate between Point and Size functions due to how both can be equivalent to 2-element sequences.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:14 +00:00
Andrea Gavana
5c33e560c8 AGW on Phoenix: more fixes and porting to Phoenix; added unittest for aquabutton.py, flatnotebook.py, gradientbutton.py and infobar.py; minor modifications to wx.lib.masked.maskededit.py and wx.lib.colourutils.py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-28 22:08:07 +00:00
Robin Dunn
d0343102dc Add some of the debug related functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:37 +00:00
Robin Dunn
75e056adba Add wx.StopWatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:11 +00:00
Robin Dunn
1f610f6419 Add a unit test for wx.ClientDataContainer, fix the bug that the test found.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:48 +00:00
Robin Dunn
eece1b3f96 Add wxClientDataContainer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:37 +00:00
Andrea Gavana
8225935187 Phoenix: More conversions in AGW to improve compatibility. Fixed wrong Sphinx interlinks in various AGW modules. Tagged wx.lib.scrolledpanel.py and ported to Phoenix, documented and added a unittest. Small change in the Sizer ReST table.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-21 21:08:53 +00:00
Robin Dunn
388b3d86bc Add tests and support for creating custom XRC handlers and using the Python subclass factory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:27:23 +00:00
Andrea Gavana
b4f61b591e Phoenix: fix unit test for test_uiaction.py (assertEqual needs 2 args)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:17:20 +00:00
Andrea Gavana
01483191b1 AGW in Phoenix (4): Many, many changes to almost all the AGW widgets to be able to run the AGW demos (although heavily modified). Add a unittest for LabelBook and FlatImageBook (which asserts on one test for still unknown reasons). Mention that wx.EmptyImage is now deprecated in the classic_vs_phoenix.txt file. Improved the documentation for many AGW widgets to avoid Sphinx missing links. Minor fixes to fancytext.py to allow it to run.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:06:03 +00:00
Robin Dunn
295d3f6442 * Upgrade to the newest six module (1.2.0) and call it six instead of wx2to3.
* Tweak six a little, adding its license text since we'll only be distributing the module, fix the name of the dummy moves module, and add a PY33 constant since the change in memoryview affects our code.

* Update all modules already using the old wx2to3

* Tweak lots of unit tests and other modules to work with Python 3.3 (still a few more that will need some work.)

* Try to deal with memoryview changes in Py3.3, without much luck...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-16 01:15:41 +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
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
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
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
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
431b09c5a2 Add wx.glcanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-09 04:39:42 +00:00
Robin Dunn
d4ce9984ff Add some Html unittests, and fix some issues discovered by the tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-01 22:51:42 +00:00
Robin Dunn
79e9959281 Add some HtmlHelp unittests, and fix some issues discovered by the tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-01 22:51:31 +00:00
Robin Dunn
d3bc68a180 Add HtmlHelp classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-01 22:51:02 +00:00
Robin Dunn
555fcb7f22 Add unittest stubs for html modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-01 22:50:47 +00:00
Robin Dunn
22057708b8 Fix wxSTCNameStr, add a test for stc.pi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:29 +00:00
Robin Dunn
4f57d144d3 Add wx.lib.busy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:22 +00:00
Robin Dunn
06b02a6277 Add wx.stc.StyledTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:14 +00:00
Robin Dunn
42df9e17fa Port the add-on wx.DC.DrawXXXList methods from Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-21 04:36:31 +00:00
Robin Dunn
932d7a6166 Add the raw bitmap access classes and various bits of magic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:46:13 +00:00
Robin Dunn
7bd1c71395 Add wx.VListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:45:48 +00:00
Robin Dunn
a546e29c18 Add wx.TextEntryDialog and wx.PasswordEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:45:37 +00:00
Robin Dunn
5b964d9f8b fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-10 07:04:02 +00:00
Robin Dunn
d755518068 Various test fixes for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-10 04:54:59 +00:00
Robin Dunn
73dcef083f No longer need to skip these tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-10 04:54:48 +00:00
Robin Dunn
a5e632d98f Make it possible to run each test suite in a new process, while still collecting and combining all the results so it looks like all tests were run in a single pass. This slows down the test run quite a bit, but protects against tests causing problems for each other (which was happening more often on OSX.) Using nosetest's multi-process feature wasn't workable in this case because new wx.App's could not be created in the child multiprocess.Process instances on Macs because of how they are forked. We need a totally new process (using the Framework Python) to make it work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-10 04:54:43 +00:00
Robin Dunn
61acf2293a Fix test for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-10 04:54:37 +00:00
Robin Dunn
7d87b52021 Fix tests for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-02 05:39:41 +00:00
Robin Dunn
3c81c73b9e Adapt tests to GetHandle changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-02 05:39:36 +00:00
Robin Dunn
150725928a Add wxFileSystemWatcher
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-02 05:39:26 +00:00
Robin Dunn
824bd0f873 Allow for an item to be already selected in the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 19:43:07 +00:00
Robin Dunn
eb0cbeeeff Ensure that items returned by GetChildren are the right type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:15 +00:00
Robin Dunn
11e29f9425 Use the integer value of the enums when making the alias for the old flag names for Font, Brush, and Pen. This fixes it so that the old names can still be used without errors, even when there is overlapping flag names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 07:04:24 +00:00
Robin Dunn
6130163855 Add wx.Command and wx.CommandProcessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:14 +00:00
Robin Dunn
0d3e370c75 Use wxListWrapperTemplate for GetMenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:06 +00:00
Robin Dunn
6cd0f1f2ee Add wx.FileHistory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:05:55 +00:00
Andrea Gavana
f0667ab881 Phoenix-port of another part of the AGW library, including PyProgress, RulerCtrl and ShapedButton. Unittests and documentation updated to Phoenix standards. Holiday time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-16 22:25:37 +00:00
Andrea Gavana
bb9bd6c9b8 Phoenix:
- Phoenix-port of another part of the AGW library, including `KnobCtrl`, `MultiDirDialog`, `PeakMeterCtrl`, `PyCollapsiblePane` and `PyGauge`. Unittests and documentation updated to Phoenix standards;
- Modified some methods names in the unittest for previously committed AGW widgets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-16 21:05:36 +00:00
Andrea Gavana
6bfa39aff0 Phoenix:
- Phoenix-port of `wx.lib.buttons.py`, with unittest and documentation updated to Phoenix standards;
- Phoenix-port of part of the AGW library, including `AdvancedSplash`, `BalloonTip`, `ButtonPanel`, `CubeColourDialog`, `CustomTreeCtrl`, `FloatSpin`, `FoldPanelBar`, `FourWaySplitter`, `GenericMessageDialog`, `HyperLinkCtrl` and `HyperTreeList`. Unittests and documentation updated to Phoenix standards;
- Added the `wx2to3.py` module to `wx.lib`, to facilitate the port to Python 3 (AGW depends on it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-16 16:52:14 +00:00