Florian Bruhin
6b98c48985
Regenerate authors.
2015-05-26 10:30:21 +02:00
Tobias Patzl
b858b6ac75
call e.ignore()
when the event is not handled
2015-05-26 10:24:32 +02:00
Tobias Patzl
61519e6383
move part of the logic to TabbedBrowser
2015-05-25 20:21:37 +02:00
Tobias Patzl
45dea54e3c
Add setting to disable mousewheel tab switching.
...
See #374 .
2015-05-25 15:23:14 +02:00
Florian Bruhin
a345b02729
Fix exception when downloading links without name.
...
We also set a default name to prevent "is a directory" errors.
This is a regression introduced in 8f33fcfc52cf598d0aa11a347992c87010d3e37a.
Fixes #682 .
2015-05-25 11:28:50 +02:00
Florian Bruhin
6d879bbca3
Exclude resources.py from coverage.
2015-05-25 01:38:17 +02:00
Florian Bruhin
0f13d9325b
Don't use parametrization for deprecated keys.
...
This showed up as 2400 tests for what basically is one.
2015-05-25 01:26:52 +02:00
Florian Bruhin
120d2e12b0
Improve QtValueError wording for ensure_not_null.
2015-05-25 01:21:57 +02:00
Florian Bruhin
8d15bbdded
utils.version: Add SIP line on ImportError.
2015-05-24 21:00:46 +02:00
Lamar Pavel
ad7920dda1
Fix bug; all tox tests succeed
...
My logic in the validate function of class UserStyleSheet was faulty and
caused the check for encoding to be skipped. This is now fixed and all
tests run successfully.
2015-05-23 16:49:40 +02:00
Lamar Pavel
93b92f4aab
Fix tox failure regarding exceptions in transform
...
Function transform is not supposed to raise exceptions, so I wrapped the
call to os.path.join in an if-clause to test if standarddir.config
returns a valid value.
2015-05-23 16:09:44 +02:00
Lamar Pavel
61f32b3e9b
Revert some changes, trying to get rid of the tox failures
2015-05-22 18:40:56 +02:00
Lamar Pavel
14ba20670b
Fix potential bug with missing path-expansion
...
The last commit removed two lines in function validate of class
UserStyleSheet that were expanding the path. As it turns out those two
lines are needed by validate as well as transform, so I outsourced them
to the function they both call at that point.
2015-05-22 17:31:37 +02:00
Lamar Pavel
29b25206f6
Fix UserStyleSheet, roll back File
...
The former version of UserStyleSheet never actually loaded the css file,
this is now fixed. The changes to class File were rolled back as its
functions are overloaded by UserStyleSheet; a general solution in
classes File and Directory can be implemented when the changes in
UserStyleSheet meet the expectation.
2015-05-22 17:21:00 +02:00
Lamar Pavel
58f031630c
user-stylesheet can be read from relative paths
...
This ist just a first draft to approach issue622
(https://github.com/The-Compiler/qutebrowser/issues/622 ) and my very
first babysteps with python.
With this change it is possible to set a user-stylesheet with a relative
path, eg.:
:set ui user-stylesheet mystyle.css
where mystyle.css is in the ~/.config/qutebrowser/.
2015-05-22 14:44:04 +02:00
Florian Bruhin
ee0eabc202
scripts: Add --profile-dot to run_profile.
2015-05-21 07:45:20 +02:00
Florian Bruhin
43898ebb71
Update changelog.
2015-05-20 13:38:56 +02:00
Florian Bruhin
0252f5fdbf
tox: Update pytest-html to 1.2.
2015-05-20 13:37:44 +02:00
Florian Bruhin
aaab05793e
urlutils: Handle localhost correctly in all cases.
2015-05-20 13:36:40 +02:00
Florian Bruhin
ddb6743b26
urlutils: Clean up qurl_from_user_input in is_url.
2015-05-20 13:36:40 +02:00
Florian Bruhin
269676318b
urlutils: Raise exception on errors in host_tuple.
2015-05-20 13:36:40 +02:00
Florian Bruhin
6f904759b5
urlutils: Fix str() of FuzzyUrlError.
2015-05-20 13:36:40 +02:00
Florian Bruhin
f8db4b8147
urlutils: Improve debug logging.
2015-05-20 13:36:40 +02:00
Florian Bruhin
14df72a7a1
urlutils: Add get_errstring().
2015-05-20 13:36:40 +02:00
Florian Bruhin
e590bf26ad
urlutils: Check bogus IPs in _is_url_dns.
2015-05-20 13:36:40 +02:00
Florian Bruhin
40cc354030
urlutils: Pass URL string to _is_url_dns.
2015-05-20 13:36:40 +02:00
Florian Bruhin
c0b41d8c62
urlutils: Use utils.raises in _is_url_naive.
2015-05-20 13:36:40 +02:00
Florian Bruhin
1f048a38f8
urlutils: Remove dead code in _get_search_url.
...
term should always contain something.
2015-05-20 13:36:40 +02:00
Florian Bruhin
e187cda292
Sort attrs for utils.get_repr().
2015-05-19 16:23:50 +02:00
Florian Bruhin
daaf7a62c8
tox: Update pytest to 2.7.1.
2015-05-19 12:38:13 +02:00
Florian Bruhin
ad181ec7eb
Spelling fix on cheatsheet.
2015-05-19 08:58:27 +02:00
Florian Bruhin
069d7b26a2
pytest: Use common fixture for fake_keyconfig.
2015-05-19 07:46:56 +02:00
Florian Bruhin
cc88451003
Update cheatsheet.
2015-05-19 06:43:42 +02:00
Florian Bruhin
7ca9a007f8
Update changelog.
2015-05-19 06:40:42 +02:00
Florian Bruhin
b78d5f57aa
Make new-instance-open-target docs more clear.
2015-05-19 06:13:29 +02:00
Florian Bruhin
98d1fca220
Use monkeypatch instead of mocker in some tests.
...
See #660 .
2015-05-18 23:32:01 +02:00
Florian Bruhin
beb970d7d5
Strip whitespace for position_caret tests.
...
It seems on Windows, QWebPage.SelectNextWord includes the trailing space. This
should fix those tests on Windows.
2015-05-18 23:04:11 +02:00
Florian Bruhin
37b431f72f
Fix lint.
2015-05-18 22:37:48 +02:00
Florian Bruhin
9a1cf2b03a
Fix deprecated config.
2015-05-18 22:36:10 +02:00
Florian Bruhin
e0dee14df4
Regenerate docs.
2015-05-18 22:34:21 +02:00
Florian Bruhin
f2e2748c59
Fix quotes.
2015-05-18 22:32:17 +02:00
Florian Bruhin
03e59051dc
Remove count for move-to-end-of-line.
2015-05-18 22:32:17 +02:00
Florian Bruhin
91ad91cc7b
Spelling fixes.
2015-05-18 22:27:44 +02:00
Florian Bruhin
b650ec75f3
Merge branch 'visual'
2015-05-18 22:25:03 +02:00
Florian Bruhin
c00dccfbb2
src2asciidoc: Improve error output on missing count arg.
2015-05-18 22:23:39 +02:00
Florian Bruhin
8941b5dc96
Merge branch 'visual'
2015-05-18 21:43:25 +02:00
Florian Bruhin
8e417970c3
Merge branch 'pytest-rewrites'
2015-05-18 21:42:15 +02:00
Florian Bruhin
1a957b6c10
Merge pull request #668 from The-Compiler/visual-tests
...
Add javascript tests for position_caret.js.
2015-05-18 21:40:26 +02:00
Florian Bruhin
8eb483d66b
Set Qt.ItemNeverHasChildren for leaf model items.
...
This allows Qt to do some optimizations.
2015-05-18 21:35:14 +02:00
Florian Bruhin
dd292b0781
Don't depend on objreg for CommandDispatcher.
...
See #640 .
2015-05-18 21:34:00 +02:00