Commit Graph

139 Commits

Author SHA1 Message Date
Chet Ramey c1d9c08853 history library can now read history from non-regular files; fix for readline char search and macros; better fix for PROMPT_COMMAND and aliases ending in newlines; fix for casting COMMAND * and SIMPLE_COM * when parsing |&; fix to avoid undefined behavior when performing left and right arithmetic shifts 2025-08-01 16:26:31 -04:00
Chet Ramey 5114e17172 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 2024-12-30 10:45:14 -05: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 cf694865de optimize asynchronous function invocations; fix for running return from trap while sourcing a file; restore completion function if read -e is interrupted 2024-08-15 16:37:54 -04:00
Chet Ramey 5d53be184e update copyright dates; fix problem with ignoring completions 2024-07-16 09:38:09 -04:00
Chet Ramey 5e28a1813c 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 2024-06-28 14:16:29 -04:00
Chet Ramey 6fb61ee126 allow some job notifications while running $PROMPT_COMMAND; allow notifications while running bind -x commands; change some translated messages to be more uniform 2024-05-06 11:25:35 -04:00
Chet Ramey b30389070a renamed several functions beginning with legal_; changed all callers 2023-11-06 09:26:02 -05: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 877ff72675 rest of work to convert unwind-protects to ANSI/ISO C; size_t updates; function prototype changes for ANSI/ISO C 2023-04-03 12:07:25 -04:00
Chet Ramey d0bc56a325 allow async ignored signals to be reset to SIG_DFL; give rl_input_available_hook precedence in readline:rl_gather_tyi 2023-01-24 11:14:22 -05:00
Chet Ramey a5d2617c7a fixes for SIGINT handling in asynchronous lists 2023-01-17 13:31:46 -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 c4a2e37470 fix comsub inside parameter expansion in here-document; fix readline longjmp botch; posix change for unset non-identifier; posix change for double quotes inside backquote comsub in here-document; add missing posix pieces to umask builtin 2022-12-19 09:38:15 -05:00
Chet Ramey 94d25f57f1 fix for too-aggressive optimizing forks away in an `eval' command inside a (command) subshell 2022-11-21 11:43:19 -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 31f4d468b6 fix for displaying `local -'; fix for trap and POSIX interp 1602; fix for readline redisplay when the last invisible character in the prompt string is not on the last line 2022-11-07 10:25:28 -05:00
Chet Ramey 0142068628 fix to trap execution to avoid the shell believing it's still executing the handler after returning 2022-08-09 10:43:00 -04:00
Chet Ramey 701f36c2c3 more changes to avoid expanding associative array subscripts twice; internal debugging changes 2021-12-22 16:05:39 -05:00
Chet Ramey 304b1e938c preserve traps across a failed exec; small changes to how completion options interact; fix a bug with arithmetic for commands and LINENO 2021-10-11 10:38:16 -04:00
Chet Ramey f188aa6a01 enable support for using `&' in the pattern substitution replacement string 2021-10-04 15:30:21 -04:00
Chet Ramey 9928dcb48f changes to command timing with errexit; binary file checks; treat exit builtin slightly differently when using bash -c 2021-09-19 13:44:55 -04:00
Chet Ramey 6c84d09c19 make $0 available to non-interactive shell startup files 2021-07-28 10:27:04 -04:00
Chet Ramey 128c5d41b0 read builtin timeouts no longer use SIGALRM 2021-03-10 17:15:44 -05:00
Chet Ramey 16d2c50605 commit bash-20201230 snapshot 2021-01-07 14:25:24 -05:00
Chet Ramey 66c2247c48 commit bash-20201118 snapshot 2020-11-28 13:04:53 -05:00
Chet Ramey 75c5460c48 commit bash-20201012 snapshot 2020-10-19 09:04:00 -04:00
Chet Ramey 5adc7cd3ec commit bash-20200707 snapshot 2020-07-10 10:08:56 -04:00
Chet Ramey f9f8a7fa3a commit bash-20200609 snapshot 2020-06-15 10:57:55 -04:00
Chet Ramey ea31c00845 commit bash-20200406 snapshot 2020-04-08 17:09:56 -04:00
Chet Ramey e34adc2c3b commit bash-20200403 snapshot 2020-04-06 09:52:11 -04:00
Chet Ramey 8f576adedb commit bash-20200306 snapshot 2020-03-09 16:35:44 -04:00
Chet Ramey 47c7369e84 commit bash-20200228 snapshot 2020-03-02 10:24:36 -05:00
Chet Ramey 0df4ddca3f commit bash-20200221 snapshot 2020-02-24 10:41:37 -05: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 9d80be9ab5 commit bash-20181207 snapshot 2018-12-10 10:07:15 -05:00
Chet Ramey 0712a90cd8 commit bash-20181123 snapshot 2018-12-03 10:29:56 -05:00
Chet Ramey a6ae8f3539 commit bash-20181109 snapshot 2018-11-12 10:15:40 -05:00
Chet Ramey f19b1b7334 commit bash-snap-20181017 snapshot 2018-10-18 11:13:57 -04:00
Chet Ramey 93e3d9f6ae commit bash-20181012 snapshot 2018-10-15 09:08:29 -04:00
Chet Ramey c87bb0a8f7 commit bash-20181005 snapshot 2018-10-08 09:19:14 -04:00
Chet Ramey 2e41257453 commit bash-20171222 snapshot 2018-01-02 10:52:24 -05:00
Chet Ramey ed9d6077c5 commit bash-20171027 snapshot 2017-11-06 09:19:11 -05:00
Chet Ramey ec157dfefb commit bash-20161230 snapshot 2017-01-03 14:37:53 -05:00
Chet Ramey 78a3f8a4ba commit bash-20161108 snapshot 2016-11-10 11:32:12 -05:00
Chet Ramey 5606eb074d commit bash-20160909 snapshot 2016-09-27 10:38:30 -04:00
Chet Ramey 7fa3190622 commit bash-20160715 snapshot 2016-07-23 10:04:54 -04:00