Age | Commit message (Collapse) | Author |
|
|
|
|
|
There's now --profile-tool to select between various tools, a new
--profile-file option, and it uses argparse.
|
|
|
|
This cleans up the whole script, and outputs nicer folded messages.
|
|
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.
|
|
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.
|
|
This reverts commit 90e88ce0d0de0a4177d4159d7c49887f99f620f2.
|
|
Kingdread-pdfjs
|
|
|
|
|
|
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.
|
|
This reverts commit ec214f4897afe68bdcded501da32c83fcd073f39.
Fixed upstream in virtualenv 14.0.5.
|
|
WORKAROUND for https://github.com/pypa/virtualenv/issues/858
|
|
Closes #1260.
|
|
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
|
|
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.
|
|
Checks for old string formatting.
https://pypi.python.org/pypi/flake8-pep3101/
|
|
|
|
|
|
|
|
It has 100% due to integration tests, but no unit tests yet.
|
|
We're just hiding useful debug information this way.
|
|
|
|
Windows needs the SystemRoot environment variable set to initialize the crypto
API, what running Python in a subprocess does.
However, we did override the whole environment instead of extending it, which
means this broke on Windows when calling asciidoc:
Traceback (most recent call last):
File "C:\asciidoc-8.6.9\asciidoc.py", line 9, in <module>
import sys, os, re, time, traceback, tempfile, subprocess, codecs, locale, unicodedata, copy
File "C:\Python27\lib\tempfile.py", line 35, in <module>
from random import Random as _Random
File "C:\Python27\lib\random.py", line 885, in <module>
_inst = Random()
File "C:\Python27\lib\random.py", line 97, in __init__
self.seed(x)
File "C:\Python27\lib\random.py", line 113, in seed
a = long(_hexlify(_urandom(2500)), 16)
WindowsError: [Error -2146893795] Provider DLL failed to initialize correctly
|
|
freeze.py now optionally includes pdfjs if it's present. This means we don't
need to download it every time to run frozen tests, but we can include it in
build_release.py when building a windows package.
|
|
This reverts commit 384a9ad923084dd02bea31d09cf9e12c4dee5ace.
|
|
Kingdread-pdfjs
|
|
|
|
|
|
See #1091.
|
|
Fixes #1203.
|
|
|
|
vulture reports it as a false-positive, it's used in the tests but not
picked up by vulture.
|
|
|
|
You cannot open a file twice on windows, so the call to
urllib.request.urlretrieve was invalid, since we already opened the
temporary file. urlretrieve without a filename will automatically create
and return a temp-file, so we're fine.
|
|
|
|
|
|
|
|
|
|
* No modified pdfjs installation needed
-> Groundwork for using a system-wide installation
* Script update_3rdparty.py to download and upack the latest pdfjs
release
|
|
|
|
|
|
|
|
We deactivate it locally where needed, i.e. where we are sure it's some
platform-specific thing.
|
|
|
|
|
|
|
|
If we do it in tox.ini, there are two drawbacks:
- We have more stuff in PYTHONPATH even if we don't when actually using
qutebrowser.
- The separator is platform specific, so we can't easily do this in a portable
way in tox.ini.
|
|
|