Commit Graph

241 Commits

Author SHA1 Message Date
Chet Ramey b88cd1c366 experimental change to use groff instead of man2html for HTML man pages; man page updates for reserved words; fix for pattern matching bracket expression ranges; readline changes to disallow defining some recursive keyboard macros 2025-09-18 17:26:51 -04:00
Chet Ramey a451bfc3f5 declare builtin changes to reject -i when used with -n; readline changes to make control characters visible in search strings; readline signal handling changes to avoid data corruption and UAF; documentation updates for more consistent quoting 2025-09-04 12:29:57 -04:00
Chet Ramey ff6cfb1464 allow the --with-curses configure argument to specify a library name; fix for case pattern lists containing both null and non-null strings; fix for bug with PS1 expansion containing an arithmetic syntax error 2025-08-08 12:11:17 -04:00
Chet Ramey 535a8150b6 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 2025-05-04 17:21:25 -04:00
Chet Ramey 7731dc5c4d fix for read builtin and invalid multibyte characters followed by the delimiter; updated formatted documentation; new bash.pot file with updated strings; updated translations 2025-04-22 10:39:43 -04:00
Chet Ramey 2e113467f0 minor updates for 5.3-rc1 release 2025-04-04 10:50:15 -04:00
Chet Ramey c3997d51f8 documentation updates for arithmetic expansion and array subscripts; update BASH_COMMAND for subshells; fix potential file descriptor leak in here document pipes 2025-03-07 10:23:58 -05:00
Chet Ramey 25e213a551 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 2025-01-24 11:21:16 -05:00
Chet Ramey 2ea356081d documentation updates; test suite updates to reduce extraneous diff output; don't export BASHOPTS into running tests 2025-01-09 16:13:16 -05:00
Chet Ramey bb56d620e0 more documentation updates; fix two issues when displaying readline completions; fix another use-after-free error with readline undo lists 2024-12-13 09:51:46 -05:00
Chet Ramey 5b239ebbd2 another set of documentation updates; fix readline problem with history entry undo list corruption 2024-12-10 11:43:08 -05:00
Chet Ramey 22417e7881 new readline command `export-completions'; update documentation; update translations with new strings; Makefile updates 2024-11-21 10:31:38 -05:00
Chet Ramey b116cfe57d 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 2024-11-08 11:13:57 -05:00
Chet Ramey ee3b91dfd9 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 2024-10-26 12:39:17 -04:00
Chet Ramey 474743f2da next set of documentation updates (word splitting), rearrange a test in readline's tilde expansion to avoid touching uninitialized data 2024-10-22 15:40:46 -04:00
Chet Ramey 261c6e8cc6 next set of documentation fixes: update formatting, make filename formatting consistent, typeset the name readline consistently 2024-10-18 12:19:48 -04:00
Chet Ramey 3ed028ccec 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 2024-10-15 10:02:17 -04:00
Chet Ramey c7439376a3 next set of documentation updates, includes readline 2024-10-11 09:41:57 -04:00
Chet Ramey 9d1eb43fdd First set of documentation updates to man page, texinfo manual 2024-10-08 09:52:21 -04:00
Chet Ramey 8d74195d7f 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 2024-09-20 14:47:56 -04:00
Chet Ramey bc5ddc8698 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 2024-09-11 15:54:24 -04:00
Chet Ramey e327891b52 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 2024-08-21 16:11:01 -04:00
Chet Ramey 772e7e760e 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 2024-08-09 10:01:38 -04:00
Chet Ramey e45ec6f76b new bash_source_fullpath shell option; documentation updates for wait builtin 2024-07-30 11:18:17 -04:00
Chet Ramey a91b8b0773 doc changes for --rcfile; fix isearch undo list incompatibility with bash-5.2; non-inc search preserves undo lists in history entries 2024-07-06 12:54:57 -04:00
Chet Ramey ad1f497a84 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 2024-06-21 10:51:53 -04:00
Chet Ramey 886e4e68be better parser error messages; add -p option to source builtin 2024-06-21 10:38:39 -04:00
Chet Ramey 9c430f6bf3 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 2024-04-26 16:51:04 -04:00
Chet Ramey e6795c05dd 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 2024-04-06 16:06:11 -04:00
Chet Ramey 03c8c43b79 man page typesetting updates for compatibilityand layout issues 2024-04-05 09:03:52 -04:00
Chet Ramey 9b2a8c6d65 internal fixes for declare; additional tests for broken wcwidth() 2024-02-27 14:40:31 -05:00
Chet Ramey 092aa45bcc updates to man pages to deal with groff warnings and old troff versions 2024-02-09 10:41:58 -05:00
Chet Ramey fa0b002927 fix for dequoting words in pretty-print mode; posix mode changes for readonly/export invalid identifier errors 2024-01-02 10:42:34 -05:00
Chet Ramey aa2d23cfac 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 2023-12-19 09:56:34 -05:00
Chet Ramey 55a224da44 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 2023-11-24 12:39:17 -05:00
Chet Ramey b30389070a renamed several functions beginning with legal_; changed all callers 2023-11-06 09:26:02 -05:00
Chet Ramey 7a698806d1 changes to quoting for some globbing characters; regularize error behavior of builtins that take numeric arguments and complain about too many arguments 2023-10-11 11:40:08 -04:00
Chet Ramey 09c32bc946 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 2023-10-10 12:00:19 -04:00
Chet Ramey 94bce520e8 more error checking for hash builtin; fix for [[ builtin and some test syntax errors 2023-09-13 16:25:28 -04:00
Chet Ramey aab2c1fb1d 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 2023-09-07 17:09:24 -04:00
Chet Ramey b64a7d8cbe fix for LINENO after shell errors; fix for crash with !&; new read -E option 2023-08-18 16:41:55 -04:00
Chet Ramey 85b466d64f add more characters to inhibit history expansion; allow asynchronous !' and time' commands without a pipeline 2023-08-11 10:32:40 -04:00
Chet Ramey ab99fdbca6 new readline application hook to print macro key sequences and values; change bind -X default output format; bind -x accepts more input formats; quoting changes for pathname expansion patterns 2023-08-01 09:59:09 -04:00
Chet Ramey f6a78e24d8 fixes for $LINENO in multi-line simple commands; printf out-of-range values now cause a non-zero return status 2023-07-28 11:35:44 -04:00
Chet Ramey ad39c5c3d7 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 2023-07-19 15:33:45 -04:00
Chet Ramey 2f09fa19cf 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 2023-07-10 09:41:30 -04:00
Chet Ramey 6cca378e82 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 2023-07-05 16:38:35 -04:00
Chet Ramey fa98070927 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 2023-06-28 14:48:09 -04:00
Chet Ramey fc29a02404 new BASH_MONOSECONDS, BASH_TRAPSIG variables; make checkwinsize work in subshells of interactive shells; fix for declare -f and function names containing `=' 2023-06-20 10:10:11 -04:00
Chet Ramey b91488b51c new readline application variable rl_full_quoting_desired; new programmable completion option "fullquote"; TIMEFORMAT now accepts precisions up to six digits 2023-06-16 12:49:11 -04:00