Revision history for Complete-Util
0.25 2015-03-18 (PERLANCAR)
- Add options to complete_file(): starting_path, handle_tilde,
allow_dot. These options can be used to limit/restrict file searching,
so it cannot go outside a certain path.
0.24 2015-03-04 (PERLANCAR)
- Follow Complete 0.12 (escmode renamed to esc_mode).
0.23 2015-03-03 (PERLANCAR)
- Add option 'exclude' to complete_array_elem().
0.22 2015-01-13 (PERLANCAR)
- Adjust to Complete 0.11, Complete::Path 0.12.
- Add option: dig_leaf.
0.21 2014-12-27 (PERLANCAR)
- No functional changes.
- Tweak Rinci metadata (prepare for use by App-CompleteCLIs, make
it consistent that word is argument at pos=0.
0.20 2014-12-25 (PERLANCAR)
- No functional changes.
- Add tests for map_case and exp_im_path.
0.19 2014-12-25 (PERLANCAR) - ♪ the magic of christmas day
- Extracted most functionality of complete_file() to Complete-Path, to
make the code reusable for other modules e.g. Complete-Module and
Complete-Riap.
0.18 2014-12-24 (PERLANCAR)
- Follow convention of Complete 0.06.
0.17 2014-12-21 (PERLANCAR)
- Add function: combine_answers().
- Delay loading File::Glob.
0.16 2014-12-18 (PERLANCAR)
- Fix t\complete_program.t failure on Windows (thanks NANIS).
0.15 2014-12-09 (PERLANCAR)
- Add functions: hashify_answer, arrayify_answer.
0.14 2014-12-05 (PERLANCAR)
- complete_file(): Add option 'ci', can handle '~/blah' and '~foo/blah'
(but not ~foo [yet?] which requires completing username instead of
files).
0.13 2014-07-13 (SHARYANTO)
[INCOMPATIBLE CHANGES]
- complete_file(): Replace 'file' and 'dir' options with the more
generic 'filter'.
0.12 2014-07-02 (SHARYANTO)
- This release is a re-organization of Complete::Util into Complete::*
modules family.
[REMOVED FEATURES]
- Move bash specific functions to Complete::Bash. This includes:
mimic_shell_dir_completion(), format_shell_completion(),
break_cmdline_into_words(). Complete::Util now only contains generic
complete_*() functions.
- Move developer notes to Complete.
[INCOMPATIBLE CHANGES]
- complete_array() is renamed to complete_array_elem() (but old name is
still provided, with no documentation mentioning it, for current
module users; the old name will be removed someday in the future).
- complete_file() no longer does mimic_shell_dir_completion(). You'll
have to do it yourself (but, format_completion() from Complete::Bash
will do it for you).
0.11 2014-06-29 (SHARYANTO)
- Add optional param 'sep' in mimic_shell_completion(), used in
format_shell_completion().
0.10 2014-06-29 (SHARYANTO)
[INCOMPATIBLE]
- Change interface of mimic_shell_dir_completion() and
break_cmdline_into_words() to accept positional arguments. This makes
it more consistent: all complete_* accept hash/named args, while the
rest positional.
- Apply mimic_shell_dir_completion() logic in format_shell_completion()
when given hint is_path=>1.
[ENHANCEMENTS]
- Add intro docs to make it clearer how to use this module.
0.09 2014-06-27 (SHARYANTO)
[BUG FIXES]
- Fix format_shell_completion().
0.08 2014-06-27 (SHARYANTO)
[INCOMPATIBLE CHANGES]
- Change interface of format_shell_completion() (accept positional args
to make it shorter).
0.07 2014-06-26 (SHARYANTO)
- No longer uses bash to break cmdline into words. This solves some
issues like $var no longer being substituted by bash (allowing env
completion to work), unclosed quotes work, etc.
- Add developer's notes.
- Add format_shell_completion().
0.06 2014-06-26 (SHARYANTO)
- complete_program(): add 'ci' option, handle Windows where PATH is
split by /;/ and not /:/.
0.05 2014-06-25 (SHARYANTO)
- Rename dist from SHARYANTO-Complete-Util to Complete-Util.
0.04 2014-06-23 (SHARYANTO)
- Add function: mimic_shell_dir_completion().
0.03 2014-05-05 (SHARYANTO)
- No functional changes.
- [test] Skip case sensitive test on Windows [CT].
0.02 2013-11-04 (SHARYANTO)
- Rename parse_{bash,shell}_cmdline().
0.01 2013-11-03 (SHARYANTO)
- First release. Split from Perinci-BashComplete because the routines
are general and not tied to Perinci/Rinci.