5964 Commits

Author SHA1 Message Date
lojack5
58d5b6a27d mark values #defineed as true or false in the type-stubs as bool. 2025-03-13 18:31:39 -06:00
lojack5
c6cd496e7d Mark subclasses of wx.TopLevelWindow as allowing None for their
`parent` argument.
2025-03-13 18:31:39 -06:00
lojack5
1fe85a8907 mark stubs for __bool__ and __nonzero__ as returning bool. 2025-03-13 18:31:39 -06:00
lojack5
62f820a8cf Fixups for buildings docs (sphinx_generator):
- Remove typehints from argsString before checking signature
- lie and detect `_from`, `_is`, and `_def` as `from`, `is`, and `def for
  signature validating purposes
- Fix: don't remove const from identifiers containing const (eg: constraint)
2025-03-13 18:31:39 -06:00
Scott Talbert
f49f0b446d Merge pull request #2695 from neofelis2X/docs_sphinx_latest
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.10) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.11) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.12) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.13) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
Add support for building documentation with latest sphinx
2025-03-02 19:50:39 -05:00
Scott Talbert
f74f7ab9f8 Merge pull request #2702 from swt2c/macos_build_arches_separately
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.10) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.11) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.12) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.13) (push) Has been cancelled
ci-build / build-wheels (arm64, macos-14, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
Build macOS architectures separately for CI and wheels
2025-02-28 12:58:34 -05:00
Scott Talbert
e91fa5e559 Build macOS architectures separately for CI and wheels
Building the architectures separately allows them to be built in
parallel, which will speed up CI but also result in smaller wheels which
should be more efficient instead of universal wheels.  Also, build them
using cibuildwheel which helps with building them as arch-specific
instead of universal.
2025-02-27 20:19:51 -05:00
Scott Talbert
ba92977486 Remove -arch flags from LDSHARED flags from distutils on macOS
This is causing libraries to always be linked with arm64 & x86_64 flags
when Python has been built as universal, which is the case with recent
official Pythons.
2025-02-27 20:19:26 -05:00
Scott Talbert
1766336e55 Don't enable wxWidgets universal binary build by default
When building on arm64 this causes wxWidgets to be built as x86_64.
Instead we just want to build the native arch by default.
2025-02-27 20:19:26 -05:00
neofelis2X
1219d1e896 fixup! Docs: add script that sorts wxStyledTextCtrl into categories 2025-02-27 18:55:45 +01:00
Scott Talbert
828abb434c Update CI/CD to handle normalized wheel names with setuptools 75.8.1
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
2025-02-26 23:47:56 -05:00
Scott Talbert
9b901a6a09 Merge pull request #1950 from seanbudd/fix-scrolledpanel-tabbing
Some checks are pending
ci-build / build-source-dist (push) Waiting to run
ci-build / build-wheels (x64, macos-13, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.13) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Blocked by required conditions
ci-build / Build wxPython documentation (push) Waiting to run
ci-build / Publish Python distribution to PyPI (push) Blocked by required conditions
ci-build / Create GitHub Release and upload source (push) Blocked by required conditions
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Blocked by required conditions
Calculate Scroll based on Childs relative position to ScrolledPanel
2025-02-26 22:35:21 -05:00
neofelis2X
1a982a2b76 fixup! Docs: update linux doxygen md5 hash 2025-02-27 02:47:56 +01:00
neofelis2X
7766e8a107 Docs: add missing dependencies to workflow 2025-02-27 02:23:18 +01:00
neofelis2X
6e43326a62 Docs: bump python version to 3.13 in the workflow 2025-02-26 21:23:33 +01:00
neofelis2X
b79e8ca47c fixup! Docs: save inheritance diagrams as svg and small design changes 2025-02-26 21:11:59 +01:00
neofelis2X
376b447ccb fixup! Docs: remove explicid install of sphinx dependencies 2025-02-25 22:53:56 +01:00
neofelis2X
4270f9235c Docs: update linux doxygen md5 hash 2025-02-24 23:31:49 +01:00
neofelis2X
86944f5dbb Docs: save inheritance diagrams as svg and small design changes 2025-02-24 23:25:48 +01:00
neofelis2X
38d27c62b4 Docs: add libclang to gitignore which can come with doxygen 1.9 2025-02-24 23:25:48 +01:00
neofelis2X
fe7ad1a0a1 Docs: fix sphinx (win) could not handle spaces in path 2025-02-24 23:25:48 +01:00
neofelis2X
aa5d3f0996 refactor getTool and add support for .tar.bz2 files 2025-02-24 23:25:19 +01:00
neofelis2X
6f2ca2b5e5 Docs: fix various minor sphinx parsing issues 2025-02-24 23:03:37 +01:00
neofelis2X
c6311b6332 Docs: add script that sorts wxStyledTextCtrl into categories 2025-02-24 23:03:37 +01:00
neofelis2X
0260250cea Docs: fix sphinx error which can't find image path on windows 2025-02-24 23:03:37 +01:00
neofelis2X
783d683f1d Docs: add sticky header and correct z-order of elements 2025-02-24 23:03:37 +01:00
neofelis2X
f1b73e07dc Docs: better flow for sidebar elements 2025-02-24 23:03:37 +01:00
neofelis2X
b1a931a34b Docs: fix a sphinx warning by stripping trailing whitespace from ref 2025-02-24 23:03:37 +01:00
neofelis2X
78c40585d8 Docs: move a layout tweak from postprocessor to generator 2025-02-24 23:03:37 +01:00
neofelis2X
51a92d613e Docs: update template and css for control screenshots in the docs 2025-02-24 23:03:37 +01:00
neofelis2X
2b97171728 Docs: fix 2 small errors in sphinx REST files 2025-02-24 23:03:37 +01:00
neofelis2X
171b201928 Docs: fix external link to numpy documentation 2025-02-24 23:03:37 +01:00
neofelis2X
e3ba6d8c8c Docs: remove outdated modindex entry in sphinx conf 2025-02-24 23:03:37 +01:00
neofelis2X
47acaddbe7 Docs: remove explicid install of sphinx dependencies 2025-02-24 23:03:37 +01:00
neofelis2X
c08cb26c35 Docs: doc2dash now needs file-extension added to the --name 2025-02-24 23:03:36 +01:00
neofelis2X
cd0429f8dd Docs: small fixes for css and templates 2025-02-24 23:03:36 +01:00
neofelis2X
2a2179f396 Docs: update postprocessing to account for sphinx v8 2025-02-24 23:03:36 +01:00
neofelis2X
7953f5bba8 Docs: fixes and updates to sphinx configuration 2025-02-24 23:03:36 +01:00
neofelis2X
06e8b9917b Docs: write sphinx warnings to log file in html directory 2025-02-24 23:03:36 +01:00
neofelis2X
6038fc2709 Docs: fix python warning about invalid escape sequence 2025-02-24 23:03:36 +01:00
neofelis2X
528f64e939 Docs: convert sphinx theme.conf to theme.toml 2025-02-24 23:03:36 +01:00
neofelis2X
85c984f5b5 Docs: update method formatting in css 2025-02-24 23:03:36 +01:00
neofelis2X
aa8c03aed1 Docs: remove alabaster, add jquery as sphinx dependecies 2025-02-24 23:03:36 +01:00
neofelis2X
b7c921bdf5 Docs: test with Doxygen 1.9.1, same version as wxWidgets uses 2025-02-24 23:03:36 +01:00
neofelis2X
d08619ea80 Docs: unpinned sphinx dependencies 2025-02-24 23:03:36 +01:00
neofelis2X
13ff1cd054 Docs: replaced deprecated getargspec 2025-02-24 23:03:36 +01:00
neofelis2X
4b3c2b8bd1 add venv and macos DS_Store to gitignore 2025-02-24 23:03:36 +01:00
Scott Talbert
5a13d13c31 Fix float -> int conversion issues in wx.lib.fancytext
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
Fixes: https://github.com/wxWidgets/Phoenix/issues/2703
2025-02-12 22:48:55 -05:00
Scott Talbert
fc49fa35ec Update sip to v6.10.0
Some checks failed
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
2025-02-09 23:14:41 -05:00
Scott Talbert
de9aa4be5b Update SIP ABI version to 12.14
We haven't supported 12.8 since before we upgraded to SIP 6.6+.
However, SIP has not been correctly generating the correct module
version until very recently, so generating 12.8 doesn't actually compile
with current wxPython.
2025-02-09 23:14:41 -05:00