Commit Graph

5355 Commits

Author SHA1 Message Date
Robin Dunn
349ff5e921 Merge pull request #1988 from wxWidgets/update-wx
Various tweaks needed for updating to wxWidgets 3.1.5
2021-12-17 10:04:45 -08:00
Robin Dunn
5902ec3750 Add some default return values for the webview stubs 2021-12-15 19:06:36 -08:00
Robin Dunn
66ec80bd21 Merge branch 'master' into update-wx 2021-12-15 18:59:03 -08:00
Robin Dunn
a843ed14f2 Merge pull request #2014 from arjones6/master
Add wxDC.DrawLinesFromBuffer to draw directly from numpy array memory using the Buffer protocol
2021-12-15 18:55:41 -08:00
Robin Dunn
511663ba6c Merge pull request #2002 from komoto48g/feature-shell
Fix functions of the shell
2021-12-15 18:22:31 -08:00
Robin Dunn
83211101ca Merge pull request #2051 from wxWidgets/revert-1980-showHideToggleButton
Revert "New button type: ShowHideToggleButton."
2021-12-15 18:11:47 -08:00
Robin Dunn
e53b09aea7 Revert "New button type: ShowHideToggleButton." 2021-12-15 18:10:12 -08:00
Robin Dunn
1432d933a5 Merge pull request #1980 from TEParsons/showHideToggleButton
New button type: ShowHideToggleButton.
2021-12-15 18:07:04 -08:00
arjones6
efbea6a275 dc.DrawLinesFromBuffer demo and test to intc data type. Updated documentation. 2021-12-15 11:07:18 -05:00
arjones6
232542ba3e dc.DrawLinesFromBuffer test and demo added 2021-12-14 12:47:55 -05:00
Todd
2e753e6775 Add demo for show/hide toggle button 2021-12-14 15:33:39 +00:00
Todd
f3a5e7cb98 Add docstring for show/hide toggle button 2021-12-14 15:33:30 +00:00
komoto
d8a0f0e639 Remove comments and cleanup 2021-12-14 14:42:04 +09:00
Robin Dunn
9627bb8035 Merge branch 'master' into update-wx 2021-12-13 21:40:18 -08:00
Robin Dunn
c186191fb7 Merge pull request #1972 from jeremyd2019/handle-casts-to-long
WXMSW: use HandleToLong/LongToHandle functions.
2021-12-13 21:38:13 -08:00
Kazuya O'moto
0d6031df60 Merge branch 'wxWidgets:master' into feature-shell 2021-12-14 14:24:43 +09:00
Robin Dunn
de0a4415c0 Merge pull request #2048 from komoto48g/feature-scrpnl
Add self-guard in scrolledpanel:_SetupAfter
2021-12-13 21:03:49 -08:00
Robin Dunn
d9725119d7 Merge pull request #2039 from swt2c/pygauge_py3.10
Fix a bunch of Python 3.10 issues with pure-Python classes and demos
2021-12-13 20:54:44 -08:00
Robin Dunn
cbe539efd9 Merge pull request #2047 from swt2c/df_unicode
Use wx.DF_UNICODETEXT instead of wx.DF_TEXT
2021-12-13 20:46:14 -08:00
Robin Dunn
3d45e62b0e Merge pull request #2029 from swt2c/fix_unbind_outorder
Fix unbinding of events in FIFO order
2021-12-13 20:44:03 -08:00
Robin Dunn
74e5be8b2f Merge pull request #2033 from jmoraleda/customizable_pdf_button_panel
Enable customization of layout of pdfviewer button panel
2021-12-13 20:39:58 -08:00
Robin Dunn
272990b131 Merge pull request #1997 from cclauss/codespell
Fix typos discovered by codespell
2021-12-13 20:16:39 -08:00
Robin Dunn
0cbf3d738a Tweak text about Linux package requirements 2021-12-13 20:03:20 -08:00
komoto
b699b2823c Add self-guard in scrolledpanel:_SetupAfter 2021-12-08 00:08:28 +09:00
Scott Talbert
2791fd7016 Use wx.DF_UNICODETEXT instead of wx.DF_TEXT
wx.DF_TEXT doesn't work on macOS and Unicode should be available under
all platforms.
2021-12-06 19:56:04 -05:00
Robin Dunn
b528e68ead Force use of builtin libs on macOS, rather than any that might be found on the system 2021-12-03 08:42:17 -08:00
Robin Dunn
4488663deb A little cleanup and add 3.10 to list for runtime DLL selection 2021-12-02 16:15:39 -08:00
Robin Dunn
f1bc116047 fix indentation 2021-12-02 16:07:04 -08:00
Scott Talbert
173d079681 Fix a bunch of Python 3.10 issues with pure-Python classes and demos
In Python 3.10, a change[1] was implemented where extension functions
that take integer arguments will no longer silently accept non-integer
arguments (e.g., floats) that can only be converted to integers with a
loss of precision.  This PR fixes most of these issues in the pure-Python
classes and demos by explicitly converting the parameters to int before
passing them to wxWidgets.  There is loss of precision, but this was
happening before (automatically) anyway as most wxWidgets DeviceContext
functions operate using integers.

Additionally, the PR fixes a few sizing issues, mostly with SpinCtrls being
too small on GTK3.

This is an example of the relevant exception:
Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/wx/lib/agw/pygauge.py", line 355, in OnPaint
    r.width = w
TypeError: 'float' object cannot be interpreted as an integer

Fixes #2038.

[1] https://bugs.python.org/issue37999
2021-12-01 14:19:00 -05:00
Robin Dunn
7725f466e5 Some tweaks to fix multi-architecture builds on maxOS 2021-11-30 15:58:38 -08:00
Robin Dunn
1846e5c7e6 Set the minimum python to 3.6.0 2021-11-30 15:54:15 -08:00
Robin Dunn
f47014b2b7 Preset some complier flags for when waf does its test build in the configure stage 2021-11-30 15:49:58 -08:00
Robin Dunn
577e8d4714 Handle Python versions that have more than one digit in the minor component 2021-11-30 15:44:44 -08:00
Robin Dunn
9484fe66f1 update waf 2021-11-30 15:42:29 -08:00
Robin Dunn
332a70cc34 traverse flags in the reverse order so they end up in the same relative order when done 2021-11-30 15:41:04 -08:00
Kazuya O'moto
c0824947cf Merge branch 'wxWidgets:master' into feature-shell 2021-11-30 17:24:40 +09:00
Scott Talbert
9a8a9b019c Merge pull request #2026 from carolfs/master
Fixed integer division in Python 3
2021-11-29 21:22:26 -05:00
Scott Talbert
f42bea0927 Merge pull request #2005 from gwhitney/setscrollbar_types
fix: Correct types of arguments to ScrolledWindow.SetScrollbars
2021-11-29 21:20:30 -05:00
Robin Dunn
acaa5b41a0 Add note about the extended time since the last release 2021-11-23 17:12:56 -08:00
Robin Dunn
f95f3187ad Merge branch 'master' into update-wx 2021-11-23 17:00:06 -08:00
Jorge Moraleda
672ec886b8 Enable customization of layout of pdfviewer button panel 2021-11-21 18:11:14 -08:00
Scott Talbert
2bbf0cc423 Merge pull request #1953 from jmoraleda/fix_auiframemanager_regression
Fix regression in aui framemanager introduced in last commit
2021-11-21 16:28:46 -05:00
Scott Talbert
7776c773da Merge pull request #1931 from jmoraleda/fix_auibar_regression
Fix regression in auibar introduced in last commit
2021-11-21 16:26:28 -05:00
Scott Talbert
1c1540ff44 Merge pull request #1940 from Lollixzc/patch-1
Correct typo in eventwatcher.py
2021-11-19 19:32:44 -05:00
Scott Talbert
316a69569c Add some changelog entries 2021-11-19 18:05:09 -05:00
Scott Talbert
34730f0e57 Merge pull request #1995 from cclauss/patch-3
Fix a typo discovered by codespell
2021-11-19 17:59:43 -05:00
Scott Talbert
71985d1258 Merge pull request #1955 from machawk1/master
Fix parameters for 'More Grid Features' constructor of Sizers demo
2021-11-19 17:59:13 -05:00
Scott Talbert
07f54c1f37 Merge pull request #2003 from swt2c/pyprogress_msw
Fix PyProgress on MSW by avoiding invalid sizer flags
2021-11-19 17:58:05 -05:00
Scott Talbert
456664481e Merge pull request #2032 from swt2c/macos_py310 2021-11-19 15:17:47 -05:00
Scott Talbert
440c1b018f Switch macOS CI to use Python from Azure images
Fixes Python 3.10 and should be faster not having to download & install
Python and pip.

This also removes Python 3.6 from macOS CI - the Azure hosted version of
Python 3.6 has a problem with linker flags (it is setting -stack_size) and
can't compile Python extensions.  Python 3.6 is going to be EOL in a month or
so, so it seems fine to just remove it from CI.
2021-11-19 13:44:25 -05:00