Chet Ramey [Sat, 26 Oct 2024 16:39:17 +0000 (12:39 -0400)]
do not require leading . for rl color prefix etension; fix for isearch in single-byte locales; next set of doc updates (SIGNALS); add warning for invalid job id; allow function names to be non-identifiers in posix mode
Chet Ramey [Tue, 15 Oct 2024 14:02:17 +0000 (10:02 -0400)]
next set of documentation updates (job control); fix read timeout problem; fix bash-source-fullpath default; brace expansion integer overflow fix; fix for help output for loadable builtins
Chet Ramey [Fri, 27 Sep 2024 16:00:46 +0000 (12:00 -0400)]
fix for set -e and compound commands inverting return status; tty fix for `fg' from a key binding; posix mode `wait -n' can return notified jobs; off-by-one error in history word tokenization; new configure option to set bash_source_fullpath
Chet Ramey [Fri, 20 Sep 2024 18:47:56 +0000 (14:47 -0400)]
in posix mode, don't notify about other terminated jobs if the jobs builtin is listing individual jobs; in posix mode, if `wait pid' finds pid in bgpids, remove it from there
Chet Ramey [Wed, 11 Sep 2024 19:54:24 +0000 (15:54 -0400)]
`wait -n' notifies on a job it returns; in posix mode, `wait' defers notification on a reaped pid unless the shell is interactive, as posix now specifies
Chet Ramey [Wed, 4 Sep 2024 21:26:15 +0000 (17:26 -0400)]
track initial line number of `{'', `(', and `[[' compound commands; don't have readline check for signals while it's handling a signal; fix for malformed printf time format specifier
Chet Ramey [Wed, 28 Aug 2024 15:42:10 +0000 (11:42 -0400)]
documentation updates; fix for null commands with redirection expansion errors; changes to job notifications for interactive shells sourcing files; fix underflow issue with word_top
Chet Ramey [Wed, 21 Aug 2024 20:11:01 +0000 (16:11 -0400)]
fix for printf with broken strtold; fix readline reading specified number of multibyte characters; fix read builtin to deal with invalid utf-8 continuation character as delimiter; turn off -n if supplied at interactive shell invocation
Chet Ramey [Thu, 15 Aug 2024 20:37:54 +0000 (16:37 -0400)]
optimize asynchronous function invocations; fix for running return from trap while sourcing a file; restore completion function if read -e is interrupted
Chet Ramey [Fri, 9 Aug 2024 14:01:38 +0000 (10:01 -0400)]
fix issue with read builtin delimiter in invaild mutibyte char; fix crash if caller passes negative count argument to one of the history file writing functions
Chet Ramey [Thu, 18 Jul 2024 20:48:17 +0000 (16:48 -0400)]
job control cleanups; wait -n can return terminated jobs if supplied pid arguments; wait -n can wait for process substitutions if supplied pid arguments
Chet Ramey [Thu, 11 Jul 2024 16:03:23 +0000 (12:03 -0400)]
reap and store status of process substitutions even when there are no jobs; fix issue with optimizing shell functions that set RETURN trap; fix issue with procsubs and eval allowing '<file'; fix for fignore and ignorning completions
Chet Ramey [Fri, 28 Jun 2024 18:16:29 +0000 (14:16 -0400)]
size_t changes for multibyte characters; fix for running debug trap in asynchronous pipeline; remove support for precomputed cache files for cross-compiling; more size_t and ssize_t changes to avoid overflow
Chet Ramey [Fri, 21 Jun 2024 14:51:53 +0000 (10:51 -0400)]
use name as GLOBSORT secondary sort key; new GLOBSORT sort specifier: `numeric'; let readonly and export work on local variables at previous scopes for both array and scalar variables
Chet Ramey [Mon, 3 Jun 2024 13:09:11 +0000 (09:09 -0400)]
fix issue with interupting timed functions; fix for parsing comsubs inside arith for commands; allow break and continue inside arith for expressions; fix for case-insensitive completion with multibyte chars; fix some minor memory leaks; reset read buffer if it returns partial results on EINTR; fix for undo in execute-named-command
Chet Ramey [Tue, 28 May 2024 13:19:03 +0000 (09:19 -0400)]
fix minor errors uncovered by address sanitizer; work around android issue with read -e -u; fix minor memory leaks; make spell-correct-shellword work with negative arguments; fix readline change-case on invalid multibyte character
Chet Ramey [Mon, 20 May 2024 14:48:44 +0000 (10:48 -0400)]
fix to backslash quoting of glob pattern characters; allow newly-loaded compspecs to be used in more cases; fixes to the cross-compiling environment; avoid potential overflow in GLOBSORT processing
Chet Ramey [Mon, 13 May 2024 15:36:34 +0000 (11:36 -0400)]
change some error messages so the format string isn't the return value from gettext(); work around macos problem with gettext() in child processes; don't try to set tty state while running a trap; don't default to trying enable -f file if the shell is restricted; note that configure now supports --enable-year2038
Chet Ramey [Mon, 6 May 2024 15:25:35 +0000 (11:25 -0400)]
allow some job notifications while running $PROMPT_COMMAND; allow notifications while running bind -x commands; change some translated messages to be more uniform
Chet Ramey [Mon, 6 May 2024 15:15:17 +0000 (11:15 -0400)]
fix for crash without arrays built in; allow some job status changes while the jobs list is frozen; change format for interactive shell terminated job notifications; allow some job notifications while running traps
Chet Ramey [Wed, 1 May 2024 15:39:51 +0000 (11:39 -0400)]
fix for internal redirection flags colliding with open/fcntl flags; call memfd_create with MFD_NOEXEC_SEAL; fix for setting $BASH in su-started login shell; fix for unsetting $REPLY after nofork comsubs
Chet Ramey [Fri, 26 Apr 2024 20:51:04 +0000 (16:51 -0400)]
enable MULTIPLE_COPROCS; bind -p/-P can print out bindings for individual command names; changes to Makefile to remove MFLAGS; simplify build tools by assuming C90 compilation environment for better cross-compiling support
Chet Ramey [Sat, 6 Apr 2024 20:06:11 +0000 (16:06 -0400)]
fix coproc code to close previous coproc file descriptors if another one is created; start at setting additional coproc states; change release status to bash-5.3-alpha
Chet Ramey [Thu, 28 Mar 2024 16:16:15 +0000 (12:16 -0400)]
more fixes for using bool and the stdckdint functions for integer overflow; another update to test from coreutils-9.2 changes; fix memleak in parser state on parse error; Makefile changes for macOS
Chet Ramey [Mon, 25 Mar 2024 14:32:07 +0000 (10:32 -0400)]
change to test builtin for parenthesized expressions when there are more than four arguments to test; tentative change to @A transformation to output declare commands for local variables
Chet Ramey [Mon, 18 Mar 2024 15:45:39 +0000 (11:45 -0400)]
add stdbool.h detection and replacement for bool; use ckd_mul/ckd_add/ckd_sub where appropriate; update overflow detection in brace expansion and printf builtin
Chet Ramey [Tue, 20 Feb 2024 14:53:58 +0000 (09:53 -0500)]
avoid executing unsafe functions if we get a terminating signal while handling SIGCHLD; reject attempts to modify some attributes for readonly variables; more changes for unlocked stdio functions; quoting fixes for uncommon cases where IFS = ^A and the word is not being split
Chet Ramey [Fri, 9 Feb 2024 15:30:02 +0000 (10:30 -0500)]
fix nofork comsub overwriting currently executing command; free readline undo list on signal in callback mode; avoid disabling readonly when assigning variables from the environment; fix bug with shell-expand-line and $'...' quoting inside command substitutions; add `bash-vi-complete' as bindable command name
Chet Ramey [Fri, 2 Feb 2024 19:39:50 +0000 (14:39 -0500)]
fix for cd when curent directory doesn't exist; fix wait -n in posix mode to delete any job that it returns; fix some variables where readonly can be circumvented; fix some overflows in printf
Chet Ramey [Tue, 23 Jan 2024 21:38:15 +0000 (16:38 -0500)]
fix two bugs with shells started to run executable scripts inheriting shell state; fix potential buffer overflow in brace expansion; fix crash caused by nofork command substitution not saving enough state
Chet Ramey [Tue, 19 Dec 2023 14:56:34 +0000 (09:56 -0500)]
fix history expansion to not perform quick substitution on a new line that's part of a quoted string; save the value of $_ around prompt string decoding
Chet Ramey [Wed, 13 Dec 2023 15:52:43 +0000 (10:52 -0500)]
fix off by one error when dequoting completed filenames; initial cut at readline identifying ANSI terminals; print coproc commands without coproc name if the coproc is a simple command
Chet Ramey [Mon, 4 Dec 2023 21:14:53 +0000 (16:14 -0500)]
test suite fixes for some locales; fix to make bind -x bindings work with negative arguments; several portability fixes from pkgsrc; fixes for funsubs with return builtin state and local OPTIND
Chet Ramey [Fri, 24 Nov 2023 17:39:17 +0000 (12:39 -0500)]
fix for fdflags loadable builtin; new strptime loadable builtin; enable -f doesn't fall back to current directory if using BASH_LOADABLES_PATH; new operator for rl_complete_internal that just dumps possible completions
Chet Ramey [Tue, 14 Nov 2023 15:20:05 +0000 (10:20 -0500)]
allow quoted-insert while reading readline search strings; force filename argument to enable -f without a slash to read from the current directory; update BASH_LOADABLES_PATH documentation
Chet Ramey [Tue, 17 Oct 2023 15:09:23 +0000 (11:09 -0400)]
changes for backslashes in glob patterns and single-quoted strings; brace expansion knows '${...}' expansions; read returns status 2 if trying to assign to a readonly variable
Chet Ramey [Wed, 11 Oct 2023 15:40:08 +0000 (11:40 -0400)]
changes to quoting for some globbing characters; regularize error behavior of builtins that take numeric arguments and complain about too many arguments
Chet Ramey [Tue, 10 Oct 2023 16:00:19 +0000 (12:00 -0400)]
fix for @E transformation; fixes for failures in arith for and for commands; style changes to man page; fix for bug in read builtin if it assigns to IFS
Chet Ramey [Thu, 7 Sep 2023 21:09:24 +0000 (17:09 -0400)]
fix typo in readline custom LS_COLORS extension; fix so `time' is recognized as a reserved word after $( and ${; don't run traps while parsing a command substitution
Chet Ramey [Wed, 23 Aug 2023 20:32:40 +0000 (16:32 -0400)]
fix for readline numeric args and bind -x commands; fix for printing null simple commands; fix to make read builtin callable recursively; fix for ignoreeof with nofork comsubs in PS1
Chet Ramey [Fri, 4 Aug 2023 15:06:57 +0000 (11:06 -0400)]
fixes for read builtin with backslash escapes; change history builtin behavior when HISTFILE is unset or null; change to compopt to make it use the name from the actual compspec it uses; fix for executing coproc in functions; fix for array variables and declare -g
Chet Ramey [Tue, 25 Jul 2023 14:18:35 +0000 (10:18 -0400)]
changes for quoting special and multibyte characters in glob patterns; changes to filename unicode normalization on macOS for globbing and filename completion; send SIGCONT unconditionally to just-restarted job in fg/bg
Chet Ramey [Wed, 19 Jul 2023 19:33:45 +0000 (15:33 -0400)]
change redisplay to handle some cases where the line consumes more than the number of physical screen lines; add regerror() error messages if regular expression compilation fails; make sure active region readline variables are displayed with bind -v; partial fix for bind -x and commands containing quoting characters
Chet Ramey [Mon, 17 Jul 2023 21:35:59 +0000 (17:35 -0400)]
fix for leak when completing command word with glob pattern that matches multiple files; preserve export attribute when unsetting local variable in case it is reset; fix for using nl_langinfo when performing charset conversions
Chet Ramey [Mon, 10 Jul 2023 13:41:30 +0000 (09:41 -0400)]
fix cd when user assigns a value to OLDPWD; fix android issue with blocked system calls; fix historical use of test -t; fix issue with foreground-TSTP async jobs
Chet Ramey [Wed, 5 Jul 2023 20:38:35 +0000 (16:38 -0400)]
prefer nanosleep for sleep loadable builtin; changes for overflow in indexed array indices; make sure dynamic loading and unloading builtins updates programmable completion; document that assignment to PATH clears the command hash table; fix small memory leak from readline filename rewrite hook