Age | Commit message (Collapse) | Author |
|
`QVariant.Type` has moved to `QMetaType.Type`[1][] and QMeta.Type
doesn't work with int().
`QImage(':/icons/qutebrowser-64x64.png')` yields and empty QImage. This
is not fixed but things don't crash because of it anymore. For instance
the "Title & Body" test on https://web-push-book.gauntface.com/demos/notification-examples/
`QtWebEngineCore.QWebEnginePage.Feature` doesn't work with int(), so add
it to the maps twice.
`for s in scripts` was from a previous hack
[1]: https://www.qt.io/blog/whats-new-in-qmetatype-qvariant
|
|
|
|
|
|
|
|
|
|
See #5904
|
|
|
|
This reverts commit e2c5fe6262564d9d85806bfa9d4486a411cf5045.
See https://mail.python.org/archives/list/python-dev@python.org/thread/ZMC67QA2JVQJSWSFWRS6IM6ZX4EK277G/#LSTMFAPSPD3BGZ4D6HQFODXZVB3PLYKF
|
|
|
|
We need to set XDG_RUNTIME_DIR properly in the tests so that the log is empty.
|
|
Fixes #6482
|
|
|
|
See #6100
|
|
jinja ships its own (more correct) stubs now
see https://github.com/python/typeshed/issues/3197
|
|
|
|
|
|
See https://github.com/NixOS/nixpkgs/pull/119376#issuecomment-820073044
|
|
|
|
|
|
|
|
When running ua_fetch.py, websettings gets imported and fails:
$ python3 scripts/dev/ua_fetch.py
Traceback (most recent call last):
File ".../scripts/dev/ua_fetch.py", line 16, in <module>
import qutebrowser.config.websettings
File ".../qutebrowser/config/websettings.py", line 32, in <module>
from qutebrowser.config import config
File ".../qutebrowser/config/config.py", line 31, in <module>
from qutebrowser.config import configdata, configexc, configutils
File ".../qutebrowser/config/configdata.py", line 32, in <module>
from qutebrowser.config import configtypes
File ".../qutebrowser/config/configtypes.py", line 65, in <module>
from qutebrowser.utils import (standarddir, utils, qtutils, urlutils, urlmatch,
File ".../qutebrowser/utils/standarddir.py", line 33, in <module>
from qutebrowser.utils import log, debug, utils, version
File ".../qutebrowser/utils/version.py", line 529, in <module>
class WebEngineVersions:
File ".../qutebrowser/utils/version.py", line 597, in WebEngineVersions
def from_ua(cls, ua: websettings.UserAgent) -> 'WebEngineVersions':
AttributeError: partially initialized module 'qutebrowser.config.websettings' has no attribute 'UserAgent' (most likely due to a circular import)
|
|
|
|
https://bugs.python.org/issue40066
https://mail.python.org/archives/list/python-dev@python.org/message/CHQW6THTDYNPPFWQ2KDDTUYSAJDCZFNP/
https://github.com/python/cpython/commit/b775106d940e3d77c8af7967545bb9a5b7b162df
|
|
We don't actually need those values anywhere, and parsing can be tricky
as there isn't a fixed format for those version numbers. Let's just not
do it at all. See #6354.
|
|
Closes #6354
|
|
|
|
|
|
Fixes #6337
|
|
Preparation for #6337
|
|
|
|
See https://github.com/flathub/org.qutebrowser.qutebrowser/issues/18#issuecomment-802827816
|
|
|
|
Every message now takes a replace='...' ID, similar to what "dunstify
--replace" does. This allows messages to be replaced even if another
message was shown in the meantime (or with process live output, if
another process was spawned).
|
|
|
|
|
|
With QtNetwork, we can get multiple errors at once (reproduced e.g. by
using the Superfish certificate on badssl.com). With QtWebEngine, we can
only get one error.
Things like "is this error coming from a third-party resource" are hard
to reason about if there is a list of errors, so change
CertificateErrorWrapper so that it's exposed as one single error to the
rest of the code.
|
|
|
|
|
|
See #6300
(cherry picked from commit 9f67a763ef86805f0981f037ccd2fb5cb0e84b88)
|
|
|
|
Easier to diagnose issues if we end up in HOME
|
|
|
|
|
|
|
|
|
|
|
|
Qt's API is kind of painful, and we need some custom functionality
anyways. Wrap QVersionNumber with our own class instead of piling up
workarounds.
|
|
This code is removed again soon
|
|
|
|
|