Age | Commit message (Collapse) | Author |
|
Currently, ":version" fails to show the sip version for Qt6. This is
because the sip module can't imported in the same way as Qt5. In Qt5,
the sip module can be imported after "from PyQt5.QtCore import *". In Qt
6, this is no longer the case,
>>> from PyQt6.QtCore import *
>>> import sip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'sip'
So let importlib import PyQt6.sip explicitly.
|
|
See #6050, still keeping open to track NSIS changes
|
|
Not that we are looking up resources via importlib_resources for
pyinstaller builds too we need to change where the data files are
installed to to match what importlib_resources is expecting.
There was a comment in the previous resource lookup special case
complaining about the data files being at the top level so it seems this
is a change for the better anyhow.
Observed paths:
requested file: qutebrowser.app/Contents/Frameworks/qutebrowser/config/configdata.yml
actual file : qutebrowser.app/Contents/Frameworks/config/configdata.yml
|
|
pyinstaller patches importlib_resources now so it should transparently
handle this special case for us.
ref: https://pyinstaller.org/en/stable/CHANGES.html?highlight=importlib.resources#id94
|
|
Since we are pulling down PyInstaller off of the develop branch we need
to recompile the bootloader, because upstream only commits a new one
back to the branch on releases. Luckily all the compiler requirements
seem to already be installed on CI.
For the record the macOS CI is currently failing with
dlopen: dlopen(/Users/runner/work/qutebrowser/qutebrowser/dist/qutebrowser.app/Contents/MacOS/libpython3.10.dylib, 10): image not found
And upon inspection of dist/ that file seems to be at
./qutebrowser.app/Contents/Resources/libpython3.10.dylib
./qutebrowser.app/Contents/Frameworks/libpython3.10.dylib
./qutebrowser/_internal/libpython3.10.dylib
|
|
PyInstaller has [recently][symlinks] landed a change that should restore
the webengine sandbox on macOS builds. With a bit more testing we are
hoping that we can go ahead releasing builds based on that
in-development PyInstaller codebase even before they've made a release.
This commit pins our pyinstaller dependency to be the latest commit on
their develop branch.
[symlinks]: https://github.com/pyinstaller/pyinstaller/pull/7619
|
|
Broken in ffc06e58d6d6254d1758f8328f6dc43cc38651d5
|
|
|
|
6.5.2 is out with the fixes in
|
|
This reverts commit 70e8dc63e87a57ecac2b626d496a0bc9517a632d.
We're on PyQt 6.5.2 now, which should fix the segfaults on exit.
|
|
This reverts commit ed70741587d0d7f5cc90b2f510c38474a7ad9375.
|
|
Update dependencies
|
|
|
|
I don't think the dependencies jbos needs to be installing asciidoc anymore either but oh
well.
I just grepped for libxcb-shape0 and constituently added libxcb-cursor0
after it. I haven't checked it's in stretch but it should be.
ref: 6f5de192e0d7a62c
|
|
|
|
|
|
We still want to make sure that IPC is shut down early when using :restart.
However, doing it again should be a nop when quitting qutebrowser then
shuts it down again.
This accidentally worked before 6373959 ("Always delay stage 2 shutdown, not
only with prompts"), because most operations in shutdown() just happened to be
idempotent. Because we never returned to the Qt mainloop between the first and
the second call, the self._server.deleteLater() call didn't actually delete
anything yet.
After that change, however, we do end up in shutdown() again with an actually
deleted C++ QLocalServer object, so trying to call .close() on it again failed
with a RuntimeError.
Fixed #7681
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 73303da6652440e9f5f787473b48f3f061d71089.
Not aiming for full REUSE compliance just yet
|
|
|
|
See previous commit, forgot ? after year range
|
|
git ls-files | \
xargs sed -Ei 's/Copyright [0-9]{4}(-[0-9]{4}) ([^<]*)<([^>]*)>/SPDX-FileCopyrightText: \2<\3>/'
|
|
git ls-files | \
xargs sed -Ei 's/Copyright [0-9]{4}(-[0-9]{4}) Florian Bruhin \(The Compiler\) <mail@qutebrowser\.org>/SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org>/'
|
|
reuse annotate --license="GPL-3.0-or-later" --style python \
misc/userscripts/openfeeds \
misc/userscripts/qute-bitwarden \
misc/userscripts/qute-keepass \
misc/userscripts/qute-keepassxc \
misc/userscripts/qute-lastpass \
misc/userscripts/qute-pass \
misc/userscripts/tor_identity \
misc/userscripts/dmenu_qutebrowser \
misc/userscripts/rss
|
|
|
|
reuse annotate --license="GPL-3.0-or-later" --style python \
misc/nsis/uninstall_pages.nsh \
misc/nsis/install.nsh \
misc/nsis/uninstall.nsh
And fixing qutebrowser.nsi manually as that uses iso-8859-1 and the reuse tool
doesn't like that apparently.
|
|
git ls-files | \
xargs grep -l "This file is part of qutebrowser" | \
xargs grep -l SPDX-License-Identifier | \
xargs sed -i '/# This file is part of qutebrowser\./,/along with qutebrowser\. If not, see <https:\/\/www\.gnu.org\/licenses\/>./d'
|
|
git ls-files | xargs grep -l "is free software" | xargs reuse annotate --license="GPL-3.0-or-later" --skip-unrecognised
|
|
- reuse init
- reuse download --all
See #7104
|
|
|
|
Closes #7097
|
|
See #7092, #6050
|
|
|
|
|
|
When pressing C-c if qutebrowser is not fully started yet, the prompt_queue is not
initialized and prompts for an annoying crash report.
Fixes #6827
|
|
|
|
I broke it oops
|
|
|
|
This is a follow-up of #7770 which was an attempt to fix the script broken in 9212ba9.
Before flipping the QT6 switch.
|
|
The stray comma made it a tuple (False,) which was always True.
|
|
|
|
Right now the version of PyQT available on PyPI is 6.5.1 and it's buggy with
Qutebrowser, this is a quick hack to get it working until it's released early next week.
|
|
Don't crash on --logfilter at startup
|
|
Now that `qutebrowser.utils.log` is a Qt-free zone, we can initialize logging before
`machinery.init()` without crashing.
|
|
|