Florian Bruhin
99263ae351
Rename minimal_webkit_testbrowser.py to testbrowser.py
2016-03-31 06:29:48 +02:00
Florian Bruhin
25555682dc
Merge branch 'master' of https://github.com/arsana7/qutebrowser into arsana7-master
2016-03-29 18:59:06 +02:00
Florian Bruhin
606471c4b6
Merge branch 'test_statusbar_url' of https://github.com/craftyguy/qutebrowser into craftyguy-test_statusbar_url
2016-03-29 07:07:45 +02:00
Clayton Craft
8addc19d47
Added option to output in "bookmark" format, clarified some "help" msgs
2016-03-25 13:01:21 -07:00
Clayton Craft
81ce9b818f
Fix importer script to output bookmarks in the right format for qutebrowser to use
2016-03-24 18:58:08 -07:00
Clayton Craft
a78644a199
Implement statusbar.url test
2016-03-24 12:57:14 -07:00
Florian Bruhin
cd5cb2f50d
Improve check_coverage.py output on failure
2016-03-24 06:51:22 +01:00
Philipp Hansch
a50363ca67
Fix flake8 issues
2016-03-20 13:02:04 +01:00
Philipp Hansch
573660f36d
Fix lint issue
2016-03-20 12:08:48 +01:00
Philipp Hansch
8000af1664
Generalize bookmarks import
...
This change adds `firefox` and `ie` as possible arguments to the importer
script.
2016-03-20 10:49:33 +01:00
Florian Bruhin
abfadb5631
Fix asciidoc2html --no-authors
2016-03-16 07:35:12 +01:00
Florian Bruhin
ee4fa6c118
travis: Use prebuilt docker images
2016-03-16 07:23:17 +01:00
Florian Bruhin
b76886d2ff
Ignore --no-authors in asciidoc2html.py
...
This makes it possible to run "tox -e docs -- --no-args" with {posargs} passed
to both src2asciidoc.py and asciidoc2html.py.
2016-03-16 07:11:40 +01:00
Florian Bruhin
bb2847fee9
Fix argument passing to Travis
2016-03-16 06:52:06 +01:00
Florian Bruhin
0eb12b8fa0
Fix spelling
2016-03-16 06:23:39 +01:00
Florian Bruhin
236572e0f5
Check docs on Travis, take two
...
We don't regenerate the authors there, as that doesn't work due to Travis
cloning with --depth=50
2016-03-16 06:22:36 +01:00
Florian Bruhin
172611a1b9
Revert "Revert "Check docs on Travis""
...
This reverts commit cc6d2ddc1d
.
2016-03-16 06:19:33 +01:00
Florian Bruhin
cc6d2ddc1d
Revert "Check docs on Travis"
...
This reverts commit f1ec6e1e00
.
--depth=50 on Travis messes up author generation
2016-03-15 23:22:19 +01:00
Florian Bruhin
f1ec6e1e00
Check docs on Travis
2016-03-15 22:46:49 +01:00
Florian Bruhin
07d31634c6
Add script to check for doc changes
2016-03-15 22:43:47 +01:00
Florian Bruhin
123de8783f
ci/install.py fixup
2016-03-15 19:32:20 +01:00
Florian Bruhin
62db2c724f
Try to run Docker on Travis
2016-03-15 19:25:01 +01:00
Florian Bruhin
cc94e7bfee
Move ci_install.py to subdir
2016-03-15 19:20:28 +01:00
Florian Bruhin
43a4a6a3e7
Add pkg_resources._vendor.pyparsing when freezing.
...
This is similar to 85299d293f
.
2016-03-02 08:01:47 +01:00
avk
c9bb6d0111
tests for browser.network.pastebin - code refactor
2016-02-22 20:46:22 +01:00
Florian Bruhin
d0e79b2af7
Fix lint
2016-02-19 07:39:17 +01:00
Florian Bruhin
0b362e76ea
Move pylint plugins to an installed package.
...
This means we can now run things like running pylint --version without having
to set PYTHONPATH correctly now.
When using skip_install=true, the plugins wouldn't work as they need to import
qutebrowser.
We have to keep setting PYTHONPATH in run_pylint_on_tests.py, otherwise we get
this error I don't quite understand:
F: 1, 0: error while code parsing: Unable to load file
'/home/florian/proj/qutebrowser/git/__init__.py' ([Errno 2] No such
file or directory: '...') (parse-error)
2016-02-19 07:15:09 +01:00
Florian Bruhin
67b9904772
Include pytest-xvfb properly in frozen tests
2016-02-19 06:52:19 +01:00
Florian Bruhin
504bf6eb3b
Remove xvfbwrapper from freeze_tests.py.
2016-02-17 07:45:36 +01:00
Florian Bruhin
07492db9fe
Merge branch 'contributing-toxhelp' of https://github.com/flv0/qutebrowser into flv0-contributing-toxhelp
2016-02-12 06:43:10 +01:00
Florian Bruhin
5b66d81f7d
Include pstats for frozen tests.
2016-02-11 08:26:31 +01:00
Florian Bruhin
6d11e9ffd8
Fix lint.
2016-02-11 07:17:00 +01:00
Florian Bruhin
45935c86af
Rewrite run_profile script.
...
There's now --profile-tool to select between various tools, a new
--profile-file option, and it uses argparse.
2016-02-11 06:48:16 +01:00
Patric Schmitz
5878cd37fa
add CONTRIBUTING to index and asciidoc2html.py
2016-02-10 18:37:46 +01:00
Florian Bruhin
1a42bae627
ci_install: Cleanup, improve messages.
...
This cleans up the whole script, and outputs nicer folded messages.
2016-02-05 09:24:39 +01:00
Florian Bruhin
41f82b2ad4
travis: Avoid using the default GCE mirror.
...
We patch sources.list to use the US loudbalancer instead of the hardcoded GCE
mirror which Travis uses by default - because that seems to be quite unstable.
2016-02-05 09:23:52 +01:00
Florian Bruhin
79f83a033d
Add a fake clipboard for tests
...
There are a lot of problems and flakiness with using a real clipboard.
Instead we now have a :debug-set-fake-clipboard command to set a text, and use
logging when getting the contents.
Fixes #1285 .
2016-02-03 20:27:11 +01:00
Florian Bruhin
4103e7eba2
Revert "update_3rdparty: add docstring to main()"
...
This reverts commit 90e88ce0d0
.
2016-02-01 20:09:17 +01:00
Florian Bruhin
7be296333a
Merge branch 'pdfjs' of https://github.com/Kingdread/qutebrowser into Kingdread-pdfjs
2016-02-01 20:07:56 +01:00
Florian Bruhin
7a268a41f6
pylint: Don't require docstring for main() funcs.
2016-02-01 20:06:49 +01:00
Daniel Schadt
90e88ce0d0
update_3rdparty: add docstring to main()
2016-02-01 18:14:24 +01:00
Daniel Schadt
63f0171d30
update_3rdparty: add option for pdfjs version
...
This way we can instruct update_3rdparty to download a specific version
of pdfjs, e.g. to make debugging easier or to match the version of a
system package.
Syntax:
update_3rdparty.py -p 1.2.109
or
update_3rdparty.py --pdfjs=1.2.109
If the command line argument is not given, the script will automatically
download the latest release.
2016-02-01 17:46:16 +01:00
Florian Bruhin
0e6c6d3750
Revert "ci_install: Pin virtualenv to 14.0.3 on Windows."
...
This reverts commit ec214f4897
.
Fixed upstream in virtualenv 14.0.5.
2016-02-01 08:43:42 +01:00
Florian Bruhin
ec214f4897
ci_install: Pin virtualenv to 14.0.3 on Windows.
...
WORKAROUND for https://github.com/pypa/virtualenv/issues/858
2016-02-01 07:29:41 +01:00
Florian Bruhin
e9662b71f0
Move pytest arguments to pytest.ini.
...
Closes #1260 .
2016-01-24 21:10:22 +01:00
Florian Bruhin
95fe54f010
Avoid running coverage when it's unneeded.
...
Unfortunately running coverage means our tests need more than a minute longer
to run.
We still run it in the following scenarios:
- Full 'tox' run
- On Travis CI on Linux
- On the buildbot on Archlinux
But not anymore in the following scenarios:
- When running 'tox -e py35' (or py34)
- On Travis CI on OS X
- On AppVeyor
- On the buildbot except on Archlinux
2016-01-24 20:17:28 +01:00
Florian Bruhin
85299d293f
Add pkg_resources._vendor.packaging to freeze.py.
...
Workaround for https://bitbucket.org/anthony_tuininga/cx_freeze/issues/175/
Also see https://github.com/pyinstaller/pyinstaller/issues/1773
This hopefully fixes AppVeyor builds.
2016-01-24 00:30:26 +01:00
Florian Bruhin
7fa0dc68bf
flake8: Add flake8-pep3101 plugin.
...
Checks for old string formatting.
https://pypi.python.org/pypi/flake8-pep3101/
2016-01-22 19:40:10 +01:00
Florian Bruhin
d5d4e42c64
ci_install: Update Python3 for flake8 env.
2016-01-22 17:33:57 +01:00
Florian Bruhin
af0067526b
ci_install: Show Python version.
2016-01-22 17:33:57 +01:00