Commit Graph

25398 Commits

Author SHA1 Message Date
Florian Bruhin 0eff340063 mypy: Enable new strict_bytes option
See https://peps.python.org/pep-0688/#no-special-meaning-for-bytes
2025-02-17 10:55:22 +01:00
Florian Bruhin eb2e39de1e scripts: Add new bump-my-version deps 2025-02-17 10:55:22 +01:00
Florian Bruhin 0b221d3e24 mypy: Fix new mypy issues 2025-02-17 10:55:22 +01:00
qutebrowser bot f7c8c67818 Update dependencies 2025-02-17 10:55:22 +01:00
Florian Bruhin accce7fdef Update urlmatch tests for Python fixes
https://github.com/python/cpython/issues/78541
https://github.com/python/cpython/issues/105704
https://github.com/python/cpython/pull/129418
2025-02-17 09:57:44 +01:00
Florian Bruhin 718d66fb6d Merge remote-tracking branch 'origin/pr/7591' 2025-02-15 16:10:24 +01:00
Florian Bruhin 60f526d81f Add new changelog URLs from bump-my-version 2025-02-03 18:40:35 +01:00
qutebrowser bot 4004799f2c Update dependencies 2025-02-03 16:55:59 +00:00
Florian Bruhin 1615e8a40e Merge remote-tracking branch 'origin/pr/8462' 2025-02-03 17:45:48 +01:00
qutebrowser bot bfb580ee91 Update dependencies 2025-02-03 11:01:24 +01:00
Florian Bruhin 4a1a30bc33 Add security patch version for Qt 6.8.2 2025-02-03 10:55:23 +01:00
Jun Chen 6b3901ccee chore: update bumpversion configuration to disallow dirty working directory and fix version replacement 2025-01-31 11:36:13 -07:00
Jun Chen 6b25fdf648 chore: replace bump2version with bump-my-version 2025-01-30 19:14:38 -07:00
sarabande 9bae38ede6
Merge branch 'qutebrowser:main' into main 2025-01-30 11:04:39 -07:00
Florian Bruhin 7bd941cda0 Make duplicate notification IDs non-fatal
The notification.Error there is unhandled otherwise.
2025-01-30 12:59:43 +01:00
Jun Chen e63781d49b docs: update contributing guide with new issue tracker link 2025-01-29 22:38:59 +01:00
Jun Chen 03224a0015 docs: update contributing guide with new issue tracker link 2025-01-29 13:39:35 -07:00
Florian Bruhin 322977dc0d Update changelog URLs for twine upgrade 2025-01-27 16:15:28 +01:00
qutebrowser bot 60177ab975 Update dependencies 2025-01-27 04:21:24 +00:00
qutebrowser bot 9b59cd02cb Update dependencies 2025-01-20 08:25:56 +01:00
Florian Bruhin b3090870d3 scripts: Rename test_requirements function
Falsely flagged by https://github.com/m-burst/flake8-pytest-style/blob/master/docs/rules/PT028.md
2025-01-19 11:56:42 +01:00
qutebrowser bot 253a818ecc Update dependencies 2025-01-13 04:22:20 +00:00
Florian Bruhin 0a32d6fef5 Fix qt69_ci_flaky marker
Follow-up to ed8141cb4b
2025-01-09 11:51:45 +01:00
Florian Bruhin c5395c23f7 Update changelog 2025-01-09 11:51:45 +01:00
Florian Bruhin d272804126 Disable DocumentPictureInPicture API
The DocumentPictureInPicture JS API added in Chromium 116 is not implemented in
QtWebEngine. This results in createWindow() being called with a window type with
random value, which then causes qutebrowser to bail out:

    Traceback (most recent call last):
    File ".../qutebrowser/browser/webengine/webview.py", line 123, in createWindow
        raise ValueError("Invalid wintype {}".format(debug_type))
    ValueError: Invalid wintype 843995690

Until this is fixed in Qt, we pass an argument to Chromium to disable the API
entirely, so that web pages hopefully fall back to something else.

In the case of the new Google Huddle feature, this results in them still working
with an on-page overlay instead.

Thanks to Joshua Cold and Vivia for helping to debug this!

Fixes #8449
See https://bugreports.qt.io/browse/QTBUG-132681
2025-01-09 11:51:45 +01:00
Florian Bruhin ed8141cb4b tests: Improve handling of qutescheme on Qt 6.9 CI
See #8444
2025-01-06 15:14:21 +01:00
Florian Bruhin 2b8c053aee Merge branch 'update-dependencies' 2025-01-06 15:07:30 +01:00
Florian Bruhin 7eb9bc45de Adjust Pillow changelog URL 2025-01-06 15:05:02 +01:00
Florian Bruhin 7d1179e0e3 Fix mypy issues after 1.14 upgrade
mypy does not do type narrowing with "in":
https://github.com/python/mypy/issues/12535

And mypy now knows that those values can be None:
https://github.com/python/typeshed/pull/12936
2025-01-06 14:46:22 +01:00
Florian Bruhin 977c90939c tests: Add --qute-strace-subprocs flag
Was needed for #8444 debugging, but might be useful for other issues with
qutebrowser subprocesses as well.
2025-01-06 12:30:19 +01:00
qutebrowser bot 980105aa11 Update dependencies 2025-01-06 04:23:13 +00:00
Florian Bruhin 3934d727e4 Qt 6.9: xfail failing test on CI for now
Probably not our fault, and shouldn't break CI until we figure out what could be
going on there...

See https://github.com/qutebrowser/qutebrowser/issues/8444#issuecomment-2569610110
2025-01-03 19:04:36 +01:00
Florian Bruhin 3144264a9d First adjustments for Qt 6.9
See #8444
2025-01-03 16:45:39 +01:00
Florian Bruhin a52f378787 Add qute-translate-popup to userscript list 2025-01-03 15:45:56 +01:00
qutebrowser bot 1bcb536a44 Update dependencies 2024-12-14 22:28:12 +01:00
Florian Bruhin 3f5ce51502 ci: Back to Ubuntu 22.04
Follow-up to 531b28771c as some stuff broke
2024-12-14 22:27:15 +01:00
qutebrowser bot 5c899e304f Release v3.4.0 2024-12-14 20:51:45 +00:00
Florian Bruhin 5a153d76ea Use/recommend libegl1 without -mesa
libegl1-mesa was a "transactional dummy package" as early as Ubuntu 20.04, and
got removed in 22.04.

See https://packages.ubuntu.com/search?keywords=libegl1-mesa&searchon=names&suite=all&section=all
2024-12-14 21:50:10 +01:00
Florian Bruhin 531b28771c ci: Upgrade some jobs from Ubuntu 20.04 to 24.04
Ubuntu 20.04 will be EOL in April 2025, and PyQt 6.8 does not support being
installed on it anymore:
https://pyqt-builder.readthedocs.io/en/stable/releases.html

Other than for the oldest Qt 5 / Qt 6 envs, and for utility envs, let's use
Ubuntu 22.04 or 24.04.
2024-12-14 21:20:15 +01:00
Florian Bruhin 2546c0746d Update changelog 2024-12-14 21:08:01 +01:00
Florian Bruhin 68e52903ae Update user agents 2024-12-14 21:05:28 +01:00
Florian Bruhin e643f8f881 Fix misc linting
Not strictly required here as it's Qt6-only, but fine
2024-12-13 13:03:31 +01:00
Florian Bruhin a0bbcd6259 requirements: Remove index-url again
Now on PyPi, partially reverts 3a956b4097
2024-12-13 13:03:31 +01:00
Florian Bruhin c563e2d302 mypy: Be more clever about Qt 6.8 2024-12-13 13:03:31 +01:00
Florian Bruhin 4a5515666e Revert "js: Set eslint to ecmascript 2020"
This reverts commit 86e2573c39.
Breaks stuff with QtWebKit, whoops...
2024-12-13 13:03:31 +01:00
Florian Bruhin b5e9cf85df mypy: Update ignores for PyQt 6.8 2024-12-13 13:03:31 +01:00
qutebrowser bot 6c7fd52b8e Update dependencies 2024-12-13 13:03:31 +01:00
Florian Bruhin c462cf62e4 pdfjs: Add some comments to polyfills 2024-12-10 22:15:00 +01:00
Florian Bruhin 86e2573c39 js: Set eslint to ecmascript 2020
Needed for the ?. operator which is supported since Chromium 80:
https://caniuse.com/mdn-javascript_operators_optional_chaining

Also makes eslint enforce trailing commas for function calls, which seems fine.
2024-12-10 22:14:48 +01:00
Florian Bruhin f8ce3a932c ci: Upgrade node version
Not strictly necessary, just a drive-by fix.
2024-12-10 17:47:12 +01:00