summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-14Update docsbetter-qt-wrappersFlorian Bruhin
2023-06-14qt: Use warning instead if Qt was already importedFlorian Bruhin
2023-06-14qt: Use outcomes dict instead of attributes for SelectionInfoFlorian Bruhin
2023-06-14qt: Sort wrappers in SelectionInfo correctlyFlorian Bruhin
2023-06-14qt: Improve backendproblem messagesFlorian Bruhin
2023-06-14qt: Allow opt-in to autoselection and enable testsFlorian Bruhin
2023-06-13qt: Don't call _set_globals if wrapper is NoneFlorian Bruhin
2023-06-13qt: Improve SelectionInfo.__str__()Florian Bruhin
2023-06-13qt: Refactor SelectionInfo.set_module_errorFlorian Bruhin
2023-06-13qt: Stop trying other wrappers on ImportErrorFlorian Bruhin
2023-06-13qt: Add wrapper info to backendproblem messagesFlorian Bruhin
2023-06-13qt: Make sure to undo all global state changesFlorian Bruhin
2023-06-13qt: Fix lintFlorian Bruhin
2023-06-13qt: Fix test_versionFlorian Bruhin
2023-06-13qt: Split machinery.init() and init_explicit() into two functionsFlorian Bruhin
This also moves the checking for sys.modules into _select_wrapper.
2023-06-13qt: Integrate machinery into earlyinit properlyFlorian 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-13qt: Fix tests for SelectionInfo changesFlorian Bruhin
2023-06-13qt: Fix lintFlorian Bruhin
2023-06-13qt: Treat empty QUTE_QT_WRAPPER as unsetFlorian Bruhin
2023-06-13qt: Less stringly-typed API for SelectionInfoFlorian Bruhin
2023-06-13qt: Add machinery.SelectionInfoFlorian Bruhin
2023-06-13qt: Update mypy constantsFlorian Bruhin
2023-06-12qt: Fix typing/lintFlorian Bruhin
2023-06-12qt: Add tests for machineryFlorian Bruhin
2023-06-12qt: Small machinery fixupsFlorian Bruhin
2023-06-12qt: Remove duplicate machine.PACKAGEFlorian Bruhin
Contains the exact same string we have in .WRAPPER already anyways.
2023-06-12qt: Add docstring for constantsFlorian Bruhin
2023-06-12qt: Simplify qt.sipFlorian Bruhin
2023-06-12qt: Add module docstrings and update lint ignoresFlorian Bruhin
2023-06-12qt: Call machinery.init() in qt packagesFlorian Bruhin
2023-06-12qt: Initial support for a --qt-wrapper argumentFlorian Bruhin
2023-06-09Revert "Revert "ci: Remove Python 3.12 for now""Florian Bruhin
This reverts commit ded43c57c83eece48c44d092dcb46975809ead22. Still segfaults on exit...
2023-06-09Revert "ci: Remove Python 3.12 for now"Florian Bruhin
This reverts commit a5d6e4100542d47a3839caf5f274b369e5953e52. See #7727
2023-06-09Work around Python 3.12 test issuesFlorian Bruhin
See #7727
2023-06-09Fix lintFlorian Bruhin
2023-06-09py312: Ignore pytest-benchmark deprecation warningFlorian Bruhin
See #7727 and https://github.com/ionelmc/pytest-benchmark/issues/240
2023-06-09Inline misc.MinimalLineEdit into statusbar.command.CommandFlorian 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-08py312: Ignore pytest ast warningsFlorian Bruhin
See https://github.com/pytest-dev/pytest/issues/10977 and #7727
2023-06-08py312: Tell tox/virtualenv to upgrade pipFlorian 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-08tests: Adjust urlmatch exception message patterns for Python 3.11.4Florian Bruhin
2023-06-08test: Adjust test_nul_bytes version checkFlorian 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-08keyutils: Work around broken Python 3.11.4 enum.Flag inversionFlorian 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-08mypy: Improve Qt 5 typing in keyutilsFlorian Bruhin
Adjust _ModifierType to consider PyQt5's separate enum/flag classes, which lets us get rid of some type ignores
2023-06-08Fix vultureFlorian Bruhin
2023-06-08nativeeventfilter: Fix lintFlorian Bruhin
2023-06-08nativeeventfilter: Improve error handlingFlorian Bruhin
2023-06-08nativeeventfilter: Only activate after hierarchy changeFlorian Bruhin
2023-06-08nativeeventfilter: Use IntEnumFlorian Bruhin
2023-06-08nativeeventfilter: Run blackFlorian Bruhin
2023-06-08nativeeventfilter: First refinementsFlorian Bruhin