PChemGuy
af3721f167
Explicit NumPy.float64 to int typecasting in FCObjects.py
...
I cannot tell whether the original code worked before, but this explicit typecasting is necessary now.
The issue occurs, for example if attempting to execute "PieChart.py" or "ScaledBitmap2Demo.py" in "samples\floatcanvas". Without typecasting, type errors are thrown, such as "TypeError: Image.Scale(): argument 1 has unexpected type 'numpy.float64'".
Apparently, this problem might be due to recent updates in Python and NumPy.
2022-08-20 21:43:22 +03:00
PChemGuy
8d771a389c
py3: use six.moves.range instead of xrange
...
The xrange module was removed in Python 3 and we should
use 'six.moves.range' instead of 'xrange' to make
code compatible with py 2 and 3 as well.
2022-08-20 13:58:51 +03:00
PChemGuy
112605f540
Missing NumPy package reference in FloatCanvas.py
...
Package reference (N) is missing when NumPy type "float_" is used.
2022-08-20 09:27:31 +03:00
Scott Talbert
98871b690a
Merge pull request #2228 from swt2c/pypubsub_getargspec
...
pypubsub: Replace deprecated inspect.getargspec
2022-08-10 13:49:39 -04:00
Scott Talbert
6ff8283fda
Merge pull request #2224 from swt2c/attrdict_windows_only
...
Only require attrdict3 on Windows
2022-08-10 13:49:23 -04:00
Scott Talbert
8779e7142a
Merge pull request #2230 from swt2c/sip_662
...
Indicate sip 6.6.2+ is required when building with sip-build
2022-08-10 13:48:51 -04:00
Scott Talbert
969c2d1635
Indicate sip 6.6.2+ is required when building with sip-build
2022-08-10 11:01:38 -04:00
Scott Talbert
9986a0d5c2
pypubsub: Replace deprecated inspect.getargspec
...
inspect.getargspec was removed in Python 3.11. This is a backport of:
089c7a73f8
2022-08-08 22:35:58 -04:00
Scott Talbert
2e9169effa
Only require attrdict3 on Windows
...
It's only used on Windows, so only require it there.
2022-08-08 20:00:52 -04:00
Robin Dunn
e220dab240
Merge branch 'release-prep'
2022-08-08 15:29:33 -07:00
Robin Dunn
1ecff8aabe
Update version number for next release cycle
2022-08-08 15:27:09 -07:00
Robin Dunn
7120d633a4
Fix local archive commands
2022-08-08 15:26:24 -07:00
Robin Dunn
b567d1e6e3
Add RockyLinux 8 and 9
wxPython-4.2.0
2022-08-07 20:17:44 -07:00
Robin Dunn
22a29af081
Retire centos-7 (Python is too old) and centos-8 (distro is EOL)
2022-08-07 20:17:15 -07:00
Robin Dunn
ddc8ad6ad1
Update waf to 2.0.24 (for Python 3.11)
2022-08-07 12:52:18 -07:00
Robin Dunn
fb2e6a8ba9
Update cython to latest version (for Python3.11)
2022-08-07 12:51:39 -07:00
Robin Dunn
dbe344c212
Fix item numbers
2022-08-07 12:50:53 -07:00
Robin Dunn
a04261050a
Update announcement text
2022-08-06 17:40:30 -07:00
Robin Dunn
66c3e0cdc5
Set release date and some minor text tweaks
2022-08-06 17:20:55 -07:00
Robin Dunn
b33b012b47
Changelog updates
2022-08-06 13:23:54 -07:00
Robin Dunn
5462625d11
Merge pull request #2211 from mmuetzel/mingw
...
Simplify building with MinGW toolchain
2022-08-06 13:19:41 -07:00
Robin Dunn
66d03b8228
Changelog updates
2022-08-06 13:04:23 -07:00
Robin Dunn
866cdf9ab2
Fix typo
2022-08-06 13:03:53 -07:00
Robin Dunn
503d42cd55
Merge pull request #2219 from arjones6/master
...
Fixes for flatmenu.py Remove and DestroyItem
2022-08-06 12:56:26 -07:00
Robin Dunn
ea7e5cbc1e
Merge pull request #2218 from jmoraleda/less_opinionated_popupctl
...
Popup ctl respects the parameters passed to init
2022-08-06 12:51:01 -07:00
Robin Dunn
51f02ec0c2
Merge pull request #2215 from alexdewar/patch-1
...
IntCtrl: Change default colour to wx.NullColour
2022-08-06 12:48:31 -07:00
Robin Dunn
64066f3db5
Merge pull request #2205 from Infernio/inf-pymupdf
...
Support newer PyMuPDF versions
2022-08-06 12:46:11 -07:00
Robin Dunn
3f88d4668a
pin markupsafe
2022-08-06 12:14:29 -07:00
Robin Dunn
25fa3d9931
Add pythonized versions for new doc snippets
2022-08-06 11:40:10 -07:00
Robin Dunn
2c5bf90721
GetNextAvailableScale's parameter is InOut
2022-08-06 11:39:13 -07:00
Robin Dunn
70719f64f5
Improve readability of the toml string
2022-08-05 19:50:04 -07:00
Scott Talbert
8fa9b6507c
Update changelog/add some entries for missing items
2022-08-03 20:10:59 -04:00
arjones6
937a9b31e9
Update flatmenu.py
...
FlatMenu fix for passing ids to Remove and DestroyItem
2022-08-02 14:42:52 -04:00
Jorge Moraleda
84d5c1ded7
Popup ctl respects the parameters passed to init
2022-08-01 17:18:42 -05:00
Scott Talbert
d57949fdcf
Merge pull request #2216 from swt2c/wxwidgets_3.2.0
...
Update wxWidgets to v3.2.0 (official release)
2022-08-01 13:19:01 -04:00
Scott Talbert
aef28b1c57
Windows CI: add vcvarsall setup to fix Windows builds
2022-08-01 11:06:59 -04:00
Scott Talbert
c57f883ab1
Update wxWidgets to v3.2.0 (official release)
2022-07-26 19:20:41 -04:00
Alex Dewar
dafb70b689
IntCtrl: Change default colour to wx.NullColour
...
Fixes #2199 .
The problem is that the default colour is currently wx.BLACK which will basically be invisible if the user has a dark theme. Use ``wx.NullColour`` instead so that it can just use the default text colour for the user's theme.
Note that this does not fix the second part of issue #2199 (the colours still don't change if the control is disabled) but I feel this should be a separate issue now.
2022-07-25 15:07:39 +01:00
Markus Mützel
a8f74c5d32
Simplify building with MinGW toolchain
...
Add a waf option `--no_msvc` that switches from a MSVC toolchain to a MinGW toolchain on Windows.
2022-07-11 19:14:22 +02:00
Scott Talbert
3ac1e52676
Merge pull request #2209 from swt2c/fix_sdist_sip662
...
Fix inclusion of siplib and sip.h in sdist with sip 6.6.2
2022-07-09 17:15:10 -04:00
Scott Talbert
3a20dd4d70
Fix inclusion of siplib and sip.h in sdist with sip 6.6.2
...
Since these files are no longer tracked in git, they need to be
explicitly included in the sdist.
Fixes #2207 .
2022-07-09 11:00:10 -04:00
Infernio
2f6c469607
Support newer PyMuPDF versions
...
PyMuPDF 1.18 renamed all of its camelCase fields and methods to use
snake_case instead, and a later version (probably 1.19) removed the
deprecated aliases. This patch attempts to use the newer name first
(since most people will probably be using a newer version of PyMuPDF)
and falls back to the older name if that fails.
2022-07-08 15:22:46 +02:00
Scott Talbert
fd6b4814e4
Merge pull request #2202 from stahta01/staging
...
Fix weird chars in etg/bitmap.py
2022-07-06 10:57:01 -04:00
Tim Stahlhut
6e6f2effd4
Fix weird chars in etg/bitmap.py
2022-07-05 17:35:14 -04:00
Robin Dunn
edf1cf070b
Ensure that PYTHON's folder is on the PATH
2022-07-01 08:32:07 -07:00
Robin Dunn
028783d9be
Ignore our copy of sip.h too
2022-06-30 19:55:28 -07:00
Robin Dunn
6238e37659
Match "#line" lines with leading whitespace
2022-06-30 15:46:10 -07:00
Robin Dunn
1a77d37cfd
Ignore the siplib folder. Use the full pathname of the sbf file
2022-06-30 15:14:51 -07:00
Robin Dunn
369d49f621
Merge branch 'swt2c-sip6'
2022-06-30 14:13:57 -07:00
Robin Dunn
9d4ed22309
Fix clean_wx command for MSW
last-sip5
2022-06-29 09:28:46 -07:00