Group :: Desenvolvimento/Outros
RPM: libshell
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
24 abril 2009 Alexey Gladkov <legion at altlinux.org> 0.1.0-alt2
- Fix shell-var installation.
- New utilities:
+ shell-var: New functions to handle shell parameters. - shell-quote changes:
+ Major changes in quote_shell_args().
+ Rewrite quote_shell_args() from scratch, to avoid the dangerous
shell constructions.
+ Fix Usage for quote_shell_args.
+ Add quote_shell_args(). - shell-unittest changes:
+ Add default comment initialization. - shell-args changes:
+ parse_common_option(): Option --quiet cancels option --verbose. - Other changes:
+ Update COPYING.
+ UnitTest: Add tests for quote_shell_args() function.
+ shell_var_unquote(), string_quote_remove(): Fix "'" unquote
for bash.
- shell*-config changes:
+ Fix dependency.
- shell-getopt changes:
+ preserves the options order. - Other changes:
+ Add .gear/changelog file.
+ contrib/shell-sort: Implementation of sorting the array.
+ contrib/shell-array: Reimplement arrays.
- shell-getopt changes:
+ Fix regression. - Other changes:
+ shell-quote: *_variable(): Fix internal namespace.
+ Add tests for quote_sed_regexp_variable() and
quote_shell_variable().
- shell-getopt changes:
+ getopt(): OPTIND should be local.
+ Fix messages compatibility with getopt(1). - shell-signal changes:
+ signal_handler(): Fix SIG_DFL special action.
+ signal_handler(): Remove SIG prefix from a signal symbolic name.
+ signal_handler(): Fix quoting.
+ module is no longer a experimental. - shell-quote changes:
+ Add quote_shell_variable() and quote_sed_regexp_variable()
functions.
+ Use an internal quoting function to avoid unnecessary subshells. - Documentation changes:
+ libshell.man: Add shell-error.
+ shell-error.man: Add man-page for shell-error.
+ libshell.man: Add libshell man-page. - Other changes:
+ Add makefile.
+ Add unit tests for shell-signal.
- New utilities:
+ shell-ini-config: New functions to read/write
ini-like config files.
+ shell-signal: Add signal handling functions (experimental). - shell-getopt changes:
+ Add env variables desciption. - shell-unittest changes:
+ registerTests argument is optional.
+ assertTrue() and assertFalse() should always display message
if test failed.
+ Add new function to able register test functions automatically.
+ appendTests(): test function could be registered only once.
+ Add unittest_show_condition parameter.
+ runUnitTests should return 1 if some tests has failed. - shell-ip-address changes:
+ Add regular expression to IP address validation.
- Add shell-unittest for writing Unit tests.
- Add shell-ip-address to IP address validation;
- Add shell-mail-address to mail address validation;
- shell-getopt:
+ Handle first '-' in short options;
+ Fix POSIXLY_CORRECT mode.
- shell-getopt: getopt():
+ Add --alternative handle;
+ Allow empty arguments;
+ Improve getopt(1) compatibility;
+ Ignore first '-' in options. - shell-config:
+ Add shell_config_del() and shell_config_comment() functions.
- shell-getopt: Move getopt(), getsubopt(), getopts() and getoptex()
from experimental state. - shell-quote: Move string_quote_remove() from experimental state.
- shell-config: shell_config_set():
+ Fix value quoting. - shell-getopt: getopt():
+ Fix GETOPT_ALLOW_UNKNOWN=1;
+ Fix return codes;
+ Fix params handling.
- Add shell-version to trac API changes.
- Add shell-getopt. This is getopts(1), getopt(1) and getsubopt(3)
shell implementation (if __libshell_experimental is set). - Rename shell-regexp to shell-quote.
- shell-quote:
+ Add string_quote_remove() to remove ' or " symbols from start
and end of string (if __libshell_experimental is set).
+ Remove unquote_sed_regexp(), unquote_shell() functions.
- Add shell-config to read and write shell-like config files:
+ shell-config: shell_config_get() read value from config file;
+ shell-config: shell_config_set() change or write value
to config file; - shell-args:
+ opt_check_read(), opt_check_dir() Fix error message. - shell-regexp:
+ Add new functions: unquote_sed_regexp(), unquote_shell().
- Workaround quoting for ash.
- shell-error: Rename info() to message().
- Initial revision.