Florian Bruhin
10b00da1ae
Reorder commands in build_release.py.
...
This should be slightly faster as the venv is only recreated once.
2015-06-23 23:35:20 +02:00
Florian Bruhin
b337cfe4c6
Enforce a 32bit Python in build_release.py.
2015-06-23 23:34:30 +02:00
Florian Bruhin
3dbf3f9e0a
Use tox/virtualenv to build Windows packages.
...
This makes sure we have all needed dependencies installed in the version which
is in requirements.txt.
Fixes #776 .
2015-06-23 23:31:28 +02:00
Florian Bruhin
d02b63a847
tox: Use --ignore=tests for pep8/pyflakes/mccabe.
2015-06-23 18:17:05 +02:00
Florian Bruhin
f2d7391974
tox: Update pytest to 2.7.2 and pylib to 1.4.29.
...
pytest upstream changelog
=========================
- fix issue767: pytest.raises value attribute does not contain the exception
instance on Python 2.6. Thanks Eric Siegerman for providing the test
case and Bruno Oliveira for PR.
- Automatically create directory for junitxml and results log.
Thanks Aron Curzon.
- fix issue713: JUnit XML reports for doctest failures.
Thanks Punyashloka Biswal.
- fix issue735: assertion failures on debug versions of Python 3.4+
Thanks Benjamin Peterson.
- fix issue114: skipif marker reports to internal skipping plugin;
Thanks Floris Bruynooghe for reporting and Bruno Oliveira for the PR.
- fix issue748: unittest.SkipTest reports to internal pytest unittest plugin.
Thanks Thomas De Schampheleire for reporting and Bruno Oliveira for the PR.
- fix issue718: failed to create representation of sets containing unsortable
elements in python 2. Thanks Edison Gustavo Muenz
- fix issue756, fix issue752 (and similar issues): depend on py-1.4.29
which has a refined algorithm for traceback generation.
py upstream changelog
=====================
- fix issue55: revert a change to the statement finding algorithm
which is used by pytest for generating tracebacks.
Thanks Daniel Hahler for initial analysis.
- fix pytest issue254 for when traceback rendering can't
find valid source code. Thanks Ionel Cristian Maries.
2015-06-23 17:19:48 +02:00
Florian Bruhin
4dd23c530a
Merge branch 'artur-shaik-caret_on_selection'
2015-06-20 13:09:32 +02:00
Florian Bruhin
e459ac52cc
Use existing selection when entering caret mode.
2015-06-20 13:09:00 +02:00
Florian Bruhin
5cf1dce89e
Simplify condition and add comment.
2015-06-20 13:07:51 +02:00
Artur Shaik
94d394001e
Don't position caret if there is selection on page
2015-06-20 12:47:46 +02:00
Florian Bruhin
e2c375b874
Add missing docstring for get_build_exe_options().
2015-06-19 09:40:48 +02:00
Florian Bruhin
fd82587213
Skip documentation when freezing for smoke-frozen.
2015-06-19 09:40:26 +02:00
Florian Bruhin
a5610fd6da
Fix TestReadFile when frozen.
2015-06-19 09:40:26 +02:00
Florian Bruhin
85f6b3c6df
Fix TestGitStr when frozen.
2015-06-19 09:40:26 +02:00
Florian Bruhin
08c8a5f7dd
Skip tests which need sys.executable when frozen.
...
See #770
2015-06-19 09:40:26 +02:00
Florian Bruhin
b0012fd410
Freeze utils/testfile when freezing tests.
2015-06-19 09:40:16 +02:00
Florian Bruhin
894ec7d66a
Use a function for build_exe_options in freeze.py.
2015-06-19 09:40:15 +02:00
Florian Bruhin
42b5ee831e
Add a unittests-frozen testenv.
...
See #770 .
2015-06-19 09:39:55 +02:00
Florian Bruhin
3ba63128da
Add a smoke-frozen testenv.
...
See #770 .
2015-06-19 07:35:01 +02:00
Florian Bruhin
425a6d33cf
Add __name__ == '__main__' block in freeze.py.
...
freeze.py now gets imported from freeze_tests.py, and shouldn't run its own
setup in that case.
2015-06-19 07:35:01 +02:00
Florian Bruhin
2f59abaf13
Add empty includes=[] to freeze.py.
...
This makes freeze_tests.py easier.
2015-06-18 22:39:04 +02:00
Florian Bruhin
3de1299650
tests: Use utils.read_file to get javascript files.
...
This will make those tests pass when frozen.
See #770 .
2015-06-18 21:09:10 +02:00
Florian Bruhin
0d59a1cba8
Include javascript folder when freezing.
...
See #770 .
2015-06-18 21:09:10 +02:00
Florian Bruhin
9ca06ecfa2
Use pkg_resources instead of distutils for version
...
Fixes #767 . See #770 .
2015-06-18 20:54:05 +02:00
Florian Bruhin
ef78f69822
Merge branch 'master' of github.com:The-Compiler/qutebrowser
2015-06-18 15:04:20 +02:00
Lamar Pavel
c72da37916
Fix link to contribution guidelines in README
2015-06-18 15:03:58 +02:00
Florian Bruhin
1cc6a6669b
Bind <Alt-Backspace> to rl-unix-word-rubout.
2015-06-18 15:02:30 +02:00
Florian Bruhin
14237c2c62
Merge pull request #768 from lamarpavel/master
...
Fix link to contribution guidelines in README
2015-06-18 13:22:25 +02:00
Lamar Pavel
a5c078516b
Fix link to contribution guidelines in README
2015-06-18 13:15:00 +02:00
Florian Bruhin
c3c52220f6
Update changelog.
2015-06-18 11:57:55 +02:00
Florian Bruhin
0350d19bd3
Load geometry after completion is initialized.
...
Fixes #766 .
2015-06-18 10:32:07 +02:00
Florian Bruhin
c64d9520ff
Fix lint.
...
Thanks to @Carpetsmoker for spotting this in #705 .
2015-06-18 08:10:14 +02:00
Florian Bruhin
59cdbd780c
Fix {url} substitution with :spawn.
...
See #759 .
This is a regression introduced in 6dbdea0ee3
.
2015-06-18 07:01:30 +02:00
Florian Bruhin
703b0043db
tox: Update pyflakes to 0.9.2.
...
Upstream changelog:
- Fix a traceback when a global is defined in one scope, and used in another.
2015-06-17 17:48:25 +02:00
Florian Bruhin
6dbdea0ee3
Set maxsplit=0 for :spawn and split manually.
...
Fixes #759 .
2015-06-17 07:57:38 +02:00
Florian Bruhin
b1334bcc22
Use repr() for unknown objects in utils.qualname.
2015-06-17 06:46:03 +02:00
Florian Bruhin
dfe98d1053
completion: Fix initial _cursor_part value.
...
Fixes #749 .
2015-06-16 13:22:55 +02:00
Florian Bruhin
a024c14dd6
tox: Add smoke test to the default envlist.
2015-06-16 07:37:08 +02:00
Florian Bruhin
e7b84d4089
Update changelog.
2015-06-16 07:16:32 +02:00
Florian Bruhin
0119cf510f
Fix loading of _temp_history.
2015-06-16 07:16:02 +02:00
Florian Bruhin
a545b919f7
Do history loading after qutebrowser has started.
2015-06-16 07:06:56 +02:00
Florian Bruhin
b43d8b13d8
tox: Update mccabe to 0.3.1.
...
Upstream changelog:
- Include test_mccabe.py in releases.
- Always coerce the max_complexity value from Flake8's entry-point to an integer.
2015-06-15 06:21:14 +02:00
Florian Bruhin
70699988ed
Fix context managers behavior on exceptions.
2015-06-15 06:19:14 +02:00
Florian Bruhin
8dc9f0562a
tox: Update pyroma to 1.8.2.
...
Upstream changelog:
Do not complain that the version number should be a string, when it is a
basestring. [maurits]
2015-06-14 13:45:09 +02:00
Florian Bruhin
f1ba14b496
Fix exception when using :set.
...
This is a regression introduced in 167faafff2
.
2015-06-13 13:26:29 +02:00
Florian Bruhin
9bf749643a
Fix ci_install.py for Travis on OS X.
2015-06-12 17:06:49 +02:00
Florian Bruhin
219c2f8ae8
Ignore "Unable to set geometry" warnings in tests.
...
This reverts commits 9b066ec50a
and
83f7cf84a9
.
This was still broken even after setting the geometry:
https://ci.appveyor.com/project/The-Compiler/qutebrowser
2015-06-12 17:04:12 +02:00
Florian Bruhin
f17131f6c2
Change Qt links to point to qt.io.
2015-06-12 16:59:33 +02:00
Florian Bruhin
84a269f36a
Add missing keys to key_to_string.
2015-06-12 16:37:17 +02:00
Florian Bruhin
8033931bae
Test key_to_string with all Qt.Key members.
2015-06-12 16:37:07 +02:00
Florian Bruhin
9b066ec50a
Set geometry in test_textbase.py.
...
See 83f7cf84a9
- it seems with the Qt 5.4.2
upgrade there are some more warnings on Windows.
2015-06-12 13:44:10 +02:00