Florian Bruhin
0ee7fac727
Update test_init_unknown/test_init_invalid for KeyboardModifierMask
...
-1 & Qt.KeyboardModifierMask == Qt.Key_unknown
2018-03-05 22:56:58 +01:00
Florian Bruhin
78f6ad14c2
Use Qt.KeyboardModifierMask
2018-03-05 22:33:16 +01:00
Florian Bruhin
3b957c5f2e
Merge pull request #3673 from qutebrowser/pyup-scheduled-update-2018-03-05
...
Scheduled weekly dependency update for week 09
2018-03-05 22:24:08 +01:00
Florian Bruhin
8deb38e22d
Add test for :bind completion with invalid binding
2018-03-05 22:21:57 +01:00
Florian Bruhin
29fdd1acc4
Make sure all keyboard modifiers are handled correctly
...
This handles Qt.KeypadModifier (Num+...) correctly, adds tests for converting
modifiers to strings, and strips Qt.GroupSwitchModifier as QKeySequence doesn't
know about it.
Fixes #3675
2018-03-05 22:11:26 +01:00
Florian Bruhin
2ab270dfac
Also log modifiers for key presses
2018-03-05 19:32:21 +01:00
Florian Bruhin
fb626ca5a8
Update changelog
2018-03-05 18:40:14 +01:00
Florian Bruhin
9be26a8bfd
Merge remote-tracking branch 'origin/pr/3666'
2018-03-05 18:38:37 +01:00
Florian Bruhin
333a37ffb2
Fix old macOS-specific test code
2018-03-05 18:30:34 +01:00
Florian Bruhin
9320214429
Only clear favicons on load with QtWebKit
...
QtWebEngine seems to automatically clear the favicon when loading e.g.
about:blank, and not clearing it there again fixes #3469 .
Original issue: #187
2018-03-05 18:29:01 +01:00
Florian Bruhin
43cab4d978
Add bindings to toggle plugins
...
See #3622
2018-03-05 18:20:06 +01:00
Florian Bruhin
4da8af0e1d
Fix preloading resources on Windows
...
We always pass paths like javascript/scroll.js no matter what the underlying OS
is, so we also need to cache it with a / separator.
2018-03-05 18:08:51 +01:00
Florian Bruhin
a796d1f33f
Always enable JavaScript for file://, chrome:// and qute://
...
See #3622
2018-03-05 17:09:47 +01:00
pyup-bot
0299bd9764
Update pytest-mock from 1.7.0 to 1.7.1
2018-03-05 17:07:19 +01:00
pyup-bot
17e2915876
Update hypothesis from 3.46.0 to 3.48.0
2018-03-05 17:07:18 +01:00
pyup-bot
1006f181e2
Update packaging from 16.8 to 17.1
2018-03-05 17:07:16 +01:00
Florian Bruhin
430d69f278
Fix lint
2018-03-05 16:43:01 +01:00
Florian Bruhin
a1b73fc113
Elide long URLs in acceptNavigationRequest logging
2018-03-05 16:42:14 +01:00
Florian Bruhin
cdbff411d0
Fix travis_install for newer Homebrew
2018-03-05 15:51:26 +01:00
Florian Bruhin
d1854eddaf
Handle invalid keys coming from Qt
...
When pressing a key which doesn't exist as Qt.Key, we don't get Qt.Key_unknown
like we'd expect, but we get 0x0 instead...
Let's add that as a new "nil" key (to not conflict with None/unknown/zero/...)
and handle it appropriately.
This can be reproduced by doing:
setxkbmap -layout us,gr -option grp:alt_shift_toggle
and pressing Alt-Shift/Shift-Alt.
2018-03-05 15:42:52 +01:00
Florian Bruhin
52c280ec12
Add unit tests for BaseKeyParser.handle with dry_run=True
2018-03-05 15:33:56 +01:00
Florian Bruhin
3275681afd
Show key when the key string is empty
2018-03-05 12:45:13 +01:00
Florian Bruhin
67b4502fdb
Fix test_version without cssutils
2018-03-05 11:36:50 +01:00
Florian Bruhin
2f8686ec70
Fix test_mhtml_e2e with Qt 5.11
...
See #3661
2018-03-05 11:36:29 +01:00
Florian Bruhin
cc5da4d1fe
Fix test_modeman.py
2018-03-05 11:08:21 +01:00
Florian Bruhin
b4a2352833
Cache HTML/JS resource files when starting
...
This mostly reverts 9edc5a665e
(see #1362 ).
Fixes #1943
2018-03-05 09:08:06 +01:00
Florian Bruhin
78623f4ec8
Update changelog
...
[ci skip]
2018-03-05 08:15:47 +01:00
Florian Bruhin
2a9d970641
Uninstall application proxy factory before exit
...
This should help with segfaults on exit.
Fixes #3657
2018-03-05 07:39:36 +01:00
Florian Bruhin
274f2a9d19
Rename eventFilter methods in modeman
2018-03-05 06:36:01 +01:00
Florian Bruhin
e01db79ce9
Filter out ShortcutOverride events properly
...
Fixes #3419
2018-03-05 06:32:54 +01:00
Florian Bruhin
4ef5db1bc4
Disallow numbers in keybindings
...
Fixes #1966
2018-03-04 23:17:51 +01:00
Florian Bruhin
47525f6a09
Update changelog
2018-03-04 22:58:33 +01:00
Florian Bruhin
155a1901c0
Merge branch 'keys'
2018-03-04 22:50:41 +01:00
Florian Bruhin
88a5c8d29d
Make sure bindings with umlauts work
...
See #303
2018-03-04 22:38:33 +01:00
Florian Bruhin
e2f17c4be1
Always prefer exact over partial matches
2018-03-04 21:45:46 +01:00
Florian Bruhin
40c3295cd1
Improve logging message for clear_keystring
2018-03-04 21:32:42 +01:00
Florian Bruhin
f2fadd7add
Fix handling of key_mappings
2018-03-04 21:32:28 +01:00
Florian Bruhin
0967b6abd2
Fix handling of </> keys
2018-03-04 20:40:16 +01:00
Florian Bruhin
910bbc8521
Refactor keyutils._parse_keystring
2018-03-04 20:40:05 +01:00
Florian Bruhin
c9c0bc0bbd
Update docs
2018-03-04 20:28:46 +01:00
Florian Bruhin
d8bfe23c0d
Fix lint
2018-03-04 20:21:58 +01:00
Florian Bruhin
58b7599152
Remove old fixme
2018-03-04 20:21:58 +01:00
Florian Bruhin
f85e69ec77
Refactor other keyinput tests
2018-03-04 20:21:58 +01:00
Florian Bruhin
2be7db29ed
100% coverage for keyinput.keyutils
2018-03-04 20:21:58 +01:00
Florian Bruhin
8da878c77c
Make KeySequence.matchs() work correctly
2018-03-04 20:21:58 +01:00
Florian Bruhin
866c758660
Add more KeySequence tests
2018-03-04 20:21:58 +01:00
Florian Bruhin
68db8d04ad
KeySequence: Make sure we got valid key codes
2018-03-04 20:21:58 +01:00
Florian Bruhin
3649a36869
KeySequence: Add __le__/__ge__
2018-03-04 20:21:58 +01:00
Florian Bruhin
fb7c75a090
Improve keyutils tests
2018-03-04 20:21:58 +01:00
Florian Bruhin
3c9e8ff9ab
Test and fix keyutils._parse_keystring
2018-03-04 20:21:58 +01:00