220 Commits

Author SHA1 Message Date
Robin Dunn
332a70cc34 traverse flags in the reverse order so they end up in the same relative order when done 2021-11-30 15:41:04 -08:00
Christian Clauss
25ba122168 Fix typos discovered by codespell 2021-08-07 18:55:49 +02:00
Robin Dunn
b42e0c160f The setup0.h hack is no longer needed 2021-07-24 16:39:23 -07:00
Robin Dunn
224630cf64 Add Config.SIP_TRACE flag 2021-01-07 13:43:11 -08:00
Robin Dunn
c385873d70 Add SIP_ABI to the config object 2021-01-05 11:11:26 -08:00
Robin Dunn
c8e25b79e1 Run SIP via its Python interface rather than as a separate subprocess 2021-01-05 11:01:25 -08:00
Robin Dunn
201228c529 Improve code to use the same CC and CXX as wxWidgets, including flags that may be added on to wx's CC/CXX. 2020-12-01 16:19:38 -08:00
Robin Dunn
dedc0d62b7 Bump version number for next release 2020-11-25 13:58:30 -08:00
Robin Dunn
9076f1ddd0 Remove alpha tag 2020-11-20 12:54:53 -08:00
Robin Dunn
2497454917 Add flag for turning off MS edge support, code to download the dev files, etc. 2020-10-13 13:18:09 -07:00
Robin Dunn
510adc9aa1 wxWidgets version is now 3.1.5 2020-09-10 12:44:48 -07:00
Robin Dunn
ab674002af Bump min OSX version to 10.10 2020-07-07 11:12:22 -07:00
Robin Dunn
b7f544d5b6 Bump version number for eventual next release 2020-04-24 12:41:48 -07:00
Robin Dunn
2cb1e24d91 Drop the "a1" from the version number for the release 2020-04-23 15:14:41 -07:00
Robin Dunn
7a05d20d82 Merge pull request #1572 from pbrod/Fix_issue1571
Fixes issue 1571:
2020-03-23 16:07:22 -07:00
Robin Dunn
41c5af9cde Merge pull request #1569 from pbrod/Fix_issue1554
Fixes issue # 1554:
2020-03-23 15:35:41 -07:00
Robin Dunn
52c00542eb Streamline fetching WX_CONFIG from the environment 2020-03-23 14:50:52 -07:00
Per A. Brodtkorb
e4e8bf8317 Fixes issue 1571:
Adding missing close for open.
If the "close()" call is missing after a "open(filename)" call, the filename isn't guaranteed to be closed before the interpreter exits.
This is generally a bad practice as explained here: https://stackoverflow.com/questions/7395542/is-explicitly-closing-files-important

Also replaced "fid=open(filename) fid.close()" statements for files with the safer
"with open(filename) as fid:" blocks. See https://www.python.org/dev/peps/pep-0343/
2020-03-23 17:16:44 +01:00
Per A. Brodtkorb
fc1823315b Fixes issue # 1554:
Replaced "== None" and "!= None" with "is None" and "is not None", respectively, because the former is slower and error-prone.
2020-03-23 11:53:36 +01:00
Robin Dunn
9b122237c9 if WX_CONFIG is set in the environment then use that instead of defaulting to "wx-config" 2020-03-20 15:25:34 -07:00
Per A. Brodtkorb
033c18fd9f Fixes issue #1556
Replaced XXX.keys() calls with idiomatic python 3 calls that are compatible with python 2 such as eg:
 * replaced "y = xxx.keys()" or "y = list(xxx.keys())" with just "y = list(xxx)"
 * replaced "sorted(xxx.keys())" or "sorted(list(xxx.keys()))" with just "sorted(xxx)"
 * replaced "if not A in B.keys():" with "if A not in B:"
 * replaced "for A in B.keys():"  with "for A in B:"

See also https://python-future.org/compatible_idioms.html
https://python-future.org/compatible_idioms.html#dict-keys-values-items-as-a-list
2020-03-20 18:51:19 +01:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
e7fbe980e1 Use the dpi-aware manifest, if the compiler is new enough to be able to use it. 2019-12-17 19:42:27 -08:00
Christoph Moench-Tegeder
e539f81cd9 GNUMakeBuilder: "make" command controllable via environment
Some systems (notably BSDs) install GNU make as "gmake" - just
invoking "make" and hoping it understands GNU arguments will not
work there. Traditionally, an alternative "make" command can be
selected with the MAKE environment variable.
This changes GNUMakeBuilder (and by extension, AutoconfBuilder)
to invoke the command given in $MAKE and fall back to "make" if
MAKE has not been set.
2019-12-15 21:58:52 +01:00
Robin Dunn
18b30fc2e6 Turn off using wx-dpi-aware.manifest for Python 2.7 builds 2019-12-12 12:18:54 -08:00
Robin Dunn
243f71a694 Fix wx version number 2019-12-12 11:20:11 -08:00
Robin Dunn
301d5e924a Also vendorize the six module
(cherry picked from commit 634f716cb7)
2019-09-14 01:15:47 -07:00
Robin Dunn
10cd50b68d Ensure setup.h was found before trying to open it 2019-08-21 16:46:26 -07:00
Robin Dunn
98ea1d87f4 Include SIP's license file too 2019-06-28 12:55:05 -07:00
Robin Dunn
03ee6dcd95 Python 2.7 doesn't have TemporaryDirectory
(cherry picked from commit ef81730d8a)
2019-06-22 19:23:27 -07:00
Robin Dunn
6dab1307fa Add option to regenerate sysconfig in broken build environments.
Also add option to print waf's config.log on error.

(cherry picked from commit a2f6c4b402)
2019-06-22 19:23:27 -07:00
Robin Dunn
f0d6404bc5 We need scandir too 2019-06-03 22:26:10 -07:00
Robin Dunn
90fd88f45d Instead of doing conditional requirements, add the backports we need to buildtools.backports 2019-06-03 21:33:23 -07:00
Robin Dunn
e234a65cd7 Use textwrap3 on Python 2 2019-05-31 08:57:15 -07:00
Robin Dunn
23fe71ff6d Restore always trying to build the msg catalogs, and
remove the source .mo file when done copying it. (Because they're not committed to wxWidgets repo anymore.)
2019-05-28 14:50:06 -07:00
Robin Dunn
ff1d5402a1 Python 2.7 doesn't have indent 2019-05-27 22:51:53 -07:00
Robin Dunn
2e6cda34a8 Fix wxWidgets micro version number 2019-05-27 15:14:29 -07:00
Robin Dunn
7a82a27ab8 Set wxUSE_WINRT to 0 2019-05-27 14:56:02 -07:00
Robin Dunn
dcb06f6f18 Update to 10.9 min deployment version, and try not explicitly setting the SDK 2019-05-23 21:34:06 -07:00
Robin Dunn
221a98e902 Merge pull request #1223 from RobinD42/more-build-tweaks
More build tweaks

(cherry picked from commit d1b79db2a9)
2019-05-13 19:59:29 -07:00
Robin Dunn
40e5ce8bc4 Merge pull request #1208 from RobinD42/some-build-fixes
Enable wxPython's build to check results of wxWidgets configuration

(cherry picked from commit a6f6fff928)
2019-04-17 18:33:16 -07:00
Robin Dunn
2f8d1b2e9a wxWidgets has been fixed, enable use of SDL again.
Update wxWidgets to latest master.
2018-10-17 11:11:49 -07:00
Robin Dunn
6b0776e41b turn off SDL for now, there's a link bug in wxWidgets 2018-10-16 16:32:22 -07:00
Robin Dunn
e9e3736fa0 Merge pull request #1035 from RobinD42/fix-issue961
include wxpy_api.h

(cherry picked from commit 7300aa4718)
2018-10-11 21:15:10 -07:00
Robin Dunn
2f540a91e6 Merge pull request #1034 from RobinD42/fix-issue958-291-wxAccessible
Add wxAccessible and a tool to generate C++ stubs

(cherry picked from commit 3a9f37f2aa)
2018-10-10 19:40:59 -07:00
Robin Dunn
ac1a323144 Merge pull request #1026 from RobinD42/sip-4.19.13
Switch to SIP 4.19.13

(cherry picked from commit a268da9b84)
2018-10-03 19:25:45 -07:00
Robin Dunn
b5bb587145 Merge pull request #897 from RobinD42/add-windowidref
Add wx.WindowIDRef and wx.NewIdRef
2018-06-24 21:37:54 -07:00
Robin Dunn
f418dde5d8 Merge pull request #893 from RobinD42/fix-darwin-linking
Fix darwin linking
(cherry picked from commit de143e9d83)
2018-06-22 22:46:44 -07:00
Robin Dunn
618fd487e5 Set alpha release flag 2018-06-18 21:36:17 -07:00
Robin Dunn
b77c88a280 Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
(cherry picked from commit 4c56c39e52)
2018-06-17 22:04:22 -07:00