Commit Graph

13945 Commits

Author SHA1 Message Date
Florian Bruhin
180fb0d65a Fix handling of caret position with Qt 5.10
With Chromium 61 in Qt 5.10, we get null when getting .selectionStart on a
non-text element, like changed in the WhatWG HTML standard:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-textarea/input-selectionstart

See https://www.chromestatus.com/feature/5740194741354496

Older QtWebEngines and QtWebKit raise InvalidStateError instead.

This also changes the surrounding code and API so None is used to say "there's
no caret position available", which seems like a nicer API.
2017-11-08 16:27:26 +01:00
cryzed
6e719d1796 Fix issue #3251 2017-11-08 15:08:36 +01:00
Florian Bruhin
b9aa5df5ed Add unit tests for UnicodeEncodeError handling 2017-11-08 07:47:11 +01:00
Florian Bruhin
be08cee63c Make testsuite work with LC_ALL=C 2017-11-07 17:23:38 +01:00
Florian Bruhin
fdc43438ef Make tests for non-ASCII files work 2017-11-07 17:00:08 +01:00
Florian Bruhin
743dbbbcd6 Break long lines 2017-11-07 11:29:53 +01:00
Florian Bruhin
fdc9dfdf87 Merge remote-tracking branch 'origin/pr/3175' 2017-11-07 11:24:41 +01:00
Florian Bruhin
9f898611f3 Add missing path assignment 2017-11-07 11:24:00 +01:00
Florian Bruhin
32914cfaf8 Remove unneeded backslash 2017-11-07 11:17:18 +01:00
Florian Bruhin
3eafdc13d7 Merge remote-tracking branch 'origin/pr/3177' 2017-11-07 11:17:00 +01:00
Florian Bruhin
4a4948e601 Update docs 2017-11-07 10:00:25 +01:00
Florian Bruhin
73a6b6b730
Merge pull request #3252 from qutebrowser/pyup-scheduled-update-11-06-2017
Scheduled weekly dependency update for week 45
2017-11-07 08:19:18 +01:00
Florian Bruhin
0d68b8bb8f Update changelog 2017-11-07 07:47:17 +01:00
Florian Bruhin
4f0d8a84ee Merge remote-tracking branch 'origin/pr/3253' 2017-11-07 07:46:30 +01:00
Florian Bruhin
9f40b40942
Merge pull request #3255 from cincodenada/update-dict-docs
Update documentation to reflect new dictcli.py script
2017-11-07 07:30:38 +01:00
Joel Bradshaw
52be2dd665 Update documents to reflect new dictcli.py script 2017-11-06 22:21:07 -08:00
Florian Bruhin
8ddf843c64 Adjust flake8 pins
Looks like flake8-debugger 3.0.0 works with the old flake8 again, while
flake8-deprecated doesn't anymore (hah, the irony :D).
2017-11-07 06:34:04 +01:00
Florian Bruhin
bc8d767f6e Pin PyQt5 to 5.9 for now
A Linux wheel isn't available yet for 5.9.1, see:
https://www.riverbankcomputing.com/pipermail/pyqt/2017-November/039698.html
2017-11-07 06:32:32 +01:00
Florian Bruhin
aaed6549b3
Merge pull request #3254 from jgkamat/jay/pinned-tabs-mnemonics
Fix Qt Mnemonics affecting min tab width
2017-11-07 06:15:23 +01:00
Ryan Farley
f5d719dfd4 importer: Chrome support
This adds Chrome/Chromium support to the importer (which ought to be the
last of these). Bookmarks are read from JSON, while keywords/search
engines (the same thing here) are read from the Web Data sqlite3
database, and converted from OpenSearch format.

importer: add tests for opensearch
2017-11-06 21:19:57 -06:00
Jay Kamat
ecf6f4bca0
Fix Qt Mnemonics affecting min tab width
See #3245
2017-11-06 15:05:26 -05:00
Jan Verbeek
3e8c84c018 Make :undo re-open all tabs closed by :tab-only
This changes the undo stack from a list of UndoEntry objects to a list
of lists of UndoEntry objects, so groups of tabs can be added. Only
:tab-only does that, but it's exposed by TabbedBrowser.close_tab as a
keyword argument.
2017-11-06 19:32:10 +01:00
Florian Bruhin
b1f1248a05 Update changelog
[ci skip]
2017-11-06 16:27:17 +01:00
Florian Bruhin
0053b10e4d Merge remote-tracking branch 'origin/pr/3243' 2017-11-06 16:26:21 +01:00
pyup-bot
82fd26268b Update pytest-bdd from 2.18.2 to 2.19.0 2017-11-06 15:50:31 +01:00
pyup-bot
409f8327c2 Update hypothesis from 3.33.0 to 3.36.0 2017-11-06 15:50:30 +01:00
pyup-bot
360e0aaa67 Update sip from 4.19.3 to 4.19.5 2017-11-06 15:50:28 +01:00
pyup-bot
b42346b616 Update pyqt5 from 5.9 to 5.9.1 2017-11-06 15:50:27 +01:00
pyup-bot
0fdf0ff3b1 Update pefile from 2017.9.3 to 2017.11.5 2017-11-06 15:50:25 +01:00
pyup-bot
b759dbfc27 Update flake8-deprecated from 1.2.1 to 1.3 2017-11-06 15:50:23 +01:00
pyup-bot
b61a9c9512 Update flake8-debugger from 1.4.0 to 3.0.0 2017-11-06 15:50:22 +01:00
pyup-bot
0cc855019e Update coverage from 4.4.1 to 4.4.2 2017-11-06 15:50:20 +01:00
pyup-bot
cd27fb6af6 Update coverage from 4.4.1 to 4.4.2 2017-11-06 15:50:19 +01:00
pyup-bot
120fa41009 Update certifi from 2017.7.27.1 to 2017.11.5 2017-11-06 15:50:17 +01:00
pyup-bot
6a415aee4a Update certifi from 2017.7.27.1 to 2017.11.5 2017-11-06 15:50:16 +01:00
pyup-bot
1fbd209213 Update certifi from 2017.7.27.1 to 2017.11.5 2017-11-06 15:50:14 +01:00
Florian Bruhin
ad4caeac3a Regenerate docs 2017-11-06 13:52:42 +01:00
Florian Bruhin
e7da2142f3 Merge remote-tracking branch 'origin/pr/3249' 2017-11-06 13:52:19 +01:00
Florian Bruhin
18cd608493 Update docs 2017-11-06 13:47:50 +01:00
Florian Bruhin
29cbf75615 Merge remote-tracking branch 'origin/pr/3249' 2017-11-06 13:46:24 +01:00
Ryan Roden-Corrent
c74cb22374 Improve completion-item-yank documentation. 2017-11-06 07:34:31 -05:00
Florian Bruhin
f56692d836 Update changelog 2017-11-06 12:14:27 +01:00
Florian Bruhin
378b280f9a Fix qute://gpl 2017-11-06 12:13:54 +01:00
Florian Bruhin
55815bd17b Add some debug logging for #3219 2017-11-06 10:53:37 +01:00
Florian Bruhin
b55bb5dc6f Work around QUrl::query() not being available with PyQt 5.9.1
See https://www.riverbankcomputing.com/pipermail/pyqt/2017-November/039702.html
2017-11-06 08:50:03 +01:00
Florian Bruhin
2514b009af Use QUrlQuery to get log level on qute://log
This helps with
https://www.riverbankcomputing.com/pipermail/pyqt/2017-November/039702.html
2017-11-06 08:42:59 +01:00
Florian Bruhin
4d8ac7486c Go back to using subprocess.Popen for :restart
With subprocess.run, we wait until the subprocess has completed, which means the
parent process will hang on :restart.

Since we *don't* want to wait for the subprocess here, using subprocess.Popen
seems the right thing to do.

This was introduced in bb54a954fe / #3203
Probably doesn't affect #3210 and #3220.
2017-11-06 07:45:17 +01:00
Florian Bruhin
22f3fade24 Bump up default font size to 10pt
See #1585
2017-11-06 07:36:52 +01:00
Florian Bruhin
f52930c857 Make the window.hide_wayland_decoration option less special 2017-11-06 07:33:13 +01:00
Florian Bruhin
4fdf2d6f40 Update docs 2017-11-06 07:11:00 +01:00