summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-18Fix lintdev-split-parserFlorian 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-18Move completion fallback handling out of CommandParserFlorian 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-18Fix copy-paste issueFlorian Bruhin
2021-03-18Restore config access in commands.parserFlorian 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-18Merge branch 'master' into dev-split-parserFlorian Bruhin
2021-03-18Make sure QtWebEngine is imported earlyFlorian 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-18Only run test_flatpak_runtimedir on LinuxFlorian Bruhin
Paths are different on macOS/Windows
2021-03-18Fix test_flatpak_runtimedirFlorian Bruhin
2021-03-18Fix test_no_webengine_vailableFlorian Bruhin
2021-03-18Add a test for flatpak runtime dirFlorian Bruhin
See #6300
2021-03-18pylint: Disable pointless-statement in testsFlorian Bruhin
2021-03-18Rename version.is_sandboxed() to is_flatpak()Florian Bruhin
2021-03-18Import webenginesettings lazily in versionFlorian Bruhin
2021-03-18Use correct runtime path for FlatpakFlorian Bruhin
See #6300 (cherry picked from commit 9f67a763ef86805f0981f037ccd2fb5cb0e84b88)
2021-03-18Update changelogFlorian Bruhin
2021-03-18Try to recover from CompletionMetaInfo with unexpected structureFlorian Bruhin
Fixes #6302
2021-03-17Drop libgl workaround entirelyFlorian Bruhin
2021-03-17Disable libgl workaround except on Qt 5.12.0Florian Bruhin
2021-03-17Fix test_locale_workaroundFlorian Bruhin
2021-03-17Fix spell check regexFlorian Bruhin
2021-03-17Fix shadowed nameFlorian Bruhin
2021-03-17Fix Qt version for test_media_keysFlorian Bruhin
2021-03-17Only run test_locale_workaround on LinuxFlorian Bruhin
Regressed in d56e01118c9272e1bd2557a88858dc5eae05d01c - needs to access the qtwebengine_locales dir which is probably in another location on non-Linux (especially macOS).
2021-03-17Add missing test for HardwareMediaKeyHandlingFlorian Bruhin
2021-03-17Simplify patching in test_qtargs.pyFlorian Bruhin
2021-03-17Update changelogFlorian Bruhin
2021-03-17Fix version parsing with FlatpakFlorian Bruhin
See https://github.com/flathub/org.qutebrowser.qutebrowser/issues/11
2021-03-17Warn about mismatching QtWebEngine versionsFlorian Bruhin
See https://github.com/flathub/org.qutebrowser.qutebrowser/issues/11
2021-03-17tox: Add a bleeding environmentFlorian Bruhin
See #6298
2021-03-17tests: Also accept PARTIAL_CONTENT for faviconFlorian Bruhin
Seems to be used with bleeding-edge Flask/Werkzeug versions See #6298
2021-03-17Revive requirements-tests-gitFlorian Bruhin
See #6298
2021-03-16Add input.media_keys settingFlorian Bruhin
2021-03-15Fix coverageFlorian Bruhin
2021-03-15Improve error messages for GUIProcessFlorian Bruhin
2021-03-15Update Flatpak noteFlorian Bruhin
2021-03-15Merge pull request #6279 from irimi1/keepassxc-userscript-url-fixFlorian Bruhin
userscripts: keepassxc: Fix broken link
2021-03-15Improve joinpath regexFlorian Bruhin
joinpath is still useful with a list of args
2021-03-15tests: Handle XDG_*_HOME standarddir testsFlorian 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-15tests: Add debug logging for standarddirFlorian Bruhin
Easier to diagnose issues if we end up in HOME
2021-03-15tests: Don't download TLD listFlorian Bruhin
2021-03-15Merge pull request #6282 from qutebrowser/update-dependenciesFlorian Bruhin
Update dependencies
2021-03-15Update dependenciesqutebrowser bot
2021-03-14userscripts: keepassxc: Fix broken linkManuel Groß
2021-03-12doc: Move backend info above type infoFlorian Bruhin
More consistent with other comments (like requiring a restart)
2021-03-12Merge pull request #6251 from Lembrun/pathlib-/unit/configFlorian Bruhin
Pathlib /unit/config
2021-03-12Merge pull request #6252 from Lembrun/pathlib-/unit/completionFlorian Bruhin
Pathlib /unit/completion
2021-03-12Merge pull request #6254 from Lembrun/pathlib-/unit/mainwindowFlorian Bruhin
Pathlib /unit/mainwindow
2021-03-12Fix lintFlorian Bruhin
2021-03-12tests: Further improve and stabilize screenshotsFlorian Bruhin
2021-03-12Update changelogFlorian Bruhin