Commit Graph

9241 Commits

Author SHA1 Message Date
Florian Bruhin
b63ed090d8 mypy: Fix log handler access 2018-11-26 18:25:12 +01:00
Florian Bruhin
c2c3f68828 mypy: Move tabbed_browser 2018-11-26 18:25:12 +01:00
Florian Bruhin
052c3f92ad mypy: Fix issues with config default values 2018-11-26 18:25:12 +01:00
Florian Bruhin
b37dbc4572 mypy: Add missing annotations 2018-11-26 18:25:12 +01:00
Florian Bruhin
a1e83f0773 mypy: Use class-based API for enum.IntEnum
See https://github.com/python/mypy/issues/4865
2018-11-26 18:25:12 +01:00
Florian Bruhin
563e1e8294 mypy: Ignore yaml.CSafe{Loader,Dumper}
See https://github.com/python/typeshed/blob/master/third_party/2and3/yaml/__init__.pyi#L9
2018-11-26 18:24:19 +01:00
Florian Bruhin
97d0cff93b mypy: Ignore ImportError handling
See https://github.com/python/mypy/issues/1153
2018-11-26 18:24:19 +01:00
Florian Bruhin
4d1b3df5e0 mypy: Fix logging.VDEBUG issues 2018-11-22 13:52:05 +01:00
Florian Bruhin
2152081d82 s/an URL/a URL/g 2018-11-16 12:37:30 +01:00
Florian Bruhin
0786af0f28
Merge pull request #4412 from rcorre/url-title-completion
Don't complete url and title from same search word.
2018-11-14 11:51:59 +01:00
Ryan Roden-Corrent
bf10f483e1
Fix sql comment to match updated code. 2018-11-13 20:44:57 -05:00
Jay Kamat
6010ce69b9
Merge pull request #4408 from lyeoh/master
Strip fragment and query only for `:navigate up`
2018-11-12 21:12:53 -08:00
Jay Kamat
3e1bfc3e28
Fix 'in' vs 'equal' error 2018-11-12 18:35:11 -08:00
Florian Bruhin
3fd097066a Disallow spaces in search engine names 2018-11-08 12:43:53 +01:00
Ryan Roden-Corrent
2e562a926b
Don't complete url and title from same search word.
Resolves #4411:

> When opening a webpage, the suggested results will include those whose
> URL ends with the beginning of the string you've typed and whose title
> begins with the rest of the string.

By joining the url and title with a space, we ensure that the last word
of the url and the first word of the title are treated as separate
words.
2018-11-06 08:05:17 -05:00
Florian Bruhin
c09c34f465 Update _chromium_version comment for Qt 5.12 2018-11-05 18:58:52 +01:00
Florian Bruhin
6931f17f13 Add debug logging for netrc 2018-11-05 14:52:18 +01:00
lyeoh
8c7c686d3f Strip fragment and query only for :navigate up 2018-11-03 12:36:19 -05:00
Florian Bruhin
08278138c4 Add :yank markdown 2018-11-03 07:54:37 +01:00
Florian Bruhin
cac04d4001 Add workaround for accepting third-party cookies
An empty first-party URL is considered a first-party request. This workaround
is equivalent to the Qt fix: https://codereview.qt-project.org/#/c/244021/

Note that later versions of Chromium changed that check:
https://bugs.chromium.org/p/chromium/issues/detail?id=882107
That shouldn't be a problem since we disable our workaround with Qt 5.11.3, so
once Qt catches up there, the check isn't done anymore.

Fixes #4281
2018-10-31 08:54:29 +01:00
Florian Bruhin
e23b6ef64e Merge remote-tracking branch 'origin/pr/4382' 2018-10-30 08:56:03 +01:00
Jay Kamat
9c73bf9e97
Add tests for selection persisting
- Remove unneeded override of qt home method
2018-10-27 16:15:24 -07:00
Florian Bruhin
a52c24791d Release v1.5.2
(cherry picked from commit a42f37a0c6be5651073754dd6e62cd968df07130)
2018-10-26 10:21:28 +02:00
Florian Bruhin
a5dba34088 Set content.cookies.accept to all by default
Setting it to no-3rdparty is a nice idea from a "privacy by default"
perspective, but it also breaks various pages.

In particular, due to what's probably a Qt bug, it breaks the new GMail:
https://bugreports.qt.io/browse/QTBUG-71393

Let's be in line with what other browsers by default here.

Fixes #4281
2018-10-26 10:14:30 +02:00
Florian Bruhin
5ce1229ee5 Add temporary fix for test_caret.py flakiness
Fixes #4311
Conflicts with #4087, we might be able to revert this for that PR.
2018-10-26 10:05:44 +02:00
Florian Bruhin
c0dac51459 Merge remote-tracking branch 'origin/pr/4361' 2018-10-26 09:40:20 +02:00
Florian Bruhin
d1640ec064 Merge remote-tracking branch 'origin/pr/4362' 2018-10-26 09:35:21 +02:00
Florian Bruhin
cbc36666d0 Remove old _stop_timers 2018-10-26 09:33:00 +02:00
Florian Bruhin
20c9397b86 Merge remote-tracking branch 'origin/pr/4363' 2018-10-26 09:32:50 +02:00
Jay Kamat
11b5958bc4
Fix selection clearing when using <shift-home>
Closes #2886
2018-10-24 20:39:14 -07:00
Jay Kamat
078f5f9f1c
Fix dragging with visibility toggle 2018-10-24 20:00:08 -07:00
user202729
c5f4587d4e Fix _partial_timer connection in modeparsers 2018-10-18 18:20:45 +07:00
user202729
1bcf57f630 Simplify logic in HintKeyParser.handle 2018-10-18 17:13:20 +07:00
Jay Kamat
8ca30df7d6
Cache hot config accesses for hints 2018-10-17 19:52:24 -07:00
user202729
6f505566b8 Fix docstring for HintManager.filter_hints 2018-10-17 23:44:03 +07:00
Florian Bruhin
5840b60967 Fix utils.ceil_log with invalid log values 2018-10-16 12:29:49 +02:00
Florian Bruhin
5b7615886b Merge remote-tracking branch 'origin/pr/4330' 2018-10-16 12:02:22 +02:00
Florian Bruhin
cde94e7356 Merge remote-tracking branch 'origin/pr/4332' 2018-10-16 11:38:28 +02:00
Florian Bruhin
e33d582764 Merge remote-tracking branch 'origin/pr/4342' 2018-10-16 11:16:36 +02:00
Florian Bruhin
965a2e2806 Remove unneeded win_id argument for HintManager.start 2018-10-16 11:09:27 +02:00
user202729
77f3ca8727 Optimize HintLabel.update_text 2018-10-15 22:44:40 +07:00
user202729
97bc4fa6a2 Add comment for explanation 2018-10-13 15:13:26 +07:00
user202729
622ef9294c Use integer arithmetic to compute ceil log 2018-10-13 13:49:08 +07:00
Jay Kamat
87dffa5afc
Update docs and fix style 2018-10-12 21:02:52 -07:00
Jay Kamat
2403a0fd73
Cache hot config accesses in completion 2018-10-12 18:23:36 -07:00
user202729
fad9c902c9 Fix _hint_scattered 2018-10-12 22:35:15 +07:00
Florian Bruhin
9d09aa1b40 Swap noun/verb in :config-{add,remove}-{dict-list}
See https://github.com/qutebrowser/qutebrowser/pull/4324#issuecomment-428934193
2018-10-11 14:29:10 +02:00
Florian Bruhin
1c1223821c Update docs 2018-10-11 14:18:02 +02:00
Florian Bruhin
019811f2cb Merge remote-tracking branch 'origin/pr/4324' 2018-10-11 14:16:06 +02:00
Florian Bruhin
49850b61ed Don't show no_autoconfig settings for :config-add-(list|dict) 2018-10-11 14:07:57 +02:00