2021-10-06 | John Snow | iotests/linters: check mypy files all at once Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-06 | John Snow | iotests: add 'qemu' package location to PYTHONPATH... Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: enable pylint checks Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: Silence too-few-public-methods warning Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: enable mypy checks Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: Add FIXME for consolidating JSON-related... Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: add type hint annotations (QAPIDoc) Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: add import cycle workaround Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: Introduce NullSection Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: clarify _end_section() logic Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: remove FIXME comment from _append_body_line Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi: Add spaces after symbol declaration for consistency Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/parser: fix unused check_args_section arguments Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/gen: use dict.items() to iterate over _modules Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-10-02 | John Snow | qapi/pylintrc: ignore 'consider-using-f-string' warning Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: Add Coverage.py support Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add LineProtocol tests Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add AsyncProtocol unit tests Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python: bump avocado to v90.0 Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add scary message Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add asyncio_run compatibility wrapper Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add _raw() execution interface Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add execute() interfaces Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: Add message routing to QMP protocol Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/pylint: disable no-member check Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add QMP protocol support Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/pylint: disable too-many-function-args Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add QMP event support Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add well-known QMP object models Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add QMP Message format Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add AsyncProtocol._readline() method Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add _cb_inbound and _cb_outbound logging... Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add configurable read buffer limit Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add AsyncProtocol.accept() method Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add logging to AsyncProtocol Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: Add logging utility helpers Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add runstate state machine to AsyncProtocol Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add generic async message-based protocol... Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add asyncio compatibility wrappers Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/pylint: Add exception for TypeVar names ('T') Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add error classes Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-27 | John Snow | python/aqmp: add asynchronous QMP (AQMP) subpackage Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-16 | John Snow | python: pylint 2.11 support Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-16 | John Snow | python: Update for pylint 2.10 Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-01 | John Snow | iotests: use subprocess.DEVNULL instead of open("/dev... Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-01 | John Snow | iotests: use with-statement for open() calls Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-09-01 | John Snow | python: Reduce strictness of pylint's duplicate-code... Signed-off-by: John Snow <jsnow@redhat.com> Acked-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-08-04 | John Snow | docs: convert writing-qmp-commands.txt to writing-qmp... Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-08-04 | John Snow | docs/qapi-code-gen: add cross-references Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-08-04 | John Snow | docs/qapi-code-gen: Beautify formatting Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-08-04 | John Snow | docs: convert qapi-code-gen.txt to ReST Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: Fix broken ReST docstrings Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: remove auto-generated pyproject.toml file Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: Update help text on 'make clean', 'make distclean' Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: Update help text on 'make check', 'make develop' Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: add 'make check-dev' invocation Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: only check qemu/ subdir with flake8 Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: Fix .PHONY Make specifiers Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: update help text for check-tox Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: rename 'venv-check' target to 'check-pipenv' Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: Add no-install usage instructions Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: README.rst touchups Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: Re-lock pipenv at *oldest* supported versions Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: Remove global pylint suppressions Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python: expose typing information via PEP 561 Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-07-01 | John Snow | python/qom: Do not use 'err' name at module scope Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-25 | John Snow | GitLab: Add "Feature Request" issue template. Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-25 | John Snow | GitLab: Add "Bug" issue reporting template Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: add redirection shim Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | python: add qmp-shell entry point Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: move to python/qemu/qmp/qmp_shell.py Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: add docstrings Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: make QMPShellError inherit QMPError Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: remove double-underscores Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: convert usage comment to docstring Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: Remove too-broad-exception Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: Fix empty-transaction invocation Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: remove TODO Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: use logging to show warnings Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: Use context manager instead of atexit Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | python/qmp: return generic type from context manager Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: unprivatize 'pretty' property Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: Accept SocketAddrT instead of string Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: add mypy types Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | python/qmp: add QMPObject type alias Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: initialize completer early Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: refactor QMPCompleter Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: Fix "FuzzyJSON" parser Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: move the REPL functionality into... Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: remove prompt argument from read_exec_command Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: move get_prompt() to prompt property Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: Make verbose a public attribute Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: Add pretty attribute to HMP shell Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: use argparse Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: use isinstance() instead of type() Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: remove if-raise-else patterns Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: fix shell history exception handling Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: rename one and two-letter variables Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: make QMPCompleter returns explicit Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
2021-06-18 | John Snow | scripts/qmp-shell: ignore visit_Name name Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> |
commitcommitdifftree |
next |