Commit Graph

85 Commits

Author SHA1 Message Date
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 293916f885 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 2023-06-20 11:35:05 -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
Chet Ramey 76112093ec extend assoc_expand_once to indexed arrays; rename to array_expand_once, keeping old name as a synonym; udpate shopt documentation 2023-06-13 11:44:33 -04:00
Chet Ramey e252024788 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 2023-05-26 17:29:41 -04:00
Chet Ramey 782af56204 updates for nofork command substitution; changes for z/OS machines; fix for race in wait_for_any_job 2023-05-22 09:37:41 -04:00
Chet Ramey e44e3d50de complete initial implementation of nofork command substitution (${ command; }) 2023-05-15 13:30:18 -04:00
Chet Ramey 896df2874a 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 2023-05-04 11:19:43 -04:00
Chet Ramey ec02facd13 allow FIGNORE suffixes to match entire pathnames; allow SIGINT received while a function is executing in a loop to break the loop 2023-04-24 15:25:45 -04:00
Chet Ramey a46164736e new compgen -V option to store completions in an array 2023-04-18 10:25:47 -04:00
Chet Ramey d06fefb2ba new GLOBSORT variable 2023-04-16 16:13:14 -04:00
Chet Ramey 437b73931c bash asan fixes; minor documentation updates 2023-03-15 14:59:24 -04:00
Chet Ramey 3b4d12c1a2 control default value of patsub_replacement from config-top.h; documentation updates 2023-02-20 11:59:04 -05:00
Chet Ramey 3eab48247a make buffered stream read errors sticky; handle EOF in comments explicitly; don't change point if alias-expand-line or history-expand-line don't expand anything 2023-02-08 11:34:51 -05:00
Chet Ramey b648a9ab79 fix for optimizing issues in sourced files; change to printf documentation to specify valid format characters 2023-01-03 09:38:11 -05:00
Chet Ramey 237c32ba16 fix for programmable completion functions setting traps on signals that readline handles 2022-12-06 10:41:41 -05:00
Chet Ramey e9c75143a2 documentation updates 2022-09-20 10:16:23 -04:00
Chet Ramey b9ed20acfd modify readline so it adjusts internal variables when the locale changes between calls to readline() 2022-08-15 12:32:00 -04:00
Chet Ramey 9c317a6ae1 parse extended glob patterns in command substitutions in compatibility mode, even if extglob is not set 2022-08-02 11:16:48 -04:00
Chet Ramey 87a6e89edc additional tests; documentation updates 2022-07-12 10:19:29 -04:00
Chet Ramey ebeba87477 fix mem leak with local BASH_REMATCH 2022-06-03 11:33:35 -04:00
Chet Ramey daff9ecae9 fix for EXIT trap in -c command; suspend -f now suspends even if job control is not enabled 2022-05-18 09:50:42 -04:00
Chet Ramey 3be2a2ca9a minor portability fixes; printf now uses double for floating point conversions by default in posix mode 2022-04-12 09:57:43 -04:00
Chet Ramey 6d69b62547 changes for the shopt compatNN options 2022-02-15 11:52:30 -05:00
Chet Ramey 3011048a92 fixes to read/wait; revert change that processes $'...' quoting in here-documents unconditionally 2022-01-24 09:37:14 -05:00
Chet Ramey 5e6f45d9b1 getting ready for bash-5.2 2022-01-11 15:53:25 -05:00
Chet Ramey 71a11dbeb4 portability and compatibility fixes 2021-12-06 09:17:41 -05:00
Chet Ramey fffe80d438 new getconf shell builtin 2021-11-30 10:41:22 -05:00
Chet Ramey 25e43d2c0a removed some commented-out code dependent on the compatibility level now that the version is 5.2 2021-11-22 10:11:06 -05:00
Chet Ramey e59452c752 readline: use a custom extension in LS_COLORS to set the colored completion prefix, if present 2021-11-16 09:57:07 -05:00
Chet Ramey 3c5683a47b commit bash-20201218 snapshot 2020-12-25 18:17:33 -05:00
Chet Ramey 50fc6e33fe commit bash-20201116 snapshot 2020-11-18 16:13:46 -05:00
Chet Ramey 22b8a76dd6 commit bash-20201026 snapshot 2020-10-30 09:56:17 -04:00
Chet Ramey d514a08760 commit bash-20201001 snapshot 2020-10-19 08:56:41 -04:00
Chet Ramey 9c10def123 commit bash-20200907 snapshot 2020-09-21 08:52:51 -04:00
Chet Ramey 7a257517b7 commit bash-20200807 snapshot 2020-08-12 14:39:05 -04:00
Chet Ramey e6983002ec commit bash-20200720 snapshot 2020-07-28 17:19:25 -04:00
Chet Ramey d37a47224a commit bash-20200615 snapshot 2020-06-18 11:09:26 -04:00
Chet Ramey 9e6c30de85 commit bash-20200313 snapshot 2020-03-16 10:07:27 -04:00
Chet Ramey 10db656551 commit bash-20200131 snapshot 2020-02-04 10:14:42 -05:00
Chet Ramey 9831556ed0 commit bash-20200117 snapshot 2020-01-21 09:46:21 -05:00
Chet Ramey abfcfa4e6f commit bash-20200110 snapshot 2020-01-21 09:45:54 -05:00
Chet Ramey 091c6bc481 commit bash-20191127 snapshot 2019-12-02 17:23:48 -05:00
Chet Ramey fc35c477cd commit bash-20191122 snapshot 2019-11-25 11:48:29 -05:00
Chet Ramey e2169ae94e commit bash-20190712 snapshot 2019-07-15 09:15:15 -04:00
Chet Ramey 602eae4d6b commit bash-20190621 snapshot 2019-06-24 09:00:06 -04:00
Chet Ramey f602910792 commit bash-20190612 snapshot 2019-06-14 09:31:42 -04:00
Chet Ramey 52e4696964 commit bash-20190524 snapshot 2019-05-28 10:02:55 -04:00
Chet Ramey 9128f93291 commit bash-20190424 snapshot 2019-04-25 09:03:48 -04:00