Florian Bruhin
7b3cb14e6e
Revert "Try to have strings in KeyConfig"
...
This reverts commit 28b6b97f39
.
2017-12-29 15:41:28 +01:00
Florian Bruhin
28b6b97f39
Try to have strings in KeyConfig
2017-12-29 15:41:12 +01:00
Florian Bruhin
737ff2cc69
Add <> around special keys in __str__
2017-12-29 14:43:04 +01:00
Florian Bruhin
f1fe26b0b7
Handle modifiers correctly
2017-12-29 14:40:00 +01:00
Florian Bruhin
7b17ab4b3f
Initial str() attempt
2017-12-29 14:22:20 +01:00
Florian Bruhin
d9c768ed86
Strip out shift modifier for non-alpha bindings
2017-12-29 13:53:43 +01:00
Florian Bruhin
917f2a30de
Get tests to collect
2017-12-29 13:23:38 +01:00
Florian Bruhin
cc747b00ce
Move parsing to class
2017-12-29 01:50:51 +01:00
Florian Bruhin
705767bcfb
fixme
2017-12-29 01:43:47 +01:00
Florian Bruhin
5cee39d315
Initial move of keyutils tests
2017-12-29 01:41:55 +01:00
Florian Bruhin
c98eb5502d
Add some FIXMEs
2017-12-29 01:24:05 +01:00
Florian Bruhin
d961211188
Delete some old code
2017-12-29 01:24:05 +01:00
Florian Bruhin
21b3e05ed0
Fix getting reverse bindings
2017-12-29 01:24:05 +01:00
Florian Bruhin
b1dde41b74
Rename sequence.py to keyutils.py
2017-12-29 01:24:05 +01:00
Florian Bruhin
dcf0d21121
Move key related utils to sequence.py
2017-12-29 01:24:05 +01:00
Florian Bruhin
600919a23a
Add a custom KeySequence class
2017-12-29 01:24:05 +01:00
Florian Bruhin
a565b77bf0
Switch from string to QKeySequence
2017-12-29 01:24:05 +01:00
Florian Bruhin
8478a1ea3d
Remove _handle_special_key
2017-12-29 01:24:05 +01:00
Florian Bruhin
26fdc129d3
Split off counts
2017-12-29 01:24:05 +01:00
Florian Bruhin
55803afbd2
Fix matching
2017-12-29 01:24:05 +01:00
Florian Bruhin
a8aaf01ff0
Fix some more stuff (and break some :D)
2017-12-29 01:24:05 +01:00
Florian Bruhin
ddcb5445a2
Initial refactoring for new key parsing
2017-12-29 01:24:05 +01:00
Florian Bruhin
7fe0f9fb16
Update qutebrowser xpm
2017-12-29 01:23:45 +01:00
Florian Bruhin
2ef6e740d9
Merge pull request #3441 from strburst/doc-configuring-fix-typo
...
Fix minor doc typo in example code
2017-12-26 17:26:47 +01:00
Allen Zheng
b5a9612840
Fix minor doc typo in example code
...
There should be an extra parenthesis to close the call to the outer
print function.
2017-12-26 11:21:02 -05:00
Florian Bruhin
d2f0c5dcac
Update changelog
2017-12-26 15:45:50 +01:00
Florian Bruhin
73b6dea1f4
Merge remote-tracking branch 'origin/pr/3427'
2017-12-26 15:45:00 +01:00
Florian Bruhin
aa68e97922
Merge pull request #3435 from qutebrowser/pyup-scheduled-update-12-25-2017
...
Scheduled weekly dependency update for week 52
2017-12-26 15:05:37 +01:00
pyup-bot
501cabc6a0
Update pytest-rerunfailures from 3.1 to 4.0
2017-12-25 16:26:14 +01:00
pyup-bot
0d61c75ce4
Update hypothesis from 3.44.1 to 3.44.4
2017-12-25 16:26:13 +01:00
pyup-bot
c5c3684581
Update setuptools from 38.2.4 to 38.2.5
2017-12-25 16:26:11 +01:00
Ryan Farley
46f6336e6e
and add back needed connection
2017-12-22 12:47:38 -06:00
Ryan Farley
1d0b91475d
remove broken connection
2017-12-22 12:45:37 -06:00
Ryan Farley
611f3621ec
skip test
...
tests/end2end/features/test_marks_bdd.py::test_jumping_back_after_following_a_link
2017-12-22 12:36:45 -06:00
Ryan Farley
252fbf651f
add back blank line for D204
2017-12-22 11:47:13 -06:00
Ryan Farley
f90342741a
comma spacing
2017-12-22 11:41:07 -06:00
Ryan Farley
feb327e80e
fix style issues, better names, less indirection
...
Added spaces to comments, use python naming conventions, remove
_load_progress_fake as unnecessary, rename _on_load_*_fake to
_on_load_*_workaround (for less confusion), and use qtutils rather than
QT_VERSION_STR
2017-12-22 11:32:31 -06:00
Ryan Farley
fa10b76ce8
remove extraneous loadStarted connection
...
Copying and pasting without thinking might lead to redundancy.
2017-12-22 01:27:35 -06:00
Ryan Farley
4a6c9ecc34
only reroute load signals with Qt=5.10
...
This stops regressions on Qt<=5.9. It also reintroduces #3110 , but
fixing #3110 was just a nice side effect rather than the main goal here.
2017-12-21 21:22:20 -06:00
Ryan Farley
d6c56b83a8
fix line length
2017-12-21 16:31:45 -06:00
Ryan Farley
5bfab54828
supplement broken webengine load signals
...
This uses the much more reliable `loadProgress(100)` in place of
`loadFinished(true)` for WebEngine, with `loadProgressFake` and
`loadFinishedFake` used instead of the 'official' variants.
2017-12-21 15:35:43 -06:00
Florian Bruhin
5c00eea122
Fix stripping of lines in asciidoc2html
...
This broke in #3382 since re.fullmatch does a different thing for trailing
newlines:
>>> line
'===========\n'
>>> re.match(r'^=+$', line)
<_sre.SRE_Match object; span=(0, 11), match='==========='>
>>> re.fullmatch(r'=+', line)
>>>
This now strips the line by default, and adds newlines if needed.
2017-12-20 11:35:27 +01:00
Cody Scott
3c0d51c253
Fix broken link
2017-12-19 12:18:10 -05:00
Florian Bruhin
4ffdd9da0e
Add new B008 to flake8 ignores
2017-12-19 08:57:33 +01:00
Florian Bruhin
fde0516ccf
Merge remote-tracking branch 'origin/pr/3413'
2017-12-19 08:56:01 +01:00
Florian Bruhin
f2c93a0061
Use request instead of pytestconfig
...
This unifies QuteProc and the other Process subclasses a bit.
2017-12-19 08:55:35 +01:00
Florian Bruhin
12ba642547
Avoid using pytest.config
...
It's going to be removed in some future pytest release.
2017-12-19 08:32:32 +01:00
pyup-bot
23e3a5ef7d
Update hypothesis from 3.42.1 to 3.44.1
2017-12-18 16:23:16 +01:00
pyup-bot
7d3645adc2
Update flake8-bugbear from 17.4.0 to 17.12.0
2017-12-18 16:23:15 +01:00
Florian Bruhin
dbb89b1073
Update docs
2017-12-18 16:11:29 +01:00