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
Chet Ramey [Mon, 3 Jul 2023 14:26:23 +0000 (10:26 -0400)]
fix up semantics of assigning to noassign variables; fix error message in arithmetic noeval mode; add shared memory option to anonymous files; fix static linking config in configure
Chet Ramey [Wed, 28 Jun 2023 18:48:09 +0000 (14:48 -0400)]
fix minor mem leaks; fix problem with parser state during a DEBUG trap with -T enabled in a shell function; fix crash with propagating array variables; fix overflow in compound array appending
Chet Ramey [Mon, 26 Jun 2023 21:09:08 +0000 (17:09 -0400)]
fix for exit builtin when ignoreeof set; better resource deallocation when completion is interrupted; fix small memleak in globbing; compile out obsolete readline typedefs by default; readline callback mode doesn't print signal chars by default; xtrace mode prefers to use $'...' quoting if required
Chet Ramey [Tue, 20 Jun 2023 15:35:05 +0000 (11:35 -0400)]
apply several fixes tagged for bash-5.3; use memfd_create in anon file open if available; append a newline to parsed command in parse_comsub if last read token was a newline
Chet Ramey [Tue, 20 Jun 2023 14:10:11 +0000 (10:10 -0400)]
new BASH_MONOSECONDS, BASH_TRAPSIG variables; make checkwinsize work in subshells of interactive shells; fix for declare -f and function names containing `='
Chet Ramey [Fri, 16 Jun 2023 16:49:11 +0000 (12:49 -0400)]
new readline application variable rl_full_quoting_desired; new programmable completion option "fullquote"; TIMEFORMAT now accepts precisions up to six digits
Chet Ramey [Sat, 3 Jun 2023 18:21:03 +0000 (14:21 -0400)]
fix for adding `;' to nofork command substitution; IBM z/OS changes; fix for files ending with backslash; fix for expanding compound assignment in an alias; fix for printing here-documents in if statements; change to make enable -fn load a builtin but mark it as disabled; fix for removing FIFOs during `.'; fix for single-quoting translations
Chet Ramey [Wed, 31 May 2023 14:40:39 +0000 (10:40 -0400)]
minor readline fixes for isearch, insert-char,quoted-insert, and do-lowercase-version; fix buffer overflow with printf %b; work around issues with isblank in UTF-8 locales on macOS; fixes for the enable builtin
Chet Ramey [Fri, 26 May 2023 21:29:41 +0000 (17:29 -0400)]
remove `(' from chars that can follow `${' command substitution; fix for empty command substitutions; fix for adding incomplete command substitutions to history; fix for function source file with -c command; fix for EOF at PS2 when ignoreeof is set
Chet Ramey [Thu, 4 May 2023 15:19:43 +0000 (11:19 -0400)]
fix for incomplete multibyte characters in pasted input; fix for syntax errors while entering compound assignments; fix for jobs not removing jobs from the list in a SIGCHLD trap; fix for PS0 that contains a command substitution after interactive shell reads EOF; fix for non-interactive shell reading from stdin and evaling a command that dups stdin
Chet Ramey [Mon, 27 Mar 2023 13:28:12 +0000 (09:28 -0400)]
fixes for glibc time/gettimeofday issue; fix issue with history file containing one line too few if saving timestamps; fix for signal arriving while displaying readline completions