Commit Graph

5355 Commits

Author SHA1 Message Date
Éric Piel
db4fcca2d7 docs: fix missing GetKeyCode() call in GetKeyCode() example 2022-02-01 16:28:34 +01:00
Scott Talbert
7c8318e849 Merge pull request #2078 from swt2c/pyplot_point_labels
Fix PlotCanvas point label drawing on Linux
2022-01-24 19:57:51 -05:00
Scott Talbert
6191f9ec37 Merge pull request #2077 from swt2c/deprecated_c_api
Fix some compiler warnings
2022-01-24 19:57:13 -05:00
Scott Talbert
eb1c2f9c4b Merge pull request #2076 from swt2c/deprecated_escape_sequences
Fix a bunch of DeprecationWarnings due to invalid escape sequences
2022-01-24 19:56:28 -05:00
Scott Talbert
0239cd6fcf Merge pull request #2090 from swt2c/ci_cleanup_2022
CI Cleanup
2022-01-24 16:50:04 -05:00
Scott Talbert
76056b37d8 Clean up/modernize Linux CI
* Switch to Ubuntu 20.04
* Switch to Azure-provided Pythons and forego venvs
* Add expat, libcurl, gstreamer-plugins-bad to dependencies
2022-01-24 15:00:17 -05:00
Scott Talbert
26dec8d5b4 macOS CI: switch to macOS 11 2022-01-24 15:00:17 -05:00
Scott Talbert
eb20dd0619 Drop Python 3.6 (EOL) CI builds 2022-01-24 13:46:46 -05:00
Scott Talbert
f729eef492 Fix PlotCanvas point label drawing on Linux
Switch to using the same point label drawing method as darwin.
2022-01-11 20:14:04 -05:00
Scott Talbert
b2199e299a plotcanvas: avoid trying to adjust scrollbars if nothing drawn
For example, if Clear() is called on a plotcanvas, _adjustScrollbars()
will not work, so avoid trying to do it if nothing is drawn currently.
2022-01-11 19:56:28 -05:00
Scott Talbert
099c0c1e3d Avoid compile warnings for no return statement on non-MSW 2022-01-11 18:00:16 -05:00
Scott Talbert
6da0064551 Replace deprecated PyEval_CallObject with PyObject_CallObject 2022-01-11 17:35:31 -05:00
Scott Talbert
2871c46d33 Fix a bunch of DeprecationWarnings due to invalid escape sequences
Fixes #1454.
2022-01-11 11:23:06 -05:00
Scott Talbert
77fa6cf8cc Merge pull request #2074 from petrasovaa/patch-4
Fix for Python 3.10
2022-01-09 10:12:50 -05:00
Scott Talbert
43ad05af4f Merge pull request #2071 from swt2c/test_fixes_2021
Fix a bunch of test issues on GTK and OSX, plus a few non-test bugs
2022-01-09 10:11:07 -05:00
Scott Talbert
2236943c33 Merge pull request #2068 from swt2c/taskbar_getpopup
Fix GetPopupMenu override for wx.adv.TaskbarIcon
2022-01-09 10:09:55 -05:00
Anna Petrasova
da4dbf1110 Fix for Python 3.10
Fixes https://github.com/OSGeo/grass/issues/2045
2022-01-08 22:30:04 -05:00
Scott Talbert
d6beca15ab Avoid redefining wx.PopupWindow globally on macOS
It's unclear whether mcPopupWindow is even needed any more as wx.PopupWindow
seems to be implemented on macOS.
2022-01-03 16:45:38 -05:00
Scott Talbert
8fc9c03ac8 tests: skip test_gdicmn test that currently fails 2022-01-02 13:53:16 -05:00
Scott Talbert
1b1bccdb60 tests: fix uiaction tests by adding delay 2022-01-02 13:53:09 -05:00
Scott Talbert
174d606385 Add tests for TaskBarIcon CreatePopupMenu and GetPopupMenu overrides 2022-01-01 17:24:37 -05:00
Scott Talbert
2b2bdddb47 Unignore TaskBarIcon.GetPopupMenu
Fixes #2067
2022-01-01 17:23:24 -05:00
Scott Talbert
f60284fe64 tests: fixup test_frame on wxGTK 2021-12-30 17:40:24 -05:00
Scott Talbert
ecb6682c65 tests: Replace deprecated calls/properties in test_platinfo 2021-12-30 16:35:38 -05:00
Scott Talbert
d97581c614 tests: Replace deprecated call in test_menu 2021-12-30 16:27:33 -05:00
Scott Talbert
6b386d85a7 tests: replace deprecated calls in XRC 2021-12-30 15:57:34 -05:00
Scott Talbert
f5a55e6bf3 Fix even more Python 3.10 issues with wx.lib classes 2021-12-30 15:47:07 -05:00
Scott Talbert
9337a8d257 tests: Replace deprecated numpy float and unittest calls in floatcanvas 2021-12-30 14:59:38 -05:00
Scott Talbert
b5ffe91c74 wx.lib.floatcanvas: replace deprecated use of numpy float 2021-12-30 14:59:30 -05:00
Scott Talbert
7d1c8d44e0 tests: fix AGW ThumbnailCtrl tests 2021-12-30 13:59:30 -05:00
Scott Talbert
a503de821f tests: use a currently used string for intl test 2021-12-30 13:44:25 -05:00
Scott Talbert
076b41103e Fix a few wx.Grid event issues / tests 2021-12-30 11:51:24 -05:00
Scott Talbert
8b73673071 tests: use 24-bit color on GLCanvas since Create now asserts 2021-12-30 11:49:38 -05:00
Scott Talbert
970fae9978 Delay on graphics test 2021-12-30 11:48:53 -05:00
Scott Talbert
ea4f48289a Extend delays on FileCtrl tests 2021-12-30 11:48:11 -05:00
Scott Talbert
da2fbf0930 Require wx.App for wx.NotificationMessage 2021-12-30 11:47:09 -05:00
Scott Talbert
032ea05d7f Fix Python 3.10 issue with test_cmndata 2021-12-30 11:44:52 -05:00
Scott Talbert
fcf49322b6 Merge pull request #2066 from petrasovaa/patch-3
Fix invisible text in lib.plot with dark theme
2021-12-30 09:03:21 -05:00
Scott Talbert
afe1e8723e Merge pull request #2065 from petrasovaa/patch-1
Fix for Python 3.10 in lib.plot
2021-12-30 09:00:51 -05:00
Anna Petrasova
92ca5c55a6 Fix invisible text in lib.plot with dark theme
This fixes invisible white text on white background with dark themes.
2021-12-29 23:29:44 -05:00
Anna Petrasova
28b7ba5794 Fix Python 3.10 in lib.plot
Fixes drawing lines
2021-12-29 23:23:33 -05:00
Robin Dunn
40e612923d More Py3.10 integer fixes 2021-12-28 22:25:21 -08:00
Robin Dunn
6fa094d01e Add a Python 3.10 venv 2021-12-28 22:24:37 -08:00
Robin Dunn
cf0086e09c Add another linux bb worker 2021-12-28 22:22:52 -08:00
Scott Talbert
04c2cc39db Merge pull request #2062 from swt2c/agw_flatnotebook_py310
Fix additional Python 3.10 issues with AGW FlatNotebook
2021-12-27 21:54:30 -05:00
Scott Talbert
aa3dca0e40 Fix additional Python 3.10 issues with AGW FlatNotebook 2021-12-27 19:48:55 -05:00
Robin Dunn
d3bdb14365 * Add new macos workers
* Drop 3.6 and most 3.7 builders
* Drop all win32 builders, at least for now
* Add some Py3.10 builders
2021-12-17 15:32:21 -08:00
Robin Dunn
454ef9b2cd Clean it up 2021-12-17 15:00:24 -08:00
Robin Dunn
5f3c8cd22b Go back to using the default SDK?? 2021-12-17 14:31:47 -08:00
Robin Dunn
97e4461af9 Fix detection of default architecture 2021-12-17 14:31:15 -08:00