Daniel
7a413ad6d5
Remove unneeded functions from TabBar.
...
addTab() and insertTab() are not called and if they were called would
raise an exception (self.set_page_title not defined).
2015-10-23 19:52:56 +02:00
Daniel
8d88dd9d75
Fix crash with small icons
...
Fixes #1015
2015-10-23 19:52:56 +02:00
Florian Bruhin
bb75cb23b9
Revert "Disable some codecov features."
...
This reverts commit 3d93413022
.
2015-10-23 19:39:17 +02:00
Florian Bruhin
3d93413022
Disable some codecov features.
2015-10-23 19:14:46 +02:00
Florian Bruhin
14334dce21
Don't remove coverage.xml on CI.
2015-10-23 19:14:46 +02:00
Florian Bruhin
023d80fe40
Set source in .coveragerc.
...
This should make codecov.io pick the right source files up too.
2015-10-23 19:14:46 +02:00
Florian Bruhin
67a0a6b944
Try codecov.
2015-10-23 19:14:46 +02:00
Florian Bruhin
87e94930b5
Run tests verbose on Travis.
...
Hopefully helps with figuring out what test hangs in #1045 .
2015-10-23 07:08:35 +02:00
Lamar Pavel
24887a6564
Adjust coding style based on pylint warnings
2015-10-23 01:49:00 +02:00
Florian Bruhin
de0542929a
tox: Update httpbin to 0.4.0.
...
- New /image/svg endpoint
- add deploy to heroku button
- add 406 response to /image
- don't always emit the transfer-encoding header for stream endpoint.
2015-10-22 22:24:40 +02:00
Florian Bruhin
9482662d7e
travis: Pass --faulthandler-timeout.
2015-10-22 06:44:46 +02:00
Lamar Pavel
4a8dec5eb8
Code style; complete first batch of tests.
2015-10-21 22:31:46 +02:00
Lamar Pavel
82c608038d
Coding style
2015-10-21 22:31:46 +02:00
Lamar Pavel
0b78fb65c9
Test if cleared cache is actually empty
2015-10-21 22:31:46 +02:00
Lamar Pavel
aa62a547d5
Use tmpdir fixture instead of "/foo/bar"
2015-10-21 22:31:46 +02:00
Lamar Pavel
da800e3fa7
Don't setMaximumCacheSize if there is no cache
2015-10-21 22:31:46 +02:00
Lamar Pavel
a99d3f6525
Add first 3 tests for browser.cache
...
Note: test_cache_deactivated_private_browsing is currently failing
2015-10-21 22:31:46 +02:00
Florian Bruhin
d9d2366f27
Merge pull request #1042 from meles5/www
...
Style changes
2015-10-21 20:13:16 +02:00
meles5
81556430c9
Style changes
2015-10-21 19:57:20 +02:00
Florian Bruhin
fabe53564f
Add www folder.
2015-10-21 19:48:00 +02:00
Florian Bruhin
aef4f4ed00
Merge branch 'Kingdread-config-timestamp'
2015-10-21 18:27:44 +02:00
Daniel
ef8a681fcc
Add TimestampTemplate config type
...
No more crash when 'completion->timestamp-format' is set to '%'.
Fixes #1039 .
2015-10-21 17:23:39 +02:00
Florian Bruhin
daf81f5fcd
www: Working website generation.
2015-10-21 07:31:47 +02:00
Florian Bruhin
f6fffee9d3
www: Keep modified sources if building failed.
2015-10-21 07:19:04 +02:00
Florian Bruhin
406b7a7034
Fix wrong image width in README.asciidoc.
2015-10-21 07:18:42 +02:00
Florian Bruhin
4fb374e764
Fix test_run_vulture when frozen.
2015-10-21 06:11:07 +02:00
Florian Bruhin
aba31babca
Add some tests for run_vulture.py.
2015-10-20 23:42:01 +02:00
Florian Bruhin
b12cfa9d05
Fix filters in run_vulture.py.
2015-10-20 23:31:46 +02:00
Florian Bruhin
db350719d5
Make run_vulture.py more modular.
2015-10-20 23:25:50 +02:00
Florian Bruhin
4dd3483aca
Remove unused import.
2015-10-20 22:49:00 +02:00
Florian Bruhin
4f4dfb1e31
Add arguments to run_vulture.py.
2015-10-20 22:48:01 +02:00
Florian Bruhin
764914a8b2
Clean up cache.DiskCache.
2015-10-20 22:40:43 +02:00
Florian Bruhin
0187dd6ac6
Add get_coredumpct_traces script.
2015-10-20 21:26:53 +02:00
Lamar Pavel
45f9e61815
Fix pylint error (line too long)
2015-10-20 18:17:12 +02:00
Florian Bruhin
2f36789ff4
Revert "travis: Mark OS X as allowed failure for now."
...
This reverts commit 5499e686e2
.
2015-10-20 18:14:27 +02:00
Florian Bruhin
7d026efbfb
Revert "travis: Patch PyQt on OS X."
...
This reverts commit 5fce514168
.
2015-10-20 18:14:25 +02:00
Florian Bruhin
e03068ed84
Start adding website features to asciidoc2html.
2015-10-20 18:13:31 +02:00
Lamar Pavel
08bbb6b7c7
Consider new UA script in tox tests
...
To avoid failing tests tox now includes one of the modules required by
the script and the latter informs pylint to ignore one of the imports.
2015-10-20 17:30:39 +02:00
Lamar Pavel
7703fa217b
Add some UAs manually for diversity
...
The automatically fetched list includes popular user-agents but does not
guarantee any kind of diversity, so there are now a few statically
printed UAs from mobile browsers.
2015-10-20 17:28:22 +02:00
Florian Bruhin
71a150af22
Refactor asciidoc2html.py.
2015-10-20 06:54:43 +02:00
Lamar Pavel
332df99a77
Add docstring to new script
2015-10-20 03:28:27 +02:00
Lamar Pavel
6ebb37aa17
Update UA list and add script to fetch UAs
...
The script is based on a gist posted by @averrin and has been modified
to print the output according to the format expected by qutebrowser,
ready to be pasted into configtypes.py.
2015-10-20 02:52:11 +02:00
Florian Bruhin
0a40dfced6
tox: Update to pytest-travis-fold to 1.1.0.
...
- Move auxiliary logic from TravisContext into module-level functions
- Add 'travis' fixture and functions for folding given string/lines
2015-10-19 22:06:50 +02:00
Florian Bruhin
8e0389fd37
tox: Update pytest-html to 1.7.
...
- Add report sections including stdout and stderr to log.
- Fix INTERNALERROR when an xdist slave crashes.
2015-10-19 19:41:35 +02:00
Florian Bruhin
bd189392a8
tests: Upload junit.xml to AppVeyor.
2015-10-19 17:29:54 +02:00
Florian Bruhin
5fce514168
travis: Patch PyQt on OS X.
...
This is to circumvent https://github.com/Homebrew/homebrew/issues/45114
The build takes a lot longer now, but at least it works.
2015-10-19 17:29:01 +02:00
Florian Bruhin
7519694e22
tox: Update hypothesis to 1.12.0.
...
- Significantly improved performance of creating strategies using the functions
from the hypothesis.strategies module by deferring the calculation of their
repr until it was needed. This is unlikely to have been an performance issue
for you unless you were using flatmap, composite or stateful testing, but for
some cases it could be quite a significant impact.
- A number of cases where the repr of strategies build from lambdas is improved
- Add dates() and times() strategies to hypothesis.extra.datetimes
- Add new 'profiles' mechanism to the settings system
- Deprecates mutability of Settings, both the Settings.default top level
property and individual settings.
- A Settings object may now be directly initialized from a parent Settings.
- @given should now give a better error message if you attempt to use it with a
function that uses destructuring arguments (it still won't work, but it will
error more clearly),
- A number of spelling corrections in error messages
- py.test should no longer display the intermediate modules Hypothesis
generates when running in verbose mode
- Hypothesis should now correctly handle printing objects with non-ascii reprs
on python 3 when running in a locale that cannot handle ascii printing to
stdout.
- Add a unique=True argument to lists(). This is equivalent to unique_by=lambda
x: x, but offers a more convenient syntax.
2015-10-19 07:35:27 +02:00
Florian Bruhin
5499e686e2
travis: Mark OS X as allowed failure for now.
...
See https://github.com/Homebrew/homebrew/issues/45114
2015-10-19 06:33:42 +02:00
Florian Bruhin
66e0812ab6
Merge branch 'neeasade-master'
2015-10-19 05:18:43 +02:00
Florian Bruhin
de4ee92b56
Update docs.
2015-10-19 05:18:30 +02:00