Commit Graph

16791 Commits

Author SHA1 Message Date
Florian Bruhin
22f2d04ded Fix lint 2018-10-06 19:19:30 +02:00
Florian Bruhin
c689760872 Sort keys in configtypes.Dict.to_str
Otherwise, we get inconsistent output between runs on Python 3.5
2018-10-06 19:18:43 +02:00
Florian Bruhin
f63eb8ea15 Avoid showing widgets in tests if unneeded
This avoids odd X errors with test_webenginetab.py, and also makes it run much
faster (0.8s instead of 1.3s).
2018-10-06 19:06:34 +02:00
Florian Bruhin
e01976277b Fix is_blocked signature in HostBlockerStub 2018-10-06 17:25:46 +02:00
Florian Bruhin
eb2ec3df58 Decrease num_tabs for test_add_remove_tab_benchmark
With 100 tabs, this takes 28s on my machine, and sometimes >90s on Travis.
With 70 tabs, it's down to 14s.
2018-10-06 12:28:49 +02:00
Florian Bruhin
4b76dc56e1 Merge remote-tracking branch 'origin/pr/4296' 2018-10-06 12:24:02 +02:00
Florian Bruhin
d86033677c Remove unused imports 2018-10-06 12:21:41 +02:00
Florian Bruhin
8185139416 Simplify :jseval tests
The @qt<5.11.2 mark in Qt also checks for the PyQt version, which causes this
tests to fail with a new Qt but old PyQt.
2018-10-06 12:21:19 +02:00
Florian Bruhin
af29762d76 Revert "Update changelog"
This reverts commit c9158caf4a.
Whoops, this wasn't in v1.5.0 at all...
2018-10-06 09:59:32 +02:00
Florian Bruhin
c9158caf4a Update changelog 2018-10-06 09:57:56 +02:00
Florian Bruhin
587b11f60d Make completion highlighting case-insensitive again
Fixes #4297
2018-10-06 09:57:01 +02:00
Jay Kamat
2f155e5d2b
Fix tabs appearing when updating all tab titles
Closes #4295
2018-10-05 18:55:30 -07:00
Florian Bruhin
fd48e29a54 Add test for per-domain content.host_blocking_enabled 2018-10-06 00:13:58 +02:00
Florian Bruhin
5fd20da915 Update docs 2018-10-06 00:13:58 +02:00
Florian Bruhin
c6dc9206e6 Handle invalid QUrl objects in HostBlocker.is_blocked
For some requests, we don't know a first party URL, so we get an invalid QUrl
object from QtWebKit/QtWebEngine.

However, the config system wants either a valid QUrl or None (for the global
value), so we don't accidentally pass an invalid QUrl in. Thus, do the
conversion here.
2018-10-06 00:13:58 +02:00
Florian Bruhin
14957c75ff Merge remote-tracking branch 'origin/pr/4046' 2018-10-05 23:36:40 +02:00
Florian Bruhin
20519d2061 Update changelog 2018-10-05 23:23:53 +02:00
Florian Bruhin
5ff5ca72d8 Use a real webengine_tab for TestWebengineScripts
This means the tests take a bit longer (1.2s instead of 0.6s), but I consider
that worth the trade-off for testing a real-world scenario.
2018-10-05 23:22:31 +02:00
Florian Bruhin
c225e724ac Merge remote-tracking branch 'origin/pr/4133' 2018-10-05 22:56:53 +02:00
Florian Bruhin
bb35285914 Fix passing filename to GreasemonkeyScript 2018-10-05 19:25:19 +02:00
Florian Bruhin
8fed1f5fb2 Update changelog 2018-10-05 18:58:33 +02:00
Florian Bruhin
0858c7146c Get rid of data_display_may_return_none
This got removed in pytest-qt
2018-10-05 18:57:23 +02:00
Florian Bruhin
4b13609553 Fix lint 2018-10-05 18:50:14 +02:00
Florian Bruhin
81e5173c9c Fix getting searchengines in URL model 2018-10-05 17:51:04 +02:00
Florian Bruhin
42ef645cf1 Merge remote-tracking branch 'origin/pr/4004' 2018-10-05 17:46:49 +02:00
Florian Bruhin
1e8bb202e9 Make :q only close the active window
Closes #4061
Fixes #1089
2018-10-05 17:31:00 +02:00
Florian Bruhin
2c3f144cd5 Update docs 2018-10-05 17:21:36 +02:00
Florian Bruhin
fddb10e157 Merge remote-tracking branch 'origin/pr/4008' 2018-10-05 17:15:42 +02:00
Florian Bruhin
f75348e36b Fix lint
thanks emacs...
2018-10-05 17:13:24 +02:00
Florian Bruhin
2eeaef83ba Add tests for :zoom-* with --quiet 2018-10-05 16:25:26 +02:00
Florian Bruhin
fb491c1578 Add test for :yank --quiet 2018-10-05 16:23:31 +02:00
Florian Bruhin
5eb0447fec Update docs 2018-10-05 16:21:02 +02:00
Florian Bruhin
95f816c224 Merge remote-tracking branch 'origin/pr/4292' 2018-10-05 16:20:08 +02:00
Florian Bruhin
616cd0a59c Fix and test remaining PDF.js OSError issues 2018-10-05 16:06:39 +02:00
Florian Bruhin
b5b4fda676 Fix issues with PDF.js path changes 2018-10-05 14:05:54 +02:00
Viacheslav Chimishuk
8e2723fa77 Add yank --quiet option support. 2018-10-04 21:41:17 +03:00
Florian Bruhin
28ca292b9e Fix lint 2018-10-04 19:35:38 +02:00
Florian Bruhin
6c245ca7a0 Merge remote-tracking branch 'origin/pr/4220' 2018-10-04 19:34:03 +02:00
Florian Bruhin
8a3704fbe4 Update docs 2018-10-04 19:33:02 +02:00
Florian Bruhin
c786c25494 Update changelog 2018-10-04 19:31:09 +02:00
Florian Bruhin
923b726e38 Merge remote-tracking branch 'origin/pr/4220' 2018-10-04 19:28:01 +02:00
Florian Bruhin
4f697578d9 Update changelog 2018-10-04 16:55:07 +02:00
Florian Bruhin
5514ddeed5 Log OSError for PDF.js more explicitly
Closes #4289
2018-10-04 16:54:44 +02:00
Florian Bruhin
659be2296f Don't log stacktraces for qute:// errors 2018-10-04 16:54:44 +02:00
Florian Bruhin
29142f763c Use a proper data dir for PDF.js 2018-10-04 16:54:44 +02:00
Florian Bruhin
c472adfa82 Upgrade to pytest-qt 3.2.1
This fixes compatibility with PyQt 5.11.3.
2018-10-04 16:25:23 +02:00
Florian Bruhin
c3fec3c8aa pyinstaller: Re-add pdf.js bundling
Fixes #4291
2018-10-04 16:25:07 +02:00
Florian Bruhin
a1a68c13a1 Update changelog 2018-10-04 15:55:36 +02:00
Florian Bruhin
0caff547aa Show/hide TabBar and not TabWidget with many tabs 2018-10-04 15:54:07 +02:00
Florian Bruhin
45d2e74f53 Clarify changelog 2018-10-04 15:52:43 +02:00