summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-18build(deps): bump docker/setup-buildx-action from 2 to 3dependabot/github_actions/docker/setup-buildx-action-3dependabot[bot]
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18Add qtutils.is_wayland()Florian Bruhin
Backported to v3.0.x as simpler fix: b317038a01094136d06d4cb769b7755450b94f61
2023-09-18Add new Qt to changelogFlorian Bruhin
2023-09-18Merge pull request #7921 from qutebrowser/update-dependenciesFlorian Bruhin
Update dependencies
2023-09-18Merge pull request #7891 from ↵Florian Bruhin
qutebrowser/dependabot/github_actions/actions/checkout-4 build(deps): bump actions/checkout from 3 to 4
2023-09-18Update dependenciesqutebrowser bot
2023-09-11Merge pull request #7907 from qutebrowser/update-dependenciesFlorian Bruhin
Update dependencies
2023-09-11Remove hypothesis health check suppressionFlorian Bruhin
See https://github.com/HypothesisWorks/hypothesis/pull/3734
2023-09-11Adjust changelog URLs for new readme-rendererFlorian Bruhin
2023-09-11Update dependenciesqutebrowser bot
2023-09-10update changelogtoofar
2023-09-10Merge pull request #7888 from brightonanc/timer-repairstoofar
Fixing timers accumulating duplicate slots
2023-09-08tests: Fix derpFlorian Bruhin
2023-09-08First chromium version update for Qt 6.6Florian Bruhin
2023-09-08Fix lintFlorian Bruhin
2023-09-08tests: Ignore false-positive (?) hypothesis health checkFlorian Bruhin
See https://github.com/HypothesisWorks/hypothesis/issues/3733 Should fix nightly builds (and the next dependency upgrade).
2023-09-06tests: Ignore some more irrelevant messagesFlorian Bruhin
2023-09-06Merge pull request #7890 from qutebrowser/update-dependenciesFlorian Bruhin
Update dependencies
2023-09-05update changelogtoofar
2023-09-05Merge pull request #7847 from pylbrecht/broken-hintstoofar
Allow navigating from file:// to remote origins via hints. Previously you would have seen a "Your internet access is blocked" chrome error page.
2023-09-05Generalize (testdata) substitution in end2end testsPhilipp Albrecht
We replace the `(testdata)` placeholder with `testutils.abs_datapath()` in a few end2end tests. So far we only needed to replace `(testdata)` with an OS path (e.g. in `tests/end2end/features/spawn.feature`). By introducing `(testdata)` to an end2end test in `tests/end2end/features/hints.feature`, we required a new use case: replacing `(testdata)` as part of a valid file:// URI. ``` When I open file://(testdata)/some/file.txt ``` Replacing `(testdata)` in above BDD step with a plain OS path resulted in invalid URIs, e.g. for the path "C:\\Users" above BDD step results in this invalid URI: ``` When I open file://C:\Users/some/file.txt ``` We deal with this by first isolating the `(testdata)` substitution in a single place. Having `(testdata)` substitutions in a single place, we simply special-case the substitution of file:// paths, which will be part of a URI. Successful substitution for above BDD step looks like the following: ``` When I open file:///C:/Users/some/file.txt ```
2023-09-04build(deps): bump actions/checkout from 3 to 4dependabot/github_actions/actions/checkout-4dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04Update dependenciesqutebrowser bot
2023-09-03Satisfying flake8 linter.brightonanc
2023-09-03Fixing two instances of timers accumulating duplicate slots over timebrightonanc
2023-08-29Clarify changelogFlorian Bruhin
2023-08-29Update changelogtoofar
2023-08-29Merge pull request #7834 from pylbrecht/purrrtoofar
Enforce digit limit (4300) on Count values passed by keypresses to avoid segfaults due to cats sleeping on numpads.
2023-08-28Allow hinted navigation from file:// to remote originsPhilipp Albrecht
As of Qt 6 navigating from local to remote origins requires user interaction. This broke following links to remote origins via hints from a local file (e.g. `bookmarks.html`), because hints use JavaScript to open links by default. Example: 1. Have a local `bookmarks.html`: ```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>My bookmarks</title> </head> <body> <a href="https://example.com/" id="link">some bookmark</a> </body> </html> ``` 2. Open that local `bookmarks.html` in qutebrowser (e.g. `:open path/to/bookmarks.html`) 3. Start hinting 4. Follow a link to a bookmark (e.g. https://example.com/) 5. Instead of the link opening, be presented with `Your internet access is blocked` error To fix this, we simply force a user interaction for all hints on file:// URLs (like we did for `qute://` URLs in 8defe1ae44c1c524e937ae08ed16052ee0724e0f). We skip the end2end test for webkit, because webkit does not support URLSearchParams[1] used in `tests/end2end/data/hints/link_inject.html` [1] https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
2023-08-28Normalize end2end data directory pathPhilipp Albrecht
Given the following scenario: ``` When I open file://(testdata)/some/file.html Then file://(testdata)/some/file.html should be loaded ``` If the end2end data directory is not normalized, the scenario fails because we try to compare ``` file:///home/palbrecht/dev/qutebrowser/tests/helpers/../end2end/data/hints/link_inject.html?port=50… ``` to ``` file:///home/palbrecht/dev/qutebrowser/tests/end2end/data/hints/link_inject.html?port=50… ``` Normalizing the path resolves the `..` and fixes the issue.
2023-08-28Merge pull request #7868 from qutebrowser/update-dependenciestoofar
Update dependencies
2023-08-28Update dependenciesqutebrowser bot
2023-08-27tox: Switch to --extra-index-url for bleeding envFlorian Bruhin
This should make pip fall back to PyPI for packages not on Riverbank's server
2023-08-27Handle count exceeding string to int conversionPhilipp Albrecht
When handling counts during keyparsing we convert the count string to an integer. If the count is too high (i.e. the count string has too many digits), we run into Python's integer string conversion length limit[1]: ``` ValueError: Exceeds the limit (4300 digits) for integer string conversion: value has 4301 digits; use sys.set_int_max_str_digits() to increase the limit ``` Instead of blowing up with an exception, we now handle this more gracefully by showing an error message. Reproducer: ``` $ qutebrowser --temp-basedir ":later 500 fake-key -g $(printf '1%.0s' {1..4301})j" ``` **NOTE:** I had to rename `_debug_log()`'s `message` argument to `msg`, because pylint yelled at me for redefined-outer-name[2]. [1] https://docs.python.org/3/library/stdtypes.html#integer-string-conversion-length-limitation [2] https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/redefined-outer-name.html
2023-08-23Support opening file:// URLs in end2end testsPhilipp Albrecht
This is required to use BDD steps like the following: ``` When I open file://path/to/file.html ``` If we don't treat `file:` as a special scheme, we implicitly convert it to an invalid URL: ``` http://localhost:48595/file:///path/to/file.html ```
2023-08-23Use (testdata) in "I open {path}" BDD stepPhilipp Albrecht
2023-08-22Fix QHostInfo unit testsFlorian Bruhin
2023-08-22Fix url.auto_search=dns on Qt 6Florian Bruhin
With PyQt6, comparing an enum member to bool will always be False.
2023-08-21Merge pull request #7845 from qutebrowser/update-dependenciesFlorian Bruhin
Update dependencies
2023-08-21Update dependenciesqutebrowser bot
2023-08-20userscripts: run view_in_mpv jseval in main worldtoofar
1. run jseval in main world: the script adds an element that calls the `restore_video` function. This was failing with a "not found" message on webengine, presumably because the dom click handler runs in the main world and the function was over in the jseval world. The the script predates webengine which is the backend that implements the worlds. 2. remove a console log message, seems to be just noise and easy enough to add back later 3. remove href attribute of the restore video link: this seemed to be causing the `restore_video` method to be called twice. The second time with `this` as the global Window object, which was causing an error because that has a null `parentNode` attribute. 4. added the `cursor: pointer` style that was needed since the element didn't have an href anymore 5. change the mpv flags `--terminal` -> `--quiet`. This means we get error messages (eg from yt-dlp) in error logs and in the `:process` page now. It can get a bit spammy though if you are running from a terminal. I'm getting a log of keepalive warning and error logs from ffmpeg. On the other hand it's really annoying to see a "process failed, see :process for details" and having no error messages in there. Fixes: #7838
2023-08-19Update Chromium version commentsFlorian Bruhin
2023-08-18ci: Fix changelog URL for releasesFlorian Bruhin
2023-08-18Release v3.0.0v3.0.0qutebrowser bot
2023-08-18Revert "Release v3.0.0"Florian Bruhin
This reverts commit f3692d8f280b63db550db1daf1455a1f64ed56dc.
2023-08-18Use different PyPI token tempoarilyFlorian Bruhin
See https://github.com/pypi/support/issues/3111
2023-08-18Release v3.0.0qutebrowser bot
2023-08-18Edit changelog for v3.0.0Florian Bruhin
2023-08-18Update install instructionsFlorian Bruhin
Closes #7833
2023-08-18Ignore drag events on Qt 6.5.2 on WaylandFlorian Bruhin
Closes #7827