Commit Graph

208 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 81f7b44564 fix for -c command ending with backslash; fix several small memory leaks; fix several uninitialized variables; compgen -V fix 2023-06-26 16:23:10 -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 23935dbe85 asan fuzzing fixes; fix incomplete multibyte chars in history expansion; new nosort GLOBSORT value 2023-05-01 09:59:55 -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 d052bd6fd9 readline and completion fixes 2023-04-20 11:27:36 -04:00
Chet Ramey 57d4dc15ff small asan fixes; size_t and other ANSI C changes; restore readline variables in compgen builtin 2023-03-27 16:38:37 -04:00
Chet Ramey deedd41cf4 changes for PATH being the empty string; more minor asan fixes 2023-03-17 16:03:11 -04:00
Chet Ramey 437b73931c bash asan fixes; minor documentation updates 2023-03-15 14:59:24 -04:00
Chet Ramey 5857180657 changes to placing rl_point after alias-expand-line or history-expand-line 2023-02-15 15:31:02 -05:00
Chet Ramey d7a6d947df fix for $_ when executing $PROMPT_COMMAND; fix for extra line in history after here-document in command substitution 2023-02-13 10:48:05 -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 8fd8cd8f7b set of portability changes from lint/asan/ubsan 2023-01-07 13:18:20 -05:00
Chet Ramey 2e725f7346 final set of ANSI C changes 2023-01-05 15:09:06 -05:00
Chet Ramey 5b512e1121 fourth set of ANSI C changes: size_t; rest globskipdots to enabled default in subshells 2023-01-04 09:18:59 -05:00
Chet Ramey b2613ad1c0 third set of ANSI C changes: const function parameters 2023-01-03 11:59:43 -05:00
Chet Ramey a61ffa78ed second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword 2023-01-03 10:23:11 -05:00
Chet Ramey 407d9afca0 fixes for bracket expressions in pathname expansion; changes for select/pselect; jobs builtin now removes terminated jobs from the jobs table after notifying 2022-11-18 11:01:00 -05:00
Chet Ramey 96115811d8 clarify some arithmetic error messages; fix for read builtin readline timeouts; initial implementation of preserving double quotes in readline completion; add starting line number to some "EOF reached" parser error messages 2022-11-14 12:08:12 -05:00
Chet Ramey 7a8455e421 fix crash from compgen in a non-interactive shell; globstar option now works with complete -G; wait -p changes; some int->size_t changes 2022-04-19 10:45:39 -04:00
Chet Ramey 68ab281e30 change to how invisible characters in prompt string expansions are escaped 2022-03-18 10:23:53 -04:00
Chet Ramey d70b53393e new variables to control the active region color; minor fix to $? 2022-02-09 10:21:04 -05:00
Chet Ramey 6e1ab9a367 fix to expand $'...' and $"..." in certain word expansions while expanding lines of here-document data 2022-01-25 09:33:34 -05:00
Chet Ramey be7fc0525e minor change to here-doc processing in compoind lists; change to completion to avoid quoting word expansion characters like `$' 2022-01-04 11:05:30 -05:00
Chet Ramey ea32b611f7 new "@k" parameter transformation; minor completion fix for uncommon case 2021-08-23 15:54:49 -04:00
Chet Ramey 2adf06d9f8 minor fixes; readline API change for rl_completer_word_break_characters ; readline fixes for MSVC 2021-08-19 15:48:31 -04:00
Chet Ramey 6650b4de61 fixes for minor memory leaks 2021-07-19 09:58:33 -04:00
Chet Ramey 2047e28584 add numeric arguments to bind -x commands and READLINE_ARGUMENT; minor fixes 2021-05-24 16:09:47 -04:00
Chet Ramey 046d0cc93b allow builtins to assign to associative arrays using @ or * as keys; fixes to glob completion of command words 2021-04-28 11:30:31 -04:00
Chet Ramey 3fd77612fc allow assignment to array keys @ and *; minor completion fix 2021-04-26 16:31:46 -04:00
Chet Ramey d128c3ddc1 command completion, key binding fixes 2021-04-19 09:40:14 -04:00
Chet Ramey 6be3a741cb bindable readline command to perform spelling correction on a word 2021-03-18 11:48:48 -04:00
Chet Ramey 83c4ad27c7 process $'...' and $"..." in here-documents 2021-03-15 09:30:44 -04:00
Chet Ramey 128c5d41b0 read builtin timeouts no longer use SIGALRM 2021-03-10 17:15:44 -05:00
Chet Ramey a6c3a43f43 commit bash-20210211 snapshot 2021-02-15 10:55:26 -05:00
Chet Ramey 26db5626df commit bash-20210209 snapshot 2021-02-11 17:19:31 -05:00
Chet Ramey d514a08760 commit bash-20201001 snapshot 2020-10-19 08:56:41 -04:00
Chet Ramey c261f9b80c commit bash-20200825 snapshot 2020-09-01 14:43:43 -04:00
Chet Ramey 7a257517b7 commit bash-20200807 snapshot 2020-08-12 14:39:05 -04:00
Chet Ramey fc94d47412 commit bash-20200504 snapshot 2020-05-08 14:19:57 -04:00
Chet Ramey 87d2ae2ae5 commit bash-20200420 snapshot 2020-04-22 16:45:28 -04:00
Chet Ramey b3968b54c1 commit bash-20200408 snapshot 2020-04-10 18:26:33 -04:00
Chet Ramey ea31c00845 commit bash-20200406 snapshot 2020-04-08 17:09:56 -04:00
Chet Ramey 8f576adedb commit bash-20200306 snapshot 2020-03-09 16:35:44 -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 3a7c642e22 commit bash-20191213 snapshot 2019-12-16 09:43:38 -05:00
Chet Ramey f7ec6b1a00 commit bash-20191004 snapshot 2019-10-07 11:02:34 -04:00
Chet Ramey ad66335110 commit bash-20190906 snapshot 2019-09-09 10:00:54 -04:00
Chet Ramey 951bdaad7a commit bash-20190628 snapshot 2019-07-01 09:03:53 -04:00