diff --git a/CHANGES.rst b/CHANGES.rst index 77c77ef5..25aef043 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -28,6 +28,9 @@ Changes in this release include the following: * Fixed copy/paste error in wx.BusyInfo.__exit__ (#449) +* New tool wxget, (a minimal wx implementation of wget) + +* New tools wxdocs & wxdemos to launch the respective items fetching & unpacking as required. @@ -219,7 +222,7 @@ https://wxpython.org/Phoenix/docs/html/main.html Fixed wxPython bug on OSX that was preventing the wx.App's virtual methods related to handling App Events, like open-files or reopen-app, -from being handled correctly. +from being handled correctly. NOTE: It appears that wxPython applications on OSX will now always be getting an initial Apple Event(s) sent to `MacOpenFiles` coresponding to @@ -229,7 +232,7 @@ Added patch #15142 which adds support for building with and using GTK3 as the wx platform. Thanks kosenko! Fixed the OSX Carbon build to actually use Carbon. (Because of a -change in defaults it was actually building the Cocoa build instead.) +change in defaults it was actually building the Cocoa build instead.) Pythonized DataViewCtrl.HitTest. It now takes just the Point parameter and returns the DataViewItem and DataViewColumn objects. If there is @@ -273,7 +276,7 @@ Some Pubsub and AGW updates. Ignore some code in wxOSX that was preventing stock data format IDs from being used with custom data objects. (See -https://groups.google.com/forum/#!topic/wx-dev/wFxevpvbhvQ/discussion) +https://groups.google.com/forum/#!topic/wx-dev/wFxevpvbhvQ/discussion) Various other fixes and enhancements from wxWidgets. @@ -301,7 +304,7 @@ the QTKit framework, so it works when running in either 32-bit or Printing triggered from a Javascript window.print() statement will now work on OSX when using the old wx.webkit or the new wx.html2 browser -controls. +controls. Updated Scintilla code to verison 3.21 @@ -334,7 +337,7 @@ getting installed, causing a build error in wxPython. wx.lib.pubsub: Pusub now defaults to the new "kwarg" version of the API. In order to continue using the original "arg1" API you will need to import wx.lib.pubsub.setuparg1 before importing any other pubsub -modules. +modules. The wx.RA_USE_CHECKBOX and wx.RB_USE_CHECKBOX constants were removed. They were only used by the incomplete PalmOS port which has been @@ -470,7 +473,7 @@ on Windows is usually faster and seems to be of better quality than using the GDI+ backend. The wx.GCDC class can now be constructed with an already exisiting -wx.GraphicsContext. +wx.GraphicsContext. The wx.lib.softwareupdate module has been added. It implements a class designed to be mixed with wx.App in a derived class and provides @@ -503,7 +506,7 @@ Just before release of 2.9.2.0 an important bug was discovered in the wxMSW printing code related to converting to and from native printer definitions. To correct that glitch this .1 release was made with just that one additional difference from the official wxWidgets 2.9.2 -source tree. +source tree. @@ -563,14 +566,14 @@ addition to the normal version string. wx.App: Add ScheduleForDestruction, which will allow you to cause a window to be destroyed sometime in the near future. (Most likely to be used to ensure that there are no more envents pending for the -widget.) +widget.) More methods and properties moved from wx.MouseEvent to the wx.MouseState base class. Same for wx.KeyEvent and wx.KeyboardState, which is used to hold modifier key states, and which is also a base class of wx.MouseState. Note that properties rightDown, leftDown and middleDown have been changed to rightIsDown, leftIsDown and -middleIsDown. +middleIsDown. wx.Button can now have both a text and a bitmap label (or just one or the other.) wx.BitmapButton is pretty much redundant and will likely @@ -604,7 +607,7 @@ display messages and/or buttons in a way that doesn't interupt the user's workflow like a modal message dialog does, but is much more noticeble than simply putting some text in the status bar. -Updated the Scintilla code used by wxStyledTextCtrl to version 2.03. +Updated the Scintilla code used by wxStyledTextCtrl to version 2.03. Added wx.GraphicsGradientStop[s] classes and updated the Create*GradientBrush APIs to allow gradients with more than two color @@ -647,14 +650,14 @@ an exception when you import wx. wxPython will be switching to Cocoa soon, but in in the meantime you can force the stock Python to run in 32-bit mode by running this command in a Terminal session:: - defaults write com.apple.versioner.python Prefer-32-Bit -bool yes + defaults write com.apple.versioner.python Prefer-32-Bit -bool yes wxGTK: Implemented support for underlined fonts in wx.StaticText wxGTK: wx.TopLevelWindow.SetSizeHints size increments now work -Added wx.EventBlocker class +Added wx.EventBlocker class wxGTK: Make wx.TopLevelWindow.GetSize() return the size of the window including the decorations (not just the client size) and updated @@ -716,7 +719,7 @@ wx.VScrolledWindow they allow scrolling with non-uniform scroll increments, where the size of each item is determined by making callbacks into the derived class. The H version handles horizontal scrolling and the HV version handles both horizontal and vertical -scrolling. +scrolling. Support wx.APPLY and wx.CLOSE in CreateStdDialogButtonSizer() @@ -763,7 +766,7 @@ control provides. To be able to provide a way for you to work around issues related to this I've added wrappers for both the CalendarCtrl and also GenericCalendarCtrl, so if you depend on the ability to do things like set holidays or change the attributes of specific days in -the calendar then please change your code to use the GenericCalendarCtrl +the calendar then please change your code to use the GenericCalendarCtrl class instead. Added wx.NotificationMessage. @@ -774,7 +777,7 @@ demo for an example of their use. Processing of pending events can be temporarily stopped and then restarted. See wx.App.SuspendProcessingOfPendingEvents and -ResumeProcessingOfPendingEvents. +ResumeProcessingOfPendingEvents. Added wx.App.YieldFor and related methods which can control what categories of events can be processed during the yield. @@ -791,7 +794,7 @@ Removed the Set/GetLogicalFunction methods from wx.GraphicsContext. Added Set/GetCompositionMode methods to wx.GraohicsContext, and also Set/GetAntialiasMode methods. The composition mode settings allow you -to use the classic Porter-Duff compositions when drawing. See +to use the classic Porter-Duff compositions when drawing. See http://keithp.com/~keithp/porterduff/p253-porter.pdf wx.grid.Grid: Added methods CalcRowLabelsExposed, @@ -892,21 +895,21 @@ the context, and will thaw the window upon exit from the context. Applied the final version of patch #10959 to the PyCrust code. It adds many enhancements to the Py suite, inlcuding the ability to edit blocks of code (called slices) as a whole before executing them, and -also the ability to execute some simple shell commands. +also the ability to execute some simple shell commands. Replaced the wx.lib.pubsub module with the new pubsub package from http://pubsub.sf.net. By default it is backwards compatible with the old pubsub module, but it also has a more advanced API available that can be switched on at import time. See the pubsub web site for more -details. +details. The wx.Effects class is deprecated. -Added Python 2.7 builds for Windows and Mac. +Added Python 2.7 builds for Windows and Mac. Added Debian package builds for Ubuntu 9.10 and 10.4. -Many fixes and enhancements for the wx.lib.agw pacakge, including the +Many fixes and enhancements for the wx.lib.agw pacakge, including the addition of pybusyinfo, ribbon, ultimatelistctrl and zoombar. @@ -929,7 +932,7 @@ Solved the manifests problem with Python 2.6 on Windows. wxPython now programatically creates its own activation context and loads a manifest in that context that specifies the use of the themable common controls on Windows XP and beyond. This also means that the external -manifest files are no longer needed for the other versions of Python. +manifest files are no longer needed for the other versions of Python. wx.Colour: Updated the wx.Colour typemaps and also the wx.NamedColour constructor to optionally allow an alpha value to be passed in the @@ -938,7 +941,7 @@ color string, using these syntaxes: "#RRGGBBAA" or "ColourName:AA" wx.lib.wxcairo: Fixed a problem resulting from PyCairo changing the layout of their C API structure in a non-binary compatible way. The new wx.lib.wxcairo is known to now work with PyCairo 1.6.4 and 1.8.4, -and new binaries for Windows are available online at +and new binaries for Windows are available online at http://wxpython.org/cairo/ @@ -973,7 +976,7 @@ Added a new tool to the Widget Inspection Tool that allows you to watch the events passing through a widget. It can also be used independently, see wx.lib.eventwatcher. - + @@ -1024,7 +1027,7 @@ us to be totally consistent across platforms, and also use Cairo to implement some things that are missing from the GraphicsContext API. It's not 100% compatible with the GraphicsContext API, but probably close enough to be able to share code between them if desired, plus it -can do a few things more. +can do a few things more. Updated wx.Bitmap.CopyFromBuffer to be a bit more flexible. You can now specify the format of the buffer, and the CopyFromBufferRGBA is @@ -1189,7 +1192,7 @@ from the parent window. (This actually applies to all frames with the wx.FRAME_TOOL_WINDOW style and no decorations.) wxMac: Fixed the lack of painting the area between scrollbars on -Leopard. +Leopard. wxMac: Fixed assertion errors dealing with toolbars on Leopard. @@ -1224,7 +1227,7 @@ combo button in the PopupControl. Added GetDirItemData to wx.GenericDirCtrl, which returns a reference to the data object associated with an item in the control. (Patch -#1836326) +#1836326) @@ -1242,7 +1245,7 @@ wxMac: Fixed bug that resulted in portions of virtual listctrl's to not be repainted when scrolling with PgUp/PgDown/Home/End. wxMac: Fixed bug that broke tab traversal when tabbing runs into a -wx.StaticBox. +wx.StaticBox. wxGTK: Add wx.Window.GetGtkWidget. @@ -1392,7 +1395,7 @@ wx.lib.flatnotebook: Patch from Andrea that implements the following: * Updated the demo module. XRCed now uses a wx.FileHistory object for managing the recent files -menu. +menu. wx.DateSpan and wx.TimeSpan now use lower case property names in order to not conflict with the same named static methods that already @@ -1408,10 +1411,10 @@ to highlight the future parent of the new item. Updates to MaskedEdit controls from Will Sadkin: maskededit.py: - Added parameter option stopFieldChangeIfInvalid, which can be used to - relax the validation rules for a control, but make best efforts to stop - navigation out of that field should its current value be invalid. Note: - this does not prevent the value from remaining invalid if focus for the + Added parameter option stopFieldChangeIfInvalid, which can be used to + relax the validation rules for a control, but make best efforts to stop + navigation out of that field should its current value be invalid. Note: + this does not prevent the value from remaining invalid if focus for the control is lost, via mousing etc. numctrl.py, demo / MaskedNumCtrl.py: @@ -1433,7 +1436,7 @@ Update to latest FloatCanvas from Chris Barker. The pywxrc tool now properly supports generating classes for menus and menubars, and also creating attributes for menus, menubars and menu -items. +items. @@ -1450,7 +1453,7 @@ SetToolDisabledBitmap method won't have any affect on them...) Refactored the inspection tool such that it can be used as a wx.App mix-in class as it was used before (with the wx.lib.mixins.inspect -module) and also as a non mix-in tool (using wx.lib.inspect.InspectionTool). +module) and also as a non mix-in tool (using wx.lib.inspect.InspectionTool). Add wx.lib.mixins.treemixin from Frank Niessink. @@ -1604,7 +1607,7 @@ Added wx.aui.AuiNotebook.GetAuiManager(). Added wx.aui.AuiMDIParentFrame and wx.aui.AuiMDIChildFrame, which essentially implement the MDI interface using a normal wx.Frame and a -wx.aui.AuiNotebook. +wx.aui.AuiNotebook. @@ -1641,7 +1644,7 @@ class which can be mixed with a wx.App class and provides a PyCrust window that can be activated with a Ctrl-Alt-I keystroke (or Cmd-Alt-I on the Mac.) -Added some modules from Riaan Booysen: +Added some modules from Riaan Booysen: * wx.lib.flagart: contains icons of the flags of many countries. @@ -1702,7 +1705,7 @@ TabArt --> AuiTabArt AuiMultiNotebook --> AuiNotebook AuiNotebookEvent --> AuiNotebookEvent ====================== ================= - + wx.lib.customtreectrl: A patch from Frank Niessink which adds an additional style (TR_AUTO_CHECK_PARENT) that (un)checks a parent when all children are (un)checked. @@ -1739,7 +1742,7 @@ reminder, use of this package is deprecated and you are encouraged to switch your programs over to the wx package. Fixed wx.glcanvas.GLCanvas.SetCurrent to be compatible with prevoius -versons. +versons. Added wx.StandardPaths.GetTmpDir. @@ -1760,7 +1763,7 @@ the new wx.GraphicsContext and wx.GraphicsPath classes. * 21-Oct-2006 Fixed a bug in the MaskedEdit controls caused by conflicting IsEmpty -methods. +methods. Patch #1579280: Some mimetype optimizations on unix-like systems. @@ -1818,7 +1821,7 @@ The following deprecated items have been removed: wx.EventLoop is now implemented for wxMac. Added wxPython wrappers for the new wx.Treebook and wx.Toolbook -classes. +classes. wx.DC.BeginDrawing and EndDrawing have been deprecated in the C++ code, so since they never really did anything before they are now just @@ -1893,14 +1896,14 @@ Added wx.ListBox.HitTest() from patch 1446207 Bumped up to SWIG 1.3.29. This provides some more runtime performance boosts, gets rid of the dreaded Ptr classes, and some other nice new -things. +things. Added wx.Window.GetScreenPosition and GetScreenRect which returns the position of the window in screen coordinates, even if the window is not a top-level window. Added GetResourcesDir and GetLocalizedResourcesDir to -wx.StandardPaths. +wx.StandardPaths. Added a GetReceivedFormat method to wx.DataObjectComposite. You can use this to find out what format of data object was recieved from the @@ -1968,13 +1971,13 @@ Upgraded to Scintilla 1.70 for wx.stc.StyledTextCtrl. Added CanSetTransparent and SetTransparent methods to the wx.TopLevelWindow class, with implementations (so far) for wxMSW and -wxMac. +wxMac. SetDefaultItem() and GetDefaultItem() are now members of wx.TopLevelWindow, not wx.Panel. wxGTK: Stock items (icons) will be used for menu items with stock -IDs. +IDs. Added wx.lib.combotreebox from Frank Niessink @@ -1994,14 +1997,14 @@ normal GUI font. wx.Colour now includes an alpha component, which defaults to wx.ALPHA_OPAQUE. This is in preparation for allowing various new alpha blening functionality using wx.Colour objects, such as drawing -with pens and brushes on a wx.DC. +with pens and brushes on a wx.DC. Added wx.NativePixelBuffer, wx.AlphPixelBuffer and related iterator and accessor classes. They allow platform independent direct access to the platform specific pixel buffer inside of a wx.Bitmap object. The beginnings of support for RTL languages has been added, thanks to -a Google SoC project. +a Google SoC project. Added wx.lib.dragscroller from Riaan Booysen. It provides a helper class that can used to scroll a wx.ScrolledWindow in response to a @@ -2032,7 +2035,7 @@ dropping the parentheses. Updated the C++ code for wx.gizmos.TreeListCtrl from the wxCode project. This has resulted in some minor API changes, most of which -were worked around in the wrapper code. +were worked around in the wrapper code. Added wx.lib.delayedresult from Oliver Schoenborn. @@ -2169,7 +2172,7 @@ wx.html.HtmlWindow) so a method to fix both problems is still being investigated. wxGTK: Fixed potential buffer overrun when pasting from the -clipboard. +clipboard. Fixed problem in wx.lib.splitter when used on 64-bit platforms. Used the current length of the list for specifying an append instead of @@ -2227,7 +2230,7 @@ wx.Image.Copy, Mirror, and GetSubImage now also do the right thing with the alpha channel. wxMSW: Fixed problem in wx.TextCtrl where using SetValue and -wx.TE_RICH2 would cause the control to be shown if it was hidden. +wx.TE_RICH2 would cause the control to be shown if it was hidden. wxMSW: Numpad special keys are now distinguished from normal keys in key events. @@ -2251,7 +2254,7 @@ wxGTK: Fix RequestMore for idle events. wxGTK: Implement user dashes for PS and GNOME printing. wxGTK: Correct update region code. Don't always invalidate the whole -window upon resize. Reenable support for thewx.NO_FULL_REPAINT_ON_RESIZE +window upon resize. Reenable support for thewx.NO_FULL_REPAINT_ON_RESIZE flag. Also disable refreshing custom controls when focusing in and out. wx.lib.pubsub: Publisher is now able to parse a dotted notation string @@ -2262,7 +2265,7 @@ Applied patch #1441370: lib.plot - allow passing in wx.Colour() Added wx.CommandEvent.GetClientData. -Updated wxStyledTextCtrl to use version 1.67 of Scintilla. +Updated wxStyledTextCtrl to use version 1.67 of Scintilla. NOTE: The STC_LEX_ASP and STC_LEX_PHP lexers have been deprecated, you should use STC_LEX_HTML instead. @@ -2506,7 +2509,7 @@ Scaled and Unscaled Bitmap Objects. than individual x,y parameters. Also changed rectangles and ellipses to take (w,h) pair. This is an API change, but should be easy to accommodate, all you need to do is add a parenthesis - pair: (...x, y, ...) ---> (...(x,y), ...) + pair: (...x, y, ...) ---> (...(x,y), ...) diff --git a/setup.py b/setup.py index cf353d3e..ee39aab1 100644 --- a/setup.py +++ b/setup.py @@ -61,6 +61,10 @@ or the `wxPython API documentation <{docs_base}/index.html>`_. Archive files containing a copy of the wxPython documentation, the demo and samples, and also a set of MSVC .pdb files for Windows are available `here `_. + +The utility tools wxdocs & wxdemo will download the appropIATE files with wxget, +(if necessary), unpack them, (if necessary) & launch the appropriate version of +the respective items. (Documents are launched in the browser & Demo with python). """.format(version=cfg.VERSION, docs_base=DOCS_BASE)