- Enable tests unconditionaly
- specfile:
* update copyright year
- update to version 0.8.0:
* Modified the logic around tracking position in the
"HistoryScreen", allowing the full history to be accessed. See PR
#96 on GitHub.
* Send C0 encoded CSI instead of C1, avoiding compatibility issues
with unicode. See issue #99 on GitHub.
* Changed "Stream" to really ignore "SI" in UTF-8 mode. See PR #106
on GitHub. Thanks to @jwodder!
* Fixed `DECSCNM` handling bug. The attributes of
"Screen.default_char" were not reversed leaving all blank
characters as-is. See PR #102 on GitHub. Thanks to @zblz!
* Correctly terminate OSC mode in "Stream" on receipt of a C0
encoded "ST" character.
* Allowed resetting cursor attributes in the middle of the SGR
sequence. See PR#109 on GiHub. Thanks @andreivasiliu!
* On exit from `DECCOLM` mode, restore the terminal width from
before entering `DECCOLM` mode.
* Changed "Screen.select_graphic_rendition" to ignore
malformed256/24bit colours. See issue #115 on GitHub.
OBS-URL: https://build.opensuse.org/request/show/621579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyte?expand=0&rev=5
- Update to 0.6.0
* Optimized ``Stream.feed`` for plain-text input. The code was backported
from ``pymux`` project by Jonathan Slenders.
* Optimized ``Screen`` by changing ``Screen.buffer`` to dict-of-dicts. The
idea was borrowed from ``pymux`` project by Jonathan Slenders. The
implementation was done by @istarion.
* Further optimized ``Stream._parser_fsm`` by forcing static binding between
``Stream`` events and ``Screen`` methods. The code was backported from
``pmux`` project by Jonathan Slenders.
* Restricted ``Stream`` to a single listener and deprecated ``attach`` and
``detach``. The old logic can be emulated by a fanout proxy, forwarding
events to a list of its listeners.
* Replaced ``DebugStream`` with ``DebugScreen`` to workaround the single
listener limitation (previsouly ``DebugStream`` implicitly added a
listener when instantiated). Unlike other screens ``DebugScreen`` does
not maintain any state.
* Changed ``DebugScreen`` to emit JSON instead of custom text format.
* Removed overly generic ``Screen.__before__`` and ``Screen.__after__``.
* Renamed ``Screen.set_charset`` to a more appropriate
``Screen.define_charset``.
* Added support for ECMA-035 `DOCS` command to ``ByteStream`` which no longer
accepts ``encoding`` as an argument and instead sets it as instructed by
`DOCS`. The default encoding is assumed to be UTF-8.
* Added support for OSC sequences allowing to set terminal title and
icon name.
* Allowed 256 and 24bit colours in ``Screen.select_graphic_rendition``.
* Added support for ``aixterm`` colours in ``Screen.select_graphic_rendition``,
see issue #57 on GitHub.
* Changed ``Screen.select_graphic_rendition`` to ignore 0 if it is
given along with other attributes, ie ``"0;1;2"`` is now equivalent
to ``"1;2"``.
* Fixed rendering of multicolumn characters at ``Screen` boundaries.
Thanks to @shaform! See PR #55 on GitHub.
* Fixed ``Screen.display`` in the case of multicolumn characters. See
issue #52 on GitHub.
* Fixed `DECSTBM` handling in case of missing arguments. See issue #61 on
GitHub.
* Fixed the way ``Screen.cursor_up`` and ``Screen.cursor_down`` interact
with the scrolling region. See #63 on GitHub.
* Added a minimal web terminal example by @demiurg906. For a faster and
more fully-featured version, see
`demiurg906/pyte_gui <https://github.com/demiurg906/pyte_gui>`_.
* Fixed ``Screen.cursor_back`` when called after the draw in the last column.
* Fixed ``Screen.inser_characters`` when called with an argument larger
than the number of columns. Thanks to @istarion! See PR #74 on GitHub.
* Fixed ``Screen.erase_in_display`` which did not handle all values supported
by ``TERM=linux``. See #80 on GitHub.
- singlespec auto-conversion
- Initial package.
OBS-URL: https://build.opensuse.org/request/show/520031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyte?expand=0&rev=3