summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-31Add missing spaceFlorian Bruhin
2022-03-31Merge remote-tracking branch 'origin/pr/6996'Florian Bruhin
2022-03-31Update docsFlorian Bruhin
2022-03-31Merge remote-tracking branch 'origin/pr/7010'Florian Bruhin
2022-03-31Update changelogFlorian Bruhin
2022-03-31Remove double ifFlorian Bruhin
2022-03-31Merge remote-tracking branch 'origin/pr/7014'Florian Bruhin
2022-03-31Update changelogFlorian Bruhin
2022-03-31Merge remote-tracking branch 'origin/pr/7048'Florian Bruhin
2022-03-31Update changelogFlorian Bruhin
2022-03-31Merge remote-tracking branch 'origin/pr/7068'Florian Bruhin
2022-03-31Update changelogFlorian Bruhin
2022-03-31cast userscript: Fix error messageFlorian Bruhin
Avoid SC2140 shellcheck false-positive: https://github.com/koalaman/shellcheck/issues/2479 Also remove extra quoting
2022-03-31Merge remote-tracking branch 'origin/pr/7074'Florian Bruhin
2022-03-30Restore lost coverage pragmaFlorian Bruhin
2022-03-30Fix test_editorFlorian Bruhin
2022-03-30Update changelogFlorian Bruhin
2022-03-30Pre-resolve guiprocess paths (work around Qt's CVE-2022-25255)Florian Bruhin
2022-03-30Adjust mailinglist URLs to new providerFlorian Bruhin
See https://listi.jpberlin.de/pipermail/qutebrowser/2022-March/000885.html
2022-03-30Update importlib.resources annotation commentsFlorian Bruhin
A zipfile.Path *is* a Traversable
2022-03-30Fix version specifiers for importlib-metadataFlorian Bruhin
2022-03-30version: Always prefer builtin importlib.metadataFlorian Bruhin
If we have a builtin importlib.metadata (Python 3.8+) and the importlib_metadata backport installed, we preferred the backport. However, the version.py tests do the opposite: They only mock the builtin if it is available. This did lead to failing tests if the backport was installed in an environment where the builtin was available too. Since we don't need any specialized functionality (only reading the version), we can prefer the builtin no matter whether a backport is available or not.
2022-03-30Do the Python 3.6 dance for palletsFlorian Bruhin
2022-03-30Update dependenciesqutebrowser bot
2022-03-30scripts: Improve orderingFlorian Bruhin
2022-03-30Add docstringFlorian Bruhin
2022-03-30requirements: Remove --use-feature=in-tree-buildFlorian Bruhin
This is the default now according to pip output
2022-03-30scripts: Show requirement name in table outputFlorian Bruhin
2022-03-30Merge branch 'update-dependencies'Florian Bruhin
2022-03-30pylint: Enable private_import extensionFlorian Bruhin
2022-03-30scripts: Update pyroma changelog URLFlorian Bruhin
2022-03-30ci: Switch to FORCE_COLORFlorian Bruhin
pytest understands that since a while: https://pytest.org/en/7.0.x/reference/reference.html#environment-variables and other tools are adopting it: https://github.com/sphinx-doc/sphinx/pull/10260
2022-03-30Do the Python 3.6 dance for Jinja2Florian Bruhin
2022-03-29Do the Python 3.6 dance for importlib-resourcesFlorian Bruhin
2022-03-29Fix mypyFlorian Bruhin
2022-03-29mypy: Fix typing around importlib.resourcesFlorian Bruhin
mypy was correct here: _path doesn't always return a pathlib.Path, it's why we need to handle that in _glob().
2022-03-29scripts: Add changelog URL for dillFlorian Bruhin
2022-03-29pylint: Work around Python 3.10 pathlib issueFlorian Bruhin
See https://github.com/PyCQA/pylint/issues/5783
2022-03-29pylint: Disable unnecessary-ellipsis for testsFlorian Bruhin
See https://github.com/PyCQA/pylint/issues/6036 and https://github.com/PyCQA/pylint/issues/6037
2022-03-29Switch to newer Python for lintersFlorian Bruhin
We originally used Python 3.8 for pylint for https://github.com/PyCQA/pylint/issues/3760 which is long fixed... See 214dd63441063acffa7e888f3f5b42187007da11
2022-03-29pylint: Work around used-before-assignment issuesFlorian Bruhin
See https://github.com/PyCQA/pylint/issues/6035
2022-03-29Show unbound prompt bindingsFlorian Bruhin
This makes new commands more discoverable for people with custom bindings, and helps in situations like https://www.reddit.com/r/qutebrowser/comments/tq7628/prompt_trap_closing_the_application_is_the_only/
2022-03-28Update dependenciesqutebrowser bot
2022-03-26Make mypy happyFlorian Bruhin
It seems to only check the true condition based on the given Python version in the config... See https://github.com/python/mypy/issues/12286
2022-03-26Minor style changesFlorian Bruhin
2022-03-26Use a weakref.WeakValueDictionaryFlorian Bruhin
2022-03-26Skip debucachestats test on python < 3.9Jimmy
Refactor the magic tag creation thing to add python version checking support. Makes `_check_version()` support checking plain tuples to so that I don't have to copy the operator dict. Now most of the branches of the if/else are the same, meh.
2022-03-26Disable debugcachestats on python < 3.9Jimmy
Since I added weakrefs into the cache stats debug registry thing it no longer works on python version 3.5 to 3.8, since lru_cache doesn't support weak refs for those versions. It should be possible to do some conditional stuff and get some functionality working on all supported versions but I don't think there is any great need to for a debug command. Links: https://bugs.python.org/issue14373 https://bugs.python.org/issue40504 https://github.com/qutebrowser/qutebrowser/pull/7079#issuecomment-1079539046
2022-03-26ignore lru_cache flake8 warningJimmy
The warning says the `self` reference will get cached forever. In this case though the cache is cleared on every page load (9b0395db087f).
2022-03-26debugcachestats: wrap cached functions in weakrefJimmy
In 4b93da6c69 I moved a cache that was registered with the debugcache module to be per-window. Which means they may be deleted at some point and we shouldn't hold strong references to them.