forked from pool/qutebrowser
Accepting request 1104940 from network
- Update to version 3.0.0 Major Changes: * qutebrowser now supports Qt 6 and uses it by default. Qt 5.15 is used as a fallback if Qt 6 is unavailable. This behavior can be customized in three ways (in order of precedence): + Via `--qt-wrapper PyQt5` or `--qt-wrapper PyQt6` command-line arguments. + Via the `QUTE_QT_WRAPPER` environment variable, set to `PyQt6` or `PyQt5`. + For packagers wanting to provide packages specific to a Qt version, patch `qutebrowser/qt/machinery.py` and set `_WRAPPER_OVERRIDE`. * Various commands were renamed to better group related commands: + `set-cmd-text` -> `cmd-set-text` + `repeat` -> `cmd-repeat` + `repeat*command` -> `cmd-repeat-last` + `later` -> `cmd-later` + `edit-command` -> `cmd-edit` + `run-with-count` -> `cmd-run-with-count` The old names continue to work for the time being, but are deprecated and show a warning. Added: * On invalid commands/settings with a similarly spelled match, qutebrowser now suggests the correct name in its error messages. * New `:prompt-fileselect-external` command which can be used to spawn an external file selector (`fileselect.folder.command`) from download filename prompts (bound to `<Alt+e>` by default). * New `qute://start` built-in start page (not set as the default OBS-URL: https://build.opensuse.org/request/show/1104940 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qutebrowser?expand=0&rev=62
This commit is contained in:
commit
2a1debff93
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a460b2202527e42a670c26d225d9fa6417d092cc1f16f3a95e7bc95dd89c1ab1
|
||||
size 6117674
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAmQPkbwACgkQkW6wyP1V
|
||||
oHICGRAAr4jkdcwjkwjVswJAOKC/vkmeNiTX2VpdtNp26ePNQ72yqgr49HA1Kpxe
|
||||
V5hMhCZcF8KMytFZOOQcAkVzWnTTJLs0WjPCRXtMYsDbMix3yUDNVnUwOU9t/HBX
|
||||
onK4N/ICiU7NalqiJscQb/C/UwVfCvwUifQJ/o/Ly5FPGa3UMxZrDFSFdQn+dit9
|
||||
nUiImRUSQ9O3BVNnKn1poNyz66HIo4JgItzDAgLlt3Ne1yWp8JBsPMFRYggEcbjJ
|
||||
YLtyRseibERkZzbibGj7BLbfO2odR4WbUJT22/3QfpptKZ5Slr8SY2cXHsH+U+DM
|
||||
cEl0LGV0tx5aqHrn+DwLzf/81cD9E8cqCJhJT87Ffxk7SMH9krB2459lV08u1z9J
|
||||
FgLr2ZwokCLExCK+maIXACnMeQQMbovZopDg2+47wtb5u9WcWq3uu2rBZSrDWkOP
|
||||
tW2RHhV+i1PFSRFPqlmMdkg4hx7ZvwH2CN9QjcUa218hqxKfdvzj+4EsEo7Pw4Kv
|
||||
FVJfBPzKafGa5F25r7D+P1PdV3darmr2OXRy8K4x7nd9GELqZge7CLiVXC/zWunw
|
||||
URlcn9JXNUycNdPX5GSv+YwdRliXZH21KT1J+hEgCYF8ZHkyfyARPgXKz6Qqxb4o
|
||||
RkokADeaeJxs2yF8Q3mw6VC4Wx2PkDzFRiQ06lnw+cXl68PxocU=
|
||||
=LpMT
|
||||
-----END PGP SIGNATURE-----
|
3
qutebrowser-3.0.0.tar.gz
Normal file
3
qutebrowser-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39eaf4a7f0f051f39e8d40a04824a432f2cb023372271e75aa037b6dc410d8fc
|
||||
size 6030459
|
14
qutebrowser-3.0.0.tar.gz.asc
Normal file
14
qutebrowser-3.0.0.tar.gz.asc
Normal file
@ -0,0 +1,14 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQGzBAABCgAdFiEEJ/O7T8IX7suFhXiu737k0DlpC3sFAmTffY0ACgkQ737k0Dlp
|
||||
C3tmaAv/dyTLQXfpbCx5DLy84Yn7niBKKuQv7AIfnjA3EHoHv/ZEHkoqs2bPvQpH
|
||||
q9ly3/atFhCQ9vek4OQtq2IgMP+csdABUoVsUL5xkxRFqe4w7l3CEio7/7j+zYkJ
|
||||
f1KvPgJHgmgW6fiOwSClWDVpH9xirPNo6gWFXIf3+hazqyv/tKmu+GgkabKJrGT9
|
||||
sYfw7j+TL/Ax3RgtTF5cN7R6ibkdIE6jQmoSPPRhnW6tIs2z/S65lPhVZJYHY7KC
|
||||
0t8vJ6d6w8N6XipBcNlRlz36eXDxMs4B6COOR+oszkyDgw1N1koyx0gdYuuPotDv
|
||||
3tensQDtJYK4DLELEGR6468R6QAGZm1hq+deAfYI4OXkQLXuMoKzwb8V4ygAAPqJ
|
||||
TIrNrUFwS5IkjioJuNsgGxszk3N0U1k/5NJ7HvqDtJeCtHA37u2lrhR61yoZFVFK
|
||||
JVhnfdIDFPkSRik4Vl8Tj31RrSMW/KVUjE2v8VnFRldAUXVVH17HYD544sTPOq9v
|
||||
NN7+myFp
|
||||
=tMUV
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,203 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 20 19:07:25 UTC 2023 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to version 3.0.0
|
||||
Major Changes:
|
||||
* qutebrowser now supports Qt 6 and uses it by default.
|
||||
Qt 5.15 is used as a fallback if Qt 6 is unavailable.
|
||||
This behavior can be customized in three ways (in order of
|
||||
precedence):
|
||||
+ Via `--qt-wrapper PyQt5` or `--qt-wrapper PyQt6`
|
||||
command-line arguments.
|
||||
+ Via the `QUTE_QT_WRAPPER` environment variable, set to
|
||||
`PyQt6` or `PyQt5`.
|
||||
+ For packagers wanting to provide packages specific to a Qt
|
||||
version, patch `qutebrowser/qt/machinery.py` and set
|
||||
`_WRAPPER_OVERRIDE`.
|
||||
* Various commands were renamed to better group related commands:
|
||||
+ `set-cmd-text` -> `cmd-set-text`
|
||||
+ `repeat` -> `cmd-repeat`
|
||||
+ `repeat*command` -> `cmd-repeat-last`
|
||||
+ `later` -> `cmd-later`
|
||||
+ `edit-command` -> `cmd-edit`
|
||||
+ `run-with-count` -> `cmd-run-with-count`
|
||||
The old names continue to work for the time being, but are
|
||||
deprecated and show a warning.
|
||||
|
||||
Added:
|
||||
* On invalid commands/settings with a similarly spelled match,
|
||||
qutebrowser now suggests the correct name in its error
|
||||
messages.
|
||||
* New `:prompt-fileselect-external` command which can be used to
|
||||
spawn an external file selector (`fileselect.folder.command`)
|
||||
from download filename prompts (bound to `<Alt+e>` by default).
|
||||
* New `qute://start` built-in start page (not set as the default
|
||||
start page yet).
|
||||
* New `content.javascript.log_message.levels` setting, allowing
|
||||
to surface JS log messages as qutebrowser messages (rather than
|
||||
only logging them). By default, errors in internal `qute:`
|
||||
pages and userscripts are shown to the user.
|
||||
* New `content.javascript.log_message.excludes` setting, which
|
||||
allows to exclude certain messages from the
|
||||
`content.javascript.log_message.levels` setting described
|
||||
above.
|
||||
* New `tabs.title.elide` setting to configure where text should
|
||||
be elided (replaced by `…`) in tab titles when space runs out.
|
||||
* New `**quiet` switch for `:back` and `:forward`, to suppress
|
||||
the error message about already being at beginning/end of
|
||||
history.
|
||||
* New `qute-1pass` userscript using the 1password commandline to
|
||||
fill passwords.
|
||||
* New features in userscripts:
|
||||
+ `qutedmenu` gained new `window` and `private` options.
|
||||
+ `qute-keepassxc` now supports unlock-on-demand, multiple
|
||||
account selection via rofi, and inserting TOTP-codes
|
||||
(experimental).
|
||||
+ `qute-pass` will now try looking up candidate pass entries
|
||||
based on the calling tab's verbatim netloc (hostname
|
||||
including port and username) if it can't find a match with
|
||||
an earlier candidate (FQDN, IPv4 etc).
|
||||
* New `qt.chromium.experimental_web_platform_features` setting,
|
||||
which is enabled on Qt 5 by default, to maximize compatibility
|
||||
with websites despite an aging Chromium backend.
|
||||
* New `colors.webpage.darkmode.increase_text_contrast` setting
|
||||
for Qt 6.3+
|
||||
* New `fonts.tooltip`, `colors.tooltip.bg` and
|
||||
`colors.tooltip.fg` settings.
|
||||
* New `log-qt-events` debug flag for `-D`
|
||||
* New `--all` flags for `:bookmark-del` and `:quickmark-del` to
|
||||
delete all quickmarks/bookmarks.
|
||||
|
||||
Removed:
|
||||
* Python 3.8.0 or newer is now required.
|
||||
* Support for Qt/PyQt before 5.15.0 and QtWebEngine before 5.15.2
|
||||
are now dropped, as older Qt versions are end-of-life upstream
|
||||
since mid/late 2020 (5.13/5.14) and late 2021 (5.12 LTS).
|
||||
* The `--enable-webengine-inspector` flag is now dropped. It used
|
||||
to be ignored but still accepted, to allow doing a `:restart`
|
||||
from versions older than v2.0.0. Thus, switching from v1.x.x
|
||||
directly to v3.0.0 via `:restart` will not be possible.
|
||||
|
||||
Changed:
|
||||
* The `content.javascript.can_access_clipboard` setting got
|
||||
renamed to `content.javascript.clipboard` and now understands
|
||||
three different values rather than being a boolean: `none`
|
||||
(formerly `false`), `access` (formerly `true`) and
|
||||
`access-paste` (additionally allows pasting content, needed for
|
||||
websites like Photopea or GitHub Codespaces).
|
||||
* The default `hints.selectors` now also match the `treeitem`
|
||||
ARIA roles.
|
||||
* The `:click-element` command now can also click elements based
|
||||
on its ID (`id`), a CSS selector (`css`), a position
|
||||
(`position`), or click the currently focused element
|
||||
(`focused`).
|
||||
* The `:click-element` command now can select the first found
|
||||
element via `--select-first`.
|
||||
* New `search.wrap_messages` setting, making it possible to
|
||||
disable search wrapping messages.
|
||||
* The `:session-save` command now has a new `--no-history` flag,
|
||||
to exclude tab history.
|
||||
* New widgets for `statusbar.widgets`:
|
||||
+ `clock`, showing the current time
|
||||
+ `search_match`, showing the current match and total count
|
||||
when finding text on a page
|
||||
* Messages shown by qutebrowser now don't automatically get
|
||||
interpreted as rich text anymore. Thus, e.g.
|
||||
`:message-info <h1>test` now shows the given text. To show rich
|
||||
text with `:message-*` commands, use their new `--rich` flag.
|
||||
Note this is NOT a security issue, as only a small subset of
|
||||
HTML is interpreted as rich text by Qt, independently from the
|
||||
website.
|
||||
* Improved output when loading Greasemonkey scripts.
|
||||
* The "... called unimplemented GM_..." messages are now logged
|
||||
as info JS messages instead of errors.
|
||||
* For QtNetwork downloads (e.g. `:adblock-update`), various
|
||||
changes were done for how redirects work:
|
||||
* Insecure redirects (HTTPS -> HTTP) now fail the download.
|
||||
* 20 redirects are now allowed before the download fails rather
|
||||
than only 10.
|
||||
* A redirect to the same URL will now fail the download with
|
||||
too many redirects instead of being ignored.
|
||||
* When a download fails in a way it'd leave an empty file around,
|
||||
the empty file is now deleted.
|
||||
* With Qt 6, setting `content.headers.referer` to `always` will
|
||||
act as if it was set to `same*domain`. The documentation is now
|
||||
updated to point that out.
|
||||
* With QtWebEngine 5.15.5+, the load finished workaround was
|
||||
dropped, which should make certain operations happen when the
|
||||
page has started loading rather when it fully finished.
|
||||
* When `QUTE_QTWEBENGINE_VERSION_OVERRIDE` is set, it now always
|
||||
wins, no matter how the version would otherwise have been
|
||||
determined. Note setting this value can break things (if set to
|
||||
a wrong value), and usually isn't needed.
|
||||
* When qutebrowser is run with an older QtWebEngine version as on
|
||||
the previous launch, it now prints an error before starting
|
||||
(which causes the underlying Chromium to remove all browsing
|
||||
data such as cookies).
|
||||
* The keys "<To Do List>" and "<Contrast adjust>" are now named
|
||||
"<To-do list>" and "<Adjust contrast>", respectively.
|
||||
* `:config*diff` now has an `--include-hidden` flag, which also
|
||||
shows internally-set settings.
|
||||
* Improved error messages when `:spawn` can't find an executable.
|
||||
* When a process fails, the error message now suggests using
|
||||
`:process PID` with the correct PID (rather than always showing
|
||||
the latest process, which might not be the failing one)
|
||||
* When a process got killed with `SIGTERM`, no error message is
|
||||
now displayed anymore (unless started with `:spawn --verbose`).
|
||||
* When a process got killed by a signal, the signal name is now
|
||||
displayed in the message.
|
||||
* The `js-string-replaceall` quirk is now removed from the
|
||||
default `content.site_specific_quirks.skip`, so that
|
||||
`String.replaceAll` is now polyfilled on QtWebEngine < 5.15.3,
|
||||
hopefully improving website compaitibility.
|
||||
* Hints are now displayed for elements setting an `aria-haspopup`
|
||||
attribute.
|
||||
* qutebrowser now uses SPDX license identiiers in its files.
|
||||
Full support for the REUSE specification (license provided in a
|
||||
machine-readable way for every single file) is not done yet,
|
||||
but planned for a future release.
|
||||
|
||||
Fixed:
|
||||
* When the devtools are clicked but
|
||||
`input.insert_mode.auto_enter` is set to `false`, insert mode
|
||||
now isn't entered anymore.
|
||||
* The search wrapping messages are now correctly displayed in
|
||||
(hopefully) all cases with QtWebEngine.
|
||||
* When a message with the same text as a currently already
|
||||
displayed one gets shown, qutebrowser used to only show one
|
||||
message. This is now only done when the two messages are
|
||||
completely equivalent (text, level, etc.) instead of doing so
|
||||
when only the text matches.
|
||||
* The `progress` and `backforward` statusbar widgets now stay
|
||||
removed if you choose to remove them. Previously they would
|
||||
appear again on navigation.
|
||||
* Rare crash when running userscripts with crashed renderer
|
||||
processes.
|
||||
* Multiple rare crashes when quitting qutebrowser.
|
||||
* ResourceWarning when using `:restart`.
|
||||
* Crash when shutting down before fully initialized.
|
||||
* Crash with some notification servers when the server is
|
||||
quitting.
|
||||
* Crash when using QtWebKit with PAC and the file has an invalid
|
||||
encoding.
|
||||
* Crash with the "tiramisu" notification server.
|
||||
* Crash when the "herbe" notification presenter doesn't start
|
||||
correctly.
|
||||
* Crash when no notification server is installed/available.
|
||||
* Warning with recent versions of the "deadd"
|
||||
(aka "linux notification center") notification server.
|
||||
* Crash when using `:print --pdf` with a directory where its
|
||||
parent directory did not exist.
|
||||
* The `PyQt{5,6}.sip` version is now shown correctly in the
|
||||
`:version`/`--version` output. Previously that showed the
|
||||
version from the standalone `sip` module which was only set
|
||||
for PyQt5.
|
||||
* When a `config.py` calls `.redirect()` via a request
|
||||
interceptor (which is unsupported) and supplies an invalid
|
||||
redirect target URL, an exception is now raised for the
|
||||
`.redirect()` call instead of later inside qutebrowser.
|
||||
* Crash when loading invalid history items from a session file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 14 09:09:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
1128
qutebrowser.keyring
1128
qutebrowser.keyring
File diff suppressed because it is too large
Load Diff
@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
Name: qutebrowser
|
||||
Version: 2.5.4
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: Keyboard-driven vim-like browser based on Qt5
|
||||
Summary: Keyboard-driven vim-like browser based on Qt6
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Networking/Web/Browsers
|
||||
URL: https://qutebrowser.org/
|
||||
@ -33,10 +33,12 @@ BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: python3-Flask
|
||||
BuildRequires: python3-Jinja2
|
||||
BuildRequires: python3-MarkupSafe
|
||||
BuildRequires: python3-PyQt6-WebEngine
|
||||
BuildRequires: python3-PyQt6-sip
|
||||
BuildRequires: python3-PyYAML
|
||||
BuildRequires: python3-beautifulsoup4
|
||||
BuildRequires: python3-cheroot
|
||||
BuildRequires: python3-devel >= 3.6
|
||||
BuildRequires: python3-devel >= 3.8
|
||||
BuildRequires: python3-hypothesis
|
||||
BuildRequires: python3-importlib-resources
|
||||
BuildRequires: python3-opengl
|
||||
@ -48,37 +50,26 @@ BuildRequires: python3-pytest-mock
|
||||
BuildRequires: python3-pytest-qt
|
||||
BuildRequires: python3-pytest-rerunfailures
|
||||
BuildRequires: python3-pytest-xvfb
|
||||
BuildRequires: python3-qt5 > 5.12
|
||||
BuildRequires: python3-qtwebengine-qt5
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-tk
|
||||
BuildRequires: python3-tldextract
|
||||
BuildRequires: python(abi) >= 3.6.1
|
||||
Requires: libqt5-sql-sqlite
|
||||
BuildRequires: qt6-sql-sqlite
|
||||
BuildRequires: python(abi) >= 3.8
|
||||
Requires: python3-Jinja2
|
||||
Requires: python3-MarkupSafe
|
||||
Requires: python3-PyQt6-WebEngine
|
||||
Requires: python3-PyYAML
|
||||
Requires: python3-opengl
|
||||
Requires: python3-qt5 > 5.12
|
||||
Requires: python3-qtwebengine-qt5
|
||||
Requires: qt6-sql-sqlite
|
||||
Recommends: python3-Pygments
|
||||
Recommends: python3-adblock
|
||||
Obsoletes: qutebrowser-git-qt6 < %{version}
|
||||
Provides: qutebrowser-git-qt6 = %{version}
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} >= 1550
|
||||
BuildRequires: python3-qt5-sip
|
||||
%else
|
||||
BuildRequires: python3-sip
|
||||
%endif
|
||||
%if %{python3_version_nodots} <= 38
|
||||
Requires: python3-importlib-resources
|
||||
%endif
|
||||
%if %{python3_version_nodots} == 36
|
||||
Requires: python3-dataclasses
|
||||
%endif
|
||||
|
||||
%description
|
||||
qutebrowser is a keyboard-focused browser with a minimal GUI.
|
||||
It's based on PyQt5 and can use either QtWebEngine or QtWebKit.
|
||||
It's based on PyQt6 and QtWebEngine.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -89,8 +80,6 @@ sed -i 's,^#!%{_bindir}/env ,#!%{_bindir}/,' \
|
||||
sed -i 's,^#!%{_bindir}/bash,#!/bin/bash,' \
|
||||
misc/userscripts/*
|
||||
mv misc/Makefile .
|
||||
# missing files in release tarball
|
||||
rm tests/unit/scripts/test_problemmatchers.py
|
||||
|
||||
%build
|
||||
|
||||
@ -108,7 +97,6 @@ rm %{buildroot}%{python3_sitelib}/%{name}/git-commit-id
|
||||
# NOTE: test suite is slow but doesn’t run reliably with xdist
|
||||
# PYTHONPATH=. pytest -v \
|
||||
# -k 'not importlib' \
|
||||
# --qute-backend webengine
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user