[Tickit-dev] Released: Tickit 0.45
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk
Tue Apr 15 10:13:15 BST 2014
Another week, another Tickit. 0.45 is mostly internal changes to
support the current "move RenderBuffer to C" effort:
* Move RenderBuffer's linemask-to-character method and most of the
Tickit::Test::MockTerm implementation into C
The latter has been possible because of a change in libtickit, which
now allows a new TickitTerm instance to be constructed by giving a
struct of driver methods. This will eventually allow the MockTerm to
be moved to the C library entirely, though will also be useful for
writing other TickitTerm drivers for other uses (e.g. MSWin32).
* Don't emit INSERTCH DELETECH events from MockTerm
The mock terminal will now always emit a single SCROLLRECT event
for a single successful ->scrollrect method call, regardless of what
kind. I didn't announce or deprecate this one first, because I fixed
up the only instance on CPAN that it would affect, and also because
it's only a test-time change which simply makes a Widget test fail;
it doesn't affect actual running code.
* Various deprecation announcements and warnings
As listed on
https://github.com/ingydotnet/tickit-info/blob/master/TickitDeprecations.md
Expect for 0.46:
* Further work on moving RenderBuffer to C
Now the MockTerm is in XS, I next want to remove all the perlisms
from its implementation, before moving that into the libtickit C
library.
Once that's done, RenderBuffer's flush_to_term method can be moved
into XS and then the C library as well. This will then mark a major
milestone in the C library.
* Improvements to Widget sizing model
We're now at the stage where every ContainerWidget uses
->requested_size to query a widget's size requirements. This is a
good place to add the minimum/maximum size attributes, which will be
four new attributes settable on the Widget base class itself, so all
widgets will automatically support it.
* More deprecation removals
See the table on the page given above.
--
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: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://mail.leonerd.org.uk/pipermail/tickit-dev/attachments/20140415/27a26edb/attachment.sig>
More information about the Tickit-dev
mailing list