Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-26 | Automatically rewrite enums | Florian Bruhin | |
See #5904 | |||
2021-08-26 | Blanket PyQt5 -> PyQt6 | Florian Bruhin | |
2021-03-03 | Merge remote-tracking branch 'origin/pr/5967' into dev | Florian Bruhin | |
2021-01-26 | doc: Switch URLs to https | Florian Bruhin | |
2021-01-20 | Bump copyright years | Florian Bruhin | |
Closes #6015 | |||
2021-01-03 | Fix PR issues for set-cmd-text completions. | Ryan Roden-Corrent | |
- Prefer None to "" - Prefer implicit bool checking - Try to fix mypy warnings | |||
2020-10-28 | mypy: use from-import style for typing | Tim Brown | |
Update files in `keyinput`, `mainwindow`, and `misc`. See #5396 | |||
2020-10-26 | Use enum.auto() for most enum values | Florian Bruhin | |
Doesn't change values where they are chosen to line up with Qt enums. See #4800 | |||
2020-10-16 | Add/improve docs for enums | Florian Bruhin | |
2020-10-09 | Use class-based API instead of functions for enums | Yegor | |
2020-06-17 | modeparsers: Refactor how hints are handled | Florian Bruhin | |
Instead of binding hints to fake :follow-hint commands, we now use a separate CommandKeyParser and ask that for its match result. If the key matches with the command parser, it is bound in hint mode, so we clear the hint keystring and defer to the command handling instead. If it doesn't, we continue hint handling as usual - however, the HintKeyParser is now not a CommandKeyParser anymore, so we don't have to deal with command parsing (and have a custom execute implementation instead). Closes #4504 Fixes #4392 Fixes #4368 Helps with #5084, though it doesn't completely fix that yet. Supersedes #3742 (fix for #3735) Supersedes #4691 (fix for #4264) | |||
2020-06-17 | modeparsers: Refactor to avoid subclassing | Florian Bruhin | |
Before the changes in this commit, we've had to have a subclassed parser for every mode, even if there was no special key handling going on in that mode. With a couple of changes, we can avoid many of those subclasses and only have subclasses for bigger changes (like hint or register modes). - The awkward handling of self._modename in _read_config() is now removed. _read_config() doesn't take an argument, always uses the mode in self._mode and gets called from __init__. - BaseKeyParser takes the mode as an argument to __init__. - The class attributes (do_log/passthrough/supports_count) now also get passed via the constructor. | |||
2020-01-04 | Adjust copyrights for 2020 | Florian Bruhin | |
2019-10-13 | Avoid circular imports | Florian Bruhin | |
2019-10-13 | Set command_only=True for macro-recorder | Florian Bruhin | |
See #640 | |||
2019-10-09 | Use usertypes.KeyMode for PassthroughKeyParser mode argument | Florian Bruhin | |
More consistency with RegisterKeyParser and more type safety | |||
2019-10-09 | Move HintManager from a per-tab to a per-window object | Florian Bruhin | |
This means we use objreg less and we have less HintManager objects - what's there not to like? | |||
2019-10-09 | Add type annotations for keyinput.modeparsers | Florian Bruhin | |
2019-10-09 | Pass commandrunner object to mode parsers | Florian Bruhin | |
Apart from making things easier to test, this also means there is only one shared CommandRunner instead of there being one per parser. | |||
2019-10-09 | Move supports_count to a class attribute | Florian Bruhin | |
2019-09-12 | Merge remote-tracking branch 'origin/pr/4785' | Florian Bruhin | |
2019-05-15 | allow deleting from filter after selecting a hint | Peter Rice | |
2019-03-31 | Separate logic for checking special key and whether a key should clear hint ↵ | user202729 | |
mode keychain | |||
2019-02-22 | Update copyright for 2019 | Jay Kamat | |
2018-10-26 | Merge remote-tracking branch 'origin/pr/4362' | Florian Bruhin | |
2018-10-26 | Remove old _stop_timers | Florian Bruhin | |
2018-10-18 | Fix _partial_timer connection in modeparsers | user202729 | |
2018-10-18 | Simplify logic in HintKeyParser.handle | user202729 | |
2018-03-09 | Fix lint | Florian Bruhin | |
2018-03-09 | Make sure keys with modifiers get handled as special | Florian Bruhin | |
2018-03-09 | Clear key chains when a special key is pressed in hint mode | Florian Bruhin | |
When we press "s<Escape>", we don't want <Escape> to be handled as part of a key chain. | |||
2018-03-08 | keyinput: Merge keyparser into modeparsers | jakanakae-envangel | |
2018-03-05 | Filter out ShortcutOverride events properly | Florian Bruhin | |
Fixes #3419 | |||
2018-03-04 | Update docs | Florian Bruhin | |
2018-03-04 | Add keyutils.is_printable() | Florian Bruhin | |
2018-03-04 | Expose less from keyutils publicly | Florian Bruhin | |
2018-02-27 | Merge BaseKeyParser._handle_key into .handle | Florian Bruhin | |
2018-02-27 | Get rid of _warn_on_keychains and _supports_chains | Florian Bruhin | |
2018-02-27 | Get rid of BaseKeyparser.Type | Florian Bruhin | |
2018-02-26 | Clearly separate yesno/prompt key modes | Florian Bruhin | |
2018-02-26 | Fix more hinting issues | Florian Bruhin | |
2018-02-26 | Don't force-follow hints when typing chars | Florian Bruhin | |
2018-02-26 | Make hint keybinding inhibition work | Florian Bruhin | |
2018-02-26 | Refactor KeySequence initialization | Florian Bruhin | |
2018-02-26 | Make hints work | Florian Bruhin | |
2018-02-26 | Try getting hints to work | Florian Bruhin | |
2018-02-25 | Merge branch 'master' into keys | Florian Bruhin | |
2018-02-05 | Update copyright years | Florian Bruhin | |
2017-12-29 | Add some FIXMEs | Florian Bruhin | |
2017-12-29 | Rename sequence.py to keyutils.py | Florian Bruhin | |