Florian Bruhin
2ca15d7667
Add tests for lower-/uppercase text
2018-03-04 20:20:31 +01:00
Florian Bruhin
8c87040cb6
Improve IDs for qt_key fixture
2018-03-04 20:20:31 +01:00
Florian Bruhin
0b6d2c2b0a
Make all key names work
2018-03-04 20:20:30 +01:00
Florian Bruhin
601e56d2fa
Make test_keyutils work
2018-03-04 20:20:30 +01:00
Florian Bruhin
8f479407a0
key_data: Update key names to reflect reality
...
Generated by:
import key_data
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QKeySequence
for key in key_data.KEYS:
attr = key.attribute
member = getattr(Qt, 'Key_' + attr, None)
if member is None:
continue
name = QKeySequence(member).toString()
if name != attr:
try:
print(" Key('{}', '{}')".format(attr, name))
except UnicodeEncodeError:
print(" Key('{}', '{}') # FIXME".format(attr, name.encode('unicode-escape').decode('ascii')))
else:
print()
2018-03-04 20:20:30 +01:00
Florian Bruhin
f714be0ff7
Initial tests on all Qt keys
2018-03-04 20:20:30 +01:00
Florian Bruhin
19512e988b
Expose less from keyutils publicly
2018-03-04 20:20:30 +01:00
Florian Bruhin
880da2d143
Add missing default=True for configmodel.bind
2018-03-04 20:20:30 +01:00
Florian Bruhin
2ed480b40a
Refactor configmodel.bind
2018-03-04 20:20:30 +01:00
Florian Bruhin
fdc2458657
Fix test_split_count after _handle_key merge
2018-03-04 20:20:30 +01:00
Florian Bruhin
c3485821c7
Adjust copyright
2018-03-04 20:20:30 +01:00
Florian Bruhin
77e0b8983c
Point to Debian repos for .deb downloads
...
[ci skip]
Fixes #3669
2018-03-04 18:51:16 +01:00
Florian Bruhin
02c313eafd
Add packages needed with tox
2018-03-02 10:22:59 +01:00
Florian Bruhin
be7a21eb56
Make sure the backend is set in test_webenginesettings.py
2018-03-02 07:00:09 +01:00
Florian Bruhin
b0c25e1bed
Add missing )
...
I shouldn't be allowed to push at 6:30 AM...
2018-03-02 06:58:37 +01:00
Florian Bruhin
9721881261
Adjust @issue3572 check for Qt 5.10.1
2018-03-02 06:37:01 +01:00
Florian Bruhin
5d68dc08d5
Update changelog
2018-03-02 06:35:04 +01:00
Florian Bruhin
067be7aaa2
Simplify mock checks
2018-03-02 06:33:56 +01:00
Florian Bruhin
6fc560fc78
Rewrite comment
2018-03-02 06:31:23 +01:00
Florian Bruhin
fb7fa0cb49
Merge remote-tracking branch 'origin/pr/3652'
2018-03-02 06:31:00 +01:00
Florian Bruhin
52129f2e4d
Merge remote-tracking branch 'origin/pr/3659'
2018-03-02 06:30:52 +01:00
Ryan Roden-Corrent
d5e30fd728
Don't crash first completion update with min_chars.
...
When min_chars is nonzero, if the first command that opens the
completion has < min_chars on the word under the cursor, it triggers a
check for a condition where last_cursor_pos is None.
By setting last_cursor_pos=-1 we ensure that the completer always
updates the first time it is opened, and that there is never a check
against None.
This adds a test for the min_chars feature.
Resolves #3635 .
2018-03-01 22:07:53 -05:00
Jay Kamat
a2b5bf0b73
Clear old search results on webkit
...
Fixes an issue with #3626
2018-03-01 16:15:38 -05:00
Ryan Roden-Corrent
2965f954ba
Resolve empty completion.timestamp_format crash.
...
Resolves #3628 .
2018-03-01 07:54:20 -05:00
Florian Bruhin
257011a6d2
Fix installing codecov on Travis
2018-03-01 12:56:43 +01:00
Florian Bruhin
f33d659924
Release v1.1.2
2018-03-01 09:15:54 +01:00
Florian Bruhin
b14a37cf1f
Update changelog for v1.1.2
...
[ci skip]
2018-02-28 16:14:34 +01:00
Florian Bruhin
7fd0b52360
Add missing newline
...
[ci skip]
2018-02-28 08:11:23 +01:00
Florian Bruhin
8ea6cf352b
Remove unneeded version check
...
The option isn't going to magically change as the config system prevents that.
2018-02-28 08:08:47 +01:00
Florian Bruhin
f3aaa1084a
Migrate spell tests to unittests
2018-02-28 08:08:23 +01:00
Florian Bruhin
824825e67d
Make sure we only show dictionary warnings once
...
After 3956f81e73
where this was made a function,
the warning was shown twice, causing AppVeyor to fail.
2018-02-28 08:01:11 +01:00
Florian Bruhin
889b03169a
Upgrade to PyQt 5.10.1
2018-02-28 06:28:01 +01:00
Florian Bruhin
e6aa6b8235
Add missing docs for {url:host}
2018-02-27 17:29:36 +01:00
Florian Bruhin
5eb340d481
Add missing tests for completions
2018-02-27 15:55:00 +01:00
Florian Bruhin
60f0175a36
Fix getting customized options
...
This was broken with per-domain settings
Fixes #3649
2018-02-27 15:39:57 +01:00
Florian Bruhin
5a5873d4ee
Rename KeyConfig._prepare to ._validate
2018-02-27 14:16:41 +01:00
Florian Bruhin
49d297f7bf
Fix tests for parsing KeySequences
2018-02-27 14:10:55 +01:00
Florian Bruhin
b85fe8f678
Merge BaseKeyParser._handle_key into .handle
2018-02-27 14:08:38 +01:00
Florian Bruhin
3a79f1293f
Remove FIXMEs
2018-02-27 13:10:25 +01:00
Florian Bruhin
244590f49d
Handle unknown keys with :bind/:unbind
2018-02-27 13:09:48 +01:00
Florian Bruhin
88b5007457
Consolidate invalid :bind/:unbind tests
2018-02-27 13:02:32 +01:00
Florian Bruhin
7a27469ecd
Handle unknown keys in :bind completion
2018-02-27 13:02:32 +01:00
Florian Bruhin
8090d3e289
Handle invalid keys in config.py
2018-02-27 13:02:32 +01:00
Florian Bruhin
898f5c50c4
Add a test for utils.chunk
2018-02-27 13:02:32 +01:00
Florian Bruhin
bd87b4eb10
Stop logging in PassthroughKeyParser
2018-02-27 13:02:32 +01:00
Florian Bruhin
ec3ad8a969
Get rid of _warn_on_keychains and _supports_chains
2018-02-27 13:02:32 +01:00
Florian Bruhin
ba012c6ba8
Get rid of BaseKeyparser.Type
2018-02-27 13:01:41 +01:00
Florian Bruhin
b906d92053
Remove now uneeded pylint ignore
2018-02-27 10:06:11 +01:00
Florian Bruhin
72e30cc12c
Fix following hints
2018-02-27 09:47:06 +01:00
Florian Bruhin
079fcc7eea
Add FIXME
2018-02-27 09:38:40 +01:00