summaryrefslogtreecommitdiff
path: root/qutebrowser/config/qtargs.py
AgeCommit message (Collapse)Author
2021-12-03pylint: Enable else-if-usedpylint-2-12Florian Bruhin
2021-06-09Add content.prefers_reduced_motionFlorian Bruhin
Closes #6530
2021-03-31flatpak: Get correct path to QtWebEngine localesFlorian Bruhin
2021-03-16Add input.media_keys settingFlorian Bruhin
2021-03-10Fix issues with locale workaroundFlorian Bruhin
2021-03-10Make locale workaround configurableFlorian Bruhin
See #6235
2021-03-10Update locale workaround based on Chromium codeFlorian Bruhin
See #6235
2021-03-10Work around locale issueFlorian Bruhin
Closes #6235
2021-02-15Fix unused importsFlorian Bruhin
2021-02-15Avoid calling versions.webengine_versions() without QtWebEngineFlorian Bruhin
Alternatively, it would have been possible to move the backend library checking from backendproblem.py to earlyinit.py entirely. However, this would lead to less user-friendly dialogs, as we can't e.g. offer a button to switch the backend setting. Fixes #6161
2021-02-11Improve QtWebEngine version checking in qtargs.pyFlorian Bruhin
We now use versions.webengine_versions() to get the real QtWebEngine version. This is more accurate and also allows us to drop the InstalledApp workaround with QtWebEngine 5.15.3. Also, we pass a WebEngineVersions object around instead of asking for the versions multiple times. This also leads to less patching in tests. See #3785
2021-02-11Change colors.webpage.prefers_color_scheme_dark to ↵Florian Bruhin
colors.webpage.preferred_color_scheme See #6097
2021-02-11darkmode: Pass through existing blink settingsFlorian Bruhin
2021-02-11darkmode: Improve testsFlorian Bruhin
2021-02-11darkmode: Add support for QtWebEngine 5.15.3Florian Bruhin
See https://github.com/qutebrowser/qutebrowser/issues/6147#issuecomment-776558993 See #6145
2021-01-28Split envvar warning into functionFlorian Bruhin
2021-01-28Add a warning if QTWEBENGINE_CHROMIUM_FLAGS is setFlorian Bruhin
See #6065
2021-01-26doc: Switch URLs to httpsFlorian Bruhin
2021-01-20Bump copyright yearsFlorian Bruhin
Closes #6015
2021-01-17Update comments/changelogFlorian Bruhin
2021-01-16Work around InstalledApp renderer process crashFlorian Bruhin
Closes #5997
2021-01-16qtargs: Add support for disabled featuresFlorian Bruhin
Preparation for #5997
2020-12-24Fixed comparison with None, properly unset environment variables by deletingTravis Ens
them, updated the test to check this behaviour, refactored test code by removing redundant variables and improving readability.
2020-12-21Add qt.environ setting in configTravis Ens
Any environment variables can be set using the qt.environ setting in the config.
2020-11-29Only apply blink-settings on Qt 15.5.2Ted Morse
Turns out Qt 5.15.{0,1} also needs `--force-dark-mode`. This commit fixes it to only use the blink-setting on Qt 5.15.2 and up. It also parameterizes the tests better to test that the settings work on their respective Qt versions.
2020-11-28Use blink-setting for colorscheme on Qt 5.15+Ted Morse
On Qt 5.15+, `--force-dark-mode` does not set the preferred colorscheme. A blink-setting is used instead to set the preferred colorscheme. The `--force-dark-mode` flag is only set for Qt 5.14. All later versions will use the blink-setting flag.
2020-11-23Small f-string cleanupFlorian Bruhin
2020-11-23Fix content.headers.referer = 'never' with Qt 5.15Florian Bruhin
The --no-referrers flag was removed in Chromium 79: https://chromium-review.googlesource.com/c/chromium/src/+/1808144 We now instead use the request interceptor to remove the referrer, which is possible ever since Qt 5.12.4 and 5.13.1 and something we've wanted to do anyways, see #4793. The setting is still marked as "requires a restart" (and it doesn't support URL patterns) because that's partially true: The `same-domain` value is still handled via CLI arguments. Fixes #5892 (together with the last commit for 'same-domain')
2020-11-23Fix content.headers.referer = 'same-domain' with Qt 5.14+Florian Bruhin
Fixes #5892 (together with the next commit for 'never')
2020-11-23Add missing compiled=False for --force-dark-modeFlorian Bruhin
2020-11-04old qt: Simplify various version checksFlorian Bruhin
2020-11-04old qt: Remove various conditional API handlingFlorian Bruhin
2020-10-31mypy: use from-import for typing in `config`Tim Brown
See #5396
2020-10-19Fix lintFlorian Bruhin
2020-10-19Move dark mode to its own fileFlorian Bruhin
2020-10-19Initial dark mode refactoringFlorian Bruhin
Also enables darkmode for older Qt versions. Fixes #5816
2020-10-19Clarify Qt version differences for dark modeFlorian Bruhin
2020-10-05Fix coverageFlorian Bruhin
2020-10-05Fix lintFlorian Bruhin
2020-10-05Handle smart dark mode setting with Qt 5.15.0Florian Bruhin
Fixes #5505
2020-10-05Implement dark mode for Qt 5.15.2Florian Bruhin
See #5752
2020-09-29Fix lint/testsFlorian Bruhin
2020-09-29Fix lintFlorian Bruhin
2020-09-29Add wait-renderer-process debug flagFlorian Bruhin
2020-08-15Unify backend conditionalsFlorian Bruhin
- Use utils.Unreachable instead of NotImplementedError (which has a kind of predefined meaning for abstract methods): https://docs.python.org/3/library/exceptions.html#NotImplementedError - Add additional asserts/conditionals for all places checking for a backend.
2020-07-10qtargs: Enable WebRTC pipewire capturer by defaultFlorian Bruhin
See #5421
2020-07-10qtargs: Combine --enable-features flags with existing onesFlorian Bruhin
See #5421
2020-07-10qtargs: Move --enabled-features handling to separate functionFlorian Bruhin
Preparation for proper handling as part of #5421
2020-07-10config: Split Qt argument/envvar handling to a separate fileFlorian Bruhin
Preparation for some changes for #5421