Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-14 | Update docsbetter-qt-wrappers | Florian Bruhin | |
2023-06-14 | qt: Use warning instead if Qt was already imported | Florian Bruhin | |
2023-06-14 | qt: Use outcomes dict instead of attributes for SelectionInfo | Florian Bruhin | |
2023-06-14 | qt: Sort wrappers in SelectionInfo correctly | Florian Bruhin | |
2023-06-14 | qt: Improve backendproblem messages | Florian Bruhin | |
2023-06-14 | qt: Allow opt-in to autoselection and enable tests | Florian Bruhin | |
2023-06-13 | qt: Don't call _set_globals if wrapper is None | Florian Bruhin | |
2023-06-13 | qt: Improve SelectionInfo.__str__() | Florian Bruhin | |
2023-06-13 | qt: Refactor SelectionInfo.set_module_error | Florian Bruhin | |
2023-06-13 | qt: Stop trying other wrappers on ImportError | Florian Bruhin | |
2023-06-13 | qt: Add wrapper info to backendproblem messages | Florian Bruhin | |
2023-06-13 | qt: Make sure to undo all global state changes | Florian Bruhin | |
2023-06-13 | qt: Fix lint | Florian Bruhin | |
2023-06-13 | qt: Fix test_version | Florian Bruhin | |
2023-06-13 | qt: Split machinery.init() and init_explicit() into two functions | Florian Bruhin | |
This also moves the checking for sys.modules into _select_wrapper. | |||
2023-06-13 | qt: Integrate machinery into earlyinit properly | Florian Bruhin | |
This means we will now get errors via the usual mechanisms (e.g. a Tk error dialog) when all Qt wrappers failed to import. We also add information about the picked Qt wrapper (and any errors) to the error message. | |||
2023-06-13 | qt: Fix tests for SelectionInfo changes | Florian Bruhin | |
2023-06-13 | qt: Fix lint | Florian Bruhin | |
2023-06-13 | qt: Treat empty QUTE_QT_WRAPPER as unset | Florian Bruhin | |
2023-06-13 | qt: Less stringly-typed API for SelectionInfo | Florian Bruhin | |
2023-06-13 | qt: Add machinery.SelectionInfo | Florian Bruhin | |
2023-06-13 | qt: Update mypy constants | Florian Bruhin | |
2023-06-12 | qt: Fix typing/lint | Florian Bruhin | |
2023-06-12 | qt: Add tests for machinery | Florian Bruhin | |
2023-06-12 | qt: Small machinery fixups | Florian Bruhin | |
2023-06-12 | qt: Remove duplicate machine.PACKAGE | Florian Bruhin | |
Contains the exact same string we have in .WRAPPER already anyways. | |||
2023-06-12 | qt: Add docstring for constants | Florian Bruhin | |
2023-06-12 | qt: Simplify qt.sip | Florian Bruhin | |
2023-06-12 | qt: Add module docstrings and update lint ignores | Florian Bruhin | |
2023-06-12 | qt: Call machinery.init() in qt packages | Florian Bruhin | |
2023-06-12 | qt: Initial support for a --qt-wrapper argument | Florian Bruhin | |
2023-06-09 | Revert "Revert "ci: Remove Python 3.12 for now"" | Florian Bruhin | |
This reverts commit ded43c57c83eece48c44d092dcb46975809ead22. Still segfaults on exit... | |||
2023-06-09 | Revert "ci: Remove Python 3.12 for now" | Florian Bruhin | |
This reverts commit a5d6e4100542d47a3839caf5f274b369e5953e52. See #7727 | |||
2023-06-09 | Work around Python 3.12 test issues | Florian Bruhin | |
See #7727 | |||
2023-06-09 | Fix lint | Florian Bruhin | |
2023-06-09 | py312: Ignore pytest-benchmark deprecation warning | Florian Bruhin | |
See #7727 and https://github.com/ionelmc/pytest-benchmark/issues/240 | |||
2023-06-09 | Inline misc.MinimalLineEdit into statusbar.command.Command | Florian Bruhin | |
Ever since 33088588d959b903a9c088a13d5bfad7862c72a5, misc.MinimalLineEdit is only used in statusbar.command.Command. Having it separated into a mixin makes a lot of things more complicated, and also needs pylint ignores and a hand-written superclass __init__. This commit inlines it into statusbar.command.Command, which makes everything a lot simpler. It also avoids triggering a segfault in Python 3.12.0b2: https://github.com/qutebrowser/qutebrowser/issues/7727#issuecomment-1583144545 https://www.riverbankcomputing.com/pipermail/pyqt/2023-June/045325.html | |||
2023-06-08 | py312: Ignore pytest ast warnings | Florian Bruhin | |
See https://github.com/pytest-dev/pytest/issues/10977 and #7727 | |||
2023-06-08 | py312: Tell tox/virtualenv to upgrade pip | Florian Bruhin | |
Otherwise we run into a Python 3.12 incompatibility with pkg_resources: https://github.com/pypa/pip/issues/11501 Also needs PIP_REQUIRE_VIRTUALENV=0 because otherwise pip seems to falsely assume it's installing things system-wide, weirdly. Should probably be removed once there is a newer virtualenv, which vendors a newer pip, which vendors a newer pkg_resources... See #7727 | |||
2023-06-08 | tests: Adjust urlmatch exception message patterns for Python 3.11.4 | Florian Bruhin | |
2023-06-08 | test: Adjust test_nul_bytes version check | Florian Bruhin | |
Python 3.11.4 also got the fix backported which turns this into a SyntaxError: https://github.com/python/cpython/pull/104195 | |||
2023-06-08 | keyutils: Work around broken Python 3.11.4 enum.Flag inversion | Florian Bruhin | |
Take a detour via .value if on Qt 6, because Python 3.11.4 seems to be unable to invert enum.Flag values with a mask set. Fixes #7735 See: - https://github.com/python/cpython/issues/105497 - https://www.riverbankcomputing.com/pipermail/pyqt/2023-June/045323.html | |||
2023-06-08 | mypy: Improve Qt 5 typing in keyutils | Florian Bruhin | |
Adjust _ModifierType to consider PyQt5's separate enum/flag classes, which lets us get rid of some type ignores | |||
2023-06-08 | Fix vulture | Florian Bruhin | |
2023-06-08 | nativeeventfilter: Fix lint | Florian Bruhin | |
2023-06-08 | nativeeventfilter: Improve error handling | Florian Bruhin | |
2023-06-08 | nativeeventfilter: Only activate after hierarchy change | Florian Bruhin | |
2023-06-08 | nativeeventfilter: Use IntEnum | Florian Bruhin | |
2023-06-08 | nativeeventfilter: Run black | Florian Bruhin | |
2023-06-08 | nativeeventfilter: First refinements | Florian Bruhin | |