Florian Bruhin
e39d6996c6
Fix test_tab
2016-12-06 22:50:25 +01:00
Florian Bruhin
d709756eb1
Add AbstractZoom._set_factor_internal
2016-12-06 22:50:08 +01:00
Florian Bruhin
caf1950868
Set the default zoom initially with QtWebEngine
...
This solves a part of #1993 , however when the user navigates to a
different page, the zoom is reset.
2016-12-06 20:28:18 +01:00
Nikolay Amiantov
271cb4b001
Add network logger
2016-12-06 18:16:25 +03:00
Florian Bruhin
b31d978a3a
Clarify 'go'
2016-12-06 15:21:06 +01:00
Florian Bruhin
df5ce12ed8
Make it possible to cancel authentication with QtWebEngine
...
Fixes #2156
2016-12-06 07:45:03 +01:00
Florian Bruhin
717fc97f05
Make tab.set_html work without base_url
2016-12-06 07:16:41 +01:00
Florian Bruhin
0ab23a74fb
Allow --qt-arg and --qt-flag to be given multiple times
...
Fixes #2151
2016-12-06 06:47:42 +01:00
Florian Bruhin
7b8af9ebbf
Try to stabilize history tests
...
Sometimes :history-clear would run before about:blank finished loading,
causing the test for :spawn with a history flag to fail.
2016-12-06 06:32:51 +01:00
Florian Bruhin
587e782738
Blacklist pytest 3.0.5
...
See https://github.com/pytest-dev/pytest/issues/2118
2016-12-05 22:40:09 +01:00
Florian Bruhin
6f90d93306
test requirements: Update pytest to 3.0.5
2016-12-05 16:17:51 +01:00
Florian Bruhin
af766ade48
requirements: Update requests to 2.12.3
2016-12-02 09:43:05 +01:00
Florian Bruhin
362039f1ea
Merge branch 'Raihid-tab-move'
2016-12-01 13:25:58 +01:00
Florian Bruhin
568b256056
Regenerate authors
2016-12-01 13:25:15 +01:00
Florian Bruhin
61ada6ba32
Merge branch 'tab-move' of https://github.com/Raihid/qutebrowser into Raihid-tab-move
2016-12-01 13:25:03 +01:00
Florian Bruhin
c8f6006f00
Merge branch 'Raihid-master'
2016-12-01 13:23:23 +01:00
Florian Bruhin
08f537546f
Regenerate authors
2016-12-01 13:23:17 +01:00
Florian Bruhin
d668a1b6d6
Merge branch 'master' of https://github.com/Raihid/qutebrowser into Raihid-master
2016-12-01 13:23:01 +01:00
Maciej Wołczyk
f6802272c7
Added a test for quopri with spaces at the end of the line
2016-12-01 01:17:00 +01:00
Maciej Wołczyk
63808fdb98
Removed handling of tab's position and color since it's done by QTabBar
2016-12-01 00:44:07 +01:00
Florian Bruhin
18ac35e7b8
test requirements: Add new pytest-xvfb deps
2016-11-30 20:31:34 +01:00
Florian Bruhin
506fe42957
requirements: Update requests to 2.12.2
2016-11-30 20:30:58 +01:00
Maciej Wołczyk
2fca442892
Fixed TabbedBrowserStub's tabBar, no longer toggling updates while moving tabs
2016-11-30 15:23:35 +01:00
Florian Bruhin
1ecda5a993
test requirements: Update pytest-xvfb to 1.0.0
2016-11-30 15:20:47 +01:00
Maciej Wołczyk
e613d01263
Fixed problems with tab completion after moving tabs ( #2141 )
2016-11-30 14:17:20 +01:00
Maciej Wołczyk
2cbea50152
Fixed style issues, corrected unit test
2016-11-29 19:10:36 +01:00
Florian Bruhin
9f5f362533
Don't crash if we can't get an element's value for editing
...
Fixes #2150
2016-11-29 11:31:03 +01:00
Florian Bruhin
5f22affa36
Show longer debug string for elems got from JS
...
See #2150
2016-11-29 11:16:04 +01:00
Florian Bruhin
6340eee448
Handle invalid text layout when drawing tab
2016-11-29 09:33:27 +01:00
Florian Bruhin
99fed71001
test/vulture requirements: Update vulture to 0.11
2016-11-29 09:23:00 +01:00
Florian Bruhin
856ae39673
flake8 requirements: Update flake8-pep1301 to 1.0
2016-11-29 07:29:47 +01:00
Maciej Wołczyk
729cc61152
Fixed mhtml quopri encoding with spaces and tabs (see: #2063 )
2016-11-29 04:03:35 +01:00
Florian Bruhin
59d16efbef
Don't set title from URL twice
...
browsertab already does that before emitting url_changed.
2016-11-26 13:35:49 +01:00
Florian Bruhin
c83c9d96ae
Small cleanup
2016-11-26 13:33:38 +01:00
Florian Bruhin
c17bbd47b8
Fix QTBUG-54419 workaround for invalid URLs
2016-11-26 13:32:37 +01:00
Florian Bruhin
73c608dce7
Allow :open without URL with -t/-b/-w
2016-11-26 12:17:23 +01:00
Florian Bruhin
ea44c6d4b9
eslint: Turn off capitalized-comments
2016-11-26 11:48:57 +01:00
Florian Bruhin
3ca4916b76
Relax qt_log_ignore pattern
...
Earlier Qt versions show this:
QStandardPaths: wrong ownership on runtime directory
/tmp/pytest-of-user/pytest-0/test_linux_invalid_runtimedir0/does-not-exist,
-2 instead of 1000
2016-11-24 10:37:56 +01:00
Florian Bruhin
64b47fc3a2
Handle an invalid $XDG_RUNTIME_DIR gracefully
...
This is probably against the XDG basedir spec, but some people have a
Linux without anything setting $XDG_RUNTIME_DIR correctly.
Fixes #971 .
2016-11-24 10:14:02 +01:00
Florian Bruhin
98dc92fe16
Remove unused import
2016-11-24 08:50:54 +01:00
Florian Bruhin
34dd30e984
Fix bad merge
2016-11-24 08:29:31 +01:00
Florian Bruhin
002e30a6ca
Remove :set --cycle completion test
2016-11-24 07:34:07 +01:00
Florian Bruhin
8ac16c0c4c
Update pattern for completion tests
2016-11-24 07:33:50 +01:00
Niklas Haas
32cc6bea1d
Add tests for the completion engine
...
I tested everything that I thought was interesting enough to warrant a
test: especially the ability to test multiple parameters deep, as well
as testing :set --cycle and some involved example to make sure
completion actually works and updates in realtime
2016-11-24 07:31:26 +01:00
Florian Bruhin
26e7ec848f
Update docs
2016-11-24 07:24:26 +01:00
Florian Bruhin
3d140a1353
Get rid of --cycle for :set with multiple values
...
See https://github.com/The-Compiler/qutebrowser/pull/1840#issuecomment-258714784
2016-11-24 07:23:49 +01:00
Niklas Haas
1b5664b72f
Add --cycle flag to :set
...
Chooses the next value from the provided list of values (string-wise
comparison). Technically, the 'option!' syntax for toggling bools is now
redundant, but a translation from 'option!' to '--cycle option false
true' is kept for backwards compatibility.
The '--cycle' flag could also be technically optionally, since the only
thing that depends on it is preserving the error message for specifying
multiple values. (But I think it's best to keep it explicit, as a
principle-of-least-surprise thing)
Note: The business logic of picking the next value and setting it was
moved out to a separate function to avoid tripping pylint's
too-many-branches detector.
Fixes #47
2016-11-24 07:22:06 +01:00
Florian Bruhin
c57ad91e04
Update comment for ignored Qt warning
2016-11-24 06:43:33 +01:00
Florian Bruhin
371e779d98
Fix tabs.feature
2016-11-23 13:16:15 +01:00
Florian Bruhin
8268c9c22f
Merge branch 'blyxxyz-cancel-register-key'
2016-11-23 13:08:01 +01:00