Revision history for SHARYANTO-Utils 0.77 2015-09-04 (PERLANCAR) - [dist] Move spec prereqs from RuntimeRequires to DevelopRecommends to reduce deps but still allow indicating spec requirement. - Split SHARYANTO::Timer::Simple to its own dist and rename to Simple-Timer. - Rename SHARYANTO::ColorTheme::Util to Color::Theme::Util. - Add functions: pick(), pick_n(), min_in_range(), max_in_range(), replace_hash_content(), replace_array_content(). - Fix typo (pointed out by Graham Todd). 0.76 2014-10-11 (PERLANCAR) - Split SHARYANTO::Text::Prompt and SHARYANTO::Locale::Util to their own dists, to reduce dependencies. 0.75 2014-06-26 (SHARYANTO) [INCOMPATIBLE CHANGES] - Move functions find_missing_{nums,strs}_in_seq() from SHARYANTO::Number::Util to SHARYANTO::List::Util. - Rename function in SHARYANTO::List::Util: uniq -> uniq_adj. [NEW FEATURES] - Add functions in SHARYANTO::List::Util: uniq_ci, uniq_adj_ci. 0.74 2014-05-21 (SHARYANTO) - Add module: SHARYANTO::List::Util. 0.73 2014-05-10 (SHARYANTO) [REMOVED FEATURES] - Remove SHARYANTO::Marpa::Simple (extracted to its own dist and renamed to MarpaX::Simple). [INTERNAL] - Replace usage of File::Slurp with File::Slurp::Tiny [RT#95478], this will be one of many such commits. 0.72 2014-05-08 (SHARYANTO) - Add module: SHARYANTO::Marpa::Simple. - Add module: SHARYANTO::Timer::Simple. 0.71 2014-05-01 (SHARYANTO) [REMOVED FEATURES] - Remove module SHARYANTO::Scalar::Util (unused, and looks_like_number() probably won't expose the constants anymore). - Remove module SHARYANTO::Version::Util (extracted to its own dist and renamed to Version::Util). - Remove module SHARYANTO::Getopt::Long::Util (extracted to its own dist and renamed to Getopt::Long::Util). - Remove module SHARYANTO::ModuleOrPrefix::Path (extracted to its own dist and renamed to ModuleOrPrefix::Path). - Remove module SHARYANTO::Proc::ChildError (extracted to its own dist and renamed to Proc::ChildError). 0.70 2014-04-07 (SHARYANTO) [BUG FIXES] - [Array::Util] Fix handling of literal string needle. 0.69 2014-04-07 (SHARYANTO) - [Array::Util] Add function split_array(). 0.68 2014-03-11 (SHARYANTO) - No functional changes. - Split SHARYANTO::Proc::Daemon::Prefork to its own dist to avoid circular dependency problem. 0.67 2014-01-09 (SHARYANTO) - No functional changes. [BUG FIXES] - Didn't pass to POSIX::setlocale() correctly. Derp. 0.66 2014-01-09 (SHARYANTO) - No functional changes. [BUG FIXES] - Locale::Util: Handle for setlocale($cat) (without specifying $locale). 0.65 2014-01-09 (SHARYANTO) - Add module: Locale::Util. 0.64 2013-11-20 (SHARYANTO) - Version::Util: add functions: version_{ne,between,in}. 0.63 2013-11-20 (SHARYANTO) - Add module: Version::Util. 0.62 2013-10-05 (SHARYANTO) - Split SHARYANTO::Role::* to SHARYANTO-Roles to make deps lighter. 0.61 2013-10-04 (SHARYANTO) - Role::ColorTheme: add color_theme_class_prefix attribute to allow overriding. 0.60 2013-10-01 (SHARYANTO) [BUG FIXES] - Role::TermAttrs: observe LINES for term_height, not ROWS. [ENHANCEMENTS] - Role::TermAttrs: add attribute 'interactive' (observes INTERACTIVE). 0.59 2013-09-28 (SHARYANTO) - Role::TermAttrs: Switch from Term::Detect to Term::Detect::Software. 0.58 2013-09-25 (SHARYANTO) - Role::BorderStyle: add get_border_char() (moved from Text::ANSITable). - Role::ColorTheme: add some functions (some moved from Text::ANSITable). Increase specification version to 1.1 because multiple color codes should now returned as hash (more flexible) instead of just 2-array element of [fg, bg]. 0.57 2013-09-25 (SHARYANTO) - Add Role::{BorderStyle,ColorTheme,TermAttrs}, extracted from Text::ANSITable. I wanted to make Perinci::CmdLine support color themes too. 0.56 2013-09-11 (SHARYANTO) - No functional changes. Slim dist down and split some modules to its own dist. Make sure this module installs on Windows (I'm trying to make Perinci::CmdLine work on Windows). 0.55 2013-09-07 (SHARYANTO) - Package::Util: Avoid deep recursion in list_subpackages(). 0.54 2013-09-04 (SHARYANTO) - Add module: ModuleOrPrefix::Path. 0.53 2013-07-26 (SHARYANTO) [INCOMPATIBLE CHANGES] - Role::Doc::Section and Role::Doc::Section::AddTextLines: Rename methods to become more consistent and less intrusive. {,before_,after_}generate_doc() becomes {,before_,after_}gen_doc(). Rename doc_gen_*() to gen_doc_section_*(). Remove doc_parse_*() methods as they are implementation details. Rename attributes indent_level to doc_indent_level, indent to doc_indent_str, wrap to doc_wrap. 0.52 2013-07-26 (SHARYANTO) - Move Perinci::To::Text::AddDocLinesRole to SHARYANTO::Role::Doc::Section::AddTextLines. 0.51 2013-07-12 (SHARYANTO) - Add module: Data::Util. - Skip File::Flock test on Windows [CT#86829]. 0.50 2013-07-03 (SHARYANTO) [INCOMPATIBLE CHANGES] - File::Flock: be more like the original File::Flock by removing lock file only if lock file was created during lock, and is empty. This module is created as a more lightweight alternative to the original File::Flock after all. 0.49 2013-07-03 (SHARYANTO) [INCOMPATIBLE CHANGES] - File::Flock: unlink option is by default 1 because this is the convenient behavior. Lock file is removed upon unlock(), not after DESTROY-ed. 0.48 2013-07-02 (SHARYANTO) [BUG FIXES] - File::Flock: handle race condition between flock() and stat() after locking. Thanks Anders Kaseorg. [GH#1] [INCOMPATIBLE CHANGES] - File::Flock: Only unlink lock file if current process is holding the lock. [GH#1] 0.47 2013-05-16 (SHARYANTO) - Color::Util: add rgb_luminance() and tint_rgb_color(). 0.46 2013-05-15 (SHARYANTO) - Role::I18N: add method locopt(). - Proc::ChildError: Skip failing tests on Windows [CT]. 0.45 2013-05-10 (SHARYANTO) - Add module: SHARYANTO::Getopt::Long::Util (gospec2human). 0.44 2013-05-09 (SHARYANTO) [BUG FIXES] - Proc::Util: get_parent_processes should not return information on current process. 0.43 2013-05-09 (SHARYANTO) - Add module: SHARYANTO::Proc::Util (get_parent_processes). 0.42 2013-05-02 (SHARYANTO) - Color::Util: add function reverse_rgb_color(). 0.41 2013-05-02 (SHARYANTO) - Color::Util: add functions rgb2grayscale() and rgb2sepia(). 0.40 2013-04-28 (SHARYANTO) - Color::Util: add function rand_rgb_color(). 0.39 2013-04-27 (SHARYANTO) - Add module: SHARYANTO::Color::Util (mix_2_rgb_colors()). 0.38 2013-04-10 (SHARYANTO) - No functional changes. Bug fixes for format_metric(). 0.37 2013-04-10 (SHARYANTO) - No functional changes. Tweak internal/private option for format_metric() for dux. 0.36 2013-04-10 (SHARYANTO) - Add module: SHARYANTO::Number::Util (format_metric()). 0.35 2013-02-15 (SHARYANTO) - No functional changes. Rewrite tests for l_abs_path() to more clearly show the differences between it and abs_path(), pass on systems where /tmp is symlinked. 0.34 2012-12-28 (SHARYANTO) - File::Flock: Shut up perl warning when unlocking a closed filehandle (usually should be harmless, can happen during DESTROY on error/die). 0.33 2012-12-26 (SHARYANTO) - File::Flock: Forgot to add $VERSION. 0.32 2012-12-25 (SHARYANTO) - File::Flock: stat after open() [suggested by Pavel Shaydo] 0.31 2012-12-25 (SHARYANTO) - Merry Christmas! - Add module: SHARYANTO::File::Flock. 0.30 2012-10-02 (SHARYANTO) - No functional changes. Fix file_util.t due to failure report by Aaron Holmgren. 0.29 2012-09-13 (SHARYANTO) - Add module: SHARYANTO::Scalar::Util. 0.28 2012-09-07 (SHARYANTO) - Proc::ChildError: explain_child_error(): Include error message $!, add tests. 0.27 2012-08-27 (SHARYANTO) - File::Util: add function: dir_empty(). 0.26 2012-08-24 (SHARYANTO) - File::Util: add function: l_abs_path(). 0.25 2012-07-27 (SHARYANTO) - Add module: SHARYANTO::Log::Util. 0.24 2012-07-27 (SHARYANTO) - Add module: SHARYANTO::File::Util. 0.23 2012-07-17 (SHARYANTO) - Package::Util: Handle constants. 0.22 2012-06-14 (SHARYANTO) - No functional changes. Proc::Daemon::Prefork: 'pid_path' argument is not required unless we daemonize. 0.21 2012-03-29 (SHARYANTO) - No functional changes. Add missing dependency to Moo [CT]. 0.20 2012-03-29 (SHARYANTO) [ENHANCEMENTS] - Package::Util: Add list_package_contents() & list_subpackages(). 0.19 2012-03-28 (SHARYANTO) [FIXES] - Small sprintf() fix for Proc::ChildError. 0.18 2012-03-23 (SHARYANTO) - No functional changes. Split SHARYANTO::String::Util to its own dist to avoid circular dependency problem with Perinci-Object. 0.17 2012-03-21 (SHARYANTO) [FIXES] - Some fixes to Role::I18Many 0.16 2012-03-20 (SHARYANTO) [ENHANCEMENTS] - Add role: SHARYANTO::Role::I18NMany - Add module: SHARYANTO::String::Util [FIXES] - dzil: Add missing dependency to Log::Any 0.15 2012-03-16 (SHARYANTO) - No functional changes. Add dependencies to Locale::Maketext{,::Lexicon} for Role::I18N users. 0.14 2012-03-15 (SHARYANTO) [INCOMPATIBLE CHANGES] - Change (split) SHARYANTO::Doc::Base base class into SHARYANTO::Role::{Doc::Section,I18N,I18NRinci}. 0.13 2012-03-14 (SHARYANTO) - Add SHARYANTO::Doc::Base. 0.12 2012-03-06 (SHARYANTO) - Add SHARYANTO::Package::Util. 0.11 2012-03-01 (SHARYANTO) - Array::Util: allow haystack to be a single string (assumed to be a regex), document that haystack can also be a list of regexes. Updated metadata to 1.1. 0.10 2011-09-29 (SHARYANTO) - Add SHARYANTO::HTTP::DetectUA::Simple. 0.09 2011-09-29 (SHARYANTO) - Proc::Daemon::Prefork: Add 'on_client_disconnect' option. 0.08 2011-09-22 (SHARYANTO) - No functional changes. Rebuild dist with newer Sub::Spec::To::Pod. 0.07 2011-09-22 (SHARYANTO) - Array::Util: Add alias function match_regex_or_array, add sub specs. 0.06 2011-09-22 (SHARYANTO) - Add SHARYANTO::Array::Util. 0.05 2011-08-05 (SHARYANTO) - Proc::Daemon::Prefork: 'access_log_path' and 'error_log_path' are now optional. 0.04 2011-07-19 (SHARYANTO) [INCOMPATIBLE CHANGES] - Proc::Daemon::Prefork: Rename 'run_as_root' to 'require_root' (less ambiguity), now defaults to 0. 0.03 2011-07-08 (SHARYANTO) [INCOMPATIBLE CHANGES] - Rename SHARYANTO::Proc::Daemon{,::Prefork} 0.02 2011-07-05 (SHARYANTO) [ENHANCEMENTS] - Proc::Daemon: add max_children(), can autoadjust number of processes from prefork() to max_children() according to load. 0.01 2011-06-17 (SHARYANTO) - First release.