Florian Bruhin
dfcfc686ce
Support setting dark mode at runtime and with URL patterns
...
See #3636 , #5542 , #7743
2024-04-30 23:31:58 +02:00
Florian Bruhin
3d86d7876a
Add role="switch" to default hints.selectors
...
See https://www.reddit.com/r/qutebrowser/comments/1bomb3h/closing_popups_within_a_webpage_and_toggling/
2024-03-27 23:58:36 +01:00
Florian Bruhin
fedea10187
Fix consistency of 'dark mode' spelling
...
Thanks to absinthium
2024-01-17 11:25:23 +01:00
Florian Bruhin
21c7699eac
Add content.javascript.legacy_touch_events setting
...
Closes #7814
2023-12-04 16:44:56 +01:00
Florian Bruhin
21869d149a
Support QWebEngineSettings.WebAttribute.ReadingFromCanvasEnabled
...
See #7646
2023-12-04 14:59:08 +01:00
Florian Bruhin
8cd06741bb
Expose QtWebEngine 6.6 dark mode image classifier policy
...
Implemented as a separate setting in Chromium, but exposed to qutebrowser users
as a value for `policy.images`, as it's a simple toggle that does not have any
effect when `policy.images` is not set to `smart` anyways.
To support this, the _Settings.mapping value now supports None values,
which leads to _Setting.chromium_tuple to return None, which means that
no switch is added in this case.
See #7646
2023-12-04 14:28:22 +01:00
Florian Bruhin
2a10461ca4
Remove dark mode settings removed from Chromium
...
Closes #7929
2023-12-04 13:39:52 +01:00
Florian Bruhin
1cd6d5af63
Update dark mode docs
2023-12-04 13:16:23 +01:00
Florian Bruhin
0aa57e4f72
Merge remote-tracking branch 'origin/pr/7935'
2023-12-04 12:46:51 +01:00
Philipp Albrecht
4e61bfedda
Rename colors.webpage.darkmode.threshold.text
...
As Chromium 99.0.4785.0 (translates to Qt 6.4) renamed TextBrightnessThreshold to
ForegroundBrightnessThreshold, we want to reflect that in our related qutebrowser
setting.
These changes rename `colors.webpage.darkmode.threshold.text` to
`colors.webpage.darkmode.threshold.foreground`.
References:
* https://chromium-review.googlesource.com/c/chromium/src/+/3344100
* https://chromium-review.googlesource.com/c/chromium/src/+/3226389
* https://github.com/qutebrowser/qutebrowser/issues/7928
2023-09-28 20:42:53 +02:00
toofar
2e961080a8
Make accelerated 2d canvas setting tristate with auto
...
I would like to be able to disable this workound for new enough chromium
versions (we still need to test that chrome 111 will be fixed, but we
can always bump it up later).
I also wanted to use the declarative mapping `_WEBENGINE_SETTINGS` instead
of adding a new conditional in `_qtwebengine_args`, because that just
seems nicer.
So I changed `_WEBENGINE_SETTINGS` so that the value could also be a
function. The idea is that the function returns on of the other values
based on some feature detection. This also required passing down the
args being used for feature detection in the calling method already.
I feel like that dict is being a bit abused here and if the entries
could be turned into objects with a bit more consistency it might be
nice. But this isn't too bad, right?
Had to change the `test_qt_args` test to be a superset test instead of
exact match because the new `--disable-accelerated-2d-canvas` arg was
showing up in the results based on whatever Qt version you happen to be
running the tests on.
2023-09-23 19:29:45 +12:00
Florian Bruhin
a25e7c2b64
Fix remaining references to old commands
...
Follow-up to #7809 , see #7214
2023-08-15 20:15:48 +02:00
Florian Bruhin
3fd8e12949
Merge remote-tracking branch 'origin/pr/7809'
2023-08-15 20:04:30 +02:00
Philipp Albrecht
d5faeef14c
Rename :edit-command to :cmd-edit
...
Group commands related to commands/commandline by prefixing them with `cmd-`. In this
case we additionally renamed the command slightly to fit better with the `cmd-` prefix.
2023-08-11 09:02:17 +02:00
Philipp Albrecht
86925b58cb
Rename :repeat-command to :cmd-repeat-last
...
Group commands related to commands/commandline by prefixing them with `cmd-`. In this
case we additionally renamed the command slightly to fit better with the `cmd-` prefix.
2023-08-11 09:02:12 +02:00
Philipp Albrecht
f354d3ab91
Rename :run-with-count to :cmd-run-with-count
...
Group commands related to commands/commandline by prefixing them with `cmd-`.
2023-08-11 09:02:08 +02:00
Philipp Albrecht
20de484de5
Rename :set-cmd-text to :cmd-set-text
...
Group commands related to commands/commandline by prefixing them with `cmd-`. In this
case renaming the command slightly was a better fit.
2023-08-11 09:02:02 +02:00
Philipp Albrecht
80b4d2f243
Rename :later to :cmd-later
...
Group commands related to commands/commandline by prefixing them with `cmd-`.
2023-08-11 09:02:01 +02:00
Philipp Albrecht
2fe4864b78
Rename :repeat to :cmd-repeat
...
Grouping commands related to commands/commandline by prefixing them with `cmd-`.
2023-08-11 09:00:27 +02:00
Florian Bruhin
0b200207dd
Add --all to :{quick,book}mark-del
...
Needed mostly for urlmarks BDD tests so they can clear things between tests.
Hopefully with --all, this won't be accidentally triggered by users.
Preparation for #7815
2023-08-10 15:30:26 +02:00
Florian Bruhin
b2aaba6043
reuse: Adjust most license headers
...
git ls-files | xargs grep -l "is free software" | xargs reuse annotate --license="GPL-3.0-or-later" --skip-unrecognised
2023-07-23 12:11:07 +02:00
Florian Bruhin
ec34865168
Move master branch references to main
...
Closes #7097
2023-07-23 11:38:19 +02:00
Florian Bruhin
8da62bcbf4
Add aria-haspopup to hint selectors
...
Helps on https://www.keepersecurity.com/ - see https://www.reddit.com/r/qutebrowser/comments/14qtlc8/no_hint_on_drop_down_list/
2023-07-05 22:37:56 +02:00
Florian Bruhin
45de31374d
Enable replaceAll quirk by default
...
See #7639
2023-06-30 15:35:51 +02:00
Florian Bruhin
693b25efd2
Add experimental_web_platform_features setting
...
Closes #7639
2023-06-30 15:32:46 +02:00
Florian Bruhin
a73fee8045
Add settings to customize tooltips
...
See #7706
2023-06-04 00:57:36 +02:00
Florian Bruhin
059c6fdc75
Update docs
2023-04-22 22:45:50 +02:00
Florian Bruhin
e16eebc975
docs: Add Matrix theme
...
See https://www.reddit.com/r/qutebrowser/comments/11w1agq/matrix_theme/
2023-03-20 17:08:20 +01:00
toofar
856fe781a1
Merge remote-tracking branch 'upstream/qt6-v2' into master-qt6
2023-03-18 16:24:58 +13:00
Florian Bruhin
4793070db3
Merge branch 'qt6-v2' into master-qt6
2023-03-17 20:30:13 +01:00
Florian Bruhin
e3d5367493
Update settings docs
2023-03-17 17:32:26 +01:00
Florian Bruhin
1d81c6521c
doc: Add link to Catppuccin
2023-01-01 16:40:41 +01:00
Florian Bruhin
ea800ead6d
doc: Add city lights theme
2022-12-14 21:36:00 +01:00
Florian Bruhin
d016ca1da7
Add missing setting entry for array-at quirk
...
(cherry picked from commit 39e577c36e )
2022-11-29 09:29:26 +01:00
Florian Bruhin
39e577c36e
Add missing setting entry for array-at quirk
2022-11-29 09:28:24 +01:00
Florian Bruhin
9ad13fa508
Update Qt doc links to Qt 6
2022-11-24 14:12:38 +01:00
toofar
2d66466194
Merge branch 'master' into qt6-v2
...
Just a few conflicts around CI and dependencies.
2022-11-20 15:48:00 +13:00
Florian Bruhin
e62d34c5aa
Revert "Disallow setting input.mode_override via autoconfig.yml"
...
Breaks tests...
This reverts commit fc933ae1d3 .
2022-10-17 07:59:23 +02:00
Florian Bruhin
fc933ae1d3
Disallow setting input.mode_override via autoconfig.yml
...
Closes #7436
2022-10-17 07:29:02 +02:00
Florian Bruhin
5a10c62554
doc: Mention fileselect.foler.command in fileselect.handler
2022-10-15 18:29:53 +02:00
Florian Bruhin
00afbad426
doc: Add link to another emacs-like config
2022-10-01 10:25:56 +02:00
Florian Bruhin
6f934d4a98
Relax errors shown in the UI
...
- Hide CSP error even if it's prefixed by [Report only]
- Always hide errors from Greasemonkey scripts
(cherry picked from commit 47ef2ca41d )
2022-08-29 20:04:34 +02:00
Florian Bruhin
47ef2ca41d
Relax errors shown in the UI
...
- Hide CSP error even if it's prefixed by [Report only]
- Always hide errors from Greasemonkey scripts
2022-08-29 20:03:37 +02:00
Florian Bruhin
ed19d7f58b
Add --include-hidden for :config-diff
...
Needed it for debugging, so why not implement it properly.
TODO: Changelog, pick to master?
2022-08-23 18:31:42 +02:00
Florian Bruhin
fceb363a21
Regenerate docs
2022-08-23 18:31:41 +02:00
Florian Bruhin
6195cfabdb
Update docs
2022-08-23 17:46:56 +02:00
Florian Bruhin
18d73114ce
Update docs
2022-08-22 13:56:59 +02:00
Florian Bruhin
ec2dcfce9e
Add content.javascript.log_messages.excludes
...
Fixes #7342
2022-08-15 15:07:24 +02:00
Florian Bruhin
662fa69912
Surface internal/userscript JS errors as messages
...
Configurable via a new content.javascript.log_message setting.
Closes #7173 , driven by #7335 .
2022-08-12 11:54:57 +02:00
Florian Bruhin
e0dc588d7a
Update docs
2022-06-22 09:43:57 +02:00