Commit Graph

2969 Commits

Author SHA1 Message Date
Robin Dunn
b2b1a38033 Final release steps, for now… wxPython-4.0.0a1 2017-04-15 19:21:40 -07:00
Robin Dunn
e5a9d681ca Merge branch 'master' into release-prep 2017-04-15 13:08:06 -07:00
Robin Dunn
b6ab0b1884 Revert "Adding support for Microsoft Visual C++ Compiler for Python 2.7"
This reverts commit 96dc809236.
2017-04-15 11:26:49 -07:00
Robin Dunn
0b57a79ab0 Merge branch 'master' into release-prep 2017-04-15 10:30:48 -07:00
Robin Dunn
be47177b34 Add a TODO for wxMessageDialog::ButtonLabel 2017-04-15 10:26:12 -07:00
Robin Dunn
435084297f Merge pull request #278 from RobinD42/treelistitem-__eq__
Give dataview.TreeListItem hash and equality operators.
2017-04-15 10:21:27 -07:00
Robin Dunn
5e0126811e Merge pull request #277 from RobinD42/immutable-value-classes
Add a GetIM() method to Colour, Point, Size, Rect and other ‘value’ types
2017-04-15 10:21:08 -07:00
Robin Dunn
05626ef850 Give dataview.TreeListItem hash and equality operators.
Remove non equality operators from DataViewItem, as there is no implicit ordering of the items that makes sense
2017-04-14 21:28:54 -07:00
Robin Dunn
c84e3f2ab8 Remove TODO item, it’s been implemented in PR 277 2017-04-14 19:25:32 -07:00
Robin Dunn
52facb4d7f Add a GetIM() method to Colour, Point, Size, Rect and other ‘value’ types.
GetIM() returns a replicant of the original object that is immutable, so it can be used as a dictionary key, or etc., but still gives access to the properties by name, which using the Get() method to get a tuple of the values does not do.
2017-04-14 19:19:26 -07:00
Robin Dunn
58a8080952 Merge branch 'master' into release-prep 2017-04-13 21:29:05 -07:00
Robin Dunn
a79cd3254c Add wx.YieldIfNeeded 2017-04-13 21:27:15 -07:00
Robin Dunn
e8306ca7e0 Merge pull request #270 from acollange/patch-1
Update framemanager.py
2017-04-13 21:25:22 -07:00
Robin Dunn
254a9b60d2 Add TODO for adding versions of the ‘value’ types that can be immutable, hashable and usable as dictionary keys 2017-04-13 21:09:42 -07:00
Robin Dunn
a4e226c7fd Merge branch 'master' into release-prep 2017-04-13 20:51:26 -07:00
Robin Dunn
a83ef4b868 Merge pull request #272 from RobinD42/fix-point-size-type-mixing
Tighten up allowed types in auto sequence conversions
2017-04-13 20:49:17 -07:00
Robin Dunn
698861daa7 Merge pull request #273 from PythonCHB/master
added float() calls to get the proper divison when scaling bitmaps
2017-04-13 17:13:05 -07:00
Christopher H.Barker, PhD
09223c530f added float() calls to get the proper divison when scaling bitmaps
In response to a note from Kevin Gregory:

""
Sorry to email you directly, I wanted to submit a bugfix for FloatCanvas ScaledBitmap. It changes the bmpWidth and bmpHeight from integers to floats so that the scale is computed correctly.
FCObjects.py line 2141 from the wxpython phoenix dev build
"""
2017-04-13 11:17:36 -07:00
Robin Dunn
5d7b9e6b17 Don’t test with the == operators, that will be changing in a different way in another PR 2017-04-12 16:55:22 -07:00
Robin Dunn
708e2487dc Since we know it is a Tuple or List we can use PySequence_Fast_GET_ITEM 2017-04-12 14:32:50 -07:00
Robin Dunn
b01729f4ef Tighten up allowed types in auto sequence conversions
Instead of allowing generic sequences to be convertible to wxPoint, wxSize, and others, explicitly allow only tuples and lists.  This is needed because these types also have methods that make them look like sequences, which meant that you could pass a wxSize where a wxPoint is expected, and so on.

Even worse is nonsense stuff like:

    wx.Point(10,20) == wx.Size(10,20)

evaluating to True.
2017-04-12 13:57:08 -07:00
Robin Dunn
0a0c4903b0 Notes about how to do a release 2017-04-12 12:07:00 -07:00
Robin Dunn
3646ec1a9b Add TODO about the Mixin annotation 2017-04-12 12:06:13 -07:00
Robin Dunn
8f4ec53e47 Text formatting and some other updates for the Migration Guide 2017-04-12 12:05:42 -07:00
Robin Dunn
085b9d1c99 Minor text tweaks 2017-04-12 10:45:15 -07:00
Robin Dunn
01105def28 Add wx.YieldIfNeeded 2017-04-12 10:44:54 -07:00
Robin Dunn
923f4d9c2c Update Trove Classifiers 2017-04-12 10:44:29 -07:00
acollange
78c4a7145e Update framemanager.py
Reactivate Update() functionality under GTK.
2017-04-12 09:11:33 +02:00
Robin Dunn
f10f247119 Add migration guide section about FindWindow.
Fix some sphinx warnings.
2017-04-11 12:28:14 -07:00
Robin Dunn
637db6c4bf Change uses of FindWindowById to just FindWindow.
Also, clarify default value for parent arg in FindWindow* staticmethods.
2017-04-10 11:05:36 -07:00
Robin Dunn
b0feb49137 Base unstable flag on wxWidgets version number 2017-04-08 11:28:33 -07:00
Robin Dunn
a15b153200 Fixes needed due to unsyncing the wxW/wxPy version numbers 2017-04-08 10:49:30 -07:00
Robin Dunn
c2ef0275c3 Avoid pip dependency error, install appdirs first 2017-04-07 22:00:10 -07:00
Robin Dunn
fdae6ac1fb Fix the version number in CHANGES.rst too 2017-04-07 21:13:26 -07:00
Robin Dunn
428718a3d8 Add a string to wx.PlatformInfo for the wxWidgets version. Also add wx.wxWidgets_version. 2017-04-07 21:08:34 -07:00
Robin Dunn
f10e966484 More text updates in the README and setup.py descriptions 2017-04-07 12:27:02 -07:00
Robin Dunn
8c79e98b57 randint wants integer values for the range 2017-04-07 12:26:09 -07:00
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