Commit Graph

21704 Commits

Author SHA1 Message Date
Florian Bruhin 8fbd3c21a2 Release v2.0.1 2021-01-28 17:43:33 +01:00
Florian Bruhin 67166df655 configdata: Add nnn to completions
(cherry picked from commit 49291560ff)
2021-01-28 17:25:28 +01:00
Florian Bruhin a20fadfd19 Split envvar warning into function
(cherry picked from commit a5c53a307a)
2021-01-28 16:26:51 +01:00
Florian Bruhin 836047ab53 Handle install of adblock library during runtime
The _possibly_show_missing_dependency_warning() is only shown if the
"adblock" import is unavailable (i.e. None), thus we assumed that it
must be either not installed or outdated.

However, there's a third possible case: The library wasn't available at
import time, but it *is* available when the setting changed at runtime.
If that's the case, show a warning instead of an AssertionError.

(cherry picked from commit d2f0cad2c7)
2021-01-28 16:26:51 +01:00
Florian Bruhin f3db4f2164 Update changelog 2021-01-28 16:11:54 +01:00
Florian Bruhin bd21ff688d Use and enforce python3 shebangs in userscripts
See #6080
2021-01-28 16:11:54 +01:00
Florian Bruhin fd429fd3a5 Add a warning if QTWEBENGINE_CHROMIUM_FLAGS is set
See #6065

(cherry picked from commit 38fec3726f)
2021-01-28 15:57:48 +01:00
Florian Bruhin 0efdfd2f27 Switch format_json userscript to /bin/sh again
It was switched to bash in 22e4a800a1 for
"-o pipefail", but doesn't actually use pipes, so we might as well
switch it back to sh again.

(cherry picked from commit aa333512a1)
2021-01-28 15:57:46 +01:00
Florian Bruhin 215257cc7d Ignore stale adblock.py component
It looks like some setups (and even packages, apparently?!) still ship
adblock.py despite it not being a part of the release.

This then causes a NoOptionError because adblock.py tries to access
content.host_blocking which doesn't exist anymore.

Likely this will resolve over time - but until that's the case, let's
just explicitly block that component even if it exists.

(cherry picked from commit f5a409aa9f)
2021-01-28 15:57:42 +01:00
Florian Bruhin 240c566384 Fix resource globbing with Python .egg installs
When qutebrowser is installed as an .egg (like can happen with setup.py
install), importlib.resources.files(...) can return a zipfile.Path in
place of a pathlib.Path.

Unfortunately, those path objects don't support .glob(), nor do they
support things like .relative_to() or .as_posix(). Thus, if that's the
case, we need to implement our own poor globbing based on
.iterdir() (which they *do* support).

(cherry picked from commit 54bcdc1eef)
2021-01-28 15:57:38 +01:00
Florian Bruhin 2838974ab1 scripts: Also add desc suffix for installer
(cherry picked from commit 5ac9e3c23d)
2021-01-28 10:04:50 +01:00
Florian Bruhin 447511f816 scripts: Actually use 32-bit Python on Windows
(cherry picked from commit d3b8b525b7)
2021-01-28 09:31:36 +01:00
Florian Bruhin b716e765b9 scripts: Adjust Windows release instructions
(cherry picked from commit d48b455d77)
2021-01-28 08:41:58 +01:00
Florian Bruhin 743a02b694 Release v2.0.0 2021-01-28 08:32:35 +01:00
Florian Bruhin 62a06f8361 scripts: Adjust suffix for 32-bit releases 2021-01-28 08:32:05 +01:00
Florian Bruhin c0e30ac41a
Merge pull request #6078 from qutebrowser/update-dependencies
Update dependencies
2021-01-28 08:05:48 +01:00
qutebrowser bot 39b5f7b713 Update dependencies 2021-01-28 06:55:05 +00:00
Florian Bruhin e43f8e016c Fix lint 2021-01-27 19:57:13 +01:00
Florian Bruhin 217711f200 tests: Fix ~ completion test on Windows 2021-01-27 19:48:52 +01:00
Florian Bruhin 3a9770e2d7 scripts: Add suffix for 32-bit artifacts
See #6050
2021-01-27 19:40:20 +01:00
Florian Bruhin 1c3489ce2f Update user agent completions 2021-01-27 19:26:51 +01:00
Florian Bruhin fe5738119a tests: Use different workaround for mimetypes issue 2021-01-27 19:24:18 +01:00
Florian Bruhin dc5d366642 tests: Work around mimetype issue 2021-01-27 19:24:18 +01:00
Florian Bruhin 05bb3942d4 scripts: Refactor Windows building 2021-01-27 19:24:18 +01:00
Florian Bruhin bedfd47f05 Use commands for 'S.' bindings 2021-01-27 19:24:18 +01:00
Florian Bruhin 98fea7e10a Update changelog 2021-01-27 19:24:17 +01:00
Florian Bruhin bc0936d97a ci: Use Python 3.9 for Windows/macOS
That's what we use with the newer PyInstaller releases, too.
2021-01-27 19:24:17 +01:00
Florian Bruhin 88f419b772 tests: Run service worker workaround test on Windows 2021-01-27 19:24:17 +01:00
Florian Bruhin d75ffdc115 tests: Ignore DXVAVDA errors 2021-01-27 19:24:17 +01:00
Florian Bruhin f631cd4422 Only show changelog after feature upgrades 2021-01-27 19:24:17 +01:00
Florian Bruhin 5ee28105ad Show changelog after upgrades 2021-01-27 17:10:32 +01:00
Florian Bruhin 7ee0236184 doc: Add stable anchors to changelog 2021-01-27 17:10:32 +01:00
Florian Bruhin 1729b25124 Use right utils module
Whoops...
2021-01-27 17:10:21 +01:00
Florian Bruhin 7b95a6cdb8 Skip broken test on Windows
Proper fix in progress...
2021-01-27 17:05:41 +01:00
Florian Bruhin f290999913 Display messages for longer
See #5999, #6022
2021-01-27 15:25:16 +01:00
Florian Bruhin 432f7b87a3 Change default text color for warnings to black 2021-01-27 15:23:47 +01:00
Florian Bruhin 2d8f164ea1 Update changelog 2021-01-27 15:17:25 +01:00
Florian Bruhin 8976e68503 Add deprecated aliases for renamed commands
See #6022, #6071
2021-01-27 15:17:16 +01:00
Florian Bruhin ac2576c61d command: Improve deprecation
Add a test and also allow setting a deprecated alias for a command
easily.
2021-01-27 15:08:41 +01:00
Florian Bruhin 4b8c9336a3 Add marker to pytest.ini 2021-01-27 14:28:05 +01:00
Florian Bruhin b6d6706266 Update Qt 5.15 session warning again
Also don't show it for new users - this doesn't really help much if
someone just started using qutebrowser.

See #5359
2021-01-27 14:21:47 +01:00
Florian Bruhin 72bc00f7f5
Merge pull request #6070 from qutebrowser/update-dependencies
Update dependencies
2021-01-27 14:17:02 +01:00
Florian Bruhin 6d8e21d366 tests: Skip "Using JS after window.open" on Windows
Seems to be flaky pretty consistantly there...
See #5390
2021-01-27 14:08:49 +01:00
Florian Bruhin 7d8fd50792 Add qt.workarounds.remove_service_workers setting
See #5656, #5634
2021-01-27 14:06:21 +01:00
Florian Bruhin b0c812b239 tests: Make sure testprocess actually quits 2021-01-27 13:50:57 +01:00
qutebrowser bot 118786553f Update dependencies 2021-01-27 10:40:29 +00:00
Florian Bruhin 7a00526a74 scripts: Handle ignored dependencies in recompile_requirements 2021-01-27 11:32:03 +01:00
Florian Bruhin 2e723aa5e4 requirements: Update urllib3 2021-01-27 11:14:39 +01:00
Florian Bruhin 13feaa883c scripts: Show raw diff on CI when recompiling requirements 2021-01-27 11:12:26 +01:00
Florian Bruhin db56efa7b7 Edit changelog 2021-01-27 11:07:31 +01:00