1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
|
Revision history for Tickit-Widget-Scroller
0.33 2024-08-08
[CHANGES]
* Added `->scroll_to_visible` method
0.32 2023-10-02
[CHANGES]
* Allow items to be specified by index, reverse index, or direct
object reference
* Cache pens used in RichText items for reuse; saves a lot of memory
in big long-running programs
* Updated to Object::Pad v0.800
* Respect non-breaking spaces when word-wrapping
0.31 2023-08-30
[CHANGES]
* Added `->items` accessor for querying the number of stored items
[BUGFIXES]
* Force a redraw of the indicators after a resize
0.30 2023-08-26
[CHANGES]
* Use `Tickit::Style` to handle keybindings
* Add margin and pen parameters to Text items
* Swap all unit tests from `Test::More` to `Test2::V0`
[BUGFIXES]
* Avoid warning from Text items with empty string
0.29 2022-12-14
[CHANGES]
* Updated for Object::Pad v0.73
+ Use `field NAME = EXPR` syntax
+ Use `ADJUST :params`
+ Set `:strict(params)`
0.28 2022-04-25
[CHANGES]
* Added `new_from_formatting` convenience constructor to
Tickit::Widget::Scroller::Item::RichText
0.27 2021-11-20
[CHANGES]
* Updates for Object::Pad 0.57
+ Use :isa instead of legacy `extends`
+ Use BUILDARGS and ADJUSTPARAMS instead of BUILD
0.26 2021-07-03
[CHANGES]
* Updates for Object::Pad 0.41:
+ Use :param to simplify BUILD blocks
0.25 2020-06-13
[CHANGES]
* Update to Object::Pad 0.27
+ BUILD block syntax
+ package+class declaration to keep metadata parsers happy
0.24 2020-03-30
[CHANGES]
* Use Object::Pad
0.23 2017/05/22 13:13:40
[CHANGES]
* Avoid $win->clear in unit tests
[BUGFIXES]
* Fix for handling trailing linefeeds at the end of text chunks
0.22 2016/08/08 14:11:25
[CHANGES]
* Updated for Tickit 0.57:
+ Use $win->bind_event instead of $win->set_on_*
0.21 2016/05/16 11:48:54
[BUGFIXES]
* Fix for ->shift when exposing bottom of contained content
0.20 2016/01/06 19:48:20
[CHANGES]
* Updates for latest Tickit:
+ no longer necessary to set $win->expose_after_scroll
* Updated module documentation style to use =head2 barenames
0.19 2014/12/15 18:49:57
[CHANGES]
* Added ->pop method
* Have ->shift and ->pop return the item(s) they removed
0.18 2014/04/12 14:40:45
[CHANGES]
* Avoid $rb->flush_to_window during unit testing; all unit tests
should be done directly to mockterm
[BUGFIXES]
* Text item render shouldn't care about the width of the
RenderBuffer, only of itself
0.17 2014/04/04 00:00:45
[CHANGES]
* Use Tickit 0.32-style event structures for key/mouse events
* Prepare for Tickit 0.44's whole-tree RB rendering order
0.16 2014/04/01 22:50:13
[CHANGES]
* Clarify documentation on behaviour of on_scrolled
* Use new Window expose with_rb event from Tickit 0.42
* Fix unit tests to work with Tickit 0.43's new ordering
0.15 2013/11/11 20:23:05
[CHANGES]
* Added 'on_scrolled' event
[BUGFIXES]
* Correctly reset gravity after shrinking from oversized window
0.14 2013/09/02 00:44:56
[CHANGES]
* Don't declare linecount as ->lines after all, as it breaks things
* Implement ->scroll_to on top of ->scroll, preparing for use via
Tickit::Widget::ScrollBox
[BUGFIXES]
* Update unit tests to use RenderBuffer instead of RenderContext
0.13 2013/09/01 01:39:07
[CHANGES]
* Use Tickit::RenderBuffer and ->render_to_rb from
Tickit::Widget 0.35
* Have Scroller declare its actual total line height as 'lines'
0.12 CHANGES:
* Updated for Tickit::Style 0.32 and Tickit::RenderContext 0.07
0.11 CHANGES:
* Updated to use Tickit::Style and Tickit::RenderContext
0.10 CHANGES:
* Added ->unshift operation analogous to ->push
0.09 CHANGES:
* Added indicators (may require Tickit 0.24 to scroll efficiently)
* Added ->lines_above, ->lines_below
* Added count_offscreen behaviour to item2line
0.08 CHANGES:
* Try to linewrap on word boundaries if possible, even during pen
changes
* Enable new expose_after_scroll behaviour
* Disable deprecated CLEAR_BEFORE_RENDER behaviour
* Fix unit tests to work correctly with new experimental
FLOAT_ALL_THE_WINDOWS behaviour
0.07 CHANGES:
* Don't allow overscroll past the end of the content
* More unit testing of full Unicode text
* Handle zero-length substring chunks correctly
0.06 CHANGES:
* Allow linefeeds in Text and RichText items
0.05 CHANGES:
* Bugfix to item wrapping boundary condition when a word ends exactly
at the righthand boundary
0.04 CHANGES:
* Added 'gravity' parameter to control resize behaviour
* Respond to mouse wheel events by scrolling 5 lines at a time
0.03 CHANGES:
* Use Window->print rather than Window->penprint
* Handle ->item2line with no items
* Preserve 'at-bottom'ness while not onscreen, restore it later
* Use new is_display TEXT() assertions from Tickit 0.12
0.02 CHANGES:
* Added Tickit::Widget::Scroller::Item::RichText
* New API for ->item2line
* Handle some keybindings by default
* Updated for Tickit::Test 0.07
0.01 First version, released on an unsuspecting world.
|