[Tickit-dev] Released: Tickit 0.55 / Preparing for libtickit v0.1
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk
Wed Feb 10 00:25:33 GMT 2016
Hi all,
An exciting happening - I think we're about ready for a libtickit
version 0.1 release. But first, some updates on the Perl side.
Version 0.55 has just hit CPAN, and since the last mail was 0.51, I'll
do a quick rollup of newly added things
* Widgets moved to Tickit-Widgets
All the Tickit::Widget-related code now lives in the Tickit-Widgets
dist. This includes the base Tickit::Widget class itself, and also
the Tickit::Style helper stuff. This keeps the core Tickit dist
just for term and window-level logic.
* Fix $term->bind_event return value semantics
The (integer) return value from the Perl-level event handler of a
term event is now carried through to the C level handler; meaning
that multiple handlers for key/mouse events can be stacked as
required.
* Support bind_event() flags
Recently added to libtickit is a bind flag to allow inserting at the
head of the event handler list (BIND_FIRST), instead of the default
appending at the end. This is now supported by the Perl binding.
With these changes in place, I've been able to update all the remaining
parts of my code that was relying on the Perl implementation of
Tickit::Window. That still remains in 0.55, but I am hoping this will
be the last release to be using a Perl-implemented Window layer. Next
on my list of things to do is replace that with wrappings of the
C-level TickitWindow, in the same style as the rest of the module. This
will put us in the situation where the Perl module contains basically
no code left, with everything just a wrapper of the C library.
At which point, I believe we'll be ready to call libtickit a real
version 0.1 release. The v0.1 milestone has nothing left on it:
https://launchpad.net/libtickit/+milestone/v0.1
What's needed now is a good look at the C API and check that this looks
ready for release; all the tests in place, all the manpages complete
and correct, and so on.
It would be useful at this stage to double-check that any code you have
still works correctly against current generation of libtickit or (perl)
Tickit.
All being well, I hope to have a (perl) Tickit 0.56 using the C library
embedded in it sometime in March, followed by calling a real C
library version 0.1, and a Perl 0.57 that just uses it soon after.
And then.... we can start work on milestone 0.2 ;)
--
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk
http://www.leonerd.org.uk/ | https://metacpan.org/author/PEVANS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://mail.leonerd.org.uk/pipermail/tickit-dev/attachments/20160210/1a929ba0/attachment.sig>
More information about the Tickit-dev
mailing list