Commit Graph

11847 Commits

Author SHA1 Message Date
Florian Bruhin
e13a5c0f17 Use a list for stylesheet flags
If we simply use sorted() on a dict, we define insert before private-command,
which means the statusbar isn't going to be green when in insert mode while
private browsing.
2017-05-15 11:07:43 +02:00
Florian Bruhin
3cdcc34d1d Update private-browsing option description 2017-05-15 11:07:43 +02:00
Florian Bruhin
c4307c9f03 Fix lint 2017-05-15 11:07:43 +02:00
Florian Bruhin
3f8b9fb1a5 tests: Improve matching of exceptions to show verbose output
In some situations we can get a TypeError without a stack
2017-05-15 11:07:43 +02:00
Florian Bruhin
f6fc2666ce Generate stylesheet for statusbar 2017-05-15 11:07:43 +02:00
Florian Bruhin
73ca884d24 Add a setting for private command mode color
This also refactors how color properties are handled in StatusBar.
2017-05-15 11:07:43 +02:00
Florian Bruhin
3c3f695af4 Fix things pointed out in reviews 2017-05-15 11:07:43 +02:00
Florian Bruhin
6ee382ef30 Sort windows when saving sessions
This should help with flaky tests when the window order changes
2017-05-15 11:02:29 +02:00
Florian Bruhin
510b437916 Update docs 2017-05-15 11:02:29 +02:00
Florian Bruhin
8993667479 Remove unused imports 2017-05-15 11:02:29 +02:00
Florian Bruhin
c3ac3ccdee Add tests for new private browsing 2017-05-15 11:02:29 +02:00
Florian Bruhin
eda95d7926 Simplify window/private distinction in commands.py 2017-05-15 11:02:29 +02:00
Florian Bruhin
cde36f34b0 Remove QtWebKit-NG warnings
The next release will support private browsing, and we can't easily check the
version somehow.
2017-05-15 11:02:29 +02:00
Florian Bruhin
9805b43c85 Handle private browsing in sessions 2017-05-15 11:02:29 +02:00
Florian Bruhin
f907b6b6b0 Have an isolated command history for private windows 2017-05-15 11:02:26 +02:00
Florian Bruhin
c6e31391de Fix most tests/lint 2017-05-10 09:19:24 +02:00
Florian Bruhin
f4d3f97cb7 Implement private browsing for QtWebEngine 2017-05-10 09:17:54 +02:00
Florian Bruhin
1c50377c0a Initial work on new private browsing 2017-05-10 07:00:21 +02:00
Florian Bruhin
1d4c9d3b3f Merge commit '661c0f7b7c74c23db0a8ed2dfa111a711c5f8771' into pyup-bot/pyup-update-pytest-cov-2.4.0-to-2.5.0 2017-05-10 06:52:20 +02:00
Florian Bruhin
5e76810659 Merge commit '1973e61424efb124f453ce0894d1c8b3e5ea99c3' into pyup-bot/pyup-update-hypothesis-3.8.2-to-3.8.3 2017-05-10 06:52:18 +02:00
pyup-bot
661c0f7b7c Update pytest-cov from 2.4.0 to 2.5.0 2017-05-10 00:08:34 +02:00
pyup-bot
1973e61424 Update hypothesis from 3.8.2 to 3.8.3 2017-05-10 00:08:30 +02:00
pyup-bot
3bd7e33c4a Update requests from 2.13.0 to 2.14.1 2017-05-09 22:16:27 +02:00
pyup-bot
a0a9c9d32e Update requests from 2.13.0 to 2.14.1 2017-05-09 22:16:25 +02:00
pyup-bot
56d42b6c82 Update requests from 2.13.0 to 2.14.1 2017-05-09 22:16:24 +02:00
Florian Bruhin
b91d4ee9c2 Clean up :debug-webaction 2017-05-09 22:02:30 +02:00
Florian Bruhin
822623f2ed Finally update copyrights... 2017-05-09 21:37:03 +02:00
Florian Bruhin
905032924a Remove search_displayed initialization in subclasses
We set this in BrowserTab anyways, and the value in WebKitTab was wrong.
2017-05-09 17:58:28 +02:00
Florian Bruhin
4b5e528d05 Add AbstractTab.key_press 2017-05-09 17:56:07 +02:00
Florian Bruhin
76fa126133 Simplify debug string 2017-05-09 17:55:51 +02:00
Florian Bruhin
e3eda28d88 Update docstrings 2017-05-09 17:52:13 +02:00
Florian Bruhin
5f2fb2c4fc Update docs 2017-05-09 17:48:40 +02:00
Jay Kamat
e10d636ca0
Fix a few small issues
- Remove an unused warnings
- Reverse if statement arguments to simplify logic
2017-05-09 08:08:05 -07:00
Jay Kamat
a3d41c0467
Refactor search method of AbstractBrowserTab into a field 2017-05-09 00:24:13 -07:00
Jay Kamat
02f79c2990
Add tests for manual selection 2017-05-09 00:11:25 -07:00
Jay Kamat
d1aac9e9e9
Add docstrings to key_press methods 2017-05-08 23:43:21 -07:00
Jay Kamat
5bdd291d28
Refactor key_press into _repeated_key_press
Also split off generic key pressing ability from WebKitScroller to WebKitTab
2017-05-08 23:11:50 -07:00
Jay Kamat
63cffaf558
Refactor _key_press from WebEngineScroller to WebEngineTab 2017-05-08 22:49:14 -07:00
Jay Kamat
5ba81e3611
Add tests for follow_selected 2017-05-08 22:32:53 -07:00
Jay Kamat
c9953b9f0d
Add support for follow_selected via fake-clicks 2017-05-08 22:31:29 -07:00
Jay Kamat
e07a1045a8
Add is_link method to webelem 2017-05-08 22:00:11 -07:00
Florian Bruhin
6c3f29d570 Merge commit '2b0fc0f52efccd0004b2cd8f90f930852947f403' into pyup-bot/pyup-update-coverage-4.3.4-to-4.4 2017-05-09 06:23:05 +02:00
Florian Bruhin
27bed81353 Merge commit '7a3651426f0152c6b23ed4f83bab0eab2e763d91' into pyup-bot/pyup-update-beautifulsoup4-4.5.3-to-4.6.0 2017-05-09 06:23:03 +02:00
Florian Bruhin
af18b208bb Merge commit '00c48427bcee63921705f85251d71795dab980bd' into pyup-bot/pyup-update-lazy-object-proxy-1.3.0-to-1.3.1 2017-05-09 06:23:00 +02:00
Florian Bruhin
9db92de2d5 Add a no cover pragma for certificate error hashing 2017-05-09 06:15:21 +02:00
Florian Bruhin
8052249b1b Make check_coverage.py work with coverage 4.4
With coverage 4.4, the source name (qutebrowser/) is not added to the filename
anymore. To adjust for that, we remove qutebrowser/ from all paths, and also
make sure to remove it from what coverage returns (in case someone is running an
older version).
2017-05-09 06:13:35 +02:00
pyup-bot
2b0fc0f52e Update coverage from 4.3.4 to 4.4 2017-05-08 07:26:27 +02:00
pyup-bot
ee2a6ae6f0 Update coverage from 4.3.4 to 4.4 2017-05-08 07:26:25 +02:00
pyup-bot
7a3651426f Update beautifulsoup4 from 4.5.3 to 4.6.0 2017-05-07 16:42:20 +02:00
pyup-bot
00c48427bc Update lazy-object-proxy from 1.3.0 to 1.3.1 2017-05-05 15:51:20 +02:00