| 1 |
Revision history for SHARYANTO-Utils |
| 2 |
|
| 3 |
0.77 2015-09-04 (PERLANCAR) |
| 4 |
|
| 5 |
- [dist] Move spec prereqs from RuntimeRequires to DevelopRecommends to |
| 6 |
reduce deps but still allow indicating spec requirement. |
| 7 |
|
| 8 |
- Split SHARYANTO::Timer::Simple to its own dist and rename to |
| 9 |
Simple-Timer. |
| 10 |
|
| 11 |
- Rename SHARYANTO::ColorTheme::Util to Color::Theme::Util. |
| 12 |
|
| 13 |
- Add functions: pick(), pick_n(), min_in_range(), max_in_range(), |
| 14 |
replace_hash_content(), replace_array_content(). |
| 15 |
|
| 16 |
- Fix typo (pointed out by Graham Todd). |
| 17 |
|
| 18 |
|
| 19 |
0.76 2014-10-11 (PERLANCAR) |
| 20 |
|
| 21 |
- Split SHARYANTO::Text::Prompt and SHARYANTO::Locale::Util to their own |
| 22 |
dists, to reduce dependencies. |
| 23 |
|
| 24 |
|
| 25 |
0.75 2014-06-26 (SHARYANTO) |
| 26 |
|
| 27 |
[INCOMPATIBLE CHANGES] |
| 28 |
|
| 29 |
- Move functions find_missing_{nums,strs}_in_seq() from |
| 30 |
SHARYANTO::Number::Util to SHARYANTO::List::Util. |
| 31 |
|
| 32 |
- Rename function in SHARYANTO::List::Util: uniq -> uniq_adj. |
| 33 |
|
| 34 |
|
| 35 |
[NEW FEATURES] |
| 36 |
|
| 37 |
- Add functions in SHARYANTO::List::Util: uniq_ci, uniq_adj_ci. |
| 38 |
|
| 39 |
|
| 40 |
0.74 2014-05-21 (SHARYANTO) |
| 41 |
|
| 42 |
- Add module: SHARYANTO::List::Util. |
| 43 |
|
| 44 |
|
| 45 |
0.73 2014-05-10 (SHARYANTO) |
| 46 |
|
| 47 |
[REMOVED FEATURES] |
| 48 |
|
| 49 |
- Remove SHARYANTO::Marpa::Simple (extracted to its own dist and renamed |
| 50 |
to MarpaX::Simple). |
| 51 |
|
| 52 |
[INTERNAL] |
| 53 |
|
| 54 |
- Replace usage of File::Slurp with File::Slurp::Tiny [RT#95478], this |
| 55 |
will be one of many such commits. |
| 56 |
|
| 57 |
|
| 58 |
0.72 2014-05-08 (SHARYANTO) |
| 59 |
|
| 60 |
- Add module: SHARYANTO::Marpa::Simple. |
| 61 |
|
| 62 |
- Add module: SHARYANTO::Timer::Simple. |
| 63 |
|
| 64 |
|
| 65 |
0.71 2014-05-01 (SHARYANTO) |
| 66 |
|
| 67 |
[REMOVED FEATURES] |
| 68 |
|
| 69 |
- Remove module SHARYANTO::Scalar::Util (unused, and looks_like_number() |
| 70 |
probably won't expose the constants anymore). |
| 71 |
|
| 72 |
- Remove module SHARYANTO::Version::Util (extracted to its own dist and |
| 73 |
renamed to Version::Util). |
| 74 |
|
| 75 |
- Remove module SHARYANTO::Getopt::Long::Util (extracted to its own dist |
| 76 |
and renamed to Getopt::Long::Util). |
| 77 |
|
| 78 |
- Remove module SHARYANTO::ModuleOrPrefix::Path (extracted to its own |
| 79 |
dist and renamed to ModuleOrPrefix::Path). |
| 80 |
|
| 81 |
- Remove module SHARYANTO::Proc::ChildError (extracted to its own dist |
| 82 |
and renamed to Proc::ChildError). |
| 83 |
|
| 84 |
|
| 85 |
0.70 2014-04-07 (SHARYANTO) |
| 86 |
|
| 87 |
[BUG FIXES] |
| 88 |
|
| 89 |
- [Array::Util] Fix handling of literal string needle. |
| 90 |
|
| 91 |
|
| 92 |
0.69 2014-04-07 (SHARYANTO) |
| 93 |
|
| 94 |
- [Array::Util] Add function split_array(). |
| 95 |
|
| 96 |
|
| 97 |
0.68 2014-03-11 (SHARYANTO) |
| 98 |
|
| 99 |
- No functional changes. |
| 100 |
|
| 101 |
- Split SHARYANTO::Proc::Daemon::Prefork to its own dist to avoid |
| 102 |
circular dependency problem. |
| 103 |
|
| 104 |
|
| 105 |
0.67 2014-01-09 (SHARYANTO) |
| 106 |
|
| 107 |
- No functional changes. |
| 108 |
|
| 109 |
[BUG FIXES] |
| 110 |
|
| 111 |
- Didn't pass to POSIX::setlocale() correctly. Derp. |
| 112 |
|
| 113 |
|
| 114 |
0.66 2014-01-09 (SHARYANTO) |
| 115 |
|
| 116 |
- No functional changes. |
| 117 |
|
| 118 |
[BUG FIXES] |
| 119 |
|
| 120 |
- Locale::Util: Handle for setlocale($cat) (without specifying $locale). |
| 121 |
|
| 122 |
|
| 123 |
0.65 2014-01-09 (SHARYANTO) |
| 124 |
|
| 125 |
- Add module: Locale::Util. |
| 126 |
|
| 127 |
|
| 128 |
0.64 2013-11-20 (SHARYANTO) |
| 129 |
|
| 130 |
- Version::Util: add functions: version_{ne,between,in}. |
| 131 |
|
| 132 |
|
| 133 |
0.63 2013-11-20 (SHARYANTO) |
| 134 |
|
| 135 |
- Add module: Version::Util. |
| 136 |
|
| 137 |
|
| 138 |
0.62 2013-10-05 (SHARYANTO) |
| 139 |
|
| 140 |
- Split SHARYANTO::Role::* to SHARYANTO-Roles to make deps lighter. |
| 141 |
|
| 142 |
|
| 143 |
0.61 2013-10-04 (SHARYANTO) |
| 144 |
|
| 145 |
- Role::ColorTheme: add color_theme_class_prefix attribute to allow |
| 146 |
overriding. |
| 147 |
|
| 148 |
|
| 149 |
0.60 2013-10-01 (SHARYANTO) |
| 150 |
|
| 151 |
[BUG FIXES] |
| 152 |
|
| 153 |
- Role::TermAttrs: observe LINES for term_height, not ROWS. |
| 154 |
|
| 155 |
[ENHANCEMENTS] |
| 156 |
|
| 157 |
- Role::TermAttrs: add attribute 'interactive' (observes INTERACTIVE). |
| 158 |
|
| 159 |
|
| 160 |
0.59 2013-09-28 (SHARYANTO) |
| 161 |
|
| 162 |
- Role::TermAttrs: Switch from Term::Detect to Term::Detect::Software. |
| 163 |
|
| 164 |
|
| 165 |
0.58 2013-09-25 (SHARYANTO) |
| 166 |
|
| 167 |
- Role::BorderStyle: add get_border_char() (moved from Text::ANSITable). |
| 168 |
|
| 169 |
- Role::ColorTheme: add some functions (some moved from |
| 170 |
Text::ANSITable). Increase specification version to 1.1 because |
| 171 |
multiple color codes should now returned as hash (more flexible) |
| 172 |
instead of just 2-array element of [fg, bg]. |
| 173 |
|
| 174 |
|
| 175 |
0.57 2013-09-25 (SHARYANTO) |
| 176 |
|
| 177 |
- Add Role::{BorderStyle,ColorTheme,TermAttrs}, extracted from |
| 178 |
Text::ANSITable. I wanted to make Perinci::CmdLine support color |
| 179 |
themes too. |
| 180 |
|
| 181 |
|
| 182 |
0.56 2013-09-11 (SHARYANTO) |
| 183 |
|
| 184 |
- No functional changes. Slim dist down and split some modules to its |
| 185 |
own dist. Make sure this module installs on Windows (I'm trying to |
| 186 |
make Perinci::CmdLine work on Windows). |
| 187 |
|
| 188 |
|
| 189 |
0.55 2013-09-07 (SHARYANTO) |
| 190 |
|
| 191 |
- Package::Util: Avoid deep recursion in list_subpackages(). |
| 192 |
|
| 193 |
|
| 194 |
0.54 2013-09-04 (SHARYANTO) |
| 195 |
|
| 196 |
- Add module: ModuleOrPrefix::Path. |
| 197 |
|
| 198 |
|
| 199 |
0.53 2013-07-26 (SHARYANTO) |
| 200 |
|
| 201 |
[INCOMPATIBLE CHANGES] |
| 202 |
|
| 203 |
- Role::Doc::Section and Role::Doc::Section::AddTextLines: Rename |
| 204 |
methods to become more consistent and less intrusive. |
| 205 |
{,before_,after_}generate_doc() becomes {,before_,after_}gen_doc(). |
| 206 |
Rename doc_gen_*() to gen_doc_section_*(). Remove doc_parse_*() |
| 207 |
methods as they are implementation details. Rename attributes |
| 208 |
indent_level to doc_indent_level, indent to doc_indent_str, wrap to |
| 209 |
doc_wrap. |
| 210 |
|
| 211 |
|
| 212 |
0.52 2013-07-26 (SHARYANTO) |
| 213 |
|
| 214 |
- Move Perinci::To::Text::AddDocLinesRole to |
| 215 |
SHARYANTO::Role::Doc::Section::AddTextLines. |
| 216 |
|
| 217 |
|
| 218 |
0.51 2013-07-12 (SHARYANTO) |
| 219 |
|
| 220 |
- Add module: Data::Util. |
| 221 |
|
| 222 |
- Skip File::Flock test on Windows [CT#86829]. |
| 223 |
|
| 224 |
|
| 225 |
0.50 2013-07-03 (SHARYANTO) |
| 226 |
|
| 227 |
[INCOMPATIBLE CHANGES] |
| 228 |
|
| 229 |
- File::Flock: be more like the original File::Flock by removing lock |
| 230 |
file only if lock file was created during lock, and is empty. This |
| 231 |
module is created as a more lightweight alternative to the original |
| 232 |
File::Flock after all. |
| 233 |
|
| 234 |
|
| 235 |
0.49 2013-07-03 (SHARYANTO) |
| 236 |
|
| 237 |
[INCOMPATIBLE CHANGES] |
| 238 |
|
| 239 |
- File::Flock: unlink option is by default 1 because this is the |
| 240 |
convenient behavior. Lock file is removed upon unlock(), not after |
| 241 |
DESTROY-ed. |
| 242 |
|
| 243 |
|
| 244 |
0.48 2013-07-02 (SHARYANTO) |
| 245 |
|
| 246 |
[BUG FIXES] |
| 247 |
|
| 248 |
- File::Flock: handle race condition between flock() and stat() after |
| 249 |
locking. Thanks Anders Kaseorg. [GH#1] |
| 250 |
|
| 251 |
[INCOMPATIBLE CHANGES] |
| 252 |
|
| 253 |
- File::Flock: Only unlink lock file if current process is holding the |
| 254 |
lock. [GH#1] |
| 255 |
|
| 256 |
|
| 257 |
0.47 2013-05-16 (SHARYANTO) |
| 258 |
|
| 259 |
- Color::Util: add rgb_luminance() and tint_rgb_color(). |
| 260 |
|
| 261 |
|
| 262 |
0.46 2013-05-15 (SHARYANTO) |
| 263 |
|
| 264 |
- Role::I18N: add method locopt(). |
| 265 |
|
| 266 |
- Proc::ChildError: Skip failing tests on Windows [CT]. |
| 267 |
|
| 268 |
|
| 269 |
0.45 2013-05-10 (SHARYANTO) |
| 270 |
|
| 271 |
- Add module: SHARYANTO::Getopt::Long::Util (gospec2human). |
| 272 |
|
| 273 |
|
| 274 |
0.44 2013-05-09 (SHARYANTO) |
| 275 |
|
| 276 |
[BUG FIXES] |
| 277 |
|
| 278 |
- Proc::Util: get_parent_processes should not return information on |
| 279 |
current process. |
| 280 |
|
| 281 |
|
| 282 |
0.43 2013-05-09 (SHARYANTO) |
| 283 |
|
| 284 |
- Add module: SHARYANTO::Proc::Util (get_parent_processes). |
| 285 |
|
| 286 |
|
| 287 |
0.42 2013-05-02 (SHARYANTO) |
| 288 |
|
| 289 |
- Color::Util: add function reverse_rgb_color(). |
| 290 |
|
| 291 |
|
| 292 |
0.41 2013-05-02 (SHARYANTO) |
| 293 |
|
| 294 |
- Color::Util: add functions rgb2grayscale() and rgb2sepia(). |
| 295 |
|
| 296 |
|
| 297 |
0.40 2013-04-28 (SHARYANTO) |
| 298 |
|
| 299 |
- Color::Util: add function rand_rgb_color(). |
| 300 |
|
| 301 |
|
| 302 |
0.39 2013-04-27 (SHARYANTO) |
| 303 |
|
| 304 |
- Add module: SHARYANTO::Color::Util (mix_2_rgb_colors()). |
| 305 |
|
| 306 |
|
| 307 |
0.38 2013-04-10 (SHARYANTO) |
| 308 |
|
| 309 |
- No functional changes. Bug fixes for format_metric(). |
| 310 |
|
| 311 |
|
| 312 |
0.37 2013-04-10 (SHARYANTO) |
| 313 |
|
| 314 |
- No functional changes. Tweak internal/private option for |
| 315 |
format_metric() for dux. |
| 316 |
|
| 317 |
|
| 318 |
0.36 2013-04-10 (SHARYANTO) |
| 319 |
|
| 320 |
- Add module: SHARYANTO::Number::Util (format_metric()). |
| 321 |
|
| 322 |
|
| 323 |
0.35 2013-02-15 (SHARYANTO) |
| 324 |
|
| 325 |
- No functional changes. Rewrite tests for l_abs_path() to more clearly |
| 326 |
show the differences between it and abs_path(), pass on systems where |
| 327 |
/tmp is symlinked. |
| 328 |
|
| 329 |
|
| 330 |
0.34 2012-12-28 (SHARYANTO) |
| 331 |
|
| 332 |
- File::Flock: Shut up perl warning when unlocking a closed filehandle |
| 333 |
(usually should be harmless, can happen during DESTROY on error/die). |
| 334 |
|
| 335 |
|
| 336 |
0.33 2012-12-26 (SHARYANTO) |
| 337 |
|
| 338 |
- File::Flock: Forgot to add $VERSION. |
| 339 |
|
| 340 |
|
| 341 |
0.32 2012-12-25 (SHARYANTO) |
| 342 |
|
| 343 |
- File::Flock: stat after open() [suggested by Pavel Shaydo] |
| 344 |
|
| 345 |
|
| 346 |
0.31 2012-12-25 (SHARYANTO) - Merry Christmas! |
| 347 |
|
| 348 |
- Add module: SHARYANTO::File::Flock. |
| 349 |
|
| 350 |
|
| 351 |
0.30 2012-10-02 (SHARYANTO) |
| 352 |
|
| 353 |
- No functional changes. Fix file_util.t due to failure report by Aaron |
| 354 |
Holmgren. |
| 355 |
|
| 356 |
|
| 357 |
0.29 2012-09-13 (SHARYANTO) |
| 358 |
|
| 359 |
- Add module: SHARYANTO::Scalar::Util. |
| 360 |
|
| 361 |
|
| 362 |
0.28 2012-09-07 (SHARYANTO) |
| 363 |
|
| 364 |
- Proc::ChildError: explain_child_error(): Include error message $!, add |
| 365 |
tests. |
| 366 |
|
| 367 |
|
| 368 |
0.27 2012-08-27 (SHARYANTO) |
| 369 |
|
| 370 |
- File::Util: add function: dir_empty(). |
| 371 |
|
| 372 |
|
| 373 |
0.26 2012-08-24 (SHARYANTO) |
| 374 |
|
| 375 |
- File::Util: add function: l_abs_path(). |
| 376 |
|
| 377 |
|
| 378 |
0.25 2012-07-27 (SHARYANTO) |
| 379 |
|
| 380 |
- Add module: SHARYANTO::Log::Util. |
| 381 |
|
| 382 |
|
| 383 |
0.24 2012-07-27 (SHARYANTO) |
| 384 |
|
| 385 |
- Add module: SHARYANTO::File::Util. |
| 386 |
|
| 387 |
|
| 388 |
0.23 2012-07-17 (SHARYANTO) |
| 389 |
|
| 390 |
- Package::Util: Handle constants. |
| 391 |
|
| 392 |
|
| 393 |
0.22 2012-06-14 (SHARYANTO) |
| 394 |
|
| 395 |
- No functional changes. Proc::Daemon::Prefork: 'pid_path' argument is |
| 396 |
not required unless we daemonize. |
| 397 |
|
| 398 |
|
| 399 |
0.21 2012-03-29 (SHARYANTO) |
| 400 |
|
| 401 |
- No functional changes. Add missing dependency to Moo [CT]. |
| 402 |
|
| 403 |
|
| 404 |
0.20 2012-03-29 (SHARYANTO) |
| 405 |
|
| 406 |
[ENHANCEMENTS] |
| 407 |
|
| 408 |
- Package::Util: Add list_package_contents() & list_subpackages(). |
| 409 |
|
| 410 |
|
| 411 |
0.19 2012-03-28 (SHARYANTO) |
| 412 |
|
| 413 |
[FIXES] |
| 414 |
|
| 415 |
- Small sprintf() fix for Proc::ChildError. |
| 416 |
|
| 417 |
|
| 418 |
0.18 2012-03-23 (SHARYANTO) |
| 419 |
|
| 420 |
- No functional changes. Split SHARYANTO::String::Util to its own dist |
| 421 |
to avoid circular dependency problem with Perinci-Object. |
| 422 |
|
| 423 |
|
| 424 |
0.17 2012-03-21 (SHARYANTO) |
| 425 |
|
| 426 |
[FIXES] |
| 427 |
|
| 428 |
- Some fixes to Role::I18Many |
| 429 |
|
| 430 |
|
| 431 |
0.16 2012-03-20 (SHARYANTO) |
| 432 |
|
| 433 |
[ENHANCEMENTS] |
| 434 |
|
| 435 |
- Add role: SHARYANTO::Role::I18NMany |
| 436 |
|
| 437 |
- Add module: SHARYANTO::String::Util |
| 438 |
|
| 439 |
[FIXES] |
| 440 |
|
| 441 |
- dzil: Add missing dependency to Log::Any |
| 442 |
|
| 443 |
|
| 444 |
0.15 2012-03-16 (SHARYANTO) |
| 445 |
|
| 446 |
- No functional changes. Add dependencies to |
| 447 |
Locale::Maketext{,::Lexicon} for Role::I18N users. |
| 448 |
|
| 449 |
|
| 450 |
0.14 2012-03-15 (SHARYANTO) |
| 451 |
|
| 452 |
[INCOMPATIBLE CHANGES] |
| 453 |
|
| 454 |
- Change (split) SHARYANTO::Doc::Base base class into |
| 455 |
SHARYANTO::Role::{Doc::Section,I18N,I18NRinci}. |
| 456 |
|
| 457 |
|
| 458 |
0.13 2012-03-14 (SHARYANTO) |
| 459 |
|
| 460 |
- Add SHARYANTO::Doc::Base. |
| 461 |
|
| 462 |
|
| 463 |
0.12 2012-03-06 (SHARYANTO) |
| 464 |
|
| 465 |
- Add SHARYANTO::Package::Util. |
| 466 |
|
| 467 |
|
| 468 |
0.11 2012-03-01 (SHARYANTO) |
| 469 |
|
| 470 |
- Array::Util: allow haystack to be a single string (assumed to be a |
| 471 |
regex), document that haystack can also be a list of regexes. Updated |
| 472 |
metadata to 1.1. |
| 473 |
|
| 474 |
|
| 475 |
0.10 2011-09-29 (SHARYANTO) |
| 476 |
|
| 477 |
- Add SHARYANTO::HTTP::DetectUA::Simple. |
| 478 |
|
| 479 |
|
| 480 |
0.09 2011-09-29 (SHARYANTO) |
| 481 |
|
| 482 |
- Proc::Daemon::Prefork: Add 'on_client_disconnect' option. |
| 483 |
|
| 484 |
|
| 485 |
0.08 2011-09-22 (SHARYANTO) |
| 486 |
|
| 487 |
- No functional changes. Rebuild dist with newer Sub::Spec::To::Pod. |
| 488 |
|
| 489 |
|
| 490 |
0.07 2011-09-22 (SHARYANTO) |
| 491 |
|
| 492 |
- Array::Util: Add alias function match_regex_or_array, add sub specs. |
| 493 |
|
| 494 |
|
| 495 |
0.06 2011-09-22 (SHARYANTO) |
| 496 |
|
| 497 |
- Add SHARYANTO::Array::Util. |
| 498 |
|
| 499 |
|
| 500 |
0.05 2011-08-05 (SHARYANTO) |
| 501 |
|
| 502 |
- Proc::Daemon::Prefork: 'access_log_path' and 'error_log_path' are now |
| 503 |
optional. |
| 504 |
|
| 505 |
|
| 506 |
0.04 2011-07-19 (SHARYANTO) |
| 507 |
|
| 508 |
[INCOMPATIBLE CHANGES] |
| 509 |
|
| 510 |
- Proc::Daemon::Prefork: Rename 'run_as_root' to 'require_root' (less |
| 511 |
ambiguity), now defaults to 0. |
| 512 |
|
| 513 |
|
| 514 |
0.03 2011-07-08 (SHARYANTO) |
| 515 |
|
| 516 |
[INCOMPATIBLE CHANGES] |
| 517 |
|
| 518 |
- Rename SHARYANTO::Proc::Daemon{,::Prefork} |
| 519 |
|
| 520 |
|
| 521 |
0.02 2011-07-05 (SHARYANTO) |
| 522 |
|
| 523 |
[ENHANCEMENTS] |
| 524 |
|
| 525 |
- Proc::Daemon: add max_children(), can autoadjust number of processes |
| 526 |
from prefork() to max_children() according to load. |
| 527 |
|
| 528 |
|
| 529 |
0.01 2011-06-17 (SHARYANTO) |
| 530 |
|
| 531 |
- First release. |