Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-18 | Fix lintdev-split-parser | Florian Bruhin | |
As for the mypy unreachable warning, see: See https://github.com/python/mypy/issues/7214 and https://github.com/python/mypy/issues/8766 Includes cherry-pick of 27ad47825279a39141efd11ec9cc54ff2a872517 | |||
2021-03-18 | Move completion fallback handling out of CommandParser | Florian Bruhin | |
This makes CompletionParser.parse simpler and makes ParseResult.cmd and .args non-Optional. Them being Optional would mean we would've to either resort to more complex typing with Literal, or to check whether they are really non-None everywhere. Since fallback=True is only used at one point, let's just handle this at the calling site instead. In theory, this changes the behavior when the cmdstr is empty and self._partial_match is set, because we now raise early and self._completion_match isn't called anymore. In practice, I think this shouldn't make a difference anywhere, and tests seem to agree. If cmdstr is empty and self._partial_match is False, the behavior should be the same, because objects.commands[''] will raise KeyError. | |||
2021-03-18 | Fix copy-paste issue | Florian Bruhin | |
2021-03-18 | Restore config access in commands.parser | Florian Bruhin | |
See https://github.com/qutebrowser/qutebrowser/pull/5967#issuecomment-791373157 but no issues with circular imports here, from what I can see... | |||
2021-03-18 | Merge branch 'master' into dev-split-parser | Florian Bruhin | |
2021-03-18 | Make sure QtWebEngine is imported early | Florian Bruhin | |
We need to import the module before a QApplication is created, so that it can set everything up properly. This needs to happen even with the QtWebKit backend configured, so that a proper error can be printed later in backendproblem.py if QtWebKit is unavailable. For QtWebEngine, this is done implicitly in qtargs.py before getting QtWebEngine arguments. For QtWebKit, this used to be done implicitly via version.py importing webenginesettings, but that's not the case anymore since fb0154ae26b09accc08c9ab7fa7cbcbe9fe2578c. Either way, it's better to be explicit about this. | |||
2021-03-18 | Only run test_flatpak_runtimedir on Linux | Florian Bruhin | |
Paths are different on macOS/Windows | |||
2021-03-18 | Fix test_flatpak_runtimedir | Florian Bruhin | |
2021-03-18 | Fix test_no_webengine_vailable | Florian Bruhin | |
2021-03-18 | Add a test for flatpak runtime dir | Florian Bruhin | |
See #6300 | |||
2021-03-18 | pylint: Disable pointless-statement in tests | Florian Bruhin | |
2021-03-18 | Rename version.is_sandboxed() to is_flatpak() | Florian Bruhin | |
2021-03-18 | Import webenginesettings lazily in version | Florian Bruhin | |
2021-03-18 | Use correct runtime path for Flatpak | Florian Bruhin | |
See #6300 (cherry picked from commit 9f67a763ef86805f0981f037ccd2fb5cb0e84b88) | |||
2021-03-18 | Update changelog | Florian Bruhin | |
2021-03-18 | Try to recover from CompletionMetaInfo with unexpected structure | Florian Bruhin | |
Fixes #6302 | |||
2021-03-17 | Drop libgl workaround entirely | Florian Bruhin | |
2021-03-17 | Disable libgl workaround except on Qt 5.12.0 | Florian Bruhin | |
2021-03-17 | Fix test_locale_workaround | Florian Bruhin | |
2021-03-17 | Fix spell check regex | Florian Bruhin | |
2021-03-17 | Fix shadowed name | Florian Bruhin | |
2021-03-17 | Fix Qt version for test_media_keys | Florian Bruhin | |
2021-03-17 | Only run test_locale_workaround on Linux | Florian Bruhin | |
Regressed in d56e01118c9272e1bd2557a88858dc5eae05d01c - needs to access the qtwebengine_locales dir which is probably in another location on non-Linux (especially macOS). | |||
2021-03-17 | Add missing test for HardwareMediaKeyHandling | Florian Bruhin | |
2021-03-17 | Simplify patching in test_qtargs.py | Florian Bruhin | |
2021-03-17 | Update changelog | Florian Bruhin | |
2021-03-17 | Fix version parsing with Flatpak | Florian Bruhin | |
See https://github.com/flathub/org.qutebrowser.qutebrowser/issues/11 | |||
2021-03-17 | Warn about mismatching QtWebEngine versions | Florian Bruhin | |
See https://github.com/flathub/org.qutebrowser.qutebrowser/issues/11 | |||
2021-03-17 | tox: Add a bleeding environment | Florian Bruhin | |
See #6298 | |||
2021-03-17 | tests: Also accept PARTIAL_CONTENT for favicon | Florian Bruhin | |
Seems to be used with bleeding-edge Flask/Werkzeug versions See #6298 | |||
2021-03-17 | Revive requirements-tests-git | Florian Bruhin | |
See #6298 | |||
2021-03-16 | Add input.media_keys setting | Florian Bruhin | |
2021-03-15 | Fix coverage | Florian Bruhin | |
2021-03-15 | Improve error messages for GUIProcess | Florian Bruhin | |
2021-03-15 | Update Flatpak note | Florian Bruhin | |
2021-03-15 | Merge pull request #6279 from irimi1/keepassxc-userscript-url-fix | Florian Bruhin | |
userscripts: keepassxc: Fix broken link | |||
2021-03-15 | Improve joinpath regex | Florian Bruhin | |
joinpath is still useful with a list of args | |||
2021-03-15 | tests: Handle XDG_*_HOME standarddir tests | Florian Bruhin | |
For some reason, a recent change on GitHub's runners seems to explicitly set XDG_CONFIG_HOME. That breaks our tests, however, because we can't simply override HOME to control where the directories are created. Thus, make sure that XDG_*_HOME is always unset. | |||
2021-03-15 | tests: Add debug logging for standarddir | Florian Bruhin | |
Easier to diagnose issues if we end up in HOME | |||
2021-03-15 | tests: Don't download TLD list | Florian Bruhin | |
2021-03-15 | Merge pull request #6282 from qutebrowser/update-dependencies | Florian Bruhin | |
Update dependencies | |||
2021-03-15 | Update dependencies | qutebrowser bot | |
2021-03-14 | userscripts: keepassxc: Fix broken link | Manuel Groß | |
2021-03-12 | doc: Move backend info above type info | Florian Bruhin | |
More consistent with other comments (like requiring a restart) | |||
2021-03-12 | Merge pull request #6251 from Lembrun/pathlib-/unit/config | Florian Bruhin | |
Pathlib /unit/config | |||
2021-03-12 | Merge pull request #6252 from Lembrun/pathlib-/unit/completion | Florian Bruhin | |
Pathlib /unit/completion | |||
2021-03-12 | Merge pull request #6254 from Lembrun/pathlib-/unit/mainwindow | Florian Bruhin | |
Pathlib /unit/mainwindow | |||
2021-03-12 | Fix lint | Florian Bruhin | |
2021-03-12 | tests: Further improve and stabilize screenshots | Florian Bruhin | |
2021-03-12 | Update changelog | Florian Bruhin | |