Commit Graph

24658 Commits

Author SHA1 Message Date
qutebrowser bot b3b1384037 Release v3.0.1 2023-10-19 18:15:42 +00:00
Florian Bruhin 6cc2211655 Update changelog from main 2023-10-19 20:04:50 +02:00
Florian Bruhin 2db66d8ffd Update UA completions
(cherry picked from commit ccb5480cf6)
2023-10-19 20:03:35 +02:00
Florian Bruhin a1b8ae4311 Revert "Use different PyPI token tempoarily"
This reverts commit 597873286c.
2023-10-19 19:58:56 +02:00
Florian Bruhin 839017d300 tests: Ignore another spurious libva error
(cherry picked from commit 01883a7ec4)
2023-10-18 18:39:47 +02:00
Florian Bruhin fabbe99c34 log: Ignore deprecation warning from new SIP
See https://riverbankcomputing.com/news/SIP_v6.7.12_Released

(cherry picked from commit a8355674da)
2023-10-18 18:38:57 +02:00
toofar 5f8dce1ecc Merge branch 'update_slack_ua_quirk'
(cherry picked from commit 142f019c7a)

# Conflicts:
#	doc/changelog.asciidoc
2023-10-16 19:48:11 +02:00
toofar c7abfd9721 Merge branch 'fix/7866_filepicker_mimetype_restrictions'
(cherry picked from commit 7f9713b20f)

# Conflicts:
#	doc/changelog.asciidoc
2023-10-16 19:47:49 +02:00
toofar 44b7fd33ab Merge pull request #7925 from fstecker/download_icons
Override IconProvider for QFileSystemModel to prevent a slowdown in the
download dialog on Linux when browsing to directories with many files.
2023-10-02 14:57:28 +02:00
Florian Bruhin df7264a6d5 Fix lint
(cherry picked from commit 690813e1b1)
2023-09-26 10:39:14 +02:00
Florian Bruhin 318e3e709e Skip test_real_chromium_version on newer Qt versions
Is wrong on unstable Archlinux env when Qt is newer than PyQt. But no need for this when we have the API anyways.

(cherry picked from commit a6171337f9)
2023-09-26 10:39:14 +02:00
Florian Bruhin 67ba307301 Merge remote-tracking branch 'origin/pr/7934'
(cherry picked from commit f8e7fea0be)
2023-09-26 07:42:04 +02:00
Florian Bruhin 80783a7b54 Remove QListView border
Fixes #7937

(cherry picked from commit 3ee2858a141e62ca7d3473f1c2fefb1108c62535)
2023-09-25 16:59:17 +02:00
Florian Bruhin a921cdf9af Fix lint
(cherry picked from commit 88b2a7c871)
2023-09-25 07:01:06 +02:00
Florian Bruhin 45ea994c94 Fix and improve workaround
See #7913

(cherry picked from commit 45e168f511)
2023-09-24 23:37:34 +02:00
Florian Bruhin 1478f9dabe Work around QtWebEngine bug when serializing empty history
See https://bugreports.qt.io/browse/QTBUG-117489
Closes #7913

(cherry picked from commit 5a05a93e38)
2023-09-24 21:17:20 +02:00
Florian Bruhin 90d16b596a Add TabBarStyle TypeError workaround
(cherry picked from commit 434f6906f9)

# Conflicts:
#	doc/changelog.asciidoc
2023-09-21 11:24:50 +02:00
Florian Bruhin b317038a01 eventfilter: Also enable workaround on wayland-egl
Will be fixed nicely on main, this is a more minimal fix
2023-09-18 18:03:21 +02:00
Florian Bruhin 5cd136649a Update Chromium version comments
(cherry picked from commit d5b5f26996)
2023-09-10 14:46:45 +02:00
Florian Bruhin 8b6b595efd First chromium version update for Qt 6.6
(cherry picked from commit 08e498e207)
2023-09-10 14:46:18 +02:00
toofar 87ab35995a userscripts: run view_in_mpv jseval in main world
1. run jseval in main world: the script adds an element that calls the
   `restore_video` function. This was failing with a "not found" message
   on webengine, presumably because the dom click handler runs in the
   main world and the function was over in the jseval world. The the
   script predates webengine which is the backend that implements the
   worlds.
2. remove a console log message, seems to be just noise and easy enough
   to add back later
3. remove href attribute of the restore video link: this seemed to be
   causing the `restore_video` method to be called twice. The second
   time with `this` as the global Window object, which was causing an
   error because that has a null `parentNode` attribute.
4. added the `cursor: pointer` style that was needed since the element
   didn't have an href anymore
5. change the mpv flags `--terminal` -> `--quiet`. This means we get
   error messages (eg from yt-dlp) in error logs and in the `:process`
   page now. It can get a bit spammy though if you are running from a
   terminal. I'm getting a log of keepalive warning and error logs from
   ffmpeg. On the other hand it's really annoying to see a "process
   failed, see :process for details" and having no error messages in
   there.

Fixes: #7838
(cherry picked from commit d4a7619f9c)
2023-09-10 12:09:44 +02:00
Florian Bruhin 3be9d4aa03 ci: Fix changelog URL for releases
(cherry picked from commit 07e1376e64)
2023-09-10 12:09:16 +02:00
toofar 3a37532efa Merge pull request #7888 from brightonanc/timer-repairs
Fixing timers accumulating duplicate slots

(cherry picked from commit 923d327c04)
2023-09-10 12:08:28 +02:00
Florian Bruhin c0b624a06e tests: Ignore some more irrelevant messages
(cherry picked from commit ae2e679dfc)
2023-09-06 16:38:54 +02:00
toofar b5f68e0eea Merge pull request #7847 from pylbrecht/broken-hints
Allow navigating from file:// to remote origins via hints.

Previously you would have seen a "Your internet access is blocked"
chrome error page.
2023-09-06 15:39:40 +02:00
Philipp Albrecht 2d19fad1cc Handle count exceeding string to int conversion
When handling counts during keyparsing we convert the count string to an integer. If the
count is too high (i.e. the count string has too many digits), we run into Python's
integer string conversion length limit[1]:
```
ValueError: Exceeds the limit (4300 digits) for integer string conversion: value has
4301 digits; use sys.set_int_max_str_digits() to increase the limit
```

Instead of blowing up with an exception, we now handle this more gracefully by showing
an error message.

Reproducer:
```
$ qutebrowser --temp-basedir ":later 500 fake-key -g $(printf '1%.0s' {1..4301})j"
```

**NOTE:**
I had to rename `_debug_log()`'s `message` argument to `msg`, because pylint yelled at
me for redefined-outer-name[2].

[1] https://docs.python.org/3/library/stdtypes.html#integer-string-conversion-length-limitation
[2] https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/redefined-outer-name.html

(cherry picked from commit 51aa7abe54)
2023-08-29 12:04:04 +02:00
Florian Bruhin 24d6db5744 Fix QHostInfo unit tests
(cherry picked from commit 8c2e23d248)
2023-08-22 17:20:04 +02:00
Florian Bruhin 52f2697cba Fix url.auto_search=dns on Qt 6
With PyQt6, comparing an enum member to bool will always be False.

(cherry picked from commit 47daa9d872)

# Conflicts:
#	doc/changelog.asciidoc
2023-08-22 16:44:54 +02:00
qutebrowser bot b11ead8f42 Release v3.0.0 2023-08-18 14:15:48 +00:00
Florian Bruhin 967d0ce291 Revert "Release v3.0.0"
This reverts commit f3692d8f28.
2023-08-18 16:14:34 +02:00
Florian Bruhin 597873286c Use different PyPI token tempoarily
See https://github.com/pypi/support/issues/3111
2023-08-18 16:14:27 +02:00
qutebrowser bot f3692d8f28 Release v3.0.0 2023-08-18 13:38:14 +00:00
Florian Bruhin d4cc897bed Edit changelog for v3.0.0 2023-08-18 15:35:48 +02:00
Florian Bruhin adc2e1af7b Update install instructions
Closes #7833
2023-08-18 12:29:03 +02:00
Florian Bruhin bee84309c5 Ignore drag events on Qt 6.5.2 on Wayland
Closes #7827
2023-08-18 01:30:37 +02:00
Florian Bruhin 856d483724 Fix test on QtWebKit 2023-08-18 01:00:30 +02:00
Florian Bruhin 300bf173b8 Fix tests for new navigation request log output 2023-08-17 23:37:48 +02:00
Florian Bruhin a2697feb48 Work around back/forward navigation from qute://bookmark
With Qt 6.3+, user interaction is required to navigate outside of qute:// from a
qute:// page.

Follow-up to 8defe1ae44.
Also see 216a9f9a9b

Fixes #7815

See #7220 - should be revisited once we have a qute-bookmarks:// instead where
we can adjust permissions when registering the URL handler.
2023-08-17 23:00:04 +02:00
Florian Bruhin 051b0d6087
Merge pull request #7828 from pylbrecht/corrupt-session
Don't include "dead" tabs when saving sessions
2023-08-17 20:09:45 +02:00
Florian Bruhin d5a8f22a2a
Merge pull request #7832 from qutebrowser/auto-releases
Releases on CI
2023-08-17 20:05:24 +02:00
Florian Bruhin a4d22e9bd9 Fixup OpenSSL warning hint 2023-08-17 18:51:45 +02:00
Florian Bruhin 90f2cda25c Add hint to OpenSSL warning
See https://www.reddit.com/r/qutebrowser/comments/15tilax/troubleshooting_cannot_download_after_update_tls/
2023-08-17 18:48:16 +02:00
Florian Bruhin 8795b88d35 ci: Fix JS style issues 2023-08-17 14:51:53 +02:00
Florian Bruhin ffbbc3d9e7 Remove old download_release.sh
Releases aren't hosted on qutebrowser.org anymore
2023-08-17 14:47:49 +02:00
Florian Bruhin 9dfe641263 ci: Switch from experimental to real releases 2023-08-17 14:47:49 +02:00
Florian Bruhin 5567c9290b Update releasing docs 2023-08-17 14:47:49 +02:00
Florian Bruhin 60eb849fad ci: Check for open milestone before release 2023-08-17 12:42:21 +02:00
Florian Bruhin bcbfc2b68c ci: Add IRC notification for main channel
Releases are probably important enough
2023-08-17 12:42:21 +02:00
Florian Bruhin 67ae39561a ci: Use -x for cherry picks 2023-08-17 12:42:21 +02:00
Florian Bruhin fa74860417 ci: Use earlier release ID 2023-08-17 12:42:21 +02:00