Commit Graph

9207 Commits

Author SHA1 Message Date
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
Florian Bruhin
3e39fc0e69 Simplify HintManager.start 2018-10-11 14:01:47 +02:00
Milo Gertjejansen
9fd57b9be0 New config: More powerful :config- commands: remove
- `:config-remove-list` command to remove items from a list.
- `:config-remove-dict` command to remove items from a dict.
- Test coverage.

Continues #2794
2018-10-10 20:23:44 -05:00
Florian Bruhin
ae6fda3699 Release v1.5.1 2018-10-10 08:24:08 +02:00
Florian Bruhin
64b308ebeb Adjust workaround comment 2018-10-10 08:03:51 +02:00
Florian Bruhin
69d2433584 Remove TextBase.setText workaround
Reverts 561a7e1cdd
https://bugreports.qt.io/browse/QTBUG-36945 apparently got fixed at some point.
2018-10-10 07:56:59 +02:00
Florian Bruhin
d46b0cf3cd Update docs 2018-10-08 20:07:56 +02:00
Florian Bruhin
3fe64085f8 Add tabindex to default 'all' selector
See #178
2018-10-08 19:43:25 +02:00
Florian Bruhin
f36285658e Don't allow to set hints.selectors in autoconfig.yml
Also, set all settings temporarily for end2end tests.
This allows us to set things which aren't settable in autoconfig.yml.
2018-10-08 19:40:33 +02:00
Florian Bruhin
0423ec6f91 Add webelem.css_selector 2018-10-08 19:40:33 +02:00
Florian Bruhin
121483aa90 Add error handling for invalid selectors 2018-10-08 19:07:53 +02:00
Florian Bruhin
6d4c8f5b13 Merge remote-tracking branch 'origin/pr/3806' into test 2018-10-08 18:09:58 +02:00
Florian Bruhin
91ae86db62 Merge remote-tracking branch 'origin/pr/3950' 2018-10-08 17:36:10 +02:00
Florian Bruhin
6168622de3 Update docs 2018-10-07 17:12:01 +02:00
Florian Bruhin
7cea4e3262 Merge remote-tracking branch 'origin/pr/4283' 2018-10-07 17:00:12 +02:00
Florian Bruhin
b130162d56 Fix crash when closing tab during a search 2018-10-07 15:46:40 +02:00
Milo Gertjejansen
bcfc8fa3a8 New config: More powerful :config- commands: add #4283
Missed a small comment change.

Continues #2794
2018-10-06 19:45:36 -05:00
Milo Gertjejansen
a3528dcee8 New config: More powerful :config- commands: add #4283
Made minor changes to the second commit which broke tests out into
success and failure tests taking advantage of pytests.raises.

Additionally updated several grammar issues.

Continues #2794
2018-10-06 19:42:30 -05:00
Jay Kamat
2f21551322
Cache config accesses in minimumTabSizeHint 2018-10-06 14:13:23 -07: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
4b76dc56e1 Merge remote-tracking branch 'origin/pr/4296' 2018-10-06 12:24:02 +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
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
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
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
5eb0447fec Update docs 2018-10-05 16:21:02 +02:00