Commit Graph

2932 Commits

Author SHA1 Message Date
Robin Dunn
f4e2104adc Set the version number to 4.0.0 and update comments and other text about not keeping in sync with wxWidgets version anymore. 2017-04-07 12:24:36 -07:00
Robin Dunn
9754a8e15a typo in comment 2017-04-07 12:21:46 -07:00
Robin Dunn
2468b549b3 Update wxWidgets changeset link 2017-04-07 11:57:15 -07:00
Robin Dunn
62666b38ba Various minor text tweaks here and there 2017-04-06 11:34:50 -07:00
Robin Dunn
349ec7648f Also have just one place to set the project name 2017-04-05 13:39:01 -07:00
Robin Dunn
19db03eb52 Add comment about fetching waf for the sdist 2017-04-05 10:02:02 -07:00
Robin Dunn
cdf950c711 Add command to build a tarball containing the demo and samples 2017-04-04 14:19:30 -07:00
Robin Dunn
4fd36fd137 Merge branch 'master' into release-prep 2017-04-04 13:20:28 -07:00
Robin Dunn
8ce1232758 Merge pull request #258 from radarhere/master
Removed unused variables
2017-04-04 13:18:14 -07:00
Andrew Murray
634dda427c Removed unused variables 2017-04-04 19:37:55 +10:00
Robin Dunn
6ae8a86d60 Rearrange some things in propgrid 2017-04-03 22:31:30 -07:00
Robin Dunn
74148faaa6 Merge branch 'master' into release-prep 2017-04-03 21:21:19 -07:00
Robin Dunn
36b8076026 Merge pull request #262 from david-hughes/deadexcept
Occurrences of wx.PyDeadObjectError replaced by RuntimeError
2017-04-03 21:19:05 -07:00
Robin Dunn
1e848ebf9a Merge pull request #261 from swt2c/fix_propgridadvprops_test
Fix wx.propgrib.MultiChoiceProperty test
2017-04-03 21:16:58 -07:00
Robin Dunn
cc57bbf85f Merge pull request #260 from swt2c/fix_richtext_pi
Set piBases for RichTextFormattingDialog
2017-04-03 21:16:09 -07:00
Robin Dunn
85d5707f3a It looks like the Mac workaround is not needed anymore 2017-04-03 21:09:19 -07:00
Robin Dunn
60ba3b6dcb Merge pull request #257 from wettenhj/minimal-test-fixes
Minimal test fixes
2017-04-03 21:08:00 -07:00
Robin Dunn
e0e08543fb Set the download link to be the PyPI page 2017-03-31 13:19:52 -07:00
Robin Dunn
d676741717 There’s no need to exclude .svn any longer 2017-03-31 13:19:24 -07:00
David Hughes
31385bf2db Occurrences of PyDeadObjectError replaced by RuntimeError 2017-03-29 11:43:33 +01:00
Scott Talbert
c2655e24f9 Fix wx.propgrib.MultiChoiceProperty test 2017-03-28 21:15:59 -04:00
Scott Talbert
fc5d3dfe2e Set piBases for RichTextFormattingDialog
Fixes:
======================================================================
FAIL: test_richtext_pi (__main__.PIImportTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "unittests/test_pi_import.py", line 60, in test_richtext_pi
    self.runPI('richtext.pi')
  File "unittests/test_pi_import.py", line 32, in runPI
    self.assertEqual(sp.returncode, 0, stdout)
AssertionError: 1 != 0 : b'Traceback (most recent call last):\n  File "richtext.pi", line 11292, in <module>\n    class RichTextFormattingDialog(PropertySheetDialog):\nNameError: name \'PropertySheetDialog\' is not defined\n'

----------------------------------------------------------------------
2017-03-28 20:33:04 -04:00
James Wettenhall
d0b1707901 Disabling "pti.page" RibbonPageTabInfo attribute test. It looks like
wxRibbonPageTabInfoArray isn't being wrapped into a valid Python object.
2017-03-23 22:03:46 +11:00
James Wettenhall
d62a4ed7bb Call Dismiss, so the preferences editor doesn't linger. 2017-03-23 22:03:19 +11:00
James Wettenhall
de9edce1b1 Wait 300 milliseconds before tearDown to give the FlickerTLW's wx.CallLater
a chance to run, which avoids this exception:

wx/core.py, line 3096, in Notify
    self.result = self.callable(*self.args, **self.kwargs)
RuntimeError: wrapped C/C++ object of type Filling has been deleted

Ensure that the Crust object's "lastsashpos" attribute is defined to avoid this exception:

wx/py/crust.py", line 150, in SaveSettings
    if self.lastsashpos != -1:
AttributeError: 'Crust' object has no attribute 'lastsashpos'
2017-03-23 22:02:13 +11:00
James Wettenhall
f5aca9d312 Destroying each FloatCanvas instance before tearDown avoids exceptions like
this:

wx/lib/floatcanvas/FCObjects.py, line 746, in _Draw
    dc.DrawLines(Points)
TypeError: DC.DrawLines(): argument 1 has unexpected type 'numpy.ndarray'

There's a lot of code duplication between test methods in this class.
It might be better to replace each "fccanvas" with "self.fccanvas", and then
do the common tearDown stuff like "self.fccanvas.Destroy()" in one place.
However, this commit aims to make minimal changes, hencing avoiding replacing
all instances of "fccanvas" with "self.fccanvas"
2017-03-23 22:01:06 +11:00
James Wettenhall
79bd87a0e4 Skipping this test, because when the ToasterBox instance (tb) goes out of
scope, the following exception is raised:

RuntimeError: super-class __init__() of type ToasterBox was never called
2017-03-23 22:00:30 +11:00
James Wettenhall
15eca0a399 Monkey-patching RibbonGallery's Layout method avoids this exception:
wx\lib\agw\ribbon\gallery.py, line 745, in Layout
    for item in self._items[indx:]:
UnboundLocalError: local variable 'indx' referenced before assignment

Monkey-patching RibbonGallery's OnPaint method avoids this exception:

wx\lib\agw\ribbon\gallery.py, line 587, in OnPaint
    dc.SetClippingRegion(self._client_rect)
AttributeError: 'RibbonGallery' object has no attribute '_client_rect'
2017-03-23 21:59:09 +11:00
James Wettenhall
ff677ea1d5 Monkey-patch self.frame's PushEventHandler and PopEventHandler methods,
because they don't behave well without a MainLoop.
2017-03-23 21:57:54 +11:00
James Wettenhall
220b97f9e7 Explicitly calling ShowModal and Destroy avoids having WidgetTestCase's
tlw.Close(force=True) trigger an exception because the dialog's EVT_CLOSE
handler is trying to call EndModal on a dialog which isn't modal.
2017-03-23 21:55:22 +11:00
James Wettenhall
b678971bf4 Destroying date picker earlier avoids "R6025 - pure virtual function call". 2017-03-23 21:54:17 +11:00
Robin Dunn
b9a7d3d650 Merge branch 'master' into release-prep 2017-03-22 21:56:08 -07:00
Robin Dunn
9b743cf383 Remove the rest of the py34 stuff I missed last time 2017-03-22 21:51:28 -07:00
Robin Dunn
5292f96b23 Remove the builders for Python 3.4 2017-03-22 21:46:35 -07:00
Robin Dunn
48b51f41a8 Change “release_build” option to just “release” because I can never remember the other one. 2017-03-22 20:34:06 -07:00
Robin Dunn
b077b6e48e Enable release-mode uploads for the linux builds too 2017-03-22 18:25:02 -07:00
Robin Dunn
3033ba8eff Merge branch 'master' into release-prep 2017-03-22 09:48:52 -07:00
Robin Dunn
5fec8821e7 Merge pull request #256 from RobinD42/fix-issue249
Don't auto set mustHaveApp for all staticmethods of classes with the flag
2017-03-22 09:45:12 -07:00
Robin Dunn
ad24b4ff79 Merge pull request #255 from wettenhj/VCForPython27
Adding support for Microsoft Visual C++ Compiler for Python 2.7
2017-03-21 19:24:23 -07:00
Robin Dunn
875c9677ac Revert auto-propagating the mustHaveAppFlag from classes to their static methods, if any, and explicitly set the flag on only those static methods that need it instead. 2017-03-21 19:21:07 -07:00
Robin Dunn
4ef2ce2bd5 Revert auto-propagating the mustHaveAppFlag from classes to their static methods, if any, and explicitly set the flag on only those static methods that need it instead. 2017-03-21 15:55:10 -07:00
James Wettenhall
96dc809236 Adding support for Microsoft Visual C++ Compiler for Python 2.7 2017-03-22 08:40:05 +11:00
Robin Dunn
5a787b55ae Upload release builds to a different ssh configured host name 2017-03-20 20:43:02 -07:00
Robin Dunn
5f42616486 Remove the builders for Python 3.4 2017-03-20 20:41:51 -07:00
Robin Dunn
8e46c3e9bb Merge branch 'master' into release-prep 2017-03-20 19:52:40 -07:00
Robin Dunn
088ba0ccdf Merge pull request #254 from RobinD42/DLLs-for-Py36
MSVC DLLs for Py36 builds
2017-03-20 19:50:52 -07:00
Robin Dunn
14211ef913 Merge pull request #252 from RobinD42/fix-issue251
Need to transfer ownership on the Prepend methods too.
2017-03-20 19:50:37 -07:00
Robin Dunn
71f375b6af Add a TODO for the image file handlers 2017-03-20 17:07:45 -07:00
Robin Dunn
20f7f2dadd fix comment about the PYVER and the vcredist files 2017-03-20 16:39:58 -07:00
Robin Dunn
b1b759a17d Include the MSVC CRT DLLs for Python 3.6 builds too 2017-03-20 16:39:36 -07:00