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
Carsten Grohmann
32e80758c7
Fix arguments in docstring of wx.ListCtrl.HitTestSubItem()
2022-09-07 18:08:12 +02:00
PChemGuy
089a2c1245
Added explicit "to int" type casting in dc.DrawXXX calls
2022-09-04 16:08:44 +03:00
PChemGuy
87e7ded2b1
Added sip.voidptr->int type casting in wx_pycairo.py
2022-09-04 15:00:03 +03:00
PChemGuy
5aed416754
Making explicit float->int type casting for DC.DrawXXX
...
Used DC.DrawXXX functions expect integer coordinates, but this module freely mixes both float and integer values. A quick fix is to add explicit type casting in all DC.DrawXXX calls.
In the long run, either calling modules should control numeric types or DC.DrawXXX methods should handle float type as well.
2022-09-04 11:23:38 +03:00
PChemGuy
3b2c4140cf
Missing required explicit float->int type casting
...
Fixes missing type casting in the OwnerDrawnComboBox.py demo module.
2022-09-04 11:07:47 +03:00
PChemGuy
5368d963f1
Missing required explicit float->int type casting
...
Fixes missing type casting in the OwnerDrawnComboBox.py demo module.
2022-09-04 08:01:24 +03:00
PChemGuy
83dba91a2b
Missing required explicit float->int type casting
...
"therange" variable, used to adjust range of the KnobCtrl, must be an integer.
2022-09-03 16:31:12 +03:00
Infernio
aa4394773a
Fix pdfViewer for Python 3.10
...
Needs ints instead of floats in these two places. Didn't notice any
others, but there may be more.
2022-09-01 14:57:56 +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
Toni Ruža
fada0e87f3
Include usage of wxMemoryFSHandler in webview demo
2022-08-16 12:03:22 +02: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