Commit Graph

412 Commits

Author SHA1 Message Date
Florian Bruhin
7e7d18f113 Release v1.5.0 2018-10-03 15:55:48 +02:00
Florian Bruhin
b06bcafdb6 Update changelog for v1.5.0 2018-10-03 15:55:48 +02:00
Florian Bruhin
9ca6da485c Handle None values in lessThan 2018-10-03 15:15:25 +02:00
Florian Bruhin
fc446a9971 Update changelog 2018-10-02 13:34:44 +02:00
Florian Bruhin
8a7c1b66a4 Add :tab-{give,take} --keep 2018-10-01 16:54:02 +02:00
Florian Bruhin
a3ae950707 Ignore click events with invalid positions
Since Qt 5.11.2, various crash logs like this popped up after clicking a
<select> element:

    Traceback (most recent call last):
      File ".../browser/mouse.py", line 239, in eventFilter
        return self._handlers[evtype](event)
      File ".../browser/mouse.py", line 121, in _handle_mouse_press
        self._mousepress_insertmode_cb)
      File ".../browser/webengine/webenginetab.py", line 624, in find_at_pos
        assert pos.x() >= 0
    AssertionError

This is probably caused by https://codereview.qt-project.org/#/c/193908/ in
some way...
2018-09-30 22:55:17 +02:00
Florian Bruhin
45a3611b62 Update docs 2018-09-30 22:08:00 +02:00
Florian Bruhin
96f28c6f72 Show errors on invalid --mode argument for :hint 2018-09-30 11:45:59 +02:00
Florian Bruhin
d362299e4e Repeat last run macro with @@ 2018-09-30 11:09:42 +02:00
Florian Bruhin
2f121d77df Update docs 2018-09-28 19:38:17 +02:00
Florian Bruhin
282fbaf447 Update docs 2018-09-28 16:41:48 +02:00
Florian Bruhin
4d080d3209 Update docs 2018-09-28 12:35:24 +02:00
Florian Bruhin
4bd78e4d0d Update docs 2018-09-28 12:23:18 +02:00
Florian Bruhin
947c70c6ff Update changelog 2018-09-27 23:26:19 +02:00
Florian Bruhin
36d7dc4853 Add :prompt-open-download --pdfjs 2018-09-27 22:25:29 +02:00
Florian Bruhin
bfa7d6a566 Update docs 2018-09-27 16:36:33 +02:00
Florian Bruhin
a8355022db Pass through Ctrl+Mousewheel in passthrough mode
See #3836
2018-09-25 20:39:42 +02:00
Florian Bruhin
22a4aaa73c Handle empty session files gracefully
There's still much more to do for #1926, but with this we at least handle one
common case gracefully.

No tests because test_sessions.py is still in a kinda bad place...
2018-09-22 19:29:36 +02:00
Florian Bruhin
0147ff192a Update docs 2018-09-20 20:27:24 +02:00
Florian Bruhin
b4a0e16db9 Fix appending text
This was broken in 6e954a1596.
2018-09-19 21:56:39 +02:00
Florian Bruhin
94117bc6b2 Update docs 2018-09-18 20:29:28 +02:00
Florian Bruhin
f2e91cc82e Add warnings for QtWebKit and old Qt
See #3839, #4039
2018-09-18 08:53:11 +02:00
Florian Bruhin
17c7663ad0 Make content.headers.referer work on QtWebEngine 2018-09-17 19:40:18 +02:00
Florian Bruhin
bd21686e0d Add webrtc_ip_handling_policy setting
This exposes all possible values, but before
https://codereview.qt-project.org/#/c/240121/ we won't be able to change those
at runtime (or enable URL patterns, which thankfully weren't enabled for the
old setting).

In theory, it'd be possible to handle the "public-interface-only" value via
QWebEngineSettings without requiring a restart, but it isn't worth the trouble.

Closes #4201
2018-09-17 18:39:41 +02:00
Florian Bruhin
6fe09c12da Add a setting for Chromium's low-end device mode
See #4039
See #2377
2018-09-17 18:39:41 +02:00
Florian Bruhin
574d7c6a11 Add settings for process models
See #4039, #2377
Fixes #4040
2018-09-17 17:22:51 +02:00
Florian Bruhin
be0d6ef3d2 Try more possible asciidoc paths for qute://help fallback 2018-09-17 09:51:15 +02:00
Florian Bruhin
f9327731b8 Handle UTF-8 byte order marks in Greasemonkey scripts
See e.g. https://github.com/jerone/UserScripts/issues/135
2018-09-12 23:54:32 +02:00
Jay Kamat
59af280f5c
Merge pull request #4206 from airodactyl/feature/support-multiple-words-tab-give-take
Support multiple words for :tab-take without quotes
2018-09-11 18:37:21 -07:00
Jay Kamat
d298d49f6f Update changelog 2018-09-11 15:26:38 -07:00
Florian Bruhin
6a480564cb Fix docs to say XDG_DATA_HOME instead of _DIR 2018-09-11 19:44:37 +02:00
Florian Bruhin
3138c1f488 Update changelog 2018-09-10 11:58:27 +02:00
Florian Bruhin
b611ff52cf Support URL patterns for content.autoplay 2018-09-09 18:31:41 +02:00
Florian Bruhin
0b27779c9d Allow null initiator for qute:// URLs on Qt 5.11
Before Qt 5.11.2, for unique origins, we always got QUrl() and thus passed it
through.

With Qt 5.11.2, only missing origins (browser-initiated requests) get an empty
initiator, while unique origins get QUrl("null"):
https://codereview.qt-project.org/#/c/234849/
https://bugreports.qt.io/browse/QTBUG-69372

In theory, those should be locked down (as an unique origin is e.g. a sandboxed
iframe) and never have access to any other content.

However, thanks to a Qt bug, XHR on qute:// pages has QUrl("null") as origin as
long as the URL scheme is not registered. We can only do the registering once
Qt 5.12 is out.

Since unique origins were effectively already allowed on Qt 5.11.0/.1, we pass
them through here as well until Qt 5.12.

See #4198
2018-09-07 12:25:07 +02:00
Florian Bruhin
9a6c8fe1b9 Update changelog 2018-09-06 17:26:28 +02:00
Florian Bruhin
9a9aefeabf Update changelog 2018-09-06 16:18:26 +02:00
Florian Bruhin
e2b14caa5c Update changelog 2018-09-05 14:48:31 +02:00
Florian Bruhin
2fcdc5a0c9 Merge branch 'blacklist-history' 2018-09-04 22:19:52 +02:00
Florian Bruhin
f028759125 Update changelog 2018-09-02 15:47:53 +02:00
Florian Bruhin
e8937b55f2 Fix up changelog for v1.4.2 2018-09-02 14:56:09 +02:00
Florian Bruhin
46b430c95b Update changelog for v1.4.2 2018-09-02 14:51:25 +02:00
Florian Bruhin
dbdeb6a9c7 Rename history.exclude to completion.web_history.exclude
If the blacklist is only valid for the completion, the setting should also be
under completion.

This also un-renames history.gap_interval and renames
completion.web_history_max_items.
2018-09-02 14:42:47 +02:00
Florian Bruhin
d62f502e81 Update changelog 2018-09-02 14:42:47 +02:00
Florian Bruhin
67b4b7d490 Handle :// as URL pattern 2018-09-02 11:58:34 +02:00
Florian Bruhin
003f667d4f Update changelog 2018-08-31 16:49:13 +02:00
Florian Bruhin
b7b3473f74 Update changelog 2018-08-30 07:50:31 +02:00
Florian Bruhin
8459afb76e Recognize "Command"/"Cmd" in keybindings 2018-08-28 18:57:47 +02:00
Florian Bruhin
23991ccb4e Update changelog 2018-08-27 10:07:36 +02:00
Florian Bruhin
1dd857a51a Implement MouseLock permission
Closes #3287
2018-08-24 23:31:04 +02:00
Jay Kamat
995f9b47a0
Update changelog 2018-08-18 13:42:07 -07:00
Florian Bruhin
de8fd25f43 Change key to leave passthrough mode to Shift-Escape
We changed this a while ago in a2f62238f1
already, but Ctrl-V was kind of cumbersome as well, as it conflicted with
pasting.

Shift-Escape is closer to the default leave-mode binding (Escape), and also
unlikely to conflict as it's used for the task manager in Chrome.
2018-08-15 18:34:26 +02:00
Florian Bruhin
364b808743 Update changelog for v1.4.2 2018-08-15 10:57:10 +02:00
Florian Bruhin
92a8563090 Update changelog 2018-08-13 09:21:21 +02:00
Florian Bruhin
8e6f79755d Update changelog 2018-08-12 20:25:23 +02:00
Florian Bruhin
e927fecbbc Make content.webrtc_public_interfaces_only work on Qt 5.11
69abc9a1a1 added the argument for Qt 5.9, but
didn't add the QWebEngineSetting for Qt >= 5.11.

See #3010, #2163.
2018-08-08 20:48:33 +02:00
Florian Bruhin
20d29aab46 Update changelog 2018-08-08 08:44:50 +02:00
Florian Bruhin
4482c41ef7 Update changelog 2018-08-07 16:42:59 +02:00
Florian Bruhin
7ac7ccc296 Ignore invalid URLs in acceptNavigationRequest 2018-07-28 09:18:50 +02:00
Florian Bruhin
d62a70267e Update changelog 2018-07-24 16:05:03 +02:00
Florian Bruhin
1413c910c6 Update changelog 2018-07-24 15:42:14 +02:00
Florian Bruhin
a8e2a04648 Update changelog 2018-07-19 00:28:51 +02:00
Florian Bruhin
a72eee8e39 Enable XSS auditing by default
Qt disables this by default, but Chromium does have it enabled.

I also submitted a change to Qt to hopefully enable it by default there
starting with Qt 5.12: https://codereview.qt-project.org/#/c/198354/15

This also removes the claim of having a (big) performance impact, as Chromium's
XSS design doc says the opposite:
https://www.chromium.org/developers/design-documents/xss-auditor
2018-07-17 12:01:17 +02:00
Florian Bruhin
570fe3ed1a Update changelog 2018-07-16 08:17:24 +02:00
Florian Bruhin
ae0df2093b Update changelog for v1.4.1 2018-07-11 17:15:32 +02:00
Florian Bruhin
4c2d69ccaf Update changelog 2018-07-11 14:10:38 +02:00
Florian Bruhin
0a882739c8 Update changelog 2018-07-10 16:08:32 +02:00
Florian Bruhin
e24c723700 Update changelog 2018-07-10 15:16:33 +02:00
Florian Bruhin
0a31e19eda Handle download errors when the reply is already gone
Fixes #1270
2018-07-03 17:16:02 +02:00
Florian Bruhin
85cc1e4f84 Update changelog for v1.4.0 2018-07-03 15:44:25 +02:00
Florian Bruhin
dfafab4cff Update changelog 2018-07-03 13:52:50 +02:00
Florian Bruhin
5add2cd930 Update changelog 2018-07-03 11:15:59 +02:00
Florian Bruhin
ad19833e34 Revert "Add workaround for PyQt 5.11 headerDataChanged bug"
PyQt 5.11.1 has already been released, with the bug fixed.

This reverts commit 291763a55643342a6f977ce2a12dcc6f4badbe8a.
2018-07-02 22:32:59 +02:00
Florian Bruhin
eca08f064b Add workaround for PyQt 5.11 headerDataChanged bug
https://www.riverbankcomputing.com/pipermail/pyqt/2018-June/040445.html
2018-07-02 22:32:59 +02:00
Florian Bruhin
c3455d9082 Add a wrapper around sip
Starting with PyQt 5.11, the sip module now is bundled with PyQt as PyQt.sip.
Having a qutebrowser.qt also helps with #3625, see #995
2018-07-02 22:32:59 +02:00
Florian Bruhin
a7af5195d1 Set title when showing PDF.js error page
Fixes #3894
2018-06-28 11:22:44 +02:00
Florian Bruhin
aed964d9f5 Update changelog 2018-06-26 10:41:21 +02:00
Florian Bruhin
8a4bba11ed Disable certificate workaround on Qt >= 5.9
Fixes #4020
2018-06-25 20:35:48 +02:00
Florian Bruhin
13f765a000 Fix changelog formatting 2018-06-24 22:33:46 +02:00
Florian Bruhin
f2f481d991 Support URL patterns for permissions and ssl_strict
See #3636
2018-06-24 21:38:37 +02:00
Florian Bruhin
e6e844b039 Support URL patterns for content.headers settings
See #3636
2018-06-24 19:54:24 +02:00
Florian Bruhin
a02c25dfb1 Don't escape URLs for qute://history
We only use the URL to set a 'href' attribute, which does not need escaping.

See #4011
Fixes #4012
2018-06-23 14:27:07 +02:00
Florian Bruhin
66fc3a30dd Update changelog 2018-06-21 23:30:27 +02:00
Florian Bruhin
7a7e04a054 Move fix to v1.3.3 in changelog 2018-06-21 21:42:44 +02:00
Florian Bruhin
d961eab1d2 Update changelog for v1.3.3 2018-06-21 21:42:08 +02:00
Florian Bruhin
62d8b5b574 Don't depend on PyQt5.QtQuickWidgets to get RWHV
Some distributions (at least FreeBSD) don't package that module, so let's not
rely on it.
2018-06-21 17:14:29 +02:00
Florian Bruhin
c87757a913 Revert "Properly add QtQuickWidgets dependency"
Looks like FreeBSD doesn't have QtQuickWidgets packaged at all, so let's do the
same without requiring it...

This reverts commit e5405f0ae9.
2018-06-21 16:35:29 +02:00
Florian Bruhin
e5405f0ae9 Properly add QtQuickWidgets dependency 2018-06-21 00:21:52 +02:00
Florian Bruhin
3399f2df96 Always clear searches between page loads
Looks like this wasn't properly fixed in Qt for some reason.
Fixes #3693
See #2728 and bef372e5f5
2018-06-17 21:03:44 +02:00
Florian Bruhin
2029f52fdc Show cause when ~/.netrc can't be read 2018-06-17 20:53:29 +02:00
Florian Bruhin
663d1a4d2f Read dictionaries from /usr/share/qt on Qt >= 5.10
Fixes #3759
Supersedes #3762
See #2939, #4003
2018-06-17 20:27:52 +02:00
Florian Bruhin
7b7e0c93f5 Update Chromium version in changelog 2018-06-16 11:54:53 +02:00
Florian Bruhin
f4386fa9ea Update changelog 2018-06-14 16:35:16 +02:00
Florian Bruhin
7592186181 Update changelog 2018-06-14 14:58:07 +02:00
Florian Bruhin
5435609552 Update changelog 2018-06-12 16:50:32 +02:00
Florian Bruhin
d5dcec4320 Add changelog entry for Qt update 2018-06-12 13:44:41 +02:00
Florian Bruhin
6faff11243 Improve error messages with backend conditionals 2018-06-12 11:10:03 +02:00
Florian Bruhin
3b0c8e46a3 Add an initial cookie filter for Qt 5.11
See #3010
2018-06-12 09:36:05 +02:00
Florian Bruhin
093f07f552 Add content.canvas_reading setting
See #2377
Closes #2235
2018-06-11 23:28:04 +02:00
Florian Bruhin
e7659cea63 Update changelog 2018-06-11 20:24:00 +02:00
Florian Bruhin
263d298449 Remove the content.developer_extras setting 2018-06-11 18:09:24 +02:00