Commit Graph

31 Commits

Author SHA1 Message Date
Jay Kamat
3e816f5f8b
Update copyright for 2019 2019-02-22 21:45:08 -08:00
Florian Bruhin
f49384f0bf Expose InterceptorType via qutebrowser.api.interceptor 2018-12-13 19:44:48 +01:00
Florian Bruhin
9250f3c560 Fix lint 2018-12-12 17:19:39 +01:00
Florian Bruhin
a0437a3e68 Improve Sphinx docs 2018-12-12 10:32:42 +01:00
Florian Bruhin
a3279772d5 Fix lint 2018-12-10 18:34:11 +01:00
Florian Bruhin
98543af57b Rename requests/request filters to interceptors
So we don't collide with the requests library.
2018-12-10 17:50:13 +01:00
Florian Bruhin
35a3fe029d Fix lint 2018-12-10 16:33:24 +01:00
Florian Bruhin
b41005d487 Fix mypy issues 2018-12-10 16:27:04 +01:00
Florian Bruhin
3b53270ee3 Use hook system for config_changed hook 2018-12-10 15:48:26 +01:00
Florian Bruhin
6001640a8a Guard against double init hooks 2018-12-10 15:24:15 +01:00
Florian Bruhin
58d179302e Add api.config.get 2018-12-10 15:03:09 +01:00
Florian Bruhin
42790e7623 Expose config.change_filter 2018-12-10 15:03:09 +01:00
Florian Bruhin
7ad7623d73 Add request filter API for host blocking
Closes https://github.com/qutebrowser/qutebrowser-extensions/issues/8
2018-12-10 15:03:09 +01:00
Florian Bruhin
4ad5790311 Add API for temporary downloads
Closes https://github.com/qutebrowser/qutebrowser-extensions/issues/9
2018-12-10 14:08:32 +01:00
Florian Bruhin
b1894f1428 Fix lint 2018-12-10 13:00:41 +01:00
Florian Bruhin
5b354164c5 Make it possible for extensions to define init hooks 2018-12-10 12:37:58 +01:00
Florian Bruhin
403e63d6f2 Configure coverage.py for "if MYPY:" 2018-12-05 09:05:32 +01:00
Florian Bruhin
268ad40982 Add and enforce types for api.*/components.* 2018-12-04 15:52:14 +01:00
Florian Bruhin
b0ae4deac8 ADjust check_coverage for api/ 2018-12-03 08:49:10 +01:00
Florian Bruhin
34aaca2aa0 Fix lint 2018-11-30 16:25:19 +01:00
Florian Bruhin
2ef82caa10 apitypes: Expose webelem.Error/ClickTarget/JsWorld 2018-11-30 15:55:05 +01:00
Florian Bruhin
da505c84c6 Expose config.val to extension API 2018-11-30 14:46:00 +01:00
Florian Bruhin
a09b1a4e05 Move caret commands to components.caretcommands 2018-11-30 14:46:00 +01:00
Florian Bruhin
7a379ebec1 Expose KeyMode to extension API 2018-11-30 14:45:55 +01:00
Florian Bruhin
bc0ac62087 Rename api.tab.Tab to api.apitypes.Tab
Then we can add other related types there, and we don't clash with the common
"tab" argument for a new tab.
2018-11-30 14:28:29 +01:00
Florian Bruhin
ce3b1f252d Add api.message and api.tab 2018-11-30 13:58:26 +01:00
Florian Bruhin
566304ab4e Fix lint 2018-11-30 12:51:54 +01:00
Florian Bruhin
569bb0fa09 Add cmdutils.Value instead of using count=True/win_id=True 2018-11-30 12:45:01 +01:00
Florian Bruhin
9c4ebb97d7 Fix refactoring issues 2018-11-30 11:19:34 +01:00
Florian Bruhin
536a7ef1e6 Move command registering to Command object 2018-11-30 09:51:45 +01:00
Florian Bruhin
b7de287e7b Move CommandError to api.cmdutils 2018-11-29 14:18:11 +01:00