Florian Bruhin
ea80ded8d5
Try to stabilize editor end2end test
...
Let's also wait until we're sure the mtime changed here.
2018-02-08 20:21:25 +01:00
Florian Bruhin
15fecc962d
Fix lint
2018-02-08 11:41:58 +01:00
Florian Bruhin
53e7d13c2d
Skip failing scrolling tests on Qt 5.10 on Travis
...
See #3572
2018-02-08 10:42:55 +01:00
Florian Bruhin
c520130389
Add tests for a failing watch/unwatch
2018-02-08 10:29:23 +01:00
Florian Bruhin
9d32807e33
Don't try to remove watched files if none exist
...
If we try to remove watched files but we couldn't actually watch any earlier,
we'd get a Qt warning message:
QtWarningMsg: QFileSystemWatcher::removePaths: list is empty
2018-02-08 10:29:17 +01:00
Florian Bruhin
1da58b6a4c
Break long line
2018-02-08 09:54:20 +01:00
Florian Bruhin
b6f311f4b2
Remove workaround for old pylint issue
2018-02-08 09:52:14 +01:00
Florian Bruhin
35b56f2659
Remove eslint max-lines suppression
...
We already turn that off globally now.
2018-02-08 09:51:06 +01:00
Florian Bruhin
f51ac8ab6e
Log QFileSystemWatcher errors
2018-02-08 00:32:02 +01:00
Florian Bruhin
37a9691e29
Only focus qutebrowser again after editing finished
...
See #3431 , #3432
2018-02-07 23:14:16 +01:00
Florian Bruhin
3306247ae5
Merge branch 'editor-watch'
2018-02-07 22:31:49 +01:00
Florian Bruhin
cd97d5e6e2
Update changelog
2018-02-07 22:31:28 +01:00
Florian Bruhin
01ccbc679d
Fix lint
2018-02-07 22:26:32 +01:00
Florian Bruhin
abd56a5abd
Wait until the mtime changed
2018-02-07 21:40:03 +01:00
Florian Bruhin
7dbe9a59e8
Update changelog
2018-02-07 18:26:43 +01:00
Florian Bruhin
aa3970c83e
Merge branch 'pr/3371'
2018-02-07 18:26:19 +01:00
Florian Bruhin
1c662ae94c
Revive iframe test as flaky
...
See #1525
2018-02-07 18:25:25 +01:00
Florian Bruhin
0bdee1e292
Stabilize the flaky iframe test
...
The test above this one loads hello.txt, but we don't wait for the "load
finished" message, so it can arrive after the previous test already finished and
make this test not wait properly.
However, we also can't easily wait for the load finished message in the
previous test as it only appears with QtWebEngine, not QtWebKit.
As a workaround, we simply load another file in that test, to circumvent this
kind of cross-interaction.
2018-02-07 18:16:03 +01:00
Florian Bruhin
e874db9ce3
Remove pytest version filter
2018-02-07 12:05:29 +01:00
Florian Bruhin
5135e0f35d
Add .pytest_cache to .gitignore
2018-02-07 12:04:42 +01:00
Florian Bruhin
6d1e3fb2b7
Add missing more-itertools requirements
2018-02-07 12:04:09 +01:00
Florian Bruhin
e6a4237e1b
Revert "Downgrade PyQt again"
...
This reverts commit c987a94596
.
2018-02-07 11:53:47 +01:00
Florian Bruhin
e5771c785e
Merge branch 'pyup-scheduled-update-2018-02-05'
2018-02-07 11:49:03 +01:00
Florian Bruhin
29e8c01d17
Merge branch 'qt510-2'
2018-02-07 11:48:39 +01:00
Florian Bruhin
054b92bbe8
Support retrying downloads with Qt 5.10
...
Fixes #2787
2018-02-07 11:19:41 +01:00
Florian Bruhin
7537acfd5d
Use PyQt 5.10 on AppVeyor
2018-02-07 10:53:13 +01:00
Florian Bruhin
d9e095f7cf
Add PyQt 5.10 to Travis CI
...
See #3522
2018-02-07 10:52:34 +01:00
Florian Bruhin
5fd3943ebc
Make callback mandatory for tab.selection()
2018-02-06 23:33:37 +01:00
Florian Bruhin
c987a94596
Downgrade PyQt again
...
Upgrading PyQt in a separate branch.
2018-02-06 23:18:53 +01:00
Florian Bruhin
20d5b4e384
Update pytest log handling
...
In pytest 3.4, we now need to explicitly set the log level and caplog.at_level
now sets the level of the root handler.
2018-02-06 23:17:40 +01:00
Florian Bruhin
ce8d15d2b0
Simplify selection handling and remove QUTE_SELECTED_HTML
...
It was broken at least since caret support was introduced and it was only
available for QtWebKit anyways, so let's just drop it. This also makes the tab
API a bit simpler.
2018-02-06 22:48:00 +01:00
Florian Bruhin
16375f20d5
Always use JavaScript to get selection
...
It looks like getting the selection via the widget has issues even with Qt 5.10.
On Windows, we always get wrong results.
On Linux, it seems to be flaky. I first thought this was because of a race
between JavaScript setting the selection and Qt getting it, as now we don't use
JS to get the selection anymore, so it's possible that we get it before the
older JS code finished running. However, even calling selectedText() from a JS
callback didn't seem to help...
Since has_selection also is flawed and it taking a callback would make code more
complex as well, let's just assume there is a selection if the text is not
empty. In fact, that is exactly what QtWebEngine does for hasSelection anyways!
Fixes #3523
2018-02-06 21:58:31 +01:00
Florian Bruhin
8c39e8f764
Update changelog
...
[ci skip]
2018-02-06 14:13:06 +01:00
pyup-bot
9eefbf24a2
Update pytest-bdd from 2.19.0 to 2.20.0
2018-02-05 16:59:33 +01:00
pyup-bot
782ec573ab
Update pytest from 3.3.1 to 3.4.0
2018-02-05 16:59:32 +01:00
pyup-bot
8ee3c743e4
Update hypothesis from 3.44.21 to 3.44.25
2018-02-05 16:59:30 +01:00
pyup-bot
fac666e607
Update sip from 4.19.6 to 4.19.7
2018-02-05 16:59:29 +01:00
pyup-bot
67623930dd
Update pyqt5 from 5.9.2 to 5.10
2018-02-05 16:59:27 +01:00
pyup-bot
4a9cbf8930
Update pylint from 1.8.1 to 1.8.2
2018-02-05 16:59:26 +01:00
pyup-bot
08ea34174c
Update astroid from 1.6.0 to 1.6.1
2018-02-05 16:59:24 +01:00
pyup-bot
8579616fea
Update isort from 4.2.15 to 4.3.2
2018-02-05 16:59:23 +01:00
pyup-bot
417a114a94
Update isort from 4.2.15 to 4.3.2
2018-02-05 16:59:21 +01:00
pyup-bot
d3050d73ba
Update setuptools from 38.4.0 to 38.5.0
2018-02-05 16:59:19 +01:00
pyup-bot
46b85c11f1
Update flake8-bugbear from 17.12.0 to 18.2.0
2018-02-05 16:59:18 +01:00
pyup-bot
cfcd1bba1e
Update coverage from 4.4.2 to 4.5
2018-02-05 16:59:16 +01:00
pyup-bot
075dd8e0a4
Update coverage from 4.4.2 to 4.5
2018-02-05 16:59:15 +01:00
pyup-bot
8fc88a68fb
Update codecov from 2.0.14 to 2.0.15
2018-02-05 16:59:13 +01:00
Florian Bruhin
6f028e9ad0
Update copyright years
2018-02-05 12:19:50 +01:00
Florian Bruhin
c8de4675db
Various spelling fixes
2018-02-04 21:30:59 +01:00
Ryan Roden-Corrent
a8733d7228
Increase timeout in test_editor.
...
The test with watch=True was failing on the Travis OSX environment
becausee it was timing out before the file_updated signal was fired.
2018-02-04 07:02:25 -05:00