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