Commit Graph

5073 Commits

Author SHA1 Message Date
Robin Dunn
800e0dee75 Add changelog note 2020-12-01 17:46:46 -08:00
Robin Dunn
201228c529 Improve code to use the same CC and CXX as wxWidgets, including flags that may be added on to wx's CC/CXX. 2020-12-01 16:19:38 -08:00
Robin Dunn
cbb0cfc9b6 Merge branch 'release-prep' 2020-11-25 14:18:44 -08:00
Robin Dunn
dedc0d62b7 Bump version number for next release 2020-11-25 13:58:30 -08:00
Robin Dunn
63b8099bc2 Enable building the docker-based builds with gtk2 (for those that support it.) wxPython-4.1.1 2020-11-25 13:12:18 -08:00
Robin Dunn
7118a36044 Promote fedora-29 to emeritus status, enable keeping the build containers 2020-11-21 10:55:25 -08:00
Robin Dunn
3fef778074 Install the which package on Fedora 2020-11-21 10:54:26 -08:00
Robin Dunn
5375f3dacf Update ANNOUNCE.txt 2020-11-20 16:13:10 -08:00
Robin Dunn
9076f1ddd0 Remove alpha tag 2020-11-20 12:54:53 -08:00
Robin Dunn
36c2096813 Set (hopeful) release date 2020-11-20 12:53:34 -08:00
Robin Dunn
1d243a37c3 Update wxWidgets revision to current master 2020-11-19 21:06:40 -08:00
Robin Dunn
6f9b1fb153 Merge pull request #1850 from wxWidgets/fix-issue1841
Check for existing mouse capture before doing a capture/release
2020-11-18 18:13:00 -08:00
Robin Dunn
1a8d0fa9bb Check for existing mouse capture before doing a capture/release 2020-11-18 14:13:51 -08:00
Robin Dunn
e4bd88b0d9 Merge pull request #1848 from jmoraleda/issue_1361
Update AuiManager when a dummy center pane is added. This fixes #1361
2020-11-18 13:41:23 -08:00
Robin Dunn
2b49e94e8d Merge pull request #1849 from wxWidgets/fix-issue1847
Restore GIL acquisition in wxPseudoDC::FindObjects*
2020-11-18 12:51:21 -08:00
Robin Dunn
e1bc8ed8fa Merge pull request #1836 from eagerm/refactor-thumbnailctrl
Refactor thumbnailctrl
2020-11-18 12:46:56 -08:00
Robin Dunn
5cace47aae Restore GIL acquisition in wxPseudoDC::FindObjects* 2020-11-18 10:52:53 -08:00
Jorge Moraleda
cb711169ed Update AuiManager when a dummy center pane is added. This fixes #1361 2020-11-17 17:47:43 -08:00
Michael Eager
566dd8f35f Merge branch 'master' into refactor-thumbnailctrl 2020-11-16 15:32:52 -08:00
eagerm
846a4f4e4a Remove unused sizer, add spacing to controls. 2020-11-16 12:31:00 -08:00
eagerm
4bef428bce Add documentation to demo programs. 2020-11-16 12:07:45 -08:00
Robin Dunn
6959fd7f98 Merge branch 'fix-datepicker' 2020-11-13 10:14:53 -08:00
Robin Dunn
d45f07b656 Update wxWidgets revision to current master 2020-11-13 09:40:48 -08:00
Robin Dunn
b27e492898 Also show wx.adv.DatePickerCtrlGeneric in the demo 2020-11-13 09:39:37 -08:00
Robin Dunn
f2b7035a5a Swap which is the real name and which is the alias for DatePickerCtrlGeneric 2020-11-13 09:38:53 -08:00
eagerm
4c6b725479 Create ThumbDemoConfig.py from class in ScrolledThumbnail & ThumbnailCtrl
Add import statements to ScrolledThumbnail and ThumbnailCtrl.
Remove unneeded imports.
2020-11-12 09:40:00 -08:00
Robin Dunn
8dd754b905 Merge pull request #1846 from wxWidgets/fix-issue1843
Allow passing iterator flags into GetPropertyValues
2020-11-11 20:00:20 -08:00
Robin Dunn
b8facb230d Update wxWidgets revision to current master 2020-11-11 16:41:52 -08:00
Robin Dunn
35931985ab Update some copyright years 2020-11-11 15:55:30 -08:00
Robin Dunn
7a839de248 Make it possible to call a function that post-processes the generated ReST doc for a class. 2020-11-11 15:40:05 -08:00
Robin Dunn
e3dbe68b49 Allow passing iterator flags into GetPropertyValues 2020-11-11 14:41:44 -08:00
eagerm
d6727e5ce7 Create ThumbDemoConfig class
class ThumbDemoConfig contains the user interface and controls used
by both ScrolledThumbnail and ThumbnailCtrl.

Functions which are different between the two demos are overwridden
by each demo.
2020-11-11 12:38:54 -08:00
eagerm
6fa88e361f Reduce differences between demo/ScrolledThumbnail and demo/ThumbnailCtrl 2020-11-10 20:20:34 -08:00
eagerm
e73d5f49db Minor cleanup and fixes from code review
demo/agw/ScrolledThumbnail.py:
  Set frame size to (850, 800).
  Decrease left side of splitter.
  Use default font.
  Remove SetAutoLayout()
  Fix THUMB_OUTLINE_NONE, etc. not found.
demo/agw/Thumbnailctrl.py:
  Set frame size to (850, 800).
  Make scroll instance variable, not local.
  Replace self.TC with self.scroll.
  Decrease left side of splitter.
  Use default font.
  Remove SetAutoLayout().
2020-11-10 20:12:54 -08:00
Robin Dunn
6b78295938 Merge pull request #1845 from wxWidgets/fix-issue1842
Add context manager methods to wx.LogNull
2020-11-10 16:13:19 -08:00
Robin Dunn
a6e855c34e Add changelog item 2020-11-10 14:46:15 -08:00
Robin Dunn
c4f1e9f3bd Add missing context manager methods for wx.LogNull 2020-11-10 14:43:18 -08:00
Robin Dunn
4402d87599 Merge pull request #1832 from Metallicow/reduce-flicker-overlay
Reduce flicker in throbber. Use BufferedPaintDC
2020-11-05 13:45:41 -08:00
Robin Dunn
c0341cb2b6 Merge pull request #1826 from Metallicow/Reduce-flicker-svg-demos
Reduce flicker in svg demos
2020-11-05 13:44:57 -08:00
eagerm
f2a2eca467 Update CHANGES with info about ScrolledThumbnail 2020-10-28 09:59:18 -07:00
eagerm
f511c293cc Add ScrolledThumbnail demo
New:  demo/agw/ScrolledThumbnail.py
2020-10-28 09:57:14 -07:00
eager
0a03c37a26 Fixes from code review. 2020-10-28 09:57:09 -07:00
eager
81c0461233 Refactor ThumbnailCtrl, create stand-alone ScrolledThumbnail widget
ThumbnailCtrl is more of a image browser demo application than a widget,
in that it reads files from a directory, selects which files to display,
deletes files, displays the source directory path in a text ctrl, etc.
This makes it unlikely that it could be used in any other application,
for example, to provide thumbnails of files with different file types
than the ones hard-coded in the class.

ThumbnailCtrl delegates most of its operations to ScrolledThumbnail
which actually implements a scrolled window of thumbnails, a Thumb class,
which contains information about a thumbnail, and an ImageHandler class,
which manipulates images.  There was poor isolation of functionality
between these classes, violating object-oriented design, with one class
making changes to the internal data of another class.  Additionally, there
was substantial non-functional code, as well as code which did not
function correctly.

This refactoring maintains the functionality and interfaces of
ThumbnailCtrl, except for those which were unused.  Existing uses of
the thumbnailctrl package should work without modification.  A new package,
scrolledthumbnail, contains the functionality for a scrolled window
containing thumbnails, an extendable Thumb class, and image manipulation
classes.  The scrolledthumbnail package can be used in other applications,
independent of the ThumbnailCtrl class, and without the functional
restrictions of that application.

Detailed changes:

ThumbnailCtrl.py (demo program):
 - Always import from wx.lib.agw
 - Optional code to use PIL instead of native image handling
 - Add setting for thumbnail width and height
 - Increase size of demo window

thumbnailctrl.py:
 - Move Thumb, ScrolledThumbnail, ImageHandler to scrolledthumbnail.py
 - Remove EVT_THUMBNAILS_CAPTION_CHANGED (unused)
 - Add EVT_THUMBNAILS_CHAR to respond to keystrokes
 - Remove image processing code
 - Add scrolling dialog for delete files
 - Move directory processing from ScrolledThumbnail
 - Move file delete processing from ScrolledThumbnail
 - List all files to be deleted in scrolling dialog
 - Remove unused or unimplemented methods and options

scrolledthumbnail.py:
 - Move Thumb, ScrolledThumbnail, ImageHander classes from thumbnailctrl.py
 - Add documentation for ScrolledThumbnail widget
 - Add example program which does not use ThumbnailCtrl
 - New EVT_THUMBNAILS_CHAR event for key press
 - Remove unused options and dead code
 - Add Rotate() to PILImageHandler and NativeImageHandler
 - Throw event EVT_THUMBNAILS_CHAR for keystroke on thumbnail
 - Fix failure to rotate images correctly
 - Redisplay window when thumb size changed
 - Simplify logic
 - Remove popup dialog when rotating images
2020-10-28 09:56:35 -07:00
Metallicow
8d4f8e733c Reduce flicker in throbber. Use BufferedPaintDC 2020-10-27 19:03:10 -05:00
Metallicow
7a637d862d Revert "Reduce flicker of overlay, since throbber can be composed of svg bitmaps"
This reverts commit 18ceaeadd7.
2020-10-27 18:58:20 -05:00
Robin Dunn
8a26e17b16 Merge branch 'highdpi-overview' 2020-10-22 16:11:54 -07:00
Robin Dunn
5443e86401 Merge branch 'update-webview' 2020-10-22 16:11:14 -07:00
Robin Dunn
7c63c5cc90 Add the High DPI Overview doc from wxWidgets 2020-10-22 16:10:09 -07:00
Robin Dunn
be94264761 The Bitmap mask bug on OSX has been fixed, switch back to using the bitmap to get the shape 2020-10-22 15:36:06 -07:00
Robin Dunn
19d983fcee Pillow wheels are now available for Python 3.9 2020-10-22 15:18:06 -07:00