Commit Graph

17154 Commits

Author SHA1 Message Date
Florian Bruhin
fe6f627305 Add partial type annotations for utils.message 2018-11-30 12:51:26 +01:00
Florian Bruhin
8725ac6e66 Fix type of stack argument for utils.message 2018-11-30 12:49:57 +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
d549d4d5e2 Fix test_configcommands 2018-11-30 11:19:34 +01:00
Florian Bruhin
b3fa43a97c Fix broken test_on_tab_changed 2018-11-30 11:19:34 +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
e184ace8cb Fix lint 2018-11-30 09:47:25 +01:00
Florian Bruhin
5199681b41 Rename add_history_item 2018-11-30 08:45:45 +01:00
Florian Bruhin
a7f7607b4d Rename _openurl_prepare 2018-11-30 08:38:11 +01:00
Florian Bruhin
da5527f5ef Rename predicted_navigation 2018-11-30 08:37:29 +01:00
Florian Bruhin
6a27cd4e15 fixup 2018-11-30 08:35:56 +01:00
Florian Bruhin
f6c36ccbee Rename openurl to load_url
We still call the :open command openurl, but in the tab API and in
TabbedBrowser it's now called load_url.
2018-11-30 08:31:03 +01:00
Florian Bruhin
5bf0dffa95 Move history (de)serializing to a private_api object 2018-11-30 08:23:52 +01:00
Florian Bruhin
27ee3280b2 Separate success/error callbacks 2018-11-29 20:29:43 +01:00
Florian Bruhin
0104490978 Use enum values for load_status_changed 2018-11-29 19:44:48 +01:00
Florian Bruhin
a6d3a935d3 Use an enum for IgnoreCase 2018-11-29 19:40:20 +01:00
Florian Bruhin
2cd2c60a8b Rename key_press to fake_key_press 2018-11-29 19:30:28 +01:00
Florian Bruhin
7a3d1b0212 AbstractHistory: Check count 2018-11-29 19:28:11 +01:00
Florian Bruhin
b2796d4a85 Rename some AbstractZoom methods 2018-11-29 19:26:05 +01:00
Florian Bruhin
73e196ff65 Make url(requested=True) a keyword-only arg 2018-11-29 19:23:14 +01:00
Florian Bruhin
cd8e3094b9 Avoid circular import 2018-11-29 19:22:28 +01:00
Florian Bruhin
609b8f1cee Fix return values of AbstractPrinting.check_*_support 2018-11-29 19:10:47 +01:00
Florian Bruhin
f81c5b7eab Move common key_press implementation 2018-11-29 19:10:19 +01:00
Florian Bruhin
4b7c60da9f Improve docstrings 2018-11-29 19:08:48 +01:00
Florian Bruhin
c1b9318e77 check_coverage: Add test_objects.py 2018-11-29 19:04:14 +01:00
Florian Bruhin
595e152729 Remove AbstractAudio.toggle_muted 2018-11-29 19:03:45 +01:00
Florian Bruhin
c7179e35cc Remove old code 2018-11-29 19:02:36 +01:00
Florian Bruhin
6ccba16b72 Fix coverage 2018-11-29 19:02:03 +01:00
Florian Bruhin
b7de287e7b Move CommandError to api.cmdutils 2018-11-29 14:18:11 +01:00
Florian Bruhin
f9858733c1 Improve docstrings 2018-11-29 14:18:11 +01:00
Florian Bruhin
e576847b91 Add partial type annotations for qtutils 2018-11-29 14:18:11 +01:00
Florian Bruhin
7cbba4b3f1 Add type annotations for cmdutils 2018-11-29 14:18:11 +01:00
Florian Bruhin
19628d0ae9 Move cmdutils.cmd_dict to objects.commands 2018-11-29 14:18:11 +01:00
Florian Bruhin
168bc3dc49 Be stricter in mypy.ini 2018-11-29 14:18:11 +01:00
Florian Bruhin
4caa2e056b Add type annotations to misc.objects 2018-11-29 14:18:11 +01:00
Florian Bruhin
ccab751d3c
Merge pull request #4431 from winny-/winny--patch-1
Change some language about autoconfig to be clearer
2018-11-29 08:33:21 +01:00
Florian Bruhin
c3477b0468 Update changelog 2018-11-29 08:29:56 +01:00
Florian Bruhin
351b6c9b45 Add unit test for slashes in search terms 2018-11-29 08:29:56 +01:00
Thorsten Wißmann
9d069ea12b Encode slashes in default search engine test 2018-11-29 08:29:56 +01:00
Thorsten Wißmann
65c51931c7 Wrap url quoting into new line 2018-11-29 08:29:56 +01:00
Thorsten Wißmann
31a122e97b Encode slashes in search terms for searchengines
If a search term contains a slash, this should be encoded. While this
makes no differences for search engines of the form

    http://example.org?q={}

it does for engines like these:

    http://example.org/search/{}

For a real world example, try:

    https://www.doi2bib.org/bib/{}
2018-11-29 08:29:56 +01:00
Florian Bruhin
e07e70361e
Merge pull request #4435 from jgkamat/jay/org-capture
Add org-capture by alcah to userscripts README
2018-11-29 08:22:09 +01:00
Florian Bruhin
13532aca18
Update doc/help/configuring.asciidoc
Co-Authored-By: winny- <winston@ml1.net>
2018-11-29 00:49:32 -06:00
Florian Bruhin
a7a1cc7c13
Update doc/help/configuring.asciidoc
Co-Authored-By: winny- <winston@ml1.net>
2018-11-29 00:49:22 -06:00
Florian Bruhin
cbf55e1ef9 Fix remaining private_api refactoring issues 2018-11-28 22:19:07 +01:00
Florian Bruhin
ee2461a6fe Fix accessing user_agent() 2018-11-28 21:57:01 +01:00
Florian Bruhin
1d4729c7f7 Fix shutdown call 2018-11-28 19:56:52 +01:00
Florian Bruhin
89650d89f1 Fix lint 2018-11-28 18:03:10 +01:00
Florian Bruhin
5f5f202098 Move private tab API into an own object 2018-11-28 17:59:27 +01:00