Chet Ramey [Mon, 16 Jun 2025 17:47:40 +0000 (13:47 -0400)]
updated translations; back out change allowing quoted characters and process substitution words in function names; rework readline change for GNU Hurd and ncurses
Chet Ramey [Fri, 6 Jun 2025 16:16:11 +0000 (12:16 -0400)]
addition to POSIX mode documentation; new translations; update copyrights on some files; update formatted documentation; changes to cut/lcut loadable builtins when supplied -a ARRAY
Chet Ramey [Mon, 19 May 2025 13:10:57 +0000 (09:10 -0400)]
some fixes for static analysis findings; fix for brace expansion being too greedy checking sequence expressions; fix for strip targets when cross-compiling
Chet Ramey [Sun, 4 May 2025 21:21:25 +0000 (17:21 -0400)]
fix for command substitution string parsing that resulted in top-level unwind-protects being run in the wrong spot; fix for delimiter byte being part of invalid multibyte character in read builtin
Chet Ramey [Wed, 30 Apr 2025 20:19:08 +0000 (16:19 -0400)]
check for delimiter_depth being 0 before popping off the stack (reset_parser resets it); make EOFs while reading here-doc delimiters sticky; when reading arith command, push back a character after the first closing paren that isn't a second close paren to fix backslash issue
Chet Ramey [Tue, 22 Apr 2025 14:39:43 +0000 (10:39 -0400)]
fix for read builtin and invalid multibyte characters followed by the delimiter; updated formatted documentation; new bash.pot file with updated strings; updated translations
Chet Ramey [Fri, 18 Apr 2025 15:08:27 +0000 (11:08 -0400)]
fix to preserve blank lines when reading multiline entries from a history file; fix for completion with quoted command delimiters; updated translations
Chet Ramey [Mon, 24 Mar 2025 21:07:43 +0000 (17:07 -0400)]
fix for invalid brace sequence expressions; cosmetic fix to help builtin; documentation and copyright updates; bump version to bash-5.3-rc1; cosmetic locale fixes
Chet Ramey [Fri, 7 Mar 2025 15:23:58 +0000 (10:23 -0500)]
documentation updates for arithmetic expansion and array subscripts; update BASH_COMMAND for subshells; fix potential file descriptor leak in here document pipes
Chet Ramey [Mon, 24 Feb 2025 16:36:49 +0000 (11:36 -0500)]
revert change that suppressed array subscript expansion when called by the let builtin; fix default file descriptor for <> redirection when printing command
Chet Ramey [Fri, 24 Jan 2025 16:21:16 +0000 (11:21 -0500)]
taking the length of an unset variable subscripted with anything but @ or * is a fatal error; quote results of u prompt expansion; posix mode changes for exiting on -e when in a shell function; fix readline redisplay issue when bold prompt spans multiple lines
Chet Ramey [Fri, 17 Jan 2025 16:41:49 +0000 (11:41 -0500)]
fix issue with internally quoting multibyte characters; the let builtin now suppresses additional array subscript expansion; small change to how readline export-completions displays filenames; new loadable builtin to do floating-point arithmetic
Chet Ramey [Mon, 30 Dec 2024 15:45:14 +0000 (10:45 -0500)]
fix issue with failed history expansion changing the history list offset; fix some tests to avoid problems with error messages that differ between systems; fix issue with readline rl_abort not clearing any pending command to execute
Chet Ramey [Fri, 8 Nov 2024 16:13:57 +0000 (11:13 -0500)]
fix for readline redisplay issue in C locale; fix for small memory leak in termcap replacement library; updates to formatted documentation; fix problem with distclean and y.tab.h; Makefile clean targets updates
Chet Ramey [Mon, 4 Nov 2024 22:51:50 +0000 (17:51 -0500)]
changes to non-incremental search implementation for consistency with incremental search; fix for readline unsetting rl_eof_found; minor man page updates
Chet Ramey [Mon, 28 Oct 2024 19:05:35 +0000 (15:05 -0400)]
fixes for a couple of autoconf macros; update exit builtin for POSIX interp 1602; include more info in EOF error message when parsing compound command; update Makefiles by removing some variables, initializing others; update dependencies on version.h
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