Florian Bruhin
a981688509
tox: Always generate HTML coverage report.
2015-08-25 17:59:36 +02:00
Florian Bruhin
5eed9e55ad
check_coverage.py: Always delete .coverage.xml.
2015-08-25 17:59:10 +02:00
Florian Bruhin
987b39885a
sessions: Add more tests.
2015-08-25 17:49:45 +02:00
Florian Bruhin
d17744ffed
Regenerate authors.
2015-08-25 11:38:07 +02:00
Thorsten Wißmann
830136540d
Hide the border of the completionwidget
...
Having a light Qt theme but a dark qutebrowser theme, one can see an
ugly white border around the completion widget which is some relict from
the underlying Qt widget QTreeView. As qutebrowser has its own theming
settings for the mainwindow, it should hide the Qt theme as far as
possible.
2015-08-25 11:01:25 +02:00
Florian Bruhin
1a062035eb
Log IPC server name to debug log.
2015-08-24 19:28:09 +02:00
Florian Bruhin
a8d549cb24
sessions: Add some more tests.
2015-08-24 17:12:20 +02:00
Florian Bruhin
201f2f67d3
sessions: Logging/error message improvements.
2015-08-24 17:12:20 +02:00
Florian Bruhin
f79e2c92a4
Read back session test data as UTF-8.
2015-08-24 08:44:41 +02:00
Florian Bruhin
9d601e8eb9
Fix session tests.
2015-08-24 08:31:11 +02:00
Florian Bruhin
8b40603562
Revert "Fix argparser test after win_registry change."
...
This reverts commit 70243d6e2f
.
2015-08-24 08:05:34 +02:00
Florian Bruhin
e7a52a0833
Add some tests for misc.sessions.
2015-08-24 08:00:32 +02:00
Florian Bruhin
4f250ba5d7
tests: Allow tests to add windows to win_registry.
2015-08-24 08:00:16 +02:00
Florian Bruhin
4577659342
Fix crash when there's no completion.
2015-08-24 00:08:55 +02:00
Florian Bruhin
70243d6e2f
Fix argparser test after win_registry change.
...
The last focused window was now window 1 - so we better make this explicit.
2015-08-23 22:37:27 +02:00
Florian Bruhin
7bc5996d52
tests: Provide activeWindow() in FakeQApplication.
2015-08-23 21:55:25 +02:00
Florian Bruhin
9ff97d31da
tests: Provide two windows in win_registry fixture.
2015-08-23 21:55:12 +02:00
Florian Bruhin
b783069f48
SessionManager: Factor out name handling in save.
2015-08-23 21:54:55 +02:00
Florian Bruhin
2556e2e27b
Remove unused import.
2015-08-23 18:29:02 +02:00
Florian Bruhin
0907d8bf76
tests: Add a webview fixture.
2015-08-23 18:17:22 +02:00
Florian Bruhin
17215822bc
sessions: Use try/except to create base-path.
2015-08-23 18:17:10 +02:00
Florian Bruhin
6d8854bc07
Simplify usage of tabhistory.TabHistoryItem.
2015-08-23 18:16:19 +02:00
Florian Bruhin
ece2786d40
tox: Update pytest-cov to 2.1.0.
...
Changelog:
- Added support for coverage 4.0b2.
- Added the --cov-append command line option.
2015-08-23 17:57:37 +02:00
Florian Bruhin
ab04ca4f36
tox: Update hypothesis to 1.10.5.
2015-08-22 23:45:29 +02:00
Florian Bruhin
c18b68ac99
Merge branch 'acogneau-separate_completion_filters'
2015-08-22 23:05:50 +02:00
Florian Bruhin
fc6c49f57c
Cleanup
2015-08-22 22:59:41 +02:00
Florian Bruhin
17f971344d
Update authors.
2015-08-22 22:53:52 +02:00
Florian Bruhin
2a5d352c7b
Merge branch 'separate_completion_filters' of git://github.com/acogneau/qutebrowser into acogneau-separate_completion_filters
2015-08-22 22:53:35 +02:00
Florian Bruhin
3d5599facb
Move session dir handling out of SessionManager.
2015-08-22 22:53:03 +02:00
Alexander Cogneau
7ed4977d64
Change parent of filter models
2015-08-21 16:56:36 +02:00
Alexander Cogneau
729c10e0a9
Fix PEP issue
2015-08-21 16:23:28 +02:00
Alexander Cogneau
387c84beff
Completion model filters are now per-window (via completer.py)
2015-08-21 16:05:33 +02:00
Florian Bruhin
355074f248
Add a . for spatial-navigation docs.
2015-08-20 11:11:31 +02:00
Florian Bruhin
ba636ebbb0
Don't run pyflakes on AppVeyor.
...
It's broken and I don't want to fix it.
2015-08-20 07:52:02 +02:00
Florian Bruhin
543053c8f5
test_signalfilter: Remove unused fixture.
2015-08-20 07:14:32 +02:00
Florian Bruhin
7ee4d2f2c9
100% test coverage for commands.argparser.
2015-08-20 07:14:25 +02:00
Florian Bruhin
ed70d636d0
argparser: Check for unknown types.
2015-08-20 07:09:09 +02:00
Florian Bruhin
506917882e
argparser: Style fixes.
2015-08-20 07:08:59 +02:00
Florian Bruhin
774ef58432
Use qapp fixture in enable_caret_browsing.
...
This fixes a segfault when only running test_position_caret.
2015-08-19 21:40:13 +02:00
Florian Bruhin
92facb6f50
tox: Update hypothesis to 1.10.3.
...
Upstream changelog:
* lists(elements, unique_by=some_function, min_size=n) would have raised a
ValidationError if n > Settings.default.average_list_length because it would
have wanted to use an average list length shorter than the minimum size of
the list, which is impossible. Now it instead defaults to twice the minimum
size in these circumstances.
* basic() strategy would have only ever produced at most ten distinct values
per run of the test (which is bad if you e.g. have it inside a list). This
was obviously silly. It will now produce a much better distribution of data,
both duplicated and non duplicated.
* star imports from hypothesis should now work correctly.
* example quality for examples using flatmap will be better, as the way it had
previously been implemented was causing problems where Hypothesis was
erroneously labelling some examples as being duplicates.
2015-08-19 21:24:22 +02:00
Florian Bruhin
1a1bc4b8a8
Fix lint.
2015-08-19 21:13:35 +02:00
Florian Bruhin
a79c139aa4
Revert "style: Check for QColor when setting in ColorDict."
...
This reverts commit 9b82fae6fb
.
2015-08-19 20:48:19 +02:00
Florian Bruhin
1d5cae3146
style: Use a collection.UserDict.
2015-08-19 20:46:02 +02:00
Florian Bruhin
5a975d1b90
100% test coverage for config.style.
2015-08-19 20:43:06 +02:00
Florian Bruhin
b11e075047
Add __getitem__ to ConfigStub.
2015-08-19 20:39:48 +02:00
Florian Bruhin
b3395a1a9c
style: Fix logging in ColorDict.
2015-08-19 20:39:31 +02:00
Florian Bruhin
9b82fae6fb
style: Check for QColor when setting in ColorDict.
2015-08-19 20:39:16 +02:00
Florian Bruhin
dc0e8b4626
Don't pass config to stylesheets.
2015-08-19 20:38:19 +02:00
Florian Bruhin
1ddd65304a
tests: Use a real signal for ConfigStub.
2015-08-19 19:37:19 +02:00
Florian Bruhin
3d4fd2652b
test_editor: Skip un{read,writ}able on Windows.
...
Windows doesn't really have working file permissions...
2015-08-19 10:18:55 +02:00