Florian Bruhin
101f81844c
pylint: Adjust custom checkers for astroid 1.4.
...
Otherwise we'd run into https://bitbucket.org/logilab/pylint/issues/711
2015-12-01 07:10:39 +01:00
Florian Bruhin
a9de97968d
Make pylint shut up about ua_fetch.py.
2015-11-30 07:12:18 +01:00
Florian Bruhin
2ba55a0e77
Split generate_settings in src2asciidoc.
2015-11-30 07:11:03 +01:00
Florian Bruhin
f577da9a6b
Disable App Nap on OS X on Travis. Fixes #1143 .
2015-11-27 17:50:19 +01:00
Florian Bruhin
0d60ec43ed
Regenerate docs.
2015-11-23 13:26:32 +01:00
Florian Bruhin
16e1a65448
Merge branch 'download-page' of https://github.com/Kingdread/qutebrowser into Kingdread-download-page
2015-11-23 13:16:16 +01:00
Florian Bruhin
049102c644
Regenerate authors.
2015-11-23 11:24:40 +01:00
meles5
401f71236d
pylint: disable too-many-statements
2015-11-20 21:53:28 +01:00
meles5
b9240924d2
Seperated into two lines
2015-11-20 21:39:17 +01:00
meles5
d9f1699a3b
Improved website titles
2015-11-20 21:12:06 +01:00
Daniel Schadt
fe1c8ee4e8
Also add cherrypy.wsgiserver.wsgiserver3 to freeze
2015-11-20 15:27:17 +01:00
Daniel Schadt
cb40b1020c
Add cherrypy.wsgiserver to frozen tests
2015-11-20 14:00:17 +01:00
Florian Bruhin
271cb47f87
Merge branch 'netrc' of https://github.com/Konubinix/qutebrowser into Konubinix-netrc
2015-11-18 20:38:57 +01:00
Daniel Schadt
3438a45b19
Merge branch 'master' into download-page
2015-11-18 19:27:26 +01:00
Florian Bruhin
202fc8a5bd
Only run codecov once.
...
Otherwise coverage diffs make no sense...
This reverts commit daaa15396c
.
2015-11-18 17:47:26 +01:00
Samuel Loury
0298fcc841
Use credentials from netrc when available
2015-11-18 16:44:45 +01:00
Florian Bruhin
a845bf22ff
ci_install: Clean up PyQt URL.
2015-11-18 08:28:35 +01:00
Florian Bruhin
3251bd8419
doc: Merge "error800"/"Error 800" in author list.
2015-11-18 08:12:02 +01:00
Florian Bruhin
dcfa73cf91
AppVeyor: Use PyQt 5.5.1.
2015-11-18 08:08:40 +01:00
Florian Bruhin
89e3c2a703
Fix lint.
2015-11-18 07:43:10 +01:00
Florian Bruhin
b735d079d5
Merge branch 'www'
2015-11-18 07:02:40 +01:00
Florian Bruhin
7239f7bb68
www: Don't build unneeded files.
2015-11-18 06:54:59 +01:00
Florian Bruhin
98fbdde846
www: Remove author line/asciidoc vars from output.
2015-11-18 06:51:46 +01:00
Florian Bruhin
244d86c85a
www: Make script work if output path exists.
2015-11-18 06:41:40 +01:00
Florian Bruhin
ad5988513b
Fix lint.
2015-11-17 20:28:27 +01:00
Florian Bruhin
0ccd19f980
Fix lint.
2015-11-17 20:10:53 +01:00
Florian Bruhin
ea5484c3a2
Fix nitpicks.
2015-11-17 19:46:24 +01:00
Florian Bruhin
f20ffca540
Merge branch 'issue923' of https://github.com/lamarpavel/qutebrowser into lamarpavel-issue923
2015-11-17 19:43:35 +01:00
Florian Bruhin
4b531d142b
Regenerate authors.
2015-11-17 19:30:51 +01:00
Lamar Pavel
d745819715
Improve script to print entries grouped by browser
...
The ua_fetch.py has been re-written entirely to find specific entries for
each browser based on diversity rather than sole popularity. The output
is now formatted to print the entries for each browser grouped together.
2015-11-14 15:57:24 +01:00
Florian Bruhin
9607fae935
Skip check_coverage.py with --lf.
2015-11-13 22:43:12 +01:00
Florian Bruhin
1da7996c3b
Style fixes.
2015-11-13 22:27:41 +01:00
Florian Bruhin
256352024b
Fix lint.
2015-11-11 22:39:17 +01:00
Florian Bruhin
ad8c9988f0
Fix lint.
2015-11-11 22:23:43 +01:00
Florian Bruhin
f0083adfb5
Remove unused import.
2015-11-11 21:14:26 +01:00
Florian Bruhin
15b77bf2e9
Fix catchlog move in run_frozen_tests.py.
2015-11-11 21:13:48 +01:00
Florian Bruhin
e25ae49c0e
Use os.path.commonprefix to get common path.
...
os.path.commonpath is only available on Python 3.5.
2015-11-11 21:11:14 +01:00
Florian Bruhin
3680f01576
Switch to pytest 2.8.
...
Closes #1077 .
There were two issues:
- Paths for coverage.py suddenly were absolute instead of relative, so we strip
the common base part if that happens.
/home/florian/proj/qutebrowser/git/qutebrowser/browser/cookies.py has 100%
coverage but is not in perfect_files!
/home/florian/proj/qutebrowser/git/qutebrowser/browser/http.py has 100%
coverage but is not in perfect_files!
[...]
- There was an io.UnsupportedOperationError in test_check_coverage.py because
of pytest-faulthandler, so we just don't load that in the subprocess.
2015-11-11 20:57:47 +01:00
Florian Bruhin
7cddd52b2d
Merge branch 'download-page' of https://github.com/Kingdread/qutebrowser into Kingdread-download-page
2015-11-10 22:39:07 +01:00
Florian Bruhin
250f0e7410
Merge branch 'test-browser-cache-more' of https://github.com/lamarpavel/qutebrowser into lamarpavel-test-browser-cache-more
2015-11-10 18:57:28 +01:00
Lamar Pavel
aaf62fc6d0
Add cache tests to perfectly covered files.
2015-11-10 03:49:18 +01:00
Florian Bruhin
0162583444
Fix check_coverage.py return value.
2015-11-09 20:07:08 +01:00
Daniel
c2218f51cd
Add mhtml.last_used_directory to vulture whitelist
2015-11-09 17:01:08 +01:00
Florian Bruhin
ac10fbc095
Handle qute:... handlers in run_vulture.
2015-11-04 17:45:16 +01:00
meles5
6d6ef1e386
tox fixes
2015-10-30 14:52:09 +01:00
meles5
7cb462ff82
Improved the folder-copy function
2015-10-29 16:52:38 +01:00
meles5
1488f59d8f
Close file
2015-10-29 16:33:20 +01:00
meles5
f807842a52
Improved code style
2015-10-29 16:30:25 +01:00
meles5
8600acddb1
Moved everything into one block and used with to open files
2015-10-29 15:41:57 +01:00
meles5
8de3f8d487
Improved script
2015-10-27 22:24:28 +01:00
Florian Bruhin
8004508b3c
wip
2015-10-27 17:57:06 +01:00
Florian Bruhin
9b104b0af7
ci_install: Update installed packages.
2015-10-27 17:54:23 +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
cf623f0d8d
ci_install: Also install codecov on OS X.
2015-10-26 07:34:56 +01:00
Florian Bruhin
14334dce21
Don't remove coverage.xml on CI.
2015-10-23 19:14:46 +02:00
Florian Bruhin
67a0a6b944
Try codecov.
2015-10-23 19:14:46 +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
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
4f4dfb1e31
Add arguments to run_vulture.py.
2015-10-20 22:48:01 +02:00
Florian Bruhin
0187dd6ac6
Add get_coredumpct_traces script.
2015-10-20 21:26:53 +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
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
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
4bb1a37cf1
Rename travis fold name.
2015-10-15 22:22:28 +02:00
Florian Bruhin
309be9b057
Use travis_fold on ci_install.py.
2015-10-15 21:46:24 +02:00
Florian Bruhin
67ecd93326
Spell-check committing and existent.
2015-10-14 06:56:13 +02:00
Florian Bruhin
ffab11c871
Install tox for eslint on Travis.
2015-10-08 06:24:31 +02:00
Florian Bruhin
0960f229f0
Get rid of ci_run.py again.
2015-10-07 23:12:33 +02:00
Florian Bruhin
0845671165
Start Xvfb for CI from tests.
2015-10-07 23:05:39 +02:00
Florian Bruhin
94d88e280b
tox: Add pytest-sugar.
...
Nicer test output FTW!
2015-10-07 22:13:22 +02:00
Florian Bruhin
2918f33569
Include xvfbwrapper when freezing tests.
2015-10-07 17:06:19 +02:00
Florian Bruhin
7e2ae9f39f
Also install nodejs-legacy on Travis.
...
This is needed to get /usr/bin/node which npm/eslint seem to use.
2015-10-06 07:32:22 +02:00
Florian Bruhin
439c00f32a
Run eslint on Travis.
...
See #773 .
2015-10-06 07:10:32 +02:00
Florian Bruhin
d094a495cc
Avoid apt-get on Travis if possible.
...
This should speed up builds as no apt-get update is needed.
2015-10-06 07:10:32 +02:00
Florian Bruhin
d9018fed14
Don't install python-dev packages on Travis.
...
Those don't seem to be needed anymore.
2015-10-06 07:10:32 +02:00
Florian Bruhin
aa9498bb41
Add separate testenv for vulture.
2015-10-06 07:10:32 +02:00
Florian Bruhin
4b2e0470c8
Parallelize test runs on Travis.
2015-10-06 07:10:32 +02:00
Florian Bruhin
04619e0f81
Run Python 3.5 on OS X and get rid of Xvfb wrapper.
2015-10-06 07:10:32 +02:00
Florian Bruhin
54557fee20
Fix lint.
2015-10-05 06:53:56 +02:00
Florian Bruhin
6293842c18
Run vulture in misc testenv.
...
Closes #973 .
2015-10-04 23:04:09 +02:00
Florian Bruhin
f4fdcbdd71
Add a --check-all to check_coverage.py.
2015-10-04 20:35:24 +02:00
Florian Bruhin
54ae1582af
Make check_coverage work when called with a file.
2015-10-04 19:36:26 +02:00
Florian Bruhin
d229e90724
Fix some splelling mistakes.
2015-10-04 15:41:42 +02:00
Florian Bruhin
0b4cee420f
Merge same authors and regenerate authors.
2015-10-01 18:25:46 +02:00
Florian Bruhin
866017f9c1
Pass --verbose to Homebrew.
...
The homebrew progress bars cause Travis to bail out because the 4MB maximum log
size was reached. Ironically, that does not happen with --verbose.
2015-09-29 06:54:14 +02:00
Florian Bruhin
a6ceab5dbc
Fix pip executable name for OS X.
2015-09-24 08:53:20 +02:00
Florian Bruhin
311ae78bc3
Adjust check_coverage.py for coverage 4.0.
2015-09-21 07:42:10 +02:00
Florian Bruhin
5ba7b5cf0f
Fix lint.
2015-09-19 22:03:56 +02:00
Florian Bruhin
957116658d
Clean up freeze.py.
2015-09-18 22:33:50 +02:00
Florian Bruhin
7d6c39d64b
Run frozen smoke test via pytest.
2015-09-18 22:23:18 +02:00
Florian Bruhin
a8a2fd2e7d
Rename webserver.py to webserver_sub.py.
2015-09-18 20:08:31 +02:00
Florian Bruhin
2cb1f9226a
Make httpbin tests run when frozen.
2015-09-17 21:51:09 +02:00
Florian Bruhin
d5baed5e83
Merge branch 'cookies_tests' of https://github.com/acogneau/qutebrowser into acogneau-cookies_tests
2015-09-16 22:58:28 +02:00
Florian Bruhin
2a4cd02704
100% coverage for misc.ipc.
2015-09-04 06:58:46 +02:00
Alexander Cogneau
418328e61b
Cookie tests done
2015-09-03 18:17:39 +02:00
Florian Bruhin
1fe1200b71
Install libpython3.4-dev on Travis.
2015-09-01 08:54:53 +02:00
Florian Bruhin
0c3ee46fe0
Merge branch 'autoupdate_tests' of https://github.com/acogneau/qutebrowser into acogneau-autoupdate_tests
2015-09-01 08:48:52 +02:00
Florian Bruhin
9e6bcb97ca
Output coverage to coverage.xml.
...
This avoids https://bitbucket.org/ned/coveragepy/issues/400/
2015-08-31 07:41:06 +02:00
Alexander Cogneau
ee77951e66
PEP8 fixes
2015-08-31 01:25:42 +02:00
Florian Bruhin
4fb3114af8
Merge branch 'cmdhistory_tests' of git://github.com/acogneau/qutebrowser into acogneau-cmdhistory_tests
2015-08-27 06:18:30 +02:00
Florian Bruhin
d3e9ffec65
Revert "Revert "Add basekeyparser.py to PERFECT_FILES""
...
This reverts commit 35cbee41d6
.
2015-08-26 20:38:56 +02:00
Florian Bruhin
2750c6ab5a
Make check_coverage.py more testable and add tests.
2015-08-26 20:08:40 +02:00
Florian Bruhin
ae2ee68b85
Fix branch checking in check_coverage.py.
2015-08-26 17:51:51 +02:00
Alexander Cogneau
3a4069667a
Remove test functions out of class
2015-08-26 12:07:47 +02:00
Alexander Cogneau
933d683ff4
Add cmdhistory.py to PERFECT_FILES
2015-08-26 01:20:57 +02:00
Florian Bruhin
f3b4d0ce38
Ignore htmlcov dir for spellchecks.
2015-08-25 22:09:15 +02:00
Florian Bruhin
abba3215f2
Add missing docstring.
2015-08-25 21:17:04 +02:00
Florian Bruhin
5eed9e55ad
check_coverage.py: Always delete .coverage.xml.
2015-08-25 17:59:10 +02:00
Florian Bruhin
7ee4d2f2c9
100% test coverage for commands.argparser.
2015-08-20 07:14:25 +02:00
Florian Bruhin
5a975d1b90
100% test coverage for config.style.
2015-08-19 20:43:06 +02:00
Florian Bruhin
685bbaae6d
100% test coverage for misc.editor.
2015-08-19 09:34:44 +02:00
Florian Bruhin
aca082ce83
100% test coverage for misc.guiprocess.
2015-08-19 07:57:02 +02:00
Florian Bruhin
1a61e53daa
100% test coverage for misc.checkpyver.
2015-08-19 05:58:52 +02:00
Florian Bruhin
5d013a67a7
100% coverage for misc.msgbox.
2015-08-17 23:18:52 +02:00
Florian Bruhin
9892c10f49
100% test coverage for utils.error.
2015-08-17 23:18:39 +02:00
Florian Bruhin
9cd2f6ba24
100% test coverage for commands.cmdutils.
2015-08-17 21:13:13 +02:00
Florian Bruhin
00d81a74c2
100% coverage for browser.network.networkreply.
2015-08-17 07:16:33 +02:00
Florian Bruhin
dff4c37f54
100% test coverage for browser/signalfilter.py.
2015-08-16 23:16:13 +02:00
Florian Bruhin
641c09c011
Don't skip freezing qutebrowser/html for tests.
2015-08-16 21:48:41 +02:00
Florian Bruhin
a463811940
Include BeautifulSoup4 in freeze_tests.py.
2015-08-16 21:41:30 +02:00
Florian Bruhin
ffe6411a5a
Fix asciidoc2html path in build_release.py.
2015-08-16 21:30:12 +02:00
Florian Bruhin
6b19a7b1fa
Also include img directory when freezing.
2015-08-16 20:59:20 +02:00
Florian Bruhin
fb1cffd158
Merge branch 'feature/directory-browser' of git://github.com/antoyo/qutebrowser into dirbrowser
2015-08-16 18:27:05 +02:00
Florian Bruhin
402f9be7e9
Fix lint.
2015-08-16 15:40:26 +02:00
Florian Bruhin
9eca7ae556
appveyor: Fix Python path in registry.
...
This makes PyQt pick up C:\Python34 correctly so we can use the newer AppVeyor
image again.
See https://github.com/appveyor/ci/issues/363 .
2015-08-16 11:14:40 +02:00
Florian Bruhin
952893d984
appveyor: Update to PyQt 5.5 and self-host it.
2015-08-16 11:13:05 +02:00
Florian Bruhin
f2c8ff8aa5
Remove .exe.
2015-08-15 19:19:03 +02:00
Florian Bruhin
36a9b816a7
*Really* fix path in ci_install.py
2015-08-15 19:08:22 +02:00
Florian Bruhin
5d0ffcd14d
Whoops.
2015-08-14 07:56:51 +02:00
Florian Bruhin
2405bf1984
ci_install: Fix path.
2015-08-14 07:42:51 +02:00
Florian Bruhin
fb48059ae9
ci_install: Don't use os.system.
2015-08-14 07:17:53 +02:00
Florian Bruhin
515c9611c4
ci_install: Hopefully fix checking setup.
2015-08-14 07:14:13 +02:00
Florian Bruhin
3bfcfaba4c
Fix lint.
2015-08-14 06:59:36 +02:00
Florian Bruhin
4dee427f0e
ci_install: Check setup after installing.
2015-08-14 06:55:31 +02:00
Florian Bruhin
bbb581eaf8
100% coverage for browser.network.filescheme.
2015-08-13 21:56:22 +02:00
Florian Bruhin
5a1663c584
100% coverage for mainwindow.statusbar.textbase.
2015-08-12 07:40:45 +02:00
Florian Bruhin
927cf84e14
100% test coverage for config.textwrapper.
2015-08-12 07:01:21 +02:00
Florian Bruhin
a6d09b8cc9
100% coverage for browser.network.schemehandler.
2015-08-12 06:53:32 +02:00
Florian Bruhin
da9cb88c81
pylint: Disable protected-access for tests.
2015-08-12 06:44:33 +02:00
Florian Bruhin
83a4451f93
Skip coverage checks when tests are filtered.
2015-08-12 06:42:05 +02:00
Florian Bruhin
cf45d97046
100% test coverage for utils.jinja.
2015-08-12 06:25:05 +02:00
Florian Bruhin
2d8aaecd65
100% coverage for utils.debug.
2015-08-11 17:11:00 +02:00
Florian Bruhin
c8679d6544
100% coverage for browser.webelem.
2015-08-10 19:37:16 +02:00