commit bash-20050512 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:46:50 -05:00
parent 9607141ca3
commit 798a67db11
23 changed files with 2298 additions and 905 deletions
+83
View File
@@ -11420,3 +11420,86 @@ lib/tilde/tilde.c
Makefile.in,builtins/Makefile.in
- @CROSS_COMPILE@ is substituted into CFLAGS_FOR_BUILD (equal to
-DCROSS_COMPILING if bash is being cross-compiled)
5/9
---
aclocal.m4
- print version as `0.0' in RL_LIB_READLINE_VERSION if the
`rl_gnu_readline_p' variable isn't 1 (accept no imitations)
5/11
----
lib/readline/rlprivate.h
- definition of a readline `search context', to be use for incremental
search initially and other types of search later. Original from
Bob Rossi as part of work on incremental searching problems when
using callback interface
lib/readline/isearch.c
- functions to allocate and free search contexts
- function to take a search context and a character just read and
`dispatch' on it: change search parameters, add to search string,
search further, etc.
- isearch is now completely context-driven: a search context is
allocated and passed to the rest of the functions
5/12
----
lib/readline/isearch.c
- an additional `isearch cleanup' function that can be called from
the callback interface functions when the search is to be terminated
- an additional `isearch callback' function that can be called from
rl_callback_read_char when input is available
- short-circuit from rl_search_history after initialization if
the callback interface is being used
lib/readline/callback.c
- in rl_callback_read_char(), if RL_STATE_ISEARCH is set, call
_rl_isearch_callback to read the character and dispatch on it.
If RL_STATE_ISEARCH is unset when that call returns, and there is
input pending, call rl_callback_read_char() again so we don't
have to wait for new input to pick it up
support/shobj-conf,configure.in
- add support for dragonfly bsd, the same as freebsd
5/13-5/15
---------
lib/readline/callback.c
- support for readline functions to `register' a function that will
be called when more input is available, with a generic data
structure to encapsulate the arguments and parameters. Primarily
intended for functions that read a single additional character,
like quoted-insert
- support for callback code reading numeric arguments in a loop,
using readline state and an auxiliary variable
- support for callback code performing non-incremental searches using
the same search context struct as the isearch code
lib/readline/{callback,display}.c
- if a callback function sets `_rl_redisplay_wanted', the redisplay
function will be called as soon as it returns
lib/readline/input.c
- changes to _rl_read_mbchar to handle reading the null multibyte
character and translating it into '\0'
lib/readline/misc.c
- break rl_digit_loop() into component functions that can be called
individually from the callback code more easily
- share some of the functions with rl_digit_loop1() in vi_mode.c
lib/readline/readline.h
- change the version #defines to reflect readline 5.1
lib/readline/search.c
- break code into smaller functions that can be composed to work with
the callback code more easily
lib/readline/text.c
- in rl_quoted_insert(), don't messa around with the tty signals if
running in `callback mode'
lib/readline/vi_mode.c
- changed set-mark, goto-mark, change-char, and char-search to work
when called by callback functions
+45 -1
View File
@@ -11418,4 +11418,48 @@ lib/tilde/tilde.c
- guard calls to {get,end}pwent with HAVE_GETPWENT
Makefile.in,builtins/Makefile.in
- @CROSS_COMPILE@ is substituted into CFLAGS_FOR_BUILD
- @CROSS_COMPILE@ is substituted into CFLAGS_FOR_BUILD (equal to
-DCROSS_COMPILING if bash is being cross-compiled)
5/9
---
aclocal.m4
- print version as `0.0' in RL_LIB_READLINE_VERSION if the
`rl_gnu_readline_p' variable isn't 1 (accept no imitations)
5/11
----
lib/readline/rlprivate.h
- definition of a readline `search context', to be use for incremental
search initially and other types of search later. Original from
Bob Rossi as part of work on incremental searching problems when
using callback interface
lib/readline/isearch.c
- functions to allocate and free search contexts
- function to take a search context and a character just read and
`dispatch' on it: change search parameters, add to search string,
search further, etc.
- isearch is now completely context-driven: a search context is
allocated and passed to the rest of the functions
5/12
----
lib/readline/isearch.c
- an additional `isearch cleanup' function that can be called from
the callback interface functions when the search is to be terminated
- an additional `isearch callback' function that can be called from
rl_callback_read_char when input is available
- short-circuit from rl_search_history after initialization if
the callback interface is being used
lib/readline/callback.c
- in rl_callback_read_char(), if RL_STATE_ISEARCH is set, call
_rl_isearch_callback to read the character and dispatch on it.
If RL_STATE_ISEARCH is unset when that call returns, and there is
input pending, call rl_callback_read_char() again so we don't
have to wait for new input to pick it up
support/shobj-conf,configure.in
- add support for dragonfly bsd, the same as freebsd