Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-01 | Store raw key in modeman.KeyEventqt6-test | Florian Bruhin | |
We don't know if this is a valid Qt.Key at this point. See #7045 and #7047 | |||
2021-10-03 | even more keypress related hacks | Jimmy | |
`QKeySequence.SequenceMatch` is one of the enums for which `Enum(0)` is no-longer falsey, compare to NoMatch instead. Otherwise the conditional is always false and forwarded keys don't work. Eg > from PyQt6.QtGui import QKeySequence, QKeyEvent > bool(QKeySequence.SequenceMatch.NoMatch) True > bool(QKeySequence.SequenceMatch(0)) True For `QKeySequence.SequenceMatch` and `QtCore.Qt.Key` and `QtCore.Qt.KeyboardModifier` int(enum_value) no longer works, eg > int(QtCore.Qt.KeyboardModifier(0)) TypeError: int() argument must be a string, a bytes-like object or a number, not 'KeyboardModifier' | |||
2021-08-26 | Automatically rewrite enums | Florian Bruhin | |
See #5904 | |||
2021-08-26 | Blanket PyQt5 -> PyQt6 | Florian Bruhin | |
2021-07-12 | Revert "Fix enum stringification for Python 3.10 a7+" | Florian Bruhin | |
This reverts commit e2c5fe6262564d9d85806bfa9d4486a411cf5045. See https://mail.python.org/archives/list/python-dev@python.org/thread/ZMC67QA2JVQJSWSFWRS6IM6ZX4EK277G/#LSTMFAPSPD3BGZ4D6HQFODXZVB3PLYKF | |||
2021-04-08 | Fix enum stringification for Python 3.10 a7+ | Florian Bruhin | |
https://bugs.python.org/issue40066 https://mail.python.org/archives/list/python-dev@python.org/message/CHQW6THTDYNPPFWQ2KDDTUYSAJDCZFNP/ https://github.com/python/cpython/commit/b775106d940e3d77c8af7967545bb9a5b7b162df | |||
2021-03-11 | Revert "Add deprecated aliases for renamed commands" | Florian Bruhin | |
This reverts commit 8976e6850317881ed1aebed55a273e73c17a50bd. | |||
2021-03-09 | Add log-sensitive-keys debug flag | Florian Bruhin | |
2021-01-27 | Add deprecated aliases for renamed commands | Florian Bruhin | |
See #6022, #6071 | |||
2021-01-26 | doc: Switch URLs to https | Florian Bruhin | |
2021-01-20 | Bump copyright years | Florian Bruhin | |
Closes #6015 | |||
2021-01-20 | Rename :enter-mode and :leave-mode | Florian Bruhin | |
See #6022 | |||
2021-01-13 | dataclasses: Adjust import order | Florian Bruhin | |
See #6023 | |||
2021-01-13 | dataclasses: Initial switch | Florian Bruhin | |
See #6023 | |||
2021-01-11 | Add objects.qapp to avoid needing to None-check | Florian Bruhin | |
We know that QApplication.instance() will always be non-None for practical purposes, but the stubs now (correctly) declare it as Optional. See https://github.com/stlehmann/PyQt5-stubs/pull/126 | |||
2020-11-02 | mypy: use annotations for typing instead of comments | Tim Brown | |
2020-10-28 | mypy: use from-import style for typing | Tim Brown | |
Update files in `keyinput`, `mainwindow`, and `misc`. See #5396 | |||
2020-10-16 | Use signals to set status text from HintManager | Florian Bruhin | |
2020-07-27 | Disallow register mode for :enter-mode | Florian Bruhin | |
2020-06-17 | Show partial keystrings for all modes in statusbar | Florian Bruhin | |
Closes #2817 | |||
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-06-09 | Modify modeman.instance() to return specific error when unavailable. | Constantine Theocharis | |
This avoids the need to have a generic 'except KeyError' in statusbar/bar.py when querying the current mode, in the case when the mode manager has not been initialized yet. | |||
2020-05-10 | mypy: Use explicit "type: ignore[...]" ignores | Florian Bruhin | |
See #5368 | |||
2020-05-09 | mypy: Fix typing around eventfilters | Florian Bruhin | |
See #5368 | |||
2020-05-09 | mypy: Use from-import in keyinput.modeman | Florian Bruhin | |
See #5368, #5396 | |||
2020-01-04 | Adjust copyrights for 2020 | Florian Bruhin | |
2019-11-25 | Use modeman.instance() to get mode manager | Florian Bruhin | |
See #640 | |||
2019-11-24 | Fix mypy | Florian Bruhin | |
2019-11-24 | Remove keyparsers from objreg | Florian Bruhin | |
This gets rid of an exception/abort when tests are finished with the new PyQt exit scheme. See #5017, #640 | |||
2019-10-13 | objreg: Set command_only for hintmanager and prompt-container | Florian Bruhin | |
See #640 | |||
2019-10-13 | Add some newlines | Florian Bruhin | |
2019-10-09 | Add type annotations for keyinput.modeman | Florian Bruhin | |
2019-10-09 | Reindent | Florian Bruhin | |
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 | 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-09-10 | Merge remote-tracking branch 'origin/pr/4536' | Florian Bruhin | |
2019-05-22 | Improve :enter-mode docs | Florian Bruhin | |
2019-03-17 | Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into ↵ | Jay Kamat | |
jay/keys-unneeeded-code | |||
2019-03-16 | Cache hot config accesses in key parser | Jay Kamat | |
2019-02-22 | Update copyright for 2019 | Jay Kamat | |
2018-12-12 | Fix lint | Florian Bruhin | |
2018-11-29 | Move CommandError to api.cmdutils | Florian Bruhin | |
2018-06-14 | Unconditionally restore mode after prompt | Florian Bruhin | |
2018-06-14 | Make sure modeman.enter(KeyMode.normal) does something sensible | Florian Bruhin | |
2018-03-16 | Merge 'origin/master' into tab-input-mode | Marc Jauvin | |
2018-03-13 | address requested changes | Marc Jauvin | |
- add INPUT_MODES & PROMPT_MODES constants in modeman - use those in tabbedbrowser and modeman - fix debug logs format to be more human readable - fix associated tests for new debug logs | |||
2018-03-09 | Fix lint | Florian Bruhin | |
2018-03-08 | keyinput: Merge keyparser into modeparsers | jakanakae-envangel | |
2018-03-07 | Save input modes when mode_on_change=='restore' | Marc Jauvin | |