Commit Graph

5337 Commits

Author SHA1 Message Date
Robin Dunn
7413837833 Since we've already set everything we need in the environment set DISTUTILS_USE_SDK so distutils won't try to do it all again. 2022-05-16 22:37:02 -07:00
Robin Dunn
9cd319734e Try the windows-2022 image on Azure, add some debug prints. 2022-05-16 20:35:57 -07:00
Robin Dunn
d8a07a78a4 Docstring clarification 2022-05-16 10:10:01 -07:00
Robin Dunn
3038b2e916 Use 14.0 as the minimum MSVC version 2022-05-16 10:04:44 -07:00
Robin Dunn
3218e4d42f Use MSVCinfo in the waf script to help set up the compiler for the wxPython build 2022-05-15 11:37:43 -07:00
Robin Dunn
685b9af718 Move setting the environment variables into getMSVCInfo 2022-05-15 10:40:51 -07:00
Robin Dunn
cadd91697c Switch to setuptools.msvc for getting setup info for the Windows compiler, reducing dependence on distutils. 2022-05-14 20:31:11 -07:00
Robin Dunn
3e6be81d6d Add forgotten class scope 2022-05-09 23:12:14 -07:00
Robin Dunn
a401846562 Merge branch 'little-tweaks' 2022-05-09 22:12:58 -07:00
Robin Dunn
c912be2db4 Updated itemToModuleMap 2022-05-09 22:12:23 -07:00
Robin Dunn
9d19ba1ee7 Guard against None returned for the top-level parent node 2022-05-09 22:11:22 -07:00
Robin Dunn
d7711acce3 Fix wrappers for platform-specific GTKSuppressDiagnostics and OSXEnableNewLineReplacement
They need to be generated for all platforms, even if they do not do anything on some.
2022-05-09 21:49:11 -07:00
Scott Talbert
d2c8c5eda5 Merge pull request #2152 from radoering/fix-CheckListBox-GetSelections
Fix CheckListBox GetSelections()
2022-05-09 20:24:09 -04:00
Randy Döring
61cb3244d4 Fix CheckListBox GetSelections() 2022-05-06 12:30:03 +02:00
Scott Talbert
e5c47c8630 Merge pull request #2146 from swt2c/ci_macos_ccache
Try using ccache on macOS CI too
2022-05-05 15:31:38 -04:00
Scott Talbert
0dd5f45c12 Try using ccache on macOS CI too 2022-05-04 22:52:23 -04:00
Scott Talbert
e600d0861c Merge pull request #2145 from swt2c/ci_linux_fix_ccache
Add build number to cache key to hopefully fix ccache
2022-05-04 14:08:10 -04:00
Scott Talbert
d9183cbfa6 Add build number to cache key to hopefully fix ccache 2022-05-03 22:53:53 -04:00
Scott Talbert
709fc4ab2a Merge pull request #2141 from swt2c/update_wx_3.1.6
Update wxWidgets to 3.1.6
2022-05-02 22:41:42 -04:00
Scott Talbert
58682ecaf4 Update demos to work wxWidgets 3.1.6 2022-05-02 22:36:44 -04:00
Scott Talbert
37ba9563b6 Update unittests to work with wxWidgets 3.1.6 2022-05-02 22:35:18 -04:00
Scott Talbert
5dbd14224a Update wxWidgets version in buildtools/version.py 2022-05-02 22:34:13 -04:00
Scott Talbert
130959f12b Update MS Edge version to latest 2022-05-02 22:34:13 -04:00
Scott Talbert
aa1ef7bd75 Update ETG scripts to support wxWidgets 3.1.6 functionality
Fixes #2136.
2022-05-02 22:33:58 -04:00
Scott Talbert
1139e61408 Merge pull request #2142 from swt2c/ci_linux_ccache
Use ccache to speed up Linux CI
2022-04-28 17:02:05 -04:00
Scott Talbert
0503525cd3 Use ccache to speed up Linux CI 2022-04-28 16:04:44 -04:00
Scott Talbert
cc4e5c313f Update wxWidgets to v3.1.6 2022-04-12 23:07:17 -04:00
Scott Talbert
af8cca5189 Merge pull request #2123 from swt2c/linux_ci_apt_update
Linux CI: add 'apt update' back in to avoid mirror issues
2022-03-07 13:13:34 -05:00
Scott Talbert
6713a94b62 Linux CI: add 'apt update' back in to avoid mirror issues 2022-03-07 10:55:15 -05:00
Scott Talbert
2258f21558 Merge pull request #2111 from pauldmccarthy/mnt/stattext
MNT: Coerce argument types in call to DC.DrawText
2022-02-24 16:14:09 -05:00
Scott Talbert
c62d1508d6 Merge pull request #2096 from pieleric/docs-fix-missing-getkeycode-snippet
docs: fix missing GetKeyCode() call in GetKeyCode() example
2022-02-24 16:13:41 -05:00
Paul McCarthy
7f2e5b41ba MNT: Coerce argument types in call to DC.DrawText 2022-02-24 19:14:11 +00:00
É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