Florian Bruhin
5b9ae8bc85
Initial history implementation
2016-07-07 18:32:52 +02:00
Florian Bruhin
37c3dbbc7d
Fix test_tab
2016-07-07 18:32:52 +02:00
Florian Bruhin
d2dd32b979
Fix test_url
2016-07-07 18:32:52 +02:00
Florian Bruhin
8e5a86fb13
Don't require QtWebEngine
2016-07-07 18:32:52 +02:00
Florian Bruhin
bf286f8c74
Fix some tests
2016-07-07 18:32:52 +02:00
Florian Bruhin
115021b8ea
Get QtWebEngine to start and work somewhat
2016-07-07 18:32:52 +02:00
Florian Bruhin
b0a391932a
Get qutebrowser to run
2016-07-07 18:32:52 +02:00
Florian Bruhin
048f7dcaf5
Refactor signals
2016-07-07 18:32:52 +02:00
Florian Bruhin
4305966f7b
Add WrapperLayout/AbstractTab
2016-07-07 18:32:52 +02:00
Florian Bruhin
29ee605c79
Fix version output test on Windows
...
On Windows we get something like C:\IMPORTPATH instead of /IMPORTPATH
2016-07-07 18:32:13 +02:00
Florian Bruhin
674b316db3
Simplify test_version_output
2016-07-07 09:14:36 +02:00
Florian Bruhin
ade9b17b22
Remove now unused version.GPL_BOILERPLATE
2016-07-07 08:58:02 +02:00
Florian Bruhin
f3979ad908
backers: Add Geir Isene
2016-07-07 07:14:21 +02:00
Florian Bruhin
ebf9bc4e0a
Improve version output
2016-07-06 23:47:59 +02:00
Florian Bruhin
a58c3ff0c6
Print some version numbers in travis_install.sh
2016-07-06 22:25:14 +02:00
Florian Bruhin
28ea459c05
Prune .github in MANIFEST.in
2016-07-06 21:21:31 +02:00
Florian Bruhin
89cdef851d
Install new node
2016-07-06 17:05:12 +02:00
Florian Bruhin
8d625393ec
Merge branch 'munyari-issue_template'
2016-07-06 17:00:14 +02:00
Florian Bruhin
6dbbd894b8
Regenerate authors
2016-07-06 17:00:09 +02:00
Florian Bruhin
2e23ad59dc
Merge branch 'issue_template' of https://github.com/munyari/qutebrowser into munyari-issue_template
2016-07-06 16:33:30 +02:00
Panashe M. Fundira
9bd2c60488
Move issue template to .github directory
2016-07-06 10:22:54 -04:00
Panashe M. Fundira
44eefc2c3b
Simplify issue template
2016-07-06 10:02:14 -04:00
Florian Bruhin
db1ba9ac88
Merge branch 'blyxxyz-status-position'
2016-07-06 13:59:05 +02:00
Florian Bruhin
7ddbd24c30
Add ui -> status-position to the changelog
2016-07-06 13:58:46 +02:00
Florian Bruhin
53c942a2de
Regenerate authors
2016-07-06 13:58:02 +02:00
Florian Bruhin
794a275383
Merge branch 'status-position' of https://github.com/blyxxyz/qutebrowser into blyxxyz-status-position
2016-07-06 13:56:55 +02:00
Florian Bruhin
8ba04b460e
Add $QUTE_*_DIR to changelog
2016-07-06 13:56:34 +02:00
Florian Bruhin
ef03a79956
Merge branch 'rcorre-completer_tests'
2016-07-06 13:36:01 +02:00
Florian Bruhin
b429b919b5
Merge branch 'completer_tests' of https://github.com/rcorre/qutebrowser into rcorre-completer_tests
2016-07-06 13:35:13 +02:00
Florian Bruhin
80238ec2ac
Merge branch 'blyxxyz-userscript_vars'
2016-07-06 13:26:58 +02:00
Florian Bruhin
e0d5c3d2b1
Regenerate authors
2016-07-06 13:26:44 +02:00
Florian Bruhin
ab123b8c80
Merge branch 'userscript_vars' of https://github.com/blyxxyz/qutebrowser into blyxxyz-userscript_vars
2016-07-06 13:25:16 +02:00
Florian Bruhin
60cc72b5a6
test requirements: Update pytest-cov to 2.3.0
...
- Add support for specifying output location for html, xml, and annotate
report.
- Fix bug hiding test failure when cov-fail-under failed.
- For coverage >= 4.0, match the default behaviour of coverage report
and error if coverage fails to find the source instead of just
printing a warning.
- Fixed bug occurred when bare --cov parameter was used with xdist.
- Add support for skip_covered and added --cov-report=term-skip-covered
command line options.
2016-07-06 00:18:13 +02:00
Florian Bruhin
294560ec6d
flake8 requirements: Update flake8-tuple to 0.2.11
...
- fixed: non exists file raise IOError
- fixed: compatibility with older versions of flake8
2016-07-06 00:16:43 +02:00
Florian Bruhin
30131f0ec4
flake8 reqs: Update flake8-tidy-imports to 1.0.2
...
- Fixed I201 rule to detect banned imports like from x import y.
2016-07-05 08:39:18 +02:00
Florian Bruhin
eb990d4bd5
Revert "flake8 reqs: Remove obsolete comment"
...
This reverts commit 3a481a2fa5
.
2016-07-05 08:35:58 +02:00
Florian Bruhin
70117265d6
Fix some a/an misspellings
...
Thanks to https://github.com/jwilk/anorack
2016-07-05 08:34:03 +02:00
Ryan Roden-Corrent
6c2c9438a7
More completer unit test cases.
2016-07-04 19:06:00 -04:00
Jan Verbeek
85bd29a7c8
Add status-position documentation
2016-07-04 19:05:44 +02:00
Panashe M. Fundira
efa3cbf04f
Add issue template
2016-07-04 12:55:50 -04:00
Ryan Roden-Corrent
4c9417ac6e
Use helper method for cmd prompt text testing.
...
In test_completer, introduce two helper methods to reduce duplicate
code for handling fake cmd prompt text that uses '|' as a placeholder.
2016-07-04 12:31:56 -04:00
Jan Verbeek
965459ab36
Add status-position option
...
See #1257 .
I can't think of a good way to do widget-packing because tabs can be on
the left or right.
2016-07-04 18:21:09 +02:00
Ryan Roden-Corrent
27d635a394
Test selection_changed, not change_completed_part.
...
For the Completer unit tests:
Although `change_completed_part` looks like a public method, it was
only used internally. Test the externally-used method
`selection_changed` instead.
2016-07-04 08:22:21 -04:00
Ryan Roden-Corrent
a6a8bf9304
Clean up test_completer further.
...
Based on code review:
- Use qtbot.waitSignal to test a signal firing
- Use pytest.mark.xfail for an expected test failure
- Ensure there are 2 newlines between module-level functions
2016-07-04 07:36:31 -04:00
Ryan Roden-Corrent
68e373df44
Use QLineEdit as a base for FakeStatusbarCommand.
...
Reduces the amount of mocking and keeps it more true to the original.
2016-07-03 23:06:36 -04:00
Ryan Roden-Corrent
7f690c3f3f
More unit test coverage for Completer.
...
Test completion_item{next,prev} and change_completed_part.
2016-07-03 22:58:09 -04:00
Ryan Roden-Corrent
1ea28890b5
Move completion_item_del to completion widget.
...
It was implemented as a member of the Completer object, but registered
to the CompletionWidget. This led to the weird scenario where self was
actually a CompletionWidget, even though it was declared in Completer.
2016-07-03 17:35:17 -04:00
Ryan Roden-Corrent
9bfff1c685
Test more cases for completer.update_completion.
2016-07-03 17:18:16 -04:00
Ryan Roden-Corrent
13e8ed53d6
Clean up completer unit test.
...
Based on code review:
- import modules, not classes
- use methods, not lambdas for the mock command prompt class
- use None rather than Mock for DUMB_SORT
- autouse two fixtures and remove them from test signatures
2016-07-03 17:18:16 -04:00
Florian Bruhin
e3c6a0b766
Handle OSError when closing download fileobj
2016-07-03 18:26:21 +02:00