Commit Graph

262 Commits

Author SHA1 Message Date
Chet Ramey 829aad36db 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 2023-06-26 17:09:08 -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 d06fefb2ba new GLOBSORT variable 2023-04-16 16:13:14 -04:00
Chet Ramey 727e92c806 more ANSI/ISO C cleanups 2023-03-28 16:34:56 -04:00
Chet Ramey 1efe6d6b69 remove more old, unused files 2023-03-28 15:54:06 -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 429bd8199c remove some unused files 2023-03-27 15:02:32 -04:00
Chet Ramey 64b2b7c08d 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 2023-03-27 09:28:12 -04:00
Chet Ramey 277c21d2b2 readline fix for rl_undo_list pointer aliasing; arith command sets word_top 2023-03-06 10:50:45 -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 8fd8cd8f7b set of portability changes from lint/asan/ubsan 2023-01-07 13:18:20 -05:00
Chet Ramey 81e3a4fb07 first set of ANSI C changes: remove PARAMS 2023-01-03 10:01:11 -05:00
Chet Ramey 001918cdec handle signals at more places in brace expansion; fix for subshells changing terminal process group on signals 2022-12-21 09:57:36 -05:00
Chet Ramey 49918d90cd fix for parameter length expressions for nameref variables expanding to invalid identifiers 2022-12-13 12:57:47 -05:00
Chet Ramey b48c234286 change to binary file detection; fix for negative fractional read timeout; check more often for terminating signals in subshells; clear process substitutions in subshells; wait only for last procsub if `wait' is called without arguments 2022-10-31 10:08:36 -04:00
Chet Ramey 38d9d3590f fix for readline to handle setlocale() returning NULL 2022-10-07 17:44:03 -04:00
Chet Ramey 7547afdf73 fix for exec builtin when the command is not found 2022-08-23 09:58:22 -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 e9e3e4fea5 fixed gcc printf warning; fixed typos in comments and support files 2022-07-26 11:44:09 -04:00
Chet Ramey eed646cc60 fix race condition in builtins Makefile 2022-05-31 09:55:01 -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 f9ed510acb fix to RL_STATE_EOF in readline callback mode; fix to edge case for terminating signal handling and exit traps in -c command 2022-05-03 10:43:44 -04: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 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 b6a567e7f1 fix problem with saving tty state after running a command with 'bind -x'; builtins that create associative arrays can now convert existing scalar variables to associative arrays 2022-03-11 16:09:24 -05:00
Chet Ramey 6c4a9a5cb7 efficiency change to command hashing; fix pointer aliasing problem with readline history-search-backward 2022-03-01 09:32:15 -05:00
Chet Ramey bf09dfc08d document new readline variables "active-region-start-color" and "active-region-end-color" 2022-02-11 09:12:39 -05:00
Chet Ramey 5e6f45d9b1 getting ready for bash-5.2 2022-01-11 15:53:25 -05:00
Chet Ramey 567c0bc2ed fix to make += work with dynamic integer vars like RANDOM 2021-12-13 09:37:23 -05:00
Chet Ramey 71a11dbeb4 portability and compatibility fixes 2021-12-06 09:17:41 -05:00
Chet Ramey 006856edf6 minimal-config changes; $"..." support is now a configuration option 2021-12-01 16:40:52 -05:00
Chet Ramey fffe80d438 new getconf shell builtin 2021-11-30 10:41:22 -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 d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05:00
Chet Ramey 0edd0a9183 "enable name" when name is not a shell builtin attempts to load it from a shared object 2021-08-02 12:07:40 -04:00
Chet Ramey a30f513fc4 more changes to handle @ and * as associative array keys 2021-05-13 14:49:18 -04:00
Chet Ramey b304aabc92 additional changes to avoid array subscript double expansion in arithmetic contexts 2021-05-10 09:58:14 -04:00
Chet Ramey 128c5d41b0 read builtin timeouts no longer use SIGALRM 2021-03-10 17:15:44 -05:00
Chet Ramey 11bf534f36 commit bash-20210305 snapshot 2021-03-10 10:35:28 -05:00
Chet Ramey b3b5f4bb33 commit bash-20210301 snapshot 2021-03-05 15:13:16 -05:00
Chet Ramey 08871a7780 commit bash-20210201 snapshot 2021-02-06 18:27:50 -05:00
Chet Ramey e58dc557e2 commit bash-20201226 snapshot 2020-12-30 13:17:27 -05:00
Chet Ramey 3f17ceca10 commit bash-20201203 snapshot 2020-12-18 15:26:11 -05:00
Chet Ramey ef70f295bc commit bash-20200921 snapshot 2020-09-24 16:21:33 -04:00
Chet Ramey dd4e3abc5c commit bash-20200626 snapshot 2020-06-30 15:09:56 -04:00
Chet Ramey ab309487d5 commit bash-20200605 snapshot 2020-06-05 14:34:49 -04:00
Chet Ramey e76c732799 commit bash-20200518 snapshot 2020-05-20 11:32:15 -04:00
Chet Ramey 7910c04f14 commit bash-20200422 snapshot 2020-04-24 18:07:42 -04:00
Chet Ramey 87d2ae2ae5 commit bash-20200420 snapshot 2020-04-22 16:45:28 -04:00
Chet Ramey 96a2ec128b commit bash-20200413 snapshot 2020-04-17 15:43:10 -04:00