Florian Bruhin
735db072c6
flake8: Add flake8-future-import
2016-04-08 07:10:15 +02:00
Florian Bruhin
41d52386e8
tox: Add flake8-tuple/flake8-tidy-imports
...
flake8-tuple: Check code for 1-element tuples
flake8-tidy-imports: A flake8 plugin that helps you write tidier
imports.
2016-04-08 07:00:29 +02:00
Florian Bruhin
00873fd000
Fix Proxy configtype test
2016-04-07 21:42:26 +02:00
Florian Bruhin
f5b9e0ab27
Add Tor/HTTP completions for network -> proxy
2016-04-07 21:25:23 +02:00
Florian Bruhin
485af2dde7
tox: Update flake8-putty to 0.3.1
...
- Allow regex selector to use codes extracted from each line
- Add predefined ignore pattern # flake8: disable=<codes>
- Add environment marker selector (PEP 0496)
- Fix bug when filename selector contained trailing whitespace
- Switched to using tox-travis, and added PyPy 3 testing
2016-04-07 07:12:54 +02:00
Florian Bruhin
dad1e48018
Update Homebrew/OS X install instructions
2016-04-07 07:10:05 +02:00
Florian Bruhin
455e32cc0c
tox: Update pytest-rerunfailures to 2.0.0
...
Drop support for Python 3.2, since supporting it became too much of a
hassle. (Reason: Virtualenv 14+ / PIP 8+ do not support Python 3.2
anymore.)
2016-04-06 18:55:54 +02:00
Florian Bruhin
9698af72e8
Merge branch 'jgkamat-editorconfig'
2016-04-06 18:54:51 +02:00
Florian Bruhin
e49db65e33
Regenerate authors
2016-04-06 18:54:45 +02:00
Florian Bruhin
dac1429fb0
Merge branch 'editorconfig' of https://github.com/jgkamat/qutebrowser into jgkamat-editorconfig
2016-04-06 18:54:33 +02:00
Jay Kamat
fa84aae133
Add basic editorconfig for enforcing style
2016-04-06 02:55:34 -04:00
Florian Bruhin
9ea7716b06
Stop supporting running tests without Xvfb/DISPLAY
...
This always caused problems and unneeded complexity in the past, and it
also increases Travis CI runtime.
We now require either a DISPLAY during tests or Xvfb being installed.
2016-04-06 08:27:43 +02:00
Florian Bruhin
2aef8913ec
travis: Don't install recommended packages via apt
...
This passes --no-install-recommends both for Dockerfiles and Travis
itself.
2016-04-06 08:22:41 +02:00
Florian Bruhin
2ce2b2ab9f
travis: Only modify $PATH as needed
...
See #1396 .
2016-04-06 08:22:41 +02:00
Florian Bruhin
d02d99e53e
bdd: Make quteproc.set_setting work with quotes
...
This hopefully fixes editor BDD tests on Windows as the editor path is
now correctly quoted.
2016-04-06 08:13:43 +02:00
Florian Bruhin
14eb63d9e9
ci/install: Fix updating of pip on Appveyor
...
Windows can't update pip when using the wrapper-executable.
2016-04-06 07:43:55 +02:00
Florian Bruhin
7141941ece
Fix lint
2016-04-06 07:17:13 +02:00
Florian Bruhin
57cb812219
ci/install: Wait 30s before re-calling apt-get
...
See #1396 .
2016-04-06 07:14:21 +02:00
Florian Bruhin
b70975223f
travis: Use sudo -H to call pip
...
pip apparently needs this to make caching work properly?
See #1396 .
2016-04-06 07:13:03 +02:00
Florian Bruhin
812c255379
travis: Use pip install -U to install packages
2016-04-06 07:12:21 +02:00
Florian Bruhin
2ad4fa5c8a
ci/install: Upgrade pip on Travis/AppVeyor
...
See #1396
2016-04-06 07:11:57 +02:00
Florian Bruhin
f0b66130d6
Merge branch 'rcorre-edit-url'
2016-04-06 06:52:43 +02:00
Florian Bruhin
86dec02fe8
bdd: Add tests for :edit-url
2016-04-06 06:47:19 +02:00
Florian Bruhin
c4878bb7ed
Don't raise cmdexc.CommandError in :open
...
:open can be called via :edit-url async, so we need to use message.error
by hand there.
2016-04-06 06:46:42 +02:00
Florian Bruhin
776c4c4400
Ensure -t/-b/-w are exclusive in :edit-url
...
Otherwise those would be passed as-is to :open and an unhandled
cmdexc.CommandError would be raised there.
2016-04-06 06:44:50 +02:00
Florian Bruhin
2f520f3b17
Rename test_editor.py to test_editor_unit.py
2016-04-05 19:49:01 +02:00
Florian Bruhin
9db697452d
Remove self._editor in CommandDispatcher
...
This was needed before there was editor.ExternalEditor as there were
various commands which needed to access the editor object.
Since this is encapsulated in ExternalEditor now, no need to keep a
reference to the object around.
2016-04-05 18:48:58 +02:00
Florian Bruhin
107126c42e
Regenerate docs
2016-04-05 18:38:56 +02:00
Florian Bruhin
6b3ee53064
Fix lint
2016-04-05 18:37:50 +02:00
Florian Bruhin
fc92137706
Handle count correctly for :edit-url
2016-04-05 18:37:03 +02:00
Florian Bruhin
d56cdd64db
Update changelog
2016-04-05 18:35:47 +02:00
Florian Bruhin
332e045f54
Merge branch 'edit-url' of https://github.com/rcorre/qutebrowser into rcorre-edit-url
2016-04-05 18:28:50 +02:00
Florian Bruhin
537d017ec2
@Kingdread is faster than AppVeyor
2016-04-05 14:11:51 +02:00
Florian Bruhin
0abd16f6e5
tests: Use repr to wait for download question
...
The tests failed on Windows because a double-slash was printed in the
logs, but the tests expected a single one.
2016-04-05 14:09:25 +02:00
Ryan Roden-Corrent
e0d1e527d0
Fix up edit-url implementation.
...
Remove spaces around '=' for kwargs, don't set the _editor member.
2016-04-05 07:49:01 -04:00
Florian Bruhin
fb741582ef
scripts/dev/ci/install: Retry apt-get if it fails
2016-04-05 12:43:51 +02:00
Florian Bruhin
860853f66f
Fix lint
2016-04-05 12:40:46 +02:00
Florian Bruhin
b5c177526c
tests: Add some "# pragma: no cover" for downloads
2016-04-05 11:43:35 +02:00
Florian Bruhin
ebee06a9c4
bdd: Add tests for download-path-suggestion
2016-04-05 11:43:35 +02:00
Florian Bruhin
6c1ee07c85
travis: Self-update npm in eslint env
2016-04-05 07:34:57 +02:00
Florian Bruhin
e64987d08c
MANIFEST: prune scripts/textbrowser_cpp
2016-04-05 07:11:05 +02:00
Florian Bruhin
b9b2297d64
Add minimal C++ testbrowser
2016-04-05 06:56:57 +02:00
Florian Bruhin
1e740aa78b
Update release checklist in CONTRIBUTING
2016-04-05 06:54:24 +02:00
Ryan Roden-Corrent
c8848a2641
Implement edit-url to craft a url with an editor.
...
The edit-url command opens a url (by default, the current url) in the
user's external editor and navigates to the result when the editor is
closed. This makes it easy to tweak the current url to navigate within
a site.
`edit-url` accepts the same flags as `open` (e.g. -t will open in a new
tab.
One may provide a url as an argument to create a shortcut to
pre-populate part of a url and allow filling in the rest.
There is no default keybinding.
Resolves #1261 .
2016-04-04 20:47:42 -04:00
Florian Bruhin
f91935c8e8
freeze: Add pkg_resources._vendor.six
...
Another package added by pkg_resources and not picked up by cx_Freeze...
2016-04-04 21:31:27 +02:00
Florian Bruhin
1d89ea397a
tox: Update setuptools in cxfreeze-windows env
...
In 43a4a6a3e7
we added
pkg_resources._vendor.pyparsing to the frozen modules - however, older
setuptools (and thus pkg_resources) versions don't have that module yet,
so freezing would fail.
2016-04-04 19:03:13 +02:00
Florian Bruhin
910adaf097
build_release: Don't call update_3rdparty.main
...
main tries to parse sys.argv which will fail when called from
build_release when e.g. --asciidoc is given.
2016-04-04 18:32:49 +02:00
Florian Bruhin
806436297a
Release v0.6.0
2016-04-04 18:16:56 +02:00
Florian Bruhin
c67edcf811
tests: Add v0.6.0 config to test_old_config
2016-04-04 18:16:31 +02:00
Florian Bruhin
08a7ee4ffb
Merge branch 'rcorre-contributor-config'
2016-04-04 07:59:42 +02:00