Revision history for Data-Unixish
1.44 2014-04-24 (SHARYANTO)
[SECURITY]
- map/grep/cond: Only eval string code when run under cli. If called
through apply() or ?dux?() (which means, in-process), disallow it to
avoid running untrusted Perl string code. This is motivated by
Text::ANSITable allowing reading formats from environment variables
and apply it using apply().
[REMOVED FEATURES]
- Remove deprecated module Data::Unixish::List.
1.43 2014-04-18 (SHARYANTO)
- Add dux functions: rand, randstr, cond.
- map & grep can now accept code string, so these functions can be used
on the command-line.
- Tag some functions as 'itemfunc', these functions can be used inside
cond. Examples: uc, lc, trunc, lpad, sprintf.
- Tag some functions as 'perl' and 'unsafe', these functions accept Perl
code and evals code. Examples: map, grep, cond.
1.42 2013-11-11 (SHARYANTO)
- No functional changes. Add FAQ entry about 'Use of uninitialized value
in push' warnings.
1.41 2013-10-04 (SHARYANTO)
- Add dux function: indent.
1.40 2013-09-30 (SHARYANTO)
- Add dux function: linum.
1.39 2013-09-29 (SHARYANTO)
- Add dux functions: lins, rins.
[BUG FIXES]
- Force LC_ALL=C and LC_NUMERIC=C when testing locale-related output.
- ltrim & rtrim didn't respect strip_newline argument (used alias name).
1.38 2013-06-28 (SHARYANTO)
- Add dux functions: grep, map (thanks Toby Inkster).
1.37 2013-06-26 (SHARYANTO)
- Add cdux* functions which accept callback.
1.36 2013-06-25 (SHARYANTO)
- Add export tag :all.
1.35 2013-06-25 (SHARYANTO)
- No functional changes. Force LANG=C in t/sprintf.t so test passes in
other LANG environments (RT#86306).
1.34 2013-05-21 (SHARYANTO)
- Add functions: {a,f,l}dux{a,c,f,l}.
- Deprecate Data::Unixish::List.
1.33 2013-05-02 (SHARYANTO)
- num: Add style: percent.
1.32 2013-04-18 (SHARYANTO)
- No functional changes. A couple of fixes for Data::Unixish::List and
reenable t/wrap.t.
1.31 2013-04-14 (SHARYANTO)
- Add dux function: yes (test output streaming, App::dux 1.32+).
1.30 2013-04-12 (SHARYANTO)
- Add dux function: wc.
1.29 2013-04-11 (SHARYANTO)
- Add Data::Unixish::List to simplify using dux function in Perl for
lists.
- Replace Perl examples with the ones using Data::Unixish::List.
- Add dux function: avg.
- wrap: Add 'mb' and 'ansi' options.
1.28 2013-04-10 (SHARYANTO)
- Add dux function: num.
1.27 2013-04-10 (SHARYANTO)
- Add dux functions: trunc, rpad, lpad, centerpad.
1.26 2013-04-05 (SHARYANTO)
- Add dux functions: uc, lc, ucfirst, lcfirst, bool, sprintf, sprintfn.
1.25 2013-03-10 (SHARYANTO)
- Add dux functions: wrap, ltrim, rtrim, trim.
1.24 2012-09-06 (SHARYANTO)
- pick: Change inserting to random element from using push + switch to
using splice.
- Add examples in Synopsis for each function.
1.23 2012-08-07 (SHARYANTO)
- No functional changes. Split bin/dux to its own dist App-dux to avoid
circular dependency problem (dfpc -> dux -> pericmd -> dfpc), reported
by Dagfinn Ilmari Mannsåker.
1.22 2012-07-27 (SHARYANTO)
- No functional changes. Bump version number. 1.21.1 = 1.021000 < 1.20.
1.21.1 2012-07-27 (SHARYANTO)
- No functional changes. Replace dep feature::each_on_array with
Syntax::Feature::EachOnArray (module renamed).
1.21.0 2012-07-27 (SHARYANTO)
- Add dux functions: pick, rev, shuf.
- Use feature::each_on_array to make the modules work in Perl < 5.12.
1.20 2012-07-21 (SHARYANTO)
- No functional changes. Rename distribution from
Data-Unixish-Implementation to Data-Unixish, since the specification
is now renamed to Unixish. Bump version number to work around PAUSE
restriction.
0.03 2012-07-18 (SHARYANTO)
[ENHANCEMENTS]
- Add 'dux --version'
- Add dux functions: sum, cat (for testing), date (preliminary, naive
version)
- Add tests
0.02 2012-07-16 (SHARYANTO)
[ENHANCEMENTS]
- use Tie::Diamond so that STDIN is really processed as stream.
- Add Data::Unixish::Apply to apply one or more functions to Perl data.
- New dux functions: sort (currently supporting -n, -i, -c)
- By default setting env LOG=0 to speedup startup. Run with LOG=1 to
enable logging.
[BUG FIXES]
- dzil: Add missing dep [CT]
- 'dux FUNC --help' didn't work.
0.01 2012-07-13 (SHARYANTO)
- First version.