Debian Codegraph @

Changes

raw
1 0.234 2023-02-27 Released-By: PERLANCAR; Urgency: medium
2
3 - Fix function name (GH#5).
4
5 - Add ta_set_state() and ta_state_to_code() to fix ta_highlight()
6 (ref: GH#3).
7
8
9 0.233 2021-08-08 Released-By: PERLANCAR; Urgency: medium
10
11 - [bugfix][function ta_wrap] Fix handling of flindent & slindent
12 options (GH#1).
13
14
15 0.232 2021-04-14 Released-By: PERLANCAR; Urgency: low
16
17 - No functional changes.
18
19 - [doc] Add FAQ item about the reason for splitting functionalities
20 over modules/distributions.
21
22
23 0.231 2021-01-23 Released-By: PERLANCAR; Urgency: medium
24
25 - ta_wrap, ta_mbwrap: Add option keep_trailing_space.
26
27 - [doc] Mention some related modules.
28
29
30 0.230 2019-04-22 Released-By: PERLANCAR
31
32 - No functional changes.
33
34 - Spelling [RT#129226].
35
36
37 0.22 2016-03-11 Released-By: PERLANCAR
38
39 - [Removed features] Remove Text::ANSI::NonWideUtil (ugly name), but
40 remove wide-character supporting functions (ta_mb*()) in
41 Text::ANSI::Util.
42
43
44 0.21 2015-08-20 Released-By: PERLANCAR
45
46 - No functional changes.
47
48 - [doc] Add some description and mention Text::ANSI::WideUtil.
49
50
51 0.20 2015-08-20 Released-By: PERLANCAR
52
53 - Split Text::ANSI::WideUtil to its own dist.
54
55 - Re-pass tests [RT#106535].
56
57
58 0.19 2015-08-13 Released-By: PERLANCAR
59
60 - Adjust abstract and documentation. We now only deal with ANSI color
61 codes (SGR, \e[...m) and ignore non-color ANSI escape codes.
62
63 - [Bugfix] Add pruning of ANSI color codes so multiple replacement using
64 ta_substr() will not become increasingly slower due to proliferation
65 of unpruned color codes (due to ta_trunc()).
66
67 - [Bugfix] Make ta_wrap work without Text::WideChar::Util (previously,
68 ta_wrap always uses regex patterns from Text::WideChar::Util despite
69 $is_mb is 0).
70
71 - [Bugfix] Fix regex pattern for ANSI color codes (previous one was too
72 broad).
73
74 - Add (currently minimal) bench devscript.
75
76
77 0.18 2015-08-12 Released-By: PERLANCAR
78
79 - Add functions: ta_substr, ta_mbsubstr.
80
81
82 0.17 2015-08-12 Released-By: PERLANCAR
83
84 - Make Text::WideChar::Util an optional prereq.
85
86 - Also provide Text::ANSI::WideUtil and the leaner
87 Text::ANSI::NonWideUtil (the latter doesn't load Unicode modules, use
88 this if you do not have Unicode/wide characters in your text).
89
90
91 0.16 2015-01-03 Released-By: PERLANCAR
92
93 - No functional changes.
94
95 - Rebuild (Generate TODO.md).
96
97
98 0.15 2014-02-11 Released-By: SHARYANTO
99
100 [BUG FIXES]
101
102 - ta_mbwrap(): Fix small wrapping bug (whitespace before line-broken CJK
103 word was omitted).
104
105
106 0.14 2014-02-11 Released-By: SHARYANTO
107
108 [BUG FIXES]
109
110 - ta_mbwrap(): Long CJK words were not line-broken exhaustively.
111
112
113 0.13 2014-02-11 Released-By: SHARYANTO
114
115 - ta_mbwrap(): Add support for wrapping Chinese/CJK text.
116
117
118 0.12 2013-10-29 Released-By: SHARYANTO
119
120 - No functional changes. Rebuild to resolve 'nested encoding' problem
121 causing MetaCPAN to fail to index the dist (thanks Shantanu Bhadoria).
122
123
124 0.11 2013-09-10 Released-By: SHARYANTO
125
126 - Replace Text::CharWidth's mbswidth() with Text::WideChar::Util's
127 mbswidth(), which in turn uses Unicode::GCString. It's about 2.5x
128 slower but more proper and builds on my Windows installation.
129
130
131 0.10 2013-05-17 Released-By: SHARYANTO
132
133 [ENHANCEMENTS]
134
135 - Add return_stats option to ta_{mb,}wrap.
136
137
138 0.09 2013-05-17 Released-By: SHARYANTO
139
140 [BUG FIXES]
141
142 - ta_{mb,}wrap(): truncated long word did not retain color at the last
143 line.
144
145
146 0.08 2013-04-19 Released-By: SHARYANTO
147
148 [ENHANCEMENTS]
149
150 - Add functions: ta_extract_codes, ta_add_color_resets,
151 ta_length_height.
152
153 - ta_highlight{,all}: $needle can now be a Regexp.
154
155 - ta_{,mb}wrap: Reimplement, now behavior similar to
156 Text::WideChar::Util's {,mb}wrap().
157
158 [INCOMPATIBLE CHANGES]
159
160 - ta_highlight{,_all}: Remove argument $ci, now use qr/foo/i as $needle
161 for case-insensitive highlighting.
162
163
164 0.07 2013-04-10 Released-By: SHARYANTO
165
166 - Add functions: ta_split_codes_single, ta_highlight, ta_highlight_all.
167
168
169 0.06 2013-04-09 Released-By: SHARYANTO
170
171 [BUG FIXES]
172
173 - ta_mbtrunc(): Use mbtrunc() which is the proper method, instead of
174 substr().
175
176 - ta_mbpad(): Since ta_mbtrunc() might generate text with width of
177 ($width-1) or less, depending on the width of the truncated wide
178 character, we need to pad the truncated text to go to $width.
179
180
181 0.05 2013-04-09 Released-By: SHARYANTO
182
183 [INCOMPATIBLE CHANGES]
184
185 - ta_{,mb}pad() now does not handle multiline text (the implementation
186 was incorrect after all, "" should've been padded to "xxx" and "a\n"
187 should've been padded to "axx\nxxx"). You can now split multiline text
188 by yourself as you see fit.
189
190
191 0.04 2013-04-08 Released-By: SHARYANTO
192
193 [BUG FIXES]
194
195 - ta_{,mb}wrap(): Handles multiple paragraph, fix bug where last word of
196 text is sometimes removed, do not remove terminating newline.
197
198
199 0.03 2013-04-06 Released-By: SHARYANTO
200
201 [ENHANCEMENTS]
202
203 - Add functions: ta_split_codes, ta_{,mb}trunc, ta_{,mb}pad.
204
205
206 0.02 2013-03-20 Released-By: SHARYANTO
207
208 - Fix failing CT reports by skipping tests on systems without Chinese
209 locale support.
210
211
212 0.01 2013-03-13 Released-By: SHARYANTO
213
214 - First release.