Commit Graph

5498 Commits

Author SHA1 Message Date
Carsten Grohmann
f143e4e17c Use add_js_file() instead of add_javascript()
add_javascript() is deprecated and has been removed in Sphinx 4.
The new add_js_file() function has been available since at least Sphinx
1.8.5.
2022-09-08 22:19:16 +02:00
Carsten Grohmann
f3ac627ca9 Add compatibility code for different locations of Sphinx NoUri
The location of this exception has changed with Sphinx 3.0
according to the "Deprecated API".
2022-09-08 22:19:04 +02:00
Robin Dunn
7c4d21d778 Merge pull request #2247 from CarstenGrohmann/listctrl_format_doc
Fix docstring layout for ColumnSorterMixin.GetSortState()
2022-08-30 18:49:19 -07:00
Robin Dunn
5fced695ca Merge pull request #2233 from StefanBruens/fix_uintptr_overflow_check
Fix overflow check for wxUIntPtr type
2022-08-30 18:47:07 -07:00
Robin Dunn
6afee6af52 Merge pull request #2243 from pchemguy/master
Missing NumPy package reference in FloatCanvas.py
2022-08-30 18:46:06 -07:00
Robin Dunn
d1802fff0c Merge pull request #2252 from newville/master
OSX: remove check of SetFrontProcess() before App is fully initialized
2022-08-30 18:33:52 -07:00
Matthew Newville
a789e49000 OSX: remove check of SetFrontProcess() before App may be fully initialized 2022-08-28 18:07:13 -05:00
Carsten Grohmann
5eef583d7c Fix docstring layout for ColumnSorterMixin.GetSortState() 2022-08-22 20:47:55 +02:00
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
Stefan Brüns
88b8565654 Fix overflow check for wxUIntPtr type
long is 32bit on 32-bit archs and on Win64 (see
https://en.cppreference.com/w/cpp/language/types ). As SIP uses
PyLong_AsLongLong internally and uses an extra bounds check only if
explicitly enabled("sip.enableoverflowchecking(True)"), the overflow
only triggers when it also overflows `long long`, i.e. when
_LONG_MAX == _LLONG_MAX.
2022-08-14 01:30:33 +02: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