Florian Bruhin
2da45e98ca
Auto-handle equal SSL errors for the same host.
...
For every (scheme, host, port) tuple, we save all SSL errors we asked the user
about, and if everything matches (scheme, host, port, error, certificate), we
don't ask the user again.
Fixes #422 .
2015-03-10 07:58:40 +01:00
Florian Bruhin
8307b546b7
Adjust prompt size hint based on content.
...
See #26 .
Fixes #506 .
Related to 06cc982ab5
.
2015-03-09 19:35:50 +01:00
Florian Bruhin
9ffb30a16f
Ignore RuntimeError in mouserelease_insertmode.
...
It seems when clicking certain elements, the webview can get deleted before the
singleShot QTimer will activate.
2015-03-09 11:49:01 +01:00
Florian Bruhin
e78fa431c5
Hide Qt warning when aborting download reply.
2015-03-09 07:49:02 +01:00
Florian Bruhin
6a16875f50
Fix retrying of downloads from closed tabs.
...
Fixes #502 .
2015-03-09 07:39:40 +01:00
Florian Bruhin
bfc114ae35
Fix lint
2015-03-08 23:15:35 +01:00
Florian Bruhin
bd3d091318
pylint/openencoding: Fix checking of nonconst mode
2015-03-08 22:31:29 +01:00
Florian Bruhin
181bcc4f8d
Add tests for lineparser.
2015-03-08 22:13:29 +01:00
Florian Bruhin
60b6519b04
lineparser: Call _prepare_save() properly.
2015-03-08 21:53:42 +01:00
Florian Bruhin
181426b50a
AppendLineParser: Strip newlines in __iter__.
2015-03-08 21:53:42 +01:00
Florian Bruhin
2010e8115b
lineparser: Rename _open_for_reading to _open.
2015-03-08 21:53:42 +01:00
Florian Bruhin
27f4ada799
Add AppendLineParser and use it in WebHistory.
...
The former approach (always reading the whole history from disk) was rather
inefficient, and we had performance problems e.g. when marking text in Qt
documentation.
2015-03-08 21:53:42 +01:00
Florian Bruhin
5b4b793538
Split LineParser into multiple classes.
...
There is now:
- BaseLineParser
- LineParser
- LimitLineParser
2015-03-08 21:53:42 +01:00
Florian Bruhin
99de995813
Rename/move config.parsers.line.LineConfigParser.
...
It's now misc.lineparser.LineParser since it handles other stuff than just
config.
2015-03-08 21:53:42 +01:00
Florian Bruhin
a3a2c15114
Update MANIFEST.in
2015-03-08 15:31:45 +01:00
Florian Bruhin
86e77e19b6
run_checks: Add --verbose
2015-03-08 15:26:49 +01:00
Florian Bruhin
ee8beb174d
Fix :tab-clone -w (i.e. back -w). Fixes #536 .
2015-03-08 15:02:18 +01:00
Florian Bruhin
cd34562d34
Fix :tab-clone with tabs -> tabs-are-windows=true.
...
See #536 .
2015-03-08 14:54:42 +01:00
Florian Bruhin
1d9738c1ab
run_checks: Fix running of pyroma/check-manifest.
2015-03-06 17:51:21 +01:00
Florian Bruhin
e48f419f78
run_checks: Stop messing with logging config.
...
It seems pyroma got less insane, and this breaks logging in the unittests.
2015-03-06 17:50:49 +01:00
Florian Bruhin
a919ce2ffe
init_venv: Also install pyroma/check-manifest.
2015-03-06 17:50:15 +01:00
Florian Bruhin
f7b036cf15
Merge branch 'oed-download_filename_handling'
2015-03-06 17:06:01 +01:00
Florian Bruhin
edf762e210
Avoid pylint duplicate-code warning.
2015-03-06 17:04:56 +01:00
Florian Bruhin
8ee8d28f03
Regenerate docs.
2015-03-06 17:01:59 +01:00
Florian Bruhin
858131c9bc
Merge branch 'download_filename_handling' of https://github.com/oed/qutebrowser into oed-download_filename_handling
2015-03-06 16:39:44 +01:00
Florian Bruhin
0827ddec86
utils.log: Simplify stack printing on Qt warnings.
2015-03-06 16:33:22 +01:00
Florian Bruhin
3e5b9a4a4a
log.utils: Add Qt warning filter context manager.
2015-03-06 16:32:26 +01:00
Florian Bruhin
2c9b5f24fc
Use _shutting_down instead of disconnecting signal
...
This will most likely cause less pain than disconnecting the signal, which
seems to be broken on OS X.
2015-03-06 16:29:04 +01:00
Florian Bruhin
034f1136d3
Add missing qutebrowser.test.log module.
2015-03-06 16:28:30 +01:00
Joel Torstensson
0fb74da4ff
Can now handle relative paths.
2015-03-05 23:44:12 +01:00
Florian Bruhin
7ed8f3d4ac
unittests: Set up logging properly.
2015-03-05 23:41:46 +01:00
Florian Bruhin
1c48440797
Merge branch 'master' of ssh://tonks/qutebrowser
2015-03-05 21:49:41 +01:00
Florian Bruhin
7c125642b9
Hide "Error while shutting down tabs" message.
...
This makes no sense at all, yet seems to happen when closing qutebrowser on OS
X via Cmd+Q.
2015-03-05 21:46:56 +01:00
Joel Torstensson
d449a60078
Fixed bug using download dirs with trailing slash.
2015-03-05 20:33:02 +01:00
Joel Torstensson
9cfa34c009
Readded suggested_filename fallback.
2015-03-05 20:17:48 +01:00
Florian Bruhin
73de32d62d
Add a section about valgrind/QtWebKit to HACKING.
2015-03-05 10:47:36 +01:00
Florian Bruhin
a46d36b3b0
Add some files to omit in .coveragerc.
2015-03-05 07:40:59 +01:00
Florian Bruhin
61a52f3b91
command: Check the completion/argument counts.
...
See #531 .
2015-03-05 06:20:55 +01:00
Florian Bruhin
048823650c
Add .coveragerc.
2015-03-04 23:35:59 +01:00
Florian Bruhin
b61f8941de
run_checks: Show coverage percentage.
2015-03-04 23:16:24 +01:00
Joel Torstensson
7d48845afa
Made static functions private.
2015-03-04 23:05:23 +01:00
Florian Bruhin
4fa5872733
Add coverage.py support to run_checks.py
2015-03-04 21:39:14 +01:00
Florian Bruhin
ebae77e8c5
Fix lint.
2015-03-04 20:52:33 +01:00
Florian Bruhin
e5ebea80b3
Add qApp.quit atexit handler in tests.
...
This FINALLY fixes the test segfaults on Windows 8.
2015-03-04 20:48:58 +01:00
Florian Bruhin
be6ea2f0e8
Call QApplication.processEvents on exit.
2015-03-04 20:26:19 +01:00
Florian Bruhin
e431f09fab
test_editor: Fix handling of statusbar messages.
2015-03-04 20:25:57 +01:00
Joel Torstensson
4e7e97232e
Downloads using get_request specifying only path now works.
2015-03-04 12:24:26 +01:00
Joel Torstensson
49c666a4a8
get_request is now correct.
2015-03-04 12:06:08 +01:00
Joel Torstensson
68774a2c75
Style fixes.
2015-03-04 11:31:54 +01:00
Joel Torstensson
8e0c1cff7b
Made download suggestion configurable.
...
Fix #505
2015-03-04 11:31:54 +01:00