Lamar Pavel
b0bd8170e0
Merge branch 'master' of github.com:The-Compiler/qutebrowser
2015-05-31 10:34:30 +02:00
Florian Bruhin
81345eb17e
Hide some QXcbWindow warnings.
2015-05-31 00:11:33 +02:00
Florian Bruhin
0be0884a5b
link_pyqt: Only link/copy files if they changed.
...
This reduces the output noise a bit and hopefully makes things a bit faster on
Windows.
2015-05-30 23:49:36 +02:00
Florian Bruhin
3879b8301f
Remove unneeded int().
...
See #706 .
2015-05-30 22:51:00 +02:00
Florian Bruhin
3c8e616eb9
Merge branch 'Carpetsmoker-issue-401'
2015-05-30 22:49:48 +02:00
Florian Bruhin
b501677c0e
Regenerate authors
2015-05-30 22:48:24 +02:00
Florian Bruhin
5b891ecaca
Merge branch 'issue-401' of https://github.com/Carpetsmoker/qutebrowser into Carpetsmoker-issue-401
2015-05-30 22:48:11 +02:00
Martin Tournoij
4dc54f881c
Give a better error when wrapping on search
...
Previously, it just said "Text not found" when you hit the bottom.
2015-05-30 22:07:32 +02:00
Florian Bruhin
b1dd649278
Replace _ by - in command flag names.
...
See #698 .
2015-05-30 19:30:08 +02:00
Florian Bruhin
e48e063c0f
src2asciidoc.py: Improve exception handling.
2015-05-30 19:29:37 +02:00
Florian Bruhin
6d592c7c75
Merge branch 'Carpetsmoker-editor_temp_name'
2015-05-29 23:47:40 +02:00
Florian Bruhin
0d19d1bcf7
Regenerate authors
2015-05-29 23:47:01 +02:00
Florian Bruhin
1b89d880f5
Merge branch 'editor_temp_name' of https://github.com/Carpetsmoker/qutebrowser into Carpetsmoker-editor_temp_name
2015-05-29 23:46:46 +02:00
Martin Tournoij
c1dadeff6f
Fix silly mistake...
2015-05-29 20:48:43 +02:00
Martin Tournoij
f7b517f3aa
Revert some accidental changes >_<
2015-05-29 17:08:01 +02:00
Florian Bruhin
48735315f8
docs: Fix typo.
2015-05-29 16:53:01 +02:00
Martin Tournoij
d20872d576
Fix feedback from #690
2015-05-29 14:50:15 +02:00
Martin Tournoij
c76221c14e
Use a specific 'qutebrowser_editor_' prefix for <C-e> instead of 'tmp'.
...
Why does this matter? In my vimrc I have this:
" When using dwb <C-e>; assume markdown, and don't store in viminfo since these are
" temporary files
autocmd BufRead,BufNewFile /home/martin/.cache/dwb/edit* setlocal ft=markdown viminfo=
I would like to do the same with qutebrowser, but this is not possible with a
file name like '/tmp/tmpSJsgSG4'
2015-05-29 02:07:20 +02:00
Lamar Pavel
63c9e6a444
Another indentation-related fix
2015-05-28 13:20:00 +02:00
Lamar Pavel
f5d299d8c7
Fix intents
2015-05-28 13:05:12 +02:00
Lamar Pavel
b5eea81e2e
Fix File.validate and corresponding tests
...
There were no tests regarding the return value of standarddir.config() and thus
it wasn't caught that it returned None in some cases. This is now fixed by
checking the return of standdarddir.config before calling it and modifying the
corresponding test_validate_exists_rel as well as adding a new
test_validate_rel_config_none.
2015-05-28 12:14:12 +02:00
Lamar Pavel
4851a3d442
Replace isabs with exists in transform
...
In UserStyleSheet.transform os.path.isabs was replaced with os.path.exists, a
more fitting condition. Accordingly two test cases needed to include mocks for
os.path.exists and QUrl.fromLocalFile.
2015-05-27 15:39:58 +02:00
Lamar Pavel
e12dce9d55
Include expandvars in File.transform, adjust test
2015-05-27 14:40:07 +02:00
Lamar Pavel
cfae36c5c8
Adjust name and doc of modified test
2015-05-27 14:05:29 +02:00
Lamar Pavel
4e61a6123e
Probably shouldn't include changes to the gitignore in a PR
2015-05-27 12:06:51 +02:00
Lamar Pavel
f326fa28a6
Merge branch 'master' into relapaths
...
Sync with upstream/master before creating a pull request
2015-05-27 11:57:13 +02:00
Florian Bruhin
534dbfc4c2
tox: Update check-manifest to 0.25.
...
Upstream changelog:
Stop dynamic computation of install_requires in setup.py: this doesn't work
well in the presence of the pip 7 wheel cache. Use PEP-426 environment
markers instead (this means we now require setuptools version 0.7 or
newer).
2015-05-27 08:51:24 +02:00
Florian Bruhin
091353a773
Mention :adblock-update in quickstart.
2015-05-27 08:30:26 +02:00
Florian Bruhin
2a269e9cd9
tox: Make sipconfig.py optional in link_pyqt.py.
...
For some reason sipconfig.py doesn't exist at all on Windows...
2015-05-27 08:10:02 +02:00
Florian Bruhin
1b48dc8749
tox: Also provide sipconfig in link_pyqt.py.
2015-05-27 07:54:25 +02:00
Florian Bruhin
ddf86600d1
tests: Rename Testable* classes.
...
This hides some pytest warnings as it tried to collect those classes.
2015-05-27 07:51:53 +02:00
Florian Bruhin
6f3fa9dca6
tox: Show more information when testing.
2015-05-27 07:51:53 +02:00
Florian Bruhin
a969fe021d
tox: Install requirements.txt for tests.
2015-05-27 07:45:21 +02:00
Florian Bruhin
6452c8f883
PyQIODevice: Add context manager support.
2015-05-26 20:57:11 +02:00
Florian Bruhin
b8dd71a343
PyQIODevice: Add .open()/.close().
2015-05-26 20:57:11 +02:00
Florian Bruhin
460308f388
PyQIODevice: Don't use errorString for failed seek.
2015-05-26 20:57:11 +02:00
Florian Bruhin
6a26bc23ab
PyQIODevice: Remove unneeded check.
2015-05-26 20:57:11 +02:00
Florian Bruhin
48de8b145b
PyQIODevice: Properly fix read/readLine.
2015-05-26 20:57:01 +02:00
Florian Bruhin
0788054dd3
PyQIODevice: Expose underlying device.
2015-05-26 20:57:01 +02:00
Florian Bruhin
b2d763f993
PyQIODevice: Check if device is readable/writable.
2015-05-26 20:57:01 +02:00
Florian Bruhin
35f0b26f4a
PyQIODevice: Remove readinto().
...
Our implementation was broken, and the BufferedIOBase mixin does a better job
at doing this.
2015-05-26 20:57:01 +02:00
Florian Bruhin
ba9c782824
PyQIODevice: First attempt at fixing read().
...
This was completely broken because one read overload doesn't exist in PyQt and
apparently it was never tested...
2015-05-26 20:56:51 +02:00
Florian Bruhin
fa69786b0f
PyQIODevice: Raise ValueError when closed.
2015-05-26 20:49:58 +02:00
Florian Bruhin
e10da78a1a
urlutils: Remove some more dead code.
2015-05-26 20:49:43 +02:00
Florian Bruhin
92abf4bdf8
tox: Update pytest-html to 1.3.1.
...
Upstream changelog:
1.3.1:
Fix encoding issue in Python 3
1.3:
Bump version number to 1.3
Simplify example in README
Show extra content in report regardless of test result
Support extra content in JSON format
2015-05-26 19:25:45 +02:00
Florian Bruhin
27e82ce6c8
Improve exception handling in qsavefile_open.
...
Sometimes exceptions were shadowed with new exceptions because of the file
flushing.
2015-05-26 19:25:05 +02:00
Lamar Pavel
f1129460d8
Class File now validates relative paths
...
The code from function validate in class UserStyleSheet has been migrated to
class File. One test had to be modified due to different expected behaviour.
2015-05-26 13:54:27 +02:00
Lamar Pavel
c54c637ccc
Class File not transforms relative paths
...
The code from function transform in class UserStyleSheet is now migrated to
class File.
2015-05-26 12:38:04 +02:00
Florian Bruhin
e300b2e30d
Update changelog.
2015-05-26 12:10:36 +02:00
Florian Bruhin
11c03d79cd
Merge branch 'tharugrim-master'
2015-05-26 10:30:28 +02:00