Lamar Pavel
b5af1c8730
Add three tests querying and removing data
...
Two of these are testing return values of a deactivated cache and the
third is trying to query data that was never inserted into an active
cache.
2015-10-30 02:41:17 +01:00
Lamar Pavel
b3fa19eb96
Add sanity test involving almost everything
2015-10-30 02:03:34 +01:00
Lamar Pavel
05994ad90e
Add theshold to cache-size test
...
The strict test condition before was violated by Qt internals which
seem to violate documented guarantees but are not part of qutebrowsers
code and thus can only be tested to a certain extent.
2015-10-30 01:22:16 +01:00
Jonas Schürmann
a4aacde88f
Undo: Fix issues with url comparison
2015-10-29 09:36:42 +01:00
Lamar Pavel
9a8032fa91
Fix pylint errors (upper case variable names)
2015-10-29 03:13:25 +01:00
Lamar Pavel
a6526a1be2
Add tests to update and verify meta data of cache entries
2015-10-29 02:57:16 +01:00
Lamar Pavel
2cab750a54
Add test for DiskCache.remove()
2015-10-29 02:37:32 +01:00
Lamar Pavel
e4c79a68d1
re-write tests to fill the cache
...
Previously the tests were not adding any data to the cache, making the
tests for a cache size other than 0 meaningless.
The new tests create cache entries and fill them with some data that
can be tested against.
2015-10-29 02:28:57 +01:00
Jonas Schürmann
618d9ceabf
Fix PEP 257 violation
2015-10-29 00:52:44 +01:00
Jonas Schürmann
ebe9835e5a
Remove unused tab on undo
2015-10-29 00:22:54 +01:00
Florian Bruhin
6f07eb562f
Revert "Don't use faulthandler plugin for check_coverage."
...
This reverts commit 497fba5667
.
2015-10-28 08:22:41 +01:00
Florian Bruhin
497fba5667
Don't use faulthandler plugin for check_coverage.
2015-10-28 07:45:34 +01:00
Florian Bruhin
11098b8b82
Merge branch 'MazeChaZer-feature/duckduckgo.com'
2015-10-27 20:53:42 +01:00
Florian Bruhin
776a89820f
Regenerate authors.
2015-10-27 20:53:34 +01:00
Jonas Schürmann
fe32b349a5
Use duckduckgo.com instead of www.duckduckgo.com
2015-10-27 20:31:10 +01:00
Florian Bruhin
9b104b0af7
ci_install: Update installed packages.
2015-10-27 17:54:23 +01:00
Florian Bruhin
a0c2c37a40
travis: Don't pass --required to codecov.
...
The latest release doesn't support that yet.
2015-10-27 17:54:05 +01:00
Florian Bruhin
02dda23be6
AppVeyor: Really fix codecov.
2015-10-27 17:53:50 +01:00
Florian Bruhin
daaa15396c
AppVeyor: Don't use shallow clones.
...
Otherwise codecov.io won't work.
2015-10-27 17:53:14 +01:00
Florian Bruhin
381d857f2c
Revert "Add workarounds for issues with pylint tip."
...
This reverts commit 1d2683993e
.
This causes a bad-option-value issue with the current pylint.
2015-10-26 22:05:21 +01:00
Florian Bruhin
1d2683993e
Add workarounds for issues with pylint tip.
2015-10-26 21:20:11 +01:00
Florian Bruhin
66b337c2b1
Add missing superclass init calls.
2015-10-26 21:07:08 +01:00
Florian Bruhin
021a379dd2
Add xfailed test for #1070 .
2015-10-26 21:02:34 +01:00
Florian Bruhin
fa671a7b5e
Fix codecov on AppVeyor.
2015-10-26 19:38:59 +01:00
Florian Bruhin
7656d1320a
tox: Update pytest-travis-fold to 1.1.1.
2015-10-26 18:55:44 +01:00
Florian Bruhin
4fcb2feced
tox: Add a pylint-tip testenv.
2015-10-26 18:51:41 +01:00
Florian Bruhin
c85aa40073
Skip connected_socket IPC tests on OS X.
...
Fixes #1045 - I don't have the time to look into this :-/
2015-10-26 09:04:41 +01:00
Florian Bruhin
c335aff900
Revert "Add pytest-timeout."
...
This reverts commit 8919a152fe
.
Seems to cause more trouble than it's worth... bogus timeouts on OS X and
Windows, with Windows then hanging...
2015-10-26 08:53:55 +01:00
Florian Bruhin
0cdc744afd
Try running codecov on AppVeyor.
2015-10-26 08:51:06 +01:00
Florian Bruhin
6f646a9da5
travis: Pass -X gcov --required to codecov.
2015-10-26 08:47:00 +01:00
Florian Bruhin
fc573963f4
Fix lint.
2015-10-26 08:43:55 +01:00
Florian Bruhin
4e48e3d725
ci_install: Only install codecov when needed.
2015-10-26 07:37:20 +01:00
Florian Bruhin
66afdbaf16
travis: Don't run codecov if it's unneeded.
2015-10-26 07:35:29 +01:00
Florian Bruhin
cf623f0d8d
ci_install: Also install codecov on OS X.
2015-10-26 07:34:56 +01:00
Florian Bruhin
8919a152fe
Add pytest-timeout.
2015-10-26 07:33:32 +01:00
Florian Bruhin
8dc5c95cef
tox: Pass TRAVIS to testenvs.
...
This hopefully makes pytest-travis-fold work correctly.
2015-10-26 07:31:12 +01:00
Florian Bruhin
8fee25491b
Merge branch 'jcpetkovich-flexible-hint-filtering'
2015-10-26 07:00:52 +01:00
Florian Bruhin
a1ade58557
Update docs.
2015-10-26 07:00:45 +01:00
Florian Bruhin
68024ba6bd
Merge branch 'flexible-hint-filtering' of https://github.com/jcpetkovich/qutebrowser into jcpetkovich-flexible-hint-filtering
2015-10-26 06:59:56 +01:00
Florian Bruhin
883febe243
Return a QColor for qtutils.interpolate_color.
...
This broke the tests for older PyQt versions because the test had a
test_utils.Color(test_utils.Color(...)) object (double-wrapped), and the
comparisons failed there for some reason.
2015-10-26 06:45:36 +01:00
Florian Bruhin
34cc2870f4
Fix indents in configdata.py.
2015-10-26 06:23:07 +01:00
Jean-Christophe Petkovich
589e8e9d05
Flexible Link Hint Filtering
...
I think it makes more sense to filter for any text within a link rather
than just the text at the beginning. I've been playing around with this
a little and I like it a lot better.
When using numbers as link hints, It would be awesome if the link hint
strings themselves could also be updated based on how many links are
left, but I'm still figuring out how to do this.
What do you think?
2015-10-25 21:17:48 -04:00
Florian Bruhin
9b3987febb
Add some completions for hints -> chars.
2015-10-25 21:22:19 +01:00
Florian Bruhin
bb5e5137cd
configtypes: Allow completions for String.
2015-10-25 21:18:06 +01:00
Florian Bruhin
2d4adf4476
doc/userscripts: Clarify how to call userscripts via hints.
2015-10-25 20:12:10 +01:00
Florian Bruhin
eb1a1bbdd8
Use pacman -Suy in doc/stacktrace
2015-10-24 23:04:20 +02:00
Florian Bruhin
08c4bfefe0
Update docs.
2015-10-24 16:04:53 +02:00
Florian Bruhin
f614e5b98a
Add none value for colors -> tabs.indicator.system.
2015-10-24 16:01:32 +02:00
Florian Bruhin
857a70ded7
Merge branch 'Kingdread-issue-1015'
2015-10-24 08:08:03 +02:00
Florian Bruhin
343e0b89c0
Regenerate authors.
2015-10-24 08:07:52 +02:00