[Tickit-dev] Released: Tickit 0.24

Paul LeoNerd Evans leonerd at leonerd.org.uk
Tue Dec 4 22:07:22 GMT 2012


Another released version.

Since Tickit 0.23, most of the updates here have been internal
optimsations.

 * libtickit has the ability to detect if the terminal supports DECSLRM,
   and if so uses that plus DECIC/DECDC to perform arbitrary rectangle
   scrolling. In this case, tickit_term_scrollrect() always returns
   true. Versions of xterm since patch 282, libvterm since bzr revision
   548, or (should anyone still posess one) a real DEC VT-4xx or above
   should support this, and possibly other terminals.

   Note that this is detected by actually asking the terminal if it
   supports it, so should be universally working on any supporting
   terminal, rather than relying on possibly out-of-date terminfo
   databases. (Not least for the fact that terminfo outdates DECSLRM by
   a good few years at least, and has no knowledge of such fancy modern
   conveniences ;) ).

 * Tickit::Window now supports scroll/scrollrect even if the window is
   partly covered by other floating windows. With the
   expose-after-scroll behaviour turned on (soon to be default in a
   later version once I know it works nicely), it always returns true,
   and tries to scroll as many regions of the screen as it can, queueing
   expose operations for the areas that needed it. Combined with
   DECSLRM-based arbitrary scrolling this becomes even more powerful.

A good example of this working can be seen in the newly-updated
Tickit::Widget::Scroller, which now supports a scroll position
indicator, a small floating window in the top or bottom right corner.

Next plans: still intending to make expose-after-scroll default, and to
remove CLEAR_BEFORE_RENDER. This requires all windows to be floats. I
believe this is now safe to do so will be in Tickit 0.25.

You can test if code will still function correctly by pre-enabling the
feature using:

 $ TICKIT_FLOAT_ALL_THE_WINDOWS=1 ./Build test

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.leonerd.org.uk/pipermail/tickit-dev/attachments/20121204/eb8a84ab/attachment.sig>


More information about the Tickit-dev mailing list