Commit Graph

297 Commits

Author SHA1 Message Date
Robin Dunn
2cd58fb789 Explicitly close the subprocess' stdout stream when we're done with it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:55:27 +00:00
Robin Dunn
f00fa32e46 Merged some additional changes from PR #17
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:54:55 +00:00
Robin Dunn
2e30a88173 Some Py3 and various other fixes from wxGuru.
Merged and squashed from https://github.com/RobinD42/Phoenix/pull/15,
with additional edits.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:54:22 +00:00
Robin Dunn
b0842a986d More unittests and fixes for issues found by the tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:37:23 +00:00
Robin Dunn
543dcf303a Add some richtextbuffer unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:36:53 +00:00
Robin Dunn
7d36253d08 Add even more richtext modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:34:27 +00:00
Robin Dunn
0a30cc5971 Add richtextprint module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:33:51 +00:00
Robin Dunn
84cbb61a81 Add richtexthtml and richtextxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:32:50 +00:00
Robin Dunn
2273844303 Add richtextctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:32:17 +00:00
Robin Dunn
ce4424c4ea Initial add of richtext modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:28:44 +00:00
Robin Dunn
a41fd0304a Add wx.ModalDialogHook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-07 03:02:32 +00:00
Robin Dunn
2ce1645016 Rename script used by test_process...
...so it is less likely to be picked up by auto-testers as a unittest.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:02 +00:00
Robin Dunn
ba06b9e625 Add tests for SetMin SetMax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-16 18:08:03 +00:00
Robin Dunn
0297c02a7e Use an existing bitmap file so tests will pass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-14 02:54:05 +00:00
Robin Dunn
a9f3859f3e Floatcanvas docs and test updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-14 02:53:56 +00:00
Robin Dunn
afcebe6210 I copied the same file twice, remove the extra and add the missing one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:31:20 +00:00
Robin Dunn
bec4835bbd fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:26:10 +00:00
Robin Dunn
31ecbfd79c fix usage of wrong wx.Font ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 22:26:02 +00:00
Robin Dunn
d9868d28d4 Add more pubsub unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 21:51:37 +00:00
Robin Dunn
0b84f453ce - Fix Py Events to clone properly from derived classes by implementing some Python magic in an overridden Clone() method.
- Update unittests accordingly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 04:46:16 +00:00
Robin Dunn
5077a51507 write temp file to unittests folder, and remove it when done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:44 +00:00
Robin Dunn
d7df8cd7b8 More pubsub test updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:34 +00:00
Robin Dunn
3105b4d95a Pubsub unittest updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-02 01:01:30 +00:00
Robin Dunn
6a3d15ec67 Add wxFontInfo, adapt to loss of one of the ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-30 20:09:05 +00:00
Robin Dunn
5a958ff03b Small tweak and tests to allow using objects supporting only the old buffer interface to be used as buffer sources.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-27 02:49:08 +00:00
Robin Dunn
d0e440a304 Add pubsub unittests, adapted by Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-20 21:53:50 +00:00
Robin Dunn
495d42fe27 Patch for wx.lib.masked from Werner.
- added progress tags
- changed wx calls which are no longer valid in Phoenix
- changed public method documentation to Sphinx/Phoenix format
- created tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-17 02:52:09 +00:00
Robin Dunn
78e9cdf913 Don't use deprecated methods in the checklst unittests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:26 +00:00
Robin Dunn
596cb9b484 Set the log target to use stderr so it won't try making log dialogs while tests are running (and the UI might not be in enough of a fully initialized state for them to work without asserting or crashing.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:18 +00:00
Robin Dunn
bea3258b0b Ignore the GetFirst/GetNext methods in wx.FileConfig so it will use the custom ones in wx.ConfigBase instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:09 +00:00
Robin Dunn
b0f18532d4 Fix Get[First|Next][Entry|Group] to work like they did in Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-12 04:02:07 +00:00
Robin Dunn
058ed937da wx.ComboBox fixes.
- disambiguate GetSelection by renaming an overload to GetTextSelection.
- add a SetTextSelection to go with it, but keep both original SetSelection overloads too.
- add deprecated SetMark/GetMark aliases.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:06:10 +00:00
Robin Dunn
676b45c860 Phoenix patch from Werner for imagebrowser.
- corrected all deprecation warnings
- wrapped all user visible strings with wx.GetTranslation macro
- reformatted existing doc to Sphinx format
- added a little bit of doc
- added a unittest

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:06:00 +00:00
Robin Dunn
b85f0fd8e6 Phoenix patch from Werner for the inspection modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:05:41 +00:00
Robin Dunn
d059507f76 Unit test for the debug module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:05:08 +00:00
Robin Dunn
a5a432fc1f WEB_VIEW --> WEBVIEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:51 +00:00
Robin Dunn
984ef83099 Add a new wxDataViewItem ctor accepting an integer value.
Apparently sip used to auto-convert from int to void* but it doesn't anymore. Fixes #15135

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:38 +00:00
Robin Dunn
222131679d Add pdfviewer unittests, from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-25 16:06:25 +00:00
Robin Dunn
7fb935cd43 Add HtmlListBox and SimpleHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-22 01:29:32 +00:00
Robin Dunn
1641a77b85 Testcase for trying to invoke wx.EvtHandler.__init__ with keyword args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-22 01:29:14 +00:00
Robin Dunn
acbf6fd9ed Fix GetFirstChild and GetNextChild
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-22 01:29:05 +00:00
Robin Dunn
b53446b409 Phoenix port and docs for sized_controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-08 07:46:33 +00:00
Robin Dunn
2f42f06d4b Just make wx.SearchCtrl look like it derives directly from wx.Control, and then add declarations for all the TextCtrl and TextEntry methods to it and let C++ sort it all out properly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-08 04:03:05 +00:00
Robin Dunn
bed93f2c45 Revert "Add class wrappers that enable more accurately defining the class hierarchy of wxSearchCtrl"
This reverts commit afed8cbc976ff5a35a63b1a360d41f1b27d47668.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-08 04:02:55 +00:00
Robin Dunn
97a1a8be7b Add class wrappers that enable more accurately defining the class hierarchy of wxSearchCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-08 04:02:46 +00:00
Robin Dunn
4f0ecca13e Add unittest for wx.SearchCtrl [Get|Set]Value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-08 04:02:36 +00:00
Robin Dunn
10b92e1ff9 add Preference classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-06 19:56:16 +00:00
Robin Dunn
9760539742 Add declarations of the pure virtuals for the file-system handler classes so they can be instantiated, and some unittests.
Update wx.tools.helpviewer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-22 06:20:36 +00:00
Robin Dunn
d9f802f384 Fix EndEdit to use the newvalue/None as the return value instead of bool and a parameter pass-through.
Add first grid sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:59 +00:00
Robin Dunn
31a7a477b3 More tweaks and unittests for the wx.grid classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:48 +00:00