Revision history for Complete-Bash
0.08 2014-07-23 (SHARYANTO)
[INCOMPATIBLE CHANGES]
- break_cmdline_into_words() now injects word-breaking characters into
the words array, to follow bash more closely. For example,
break_cmdline_into_words('--foo 1 --bar=2', ':=') now results in
[qw/--foo 1 --bar = 2/].
0.07 2014-07-22 (SHARYANTO)
- No functional changes.
- Rebuild to fix rendering examples.
0.06 2014-07-19 (SHARYANTO)
[REMOVED FEATURES]
- Remove mimic_dir_completion(). Functionality is now moved into
format_completion().
[INCOMPATIBLE CHANGES]
- format_completion(): remove 'is_path' key (setting 'path_sep'
automatically enables path mode), rename 'type' to 'escmode' (rename
escape mode 'env' to 'shellvar', add 'default' and 'none' modes).
[ENHANCEMENTS]
- format_completion(): Recognize key 'as' to return completion as array.
Useful for using under Term::ReadLine (e.g. in App::riap).
[DOCUMENTATION]
- Explain more about path mode.
0.05 2014-07-18 (SHARYANTO)
- No functional changes.
- Update Rinci metadata, rebuild POD.
0.04 2014-07-18 (SHARYANTO)
- Add examples for parse_cmdline().
[INCOMPATIBLE CHANGES]
- Return 2-element arrayref instead of 2-element list (in general, I
want to avoid returning list for better interop with Rinci).
0.03 2014-07-18 (SHARYANTO)
- Forgot to add 'word_breaks' argument to parse_cmdline().
0.02 2014-07-17 (SHARYANTO)
[ENHANCEMENTS]
- Add error message if COMP_LINE is not set.
- Add argument 'word_breaks' to allow breaking at other characters, like
bash's COMP_WORDBREAKS.
0.01 2014-07-02 (SHARYANTO)
- First release, extracted from Complete-Util. format_completion() is
from Complete::Util's format_shell_completion() but can also accept
array instead of hash. parse_cmdline() is from Complete::Util's
parse_shell_cmdline() but with a different return value.