Commit Graph

17419 Commits

Author SHA1 Message Date
Florian Bruhin
94542c5f78 Merge branch 'greasemonkey-quirks' 2019-02-25 09:56:18 +01:00
Florian Bruhin
b10366ec3a Edit changelog for v1.6.0
Closes #4593
2019-02-25 09:38:29 +01:00
Florian Bruhin
8642b6e8ce Fix JSTester.run_file() for new pkg_resources
Read the file via open() instead of utils.read_file.
2019-02-25 09:28:25 +01:00
Florian Bruhin
0e11b85474 Re-enable stylesheet tests for Qt 5.12
This partially reverts commit 0953596ed6.
This reverts commit 0aa342eae6.
2019-02-25 09:28:25 +01:00
Florian Bruhin
102b1091af Add more to changelog 2019-02-25 09:28:25 +01:00
Florian Bruhin
949da84581 Add QUTE_SKIP_LIBGL_WORKAROUND 2019-02-24 13:49:33 +01:00
Florian Bruhin
d283e2250f Update changelog 2019-02-23 19:00:04 +01:00
Florian Bruhin
9f2073161e Merge remote-tracking branch 'origin/pr/4339' 2019-02-23 18:55:39 +01:00
Florian Bruhin
81eee2b989 windows: Bring back 32-bit support
Qt 5.12 brought back 32-bit Windows releases for QtWebEngine.

Reverts 0af8eec73a
Reverts 7a9183d0b7
Fixes #4598
2019-02-23 17:16:41 +01:00
Florian Bruhin
7406666f32
Merge pull request #4603 from jgkamat/jay/copyright-2019
Update copyright for 2019
2019-02-23 13:01:59 +01:00
Florian Bruhin
6dd978ae05 GreaseMonkey: Force document-end for known-broken scripts
See #4322
2019-02-23 12:52:30 +01:00
Florian Bruhin
fa3612897b Call webenginequtescheme.init() in fixtures.testdata_scheme 2019-02-23 12:52:07 +01:00
Jay Kamat
afed360f16
Double-check url is valid in leave_on_load 2019-02-22 21:55:11 -08:00
Jay Kamat
961a4b206c
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/insert-no-leave 2019-02-22 21:53:00 -08:00
Jay Kamat
3e816f5f8b
Update copyright for 2019 2019-02-22 21:45:08 -08:00
Florian Bruhin
7c1ddb39d1 Remove unused import 2019-02-22 11:28:06 +01:00
Florian Bruhin
99c8b80a46 Use i- as prefix for the IPC path on macOS
With Qt 5.12, standarddir.runtime() gives us a path in /private/var/folders/...
instead of /var/folders/... like before. Due to that change, the path length is
105 chars, which is too long for a named socket (104 seems to be okay).

The complete name is just slightly too long, so using i- instead of ipc- fixes
things...

Fixes #4471
See #888
2019-02-22 10:22:09 +01:00
Florian Bruhin
81889dd7bd Update user agent completion
Fixes #4575
2019-02-21 17:10:15 +01:00
Florian Bruhin
b10d84f31a Warn when combining Qt 5.12 with older Qt
Fixes #4581
2019-02-21 14:11:30 +01:00
Florian Bruhin
03e7fdf507 Update _chromium_version comment 2019-02-21 13:31:10 +01:00
Florian Bruhin
be26efddd3 Disallow PAC proxies with QtWebEngine
See #4577
2019-02-21 13:29:06 +01:00
Florian Bruhin
17846ea386 Skip flaky test 2019-02-17 22:39:58 +01:00
Florian Bruhin
31c2fe2c72 travis: Remove allow_failures 2019-02-17 21:41:56 +01:00
Florian Bruhin
2b262f6f78 travis: Install libxkbcommon for PyQt 5.12
See https://www.riverbankcomputing.com/pipermail/pyqt/2019-February/041363.html
Fixes #4478
2019-02-17 21:04:37 +01:00
Florian Bruhin
e027c3056c Update macOS commandline in travis_run 2019-02-17 21:04:14 +01:00
Florian Bruhin
34b2e5bec1 travis: Use PyPI PyQt for macOS
The Homebrew PyQt is quite out of date (5.10), and this is probably faster.
2019-02-17 21:04:14 +01:00
Florian Bruhin
ed6ca97397 travis: Restructure 2019-02-17 21:04:14 +01:00
Florian Bruhin
194cf85ab7 Remove useless suppression
Now my local pylint and Travis suddenly agree again?
2019-02-17 18:59:58 +01:00
Florian Bruhin
a2c7908414 Remove unused import 2019-02-17 18:53:47 +01:00
Florian Bruhin
04764b9c39 Adjust filename suffix matching for Qt 5.12
https://codereview.qt-project.org/#/c/247517/
https://chromium-review.googlesource.com/c/chromium/src/+/1278137
https://cs.chromium.org/chromium/src/base/time/time_to_iso8601.cc

Fixes #4478
Fixes #4580
2019-02-17 17:53:17 +01:00
Florian Bruhin
d97a186992 Use qtutils.version_check to check for signal availability
With Qt 5.12 but an older PyQt, it looks like the attributes are available, but
connecting fails with:

    TypeError: C++ type 'QWebEngineClientCertificateSelection' is not supported
    as a signal argument type

Let's ensure we require both a new Qt and PyQt instead.
2019-02-17 17:29:27 +01:00
Florian Bruhin
64f7692d74 Update qute://settings CSRF tests for Qt 5.12
See #4478
2019-02-17 17:15:03 +01:00
Florian Bruhin
39cc352253 Refactor qute://settings CSRF tests 2019-02-17 17:15:01 +01:00
Florian Bruhin
4c54ebf70f Allow unique initiator requests to qute://testdata
In tests/unit/browser/test_caret.py in the test
TestFollowSelected::test_follow_selected_with_link we follow a link from
qute://testdata/data/caret.html to qute://testdata/data/hello.txt.

For some reason, Qt 5.12 treats that as an unique/opaque origin with Qt 5.12,
causing the request to be blocked and the test to fail.

To avoid this, we now allow all opaque requests to qute://testdata URLs. This
isn't a problem because a qute://testdata handler is only registered inside
tests anyways.

See #4478
2019-02-17 17:14:58 +01:00
Florian Bruhin
152abb0d64 Update docs 2019-02-17 16:03:55 +01:00
Florian Bruhin
0aa3a280f2 Consistent spacing 2019-02-17 16:03:14 +01:00
Florian Bruhin
6305eb7860 Add comment in render_widget() 2019-02-17 16:02:38 +01:00
Florian Bruhin
82f8fc658d Expose abort_questions signal in WebEngineTab 2019-02-17 16:02:38 +01:00
Florian Bruhin
bbfdf1f6fa
Merge pull request #4567 from jgkamat/jay/512-settings
Add setting for DnsPrefetchEnabled
2019-02-17 16:02:23 +01:00
Florian Bruhin
e9908c1d0b
Merge pull request #4528 from blueyed/doc
doc: link CVE  [ci skip]
2019-02-17 15:27:18 +01:00
Florian Bruhin
267537d58a Implement basic client certificate support
Certificate selection when there are multiple matches isn't implemented yet.

See #3992, #3011, #4587.
2019-02-17 15:01:06 +01:00
Florian Bruhin
0599e11dd4 Update _chromium_version comment 2019-02-17 00:40:40 +01:00
Florian Bruhin
8d5aef6f6e Add new warning to qt_log_ignore
This gets shown from time to time in test_take_a_tab_from_the_same_window in
tabs.feature.
2019-02-17 00:01:32 +01:00
Florian Bruhin
b3e1bac11b travis: Allow Qt 5.12 to fail for now
See #4478
2019-02-16 23:19:28 +01:00
Florian Bruhin
05f22796f7 travis/tox: Add PyQt 5.12
See #4478
2019-02-16 23:16:08 +01:00
Florian Bruhin
64dc28c568 Remove pylint suppression for sip.assign
We can control the installed sip version nowadays
2019-02-16 21:14:27 +01:00
Florian Bruhin
2214fd63b5 Merge branch 'pyup-scheduled-update-2019-02-11' 2019-02-16 21:02:39 +01:00
Florian Bruhin
b31e5642de Fix double PyQt5 requirement
PyQt5-stubs tries to pull in PyQt5 5.11.3 but we want PyQt 5.12 (which works
fine) from requirements-pyqt.txt.
2019-02-16 21:01:55 +01:00
Florian Bruhin
9ce8e40a90 Fix flake8 again 2019-02-16 20:58:59 +01:00
Florian Bruhin
a001fd1099 Re-add some deprecation warning filters
Turns out there never was a PyPEG2 release...
2019-02-16 20:19:59 +01:00