[Tickit-dev] libtickit v0.4.0

Paul "LeoNerd" Evans leonerd at leonerd.org.uk
Mon May 25 15:31:16 BST 2020


I have made the v0.4.0 release of libtickit

  http://www.leonerd.org.uk/code/libtickit/libtickit-0.4.0.tar.gz

The full CHANGES entry reads:

  * Expose TickitBuilder and TickitTermBuilder as API-visible structs
  * Added tickit_build(3) and tickit_term_build(3)
  * Added tickit_new_stdtty(3)
  * Optionally parse a secondary RGB8 colour specification in
    tickit_pen_set_colour_attr_desc(3)
  * Accept colour desc strings in tickit_pen_new_attrs(3)
  * Added TICKIT_BIND_ONESHOT event-binding flag
  * Added tickit_watch_io(3)
  * Bugfix unit test by not including 0 flag in sprintf %s, as it is
    nonportable
  * Ensure termkey_new() sees correct value of $TERM during its
    construction
  * Bugfixes for t/18term-builder.c on non-Linux platforms
  * Bugfixes for ti_getstr hook when operating on abstract terminals
    that are not TTY filehandles
  * Many spelling mistakes / typo fixes in manpages

In particular of these changes the topmost is the addition of the
"Builder"-type interfaces. These are a C interpretation of the common
pattern in more dynamic languages of taking named parameters into
object constructors. They make an easily-extensible pattern for
constructing a new top-level Tickit or terminal instance, from a given
set of parameters.

These interfaces are encouraged, over the previous form of creating a
new object and then mutating it with the various "set" functions to add
things like filehandles and so on. Those "set" functions are now
discouraged, and will be gone by 0.5. This will be to facilitate the
migration of the libtermkey code into the core of libtickit itself, by
adding it to the various term drivers.

There will likely still be at least a 0.4.1 before 0.5 because there's
a few other bugfixes and additions I'd like to make before then:

  * Use of CLOCK_MONOTONIC where possible
  * Bundled libuv / glib event loops

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mail.leonerd.org.uk/pipermail/tickit-dev/attachments/20200525/222c41b8/attachment.sig>


More information about the Tickit-dev mailing list