summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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-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
2023-08-18Fix test on QtWebKitFlorian Bruhin
2023-08-17Fix tests for new navigation request log outputFlorian Bruhin
2023-08-17Work around back/forward navigation from qute://bookmarkFlorian Bruhin
With Qt 6.3+, user interaction is required to navigate outside of qute:// from a qute:// page. Follow-up to 8defe1ae44c1c524e937ae08ed16052ee0724e0f. Also see 216a9f9a9b7386823decf3c2c8a6124a86e2cad8 Fixes #7815 See #7220 - should be revisited once we have a qute-bookmarks:// instead where we can adjust permissions when registering the URL handler.
2023-08-17Merge pull request #7828 from pylbrecht/corrupt-sessionFlorian Bruhin
Don't include "dead" tabs when saving sessions
2023-08-17Merge pull request #7832 from qutebrowser/auto-releasesFlorian Bruhin
Releases on CI
2023-08-17Fixup OpenSSL warning hintFlorian Bruhin
2023-08-17Add hint to OpenSSL warningFlorian Bruhin
See https://www.reddit.com/r/qutebrowser/comments/15tilax/troubleshooting_cannot_download_after_update_tls/
2023-08-17ci: Fix JS style issuesauto-releasesFlorian Bruhin
2023-08-17Remove old download_release.shFlorian Bruhin
Releases aren't hosted on qutebrowser.org anymore
2023-08-17ci: Switch from experimental to real releasesFlorian Bruhin
2023-08-17Update releasing docsFlorian Bruhin
2023-08-17ci: Check for open milestone before releaseFlorian Bruhin
2023-08-17ci: Add IRC notification for main channelFlorian Bruhin
Releases are probably important enough
2023-08-17ci: Use -x for cherry picksFlorian Bruhin
2023-08-17ci: Use earlier release IDFlorian Bruhin
2023-08-17ci: Use github script to update releaseFlorian Bruhin
See https://github.com/softprops/action-gh-release/issues/163
2023-08-17scripts: Fix name for Windows installerFlorian Bruhin
Regressed in c2210539a9e2be1deacf8df8f432e035d9b9b9f0: The current NSIS installer still adds the suffix. Let's keep it there for now until we switch to the rewritten one. See #6050
2023-08-17scripts: Don't upload PGP signature to PyPIFlorian Bruhin
See https://blog.pypi.org/posts/2023-05-23-removing-pgp/
2023-08-17scripts: Fix artifact list on WindowsFlorian Bruhin
Regressed in c2210539a9e2be1deacf8df8f432e035d9b9b9f0: We don't want to return a list of lists.
2023-08-17scripts: Avoid inputs on CI when releasingFlorian Bruhin
2023-08-17ci: Set twine PyPI tokenFlorian Bruhin
2023-08-17scripts: Show more info when no release was foundFlorian Bruhin
2023-08-17ci: Set up asciidoc properly for releasesFlorian Bruhin
2023-08-17ci: More automatic release improvements/fixesFlorian Bruhin
2023-08-17ci: Use GitHub Script to get release branchFlorian Bruhin
By default, we only get a narrow checkout, so we don't know about any other branches. Use the GitHub API and some JS to get the release branch instead.
2023-08-17ci: Initial automatic release supportFlorian Bruhin
See #3725
2023-08-16child event filter: Loosen check to only consider QWidgetFlorian Bruhin
Follow-up to a46e9f2036595e8d04cae68a719e5182718861bf to work correctly with older Qt versions (< 6.4), where this is not a QQuickWidget apparently. This also means we can simplify the workaround, as we are guaranteed to be on Qt 6.4+ anyways. See #7820, #7831
2023-08-16child event filter: Ignore non-QQuickWidget childrenFlorian Bruhin
When pressing buttons on some websites, or when starting to drag, it looks like the WebView gets new QObject children which are not actually their focus proxy. So far, this wasn't a big issue: We only ended up installing the tab event filter on objects where it doesn't belong. However, with the new focus workaround from #7820, we then ended up calling `.setFocus()` on those QObjects, causing an AttributeError. Thus, just don't do anything if we get new children that are not actually a QQuickWidget. Fixes #7831