1Revision history for Tickit-Widgets 2 30.34 2021-11-20 4 [CHANGES] 5 * Updates for Object::Pad 0.57 6 + Use :isa and :does instead of legacy `extends` and `implements` 7 + Use slot initialisation blocks instead of ADJUST 8 + Default values for non-scalar slots 9 100.33 2021-08-28 11 [CHANGES] 12 * Updates for Object::Pad 0.52 13 + Use ADJUSTPARAMS blocks in favour of BUILD blocks 14 * Use a regular Tickit::Style definition to set up the <Tab> and 15 <S-Tab> base key behaviour, so widgets can override it 16 * Added Tickit::Widget::Entry->make_popup_at_cursor 17 * Print deprecation warnings about `child` constructor args and 18 legacy direct applied pen attributes on Widgets 19 200.32 2021-07-03 21 [CHANGES] 22 * Use Object::Pad to implement even the base Tickit::Widget class 23 * Updates for Object::Pad 0.43: 24 + Use :param on slots where possible 25 + Use ADJUST blocks instead of BUILD blocks where possible 26 * No longer support construction-time `child`-like arguments 27 * Removed no longer needed Tickit::OneLineWidget 28 29 [BUGFIXES] 30 * Make sure that window `expose` event handler always returns an 31 integer, thus avoiding "... isn't numeric" warnings in unit tests 32 330.31 2020-11-02 34 [CHANGES] 35 * Use Object::Pad to implement the individual Tickit::Widget::* 36 subclasses 37 * Accept a wildcard type in stylesheets to apply a common style to 38 all widgets 39 * Allow ->add-like methods on container widgets to take per-child 40 opts 41 * Render [brackets] on a button if it has linetype=none 42 430.30 2020-04-02 44 [CHANGES] 45 * Ignore mouse wheel events on T:W:Button 46 * Avoid smartmatch 47 * Update for Tickit::Event 0.66 48 * Discourage use of `child`-like arguments to constructors in favour 49 of chaining mutator `->set_child`-like methods 50 * Support Widget version tests in Tickit::Widgets->import 51 520.29 2018-03-13 13:49:27 53 [CHANGES] 54 * Have Tickit::Widget::Entry also delete back a word on 55 Ctrl-Backspace 56 57 [BUGFIXES] 58 * Fix off-by-one error calculating the size of a 59 Tickit::Widget::GridBox 60 610.28 2017-11-30 13:32:58 62 [CHANGES] 63 * Add SingleChildWidget->remove (RT122231) 64 * Update for Tickit 0.63's new focus event API 65 660.27 2017/03/17 18:50:40 67 [BUGFIXES] 68 * Ensure ContainerWidget can handle windowless children 69 * Remember to actually close child windows from empty-sized children 70 in LinearBoxes 71 * Avoid complaints about mouse wheel direction names not being 72 numeric in linear Split (RT119857) 73 740.26 2017/02/15 15:03:58 75 [BUGFIXES] 76 * ContainerWidget should ->close dropped child windows when it loses 77 its own (WINDOW_XS branch) 78 790.25 2017/02/04 14:54:12 80 [CHANGES] 81 * Minor edits to unit tests to pass on Tickit post-0.61 82 (WINDOW_XS branch) 83 840.24 2016/08/08 13:43:01 85 [CHANGES] 86 * Tickit 0.57 deprecations: 87 + Use $win->bind_event instead of $win->set_on_* 88 89 [BUGFIXES] 90 * Ensure that Tickit::Widget::Box can cope with removing its child or 91 window 92 * Ensure that construction-time child proportion works on 93 Tickit::Widget::Box 94 950.23 2016/05/10 17:51:02 96 [CHANGES] 97 * Prepare for Tickit 0.56 deprecations: 98 + No more pen observers 99 + Have Tickit::Widget->pen return an immutable pen 100 1010.22 2016/02/09 23:40:28 102 [CHANGES] 103 * Ensure that a GridBox can be incrementally built both row- and 104 column-wise 105 * Since Tickit 0.39 it's not been necessary to set 106 $win->expose_after_scroll 107 1080.21 2015/07/14 13:43:29 109 [CHANGES] 110 * Avoid dependency on List::MoreUtils 111 * Imported remaining Widget-related demos and examples from Tickit 112 dist 113 * Tickit 0.54 deprecations: 114 + Kill WIDGET_PEN_FROM_STYLE 115 + Warn on mutation of Widget pen 116 1170.20 2015/03/27 19:21:10 118 [CHANGES] 119 * Imported the entire Tickit::Widget base class and related modules 120 from the Tickit distribution 121 * Document the $button->click mtehod 122 * Added examples for HBox / VBox 123 1240.19 2014/08/26 18:12:01 125 [CHANGES] 126 * Added Tickit::Widget::Fill 127 1280.18 2014/08/16 21:17:51 129 [BUGFIXES] 130 * Cope with differing Tickit::Widget::Frame linestyles per border 131 when passed at construction time 132 1330.17 2014/08/14 18:12:50 134 [CHANGES] 135 * Capture Tickit::Widget::HBox and ::VBox from main Tickit dist 136 * Added editing methods to Tickit::Widget::GridBox: 137 + insert/append/delete row/column 138 + get cell/row/column 139 1400.16 2014/04/12 04:10:47 141 [CHANGES] 142 * Update Tickit::Widget::Entry to avoid direct Window drawing 143 operations; use ->expose calls to request re-rendering 144 * Prepare for Tickit 0.45's removal of INSERTCH/DELETECH from 145 is_termlog() logging 146 147 [BUGFIXES] 148 * Correct display of Entry widget's posttext marker when deleting 149 text before it 150 1510.15 2014/04/01 20:37:30 152 [BUGFIXES] 153 * Remove child widget from GridBox before exposing cleared area 154 1550.14 2013/11/09 13:53:58 156 [CHANGES] 157 * Use the new child widget "requested size" API from Tickit 0.40 in 158 containers 159 160 [BUGFIXES] 161 * Remember to re-expose window area of a removed GridBox child 162 1630.13 2013/09/28 15:01:32 164 [CHANGES] 165 * Added 'on_toggle' to CheckButton (RT88954) 166 * Added 'on_activate' to RadioButton and 'on_changed' to 167 RadioButton::Group (RT88954) 168 * Added 'linetype' style to Button, and allow borderless 169 Buttons (RT88953) 170 171 [BUGFIXES] 172 * Don't try to create zero-sized rows or columns in GridBox 173 * Ensure that VSplit/HSplit correctly obeys the ContainerWidget 174 interface - call ->add and ->remove 175 1760.12 CHANGES: 177 * Initial attempt at Tickit::Widget::Spinner 178 * Fix SYNOPSIS in CheckButton (RT88294) 179 1800.11 CHANGES: 181 * Use Tickit dragging events to better handle mouse click/release on 182 Button 183 * Use Tickit::RenderBuffer to render Frame 184 * Allow differing or absent line styles per Frame edge 185 * Allow GridBox to be initialised by child widgets given in a 2D 186 array 187 188 BUGFIXES: 189 * Bugfix for scrollrect ICH/DCH fix 190 1910.10 CHANGES: 192 * Implement key actions in Button, CheckButton, RadioButton 193 * Neater visual style for Button; indicate focus vs. active 194 * Visually flash Button on activation by keypress 195 * Update to use Tickit 0.35's ->render_to_rb 196 197 BUGFIXES 198 * Ensure that Entry doesn't consume keypresses unless it is focused 199 2000.09 CHANGES: 201 * Added optional title to Placegrid 202 * Avoid infinite CPU spin in Entry 203 * Handle Tickit 0.34 focus behaviours 204 * Improved Button behaviour and style information 205 * Updated all to use RenderBuffer instead of RenderContext 206 2070.08 CHANGES: 208 * Added Tickit::Widget::Placegrid 209 * Fix floating-point rounding bug in HSplit/VSplit 210 * Better HSplit/VSplit behavior on resize 211 2120.07 CHANGES: 213 * Added Tickit::Widget::HSplit and Tickit::Widget::VSplit 214 * Use new style_reshape_keys from Tickit::Style 0.32 215 * Take GridBox's spacing from style 216 * Use Tickit::RenderContext in most widgets 217 2180.06 CHANGES: 219 * Use new WIDGET_PEN_FROM_STYLE from Tickit 0.30 220 * Update widgets to use more Tickit::Style behaviour 221 * Renamed Tickit::Widget::Frame's "style" attribute to "linetype" 222 2230.05 CHANGES: 224 * Added Tickit::Widget::RadioButton 225 * Added Tickit::Widget::CheckButton 226 * Neater SYNOPSIS examples 227 * Set dist_abstract to more accurately reflect the distribution as a 228 whole 229 2300.04 CHANGES: 231 * Added Tickit::Widget::GridBox 232 2330.03 CHANGES: 234 * Added Tickit::Widget::Frame (copy from Tickit dist) 235 * Added Tickit::Widget::Border (copy of Tickit::Widget::Box in 236 Tickit dist) 237 2380.02 CHANGES: 239 * Added Tickit::Widget::Button 240 * Document Tickit::Widget::Entry constructor arguments 241 2420.01 First version, released on an unsuspecting world. 243 244