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
Florian Bruhin
22b58e011d
Update requirements
2019-02-16 20:17:52 +01:00
Florian Bruhin
5a319cc505
Be more strict about Python deprecation warnings again
...
The warnings caught in earlyinit.py got fixed in the affected dependencies.
The collections.abc warning also seems to be fixed in everything but PyYAML.
2019-02-16 20:10:29 +01:00
Florian Bruhin
94f998ac3a
Adjust for new pytest import handling
...
See #4511
2019-02-16 20:00:01 +01:00
Florian Bruhin
b6a7fc5984
Update pytest warnings ignore
...
We don't need the one for pytest-benchmark anymore, but we need one for
pytest-bdd.
See https://github.com/pytest-dev/pytest-bdd/pull/288
See #4511
2019-02-16 19:59:55 +01:00
Florian Bruhin
3fd7b58107
Fix pylint on CI
...
For some reason, we get an error here on Travis but not locally. This happens
even with the same Python/pylint/astroid versions...
2019-02-16 19:51:58 +01:00
Florian Bruhin
2d996baea0
Fix remaining new flake8 issues
2019-02-16 19:51:58 +01:00
Florian Bruhin
7c87f4e3d0
s/qApp/q_app/g
2019-02-16 19:51:58 +01:00
Florian Bruhin
62059c27f3
Use per-file-ignores built into the new flake8
2019-02-16 18:00:10 +01:00
Florian Bruhin
018d207941
Update requirements-pyqt properly for Qt 5.12
2019-02-16 17:24:23 +01:00
Florian Bruhin
823a0de884
Check for updated docs in all affected tests
...
Fixes #4576
2019-02-16 01:43:20 +01:00
Florian Bruhin
a8910f5ef5
Fix up _asciidoc_fallback_path
...
Note to self: Don't do coding in bed at 1 AM.
See #4576
2019-02-16 01:10:03 +01:00
Florian Bruhin
0de43e3438
_asciidoc_fallback_path: Remove reading from parent directories
...
Reading paths from outside the Python package worked in pkg_resources < 40.8.0
but got deprecated afterwards: https://github.com/pypa/setuptools/pull/1640
Since this isn't really any critical functionality, let's just not try reading
from there. We can still revisit this when the switch to Sphinx is complete.
Fixes #4576 (hopefully)
See #345
2019-02-16 01:05:27 +01:00
Florian Bruhin
6519ac5cca
Add normpath in _asciidoc_fallback_path
...
See #4576
2019-02-16 00:46:41 +01:00
Florian Bruhin
6ca6271170
Add additional asserts to utils.read_file
...
See #4576
2019-02-16 00:23:52 +01:00
Florian Bruhin
ac1e8a4efe
Add window.print() support for Qt 5.12
...
See #3992
2019-02-15 23:25:59 +01:00
Florian Bruhin
e1f0d994fd
Use /bin/bash for format_json userscript
...
The pipefail option is undefined in POSIX sh:
https://github.com/koalaman/shellcheck/wiki/SC2039
2019-02-15 23:25:59 +01:00
Jay Kamat
17eff15ab6
Merge pull request #4424 from qutebrowser/stylesheet-fix
...
stylesheet.js: Check if document.documentElement exists
2019-02-14 20:14:15 -08:00
Jay Kamat
4039b3188f
Update changelog
2019-02-14 17:52:57 -08:00
Jay Kamat
bc29ff60b3
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into stylesheet-fix
2019-02-14 17:51:19 -08:00
Jay Kamat
266a4c16fd
Fix lint errors
2019-02-14 17:51:04 -08:00
Florian Bruhin
5fdcaefbbe
Merge pull request #4463 from mvanaltvorst/donottrack
...
Remove outdated X-Do-Not-Track
2019-02-14 14:38:09 +01:00
Jay Kamat
eaffed0b80
Update changelog
2019-02-13 23:29:00 -08:00
pyup-bot
be2d362417
Update virtualenv from 16.1.0 to 16.4.0
2019-02-11 19:41:16 +01:00
pyup-bot
9a0c517858
Update tox from 3.6.1 to 3.7.0
2019-02-11 19:41:14 +01:00
pyup-bot
3e4bd7c35c
Update pytest-xvfb from 1.1.0 to 1.2.0
2019-02-11 19:41:12 +01:00
pyup-bot
7a944dfac3
Update pytest-rerunfailures from 5.0 to 6.0
2019-02-11 19:41:11 +01:00
pyup-bot
c1254c3965
Update pytest-mock from 1.10.0 to 1.10.1
2019-02-11 19:41:09 +01:00
pyup-bot
b11f9a2410
Update pytest-cov from 2.6.0 to 2.6.1
2019-02-11 19:41:08 +01:00
pyup-bot
787aed8164
Update pytest-benchmark from 3.1.1 to 3.2.2
2019-02-11 19:41:06 +01:00