Florian Bruhin
bb1b1c8ee8
Remove unused imports
2016-09-15 16:45:48 +02:00
Florian Bruhin
018e9ef4a3
Merge branch 'completion_split' of https://github.com/rcorre/qutebrowser into rcorre-completion_split
2016-09-15 16:44:54 +02:00
Florian Bruhin
879ca0b873
Make qutescheme arg optional for resource_url
2016-09-15 16:42:07 +02:00
Daniel Schadt
eabfdb3c16
tests: make sure the type error is the one we want
2016-09-15 16:42:02 +02:00
Florian Bruhin
ac4724807a
test requirements: Update pytest-xvfb to 0.3.0
2016-09-15 16:40:07 +02:00
Daniel Schadt
794eb84805
add parameter name in error message
2016-09-15 16:38:18 +02:00
Florian Bruhin
6e9501073a
Remove @qtwebengine_todo for qute:settings
2016-09-15 16:13:51 +02:00
Florian Bruhin
37fa7431b0
Serve broken qutebrowser logo via qute:resources
...
This is needed when we want to display an error page after the user
requested a qute:// URL, as qute:// URLs can't access file:// content
with QtWebEngine.
2016-09-15 16:06:25 +02:00
Daniel Schadt
b6d9d3f955
fix tests for new "default required" policy
...
This test had a keyword only parameter without a default, which is now
disallowed. This caused the test to fail.
2016-09-15 15:46:26 +02:00
Daniel Schadt
0ef5d338bd
make sure keyword-only arguments have a default
...
Fixes #1872 .
This prevents inspect.Parameter.empty from slipping through to the
command.
2016-09-15 15:44:33 +02:00
Florian Bruhin
8bdcd49626
Fix lint
2016-09-15 15:10:55 +02:00
Florian Bruhin
4d6c1a6a4d
Regenerate docs
2016-09-15 15:10:26 +02:00
Florian Bruhin
49615820bb
Fix test path in check_coverage.py
2016-09-15 15:09:33 +02:00
Florian Bruhin
1523d512fe
Update changelog
2016-09-15 15:05:07 +02:00
Florian Bruhin
035a7e3632
pip requirements: Update setuptools to 27.2.0
2016-09-15 15:01:56 +02:00
Florian Bruhin
606f4a7860
check-manifest reqs: Update check-manifest to 0.34
2016-09-15 15:01:20 +02:00
Florian Bruhin
44e8296a66
Remove environment variables from version()
...
We already have those in the report anyways.
2016-09-15 14:59:32 +02:00
Florian Bruhin
8403f2451f
Add $PATH to crash info
2016-09-15 14:56:27 +02:00
Florian Bruhin
e338d4b49c
Add MessageView tests
2016-09-15 14:51:22 +02:00
Florian Bruhin
7e30792bfe
Fix lint
2016-09-15 14:51:22 +02:00
Florian Bruhin
e32bbfa8f7
Init message.global_bridge at import time
2016-09-15 14:51:22 +02:00
Florian Bruhin
43a5c46d82
Don't use @pyqtSlot for MessageMock
2016-09-15 14:51:22 +02:00
Florian Bruhin
fce9783570
Fix unit tests
...
Apart from changed parameters, messages now log even when messagemock is
used, so we needed to add a few caplog.at_level calls.
2016-09-15 14:51:22 +02:00
Florian Bruhin
713a74cfd4
Fix end2end tests
2016-09-15 14:51:22 +02:00
Florian Bruhin
2c98b837d5
Add config migrations
2016-09-15 14:51:21 +02:00
Florian Bruhin
e5293d34de
Add missing str() calls
2016-09-15 14:51:21 +02:00
Florian Bruhin
dfac0658ae
Re-add logging for messages
2016-09-15 14:51:21 +02:00
Florian Bruhin
ed4f476ab4
Get rid of queued messages and unused code
2016-09-15 14:51:21 +02:00
Florian Bruhin
a2254b671c
Adjust tests/messagemock
2016-09-15 14:51:21 +02:00
Florian Bruhin
f16b96aa28
Initial implementation of new messages
2016-09-15 14:51:21 +02:00
Ryan Roden-Corrent
a7eea6a0c1
Rewrite test_on_next_prev_item after refactoring.
...
Check the value of the signal emitted after each one of a series of
next/prev_item calls.
2016-09-15 07:41:56 -04:00
Ryan Roden-Corrent
a9771007b1
Pass string, not index from on_selection_changed.
...
Simplify the CompletionWidget/Completer interface by changing
on_selection_changed to pass the newly selected text rather than the
index of the newly selected item.
This moves the logic from Completer to CompletionWidget but simplifies
the interaction between the two and makes testing easier.
2016-09-14 22:55:07 -04:00
Ryan Roden-Corrent
ac03095512
Small if-statement style tweak in Completer.
2016-09-14 22:35:05 -04:00
Ryan Roden-Corrent
6646bbfe1f
Test config completion with a ValueList.
...
The help, section, and option completion models behavee differently
with a ValueList than with a KeyValue, but previously we only tested
KeyValue.
2016-09-14 17:26:56 -04:00
Ryan Roden-Corrent
657859524f
Make completion/test_models more rigorous.
...
It was checking that every expected item was in the actual item list,
but not visa-versa. This meant that extra completion items could show
up without failing the test.
This caught one bad test case. Bind completion includes aliases, but
the test did not expect this.
2016-09-14 17:26:56 -04:00
Florian Bruhin
5bef7dc74c
Use file with known mimetype for qutescheme test
2016-09-14 16:48:49 +02:00
Florian Bruhin
c071964091
Fix lint
2016-09-14 15:21:30 +02:00
Florian Bruhin
886103c887
Fix showing errors in the current window
2016-09-14 15:18:12 +02:00
Florian Bruhin
0c278bc31d
Improve Archlinux section in stacktrace.asciidoc
2016-09-14 12:42:19 +02:00
Florian Bruhin
e2318c6ba3
Update stacktrace docs
2016-09-14 12:33:47 +02:00
Florian Bruhin
982d00ff84
Let qute:* handlers decide their mimetype
...
This means we have to guess less, and handlers can give us HTML as text
which we then encode for them.
2016-09-14 12:33:20 +02:00
Florian Bruhin
3a27c45ac9
More cleanup in test_webkitqutescheme
2016-09-14 12:08:35 +02:00
Florian Bruhin
5b527d0f1e
Rename test_qutescheme to test_webkitqutescheme
2016-09-14 12:07:26 +02:00
Florian Bruhin
cc1e134f25
Fix test_qutescheme.py
2016-09-14 12:05:15 +02:00
Florian Bruhin
5501d90268
Fix lint
2016-09-14 12:00:29 +02:00
Florian Bruhin
c128aba27e
Fix qute:* handlers in run_vulture.py
2016-09-14 11:39:19 +02:00
Florian Bruhin
0657eeb8f4
Activate QtWebEngine tests for qute:*
2016-09-14 11:14:04 +02:00
Florian Bruhin
a1527f35d4
Allow to restrict qute:* pages to a backend
2016-09-14 11:04:47 +02:00
Florian Bruhin
71bc5bb943
Move QuteSchemeError to qutescheme
2016-09-14 11:04:37 +02:00
Florian Bruhin
aa71c9ae58
Initial qute:* support for QtWebEngine
2016-09-14 10:18:25 +02:00