Commit Graph

833 Commits

Author SHA1 Message Date
Chet Ramey 81e3a4fb07 first set of ANSI C changes: remove PARAMS 2023-01-03 10:01:11 -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 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 198210c58f more changes for bracket expressions in patterns 2022-12-02 11:41:48 -05:00
Chet Ramey e8652353ae fixes for HAVE_SELECT/HAVE_PSELECT; change some warning messages for nameref loops; run unwind-protects if max function nesting level is exceeded 2022-11-29 09:32:40 -05:00
Chet Ramey 3c9dd45657 fix for memory leak with unset associative array elements; last set of changes to globbing bracket expressions; fix for timing subshell commands 2022-11-23 17:03:34 -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 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 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 88d69b4fa2 fix for @ and * as associative array keys in arithmetic expressions; minor readline callback mode changes 2022-11-02 16:23:12 -04: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 6711d2dc77 fix for interactive shell parser reset issue; fix for nested array subscript quoting issue; fix for process substitutions being closed to early in for loops 2022-10-24 10:09:52 -04:00
Chet Ramey 055a4552c9 change to readline callback signal handling; fix message when popping shell function context; handle new terminating signals inside terminating signal handler; fix to pattern substitution with null replacement and null string; fix to alias expansion when we get a SIGINT while entering a command substitution in an interactive shell 2022-10-15 13:34:51 -04:00
Chet Ramey 55a8311420 fix for line numbers for nested function declarations; fix execve error for ENOENT 2022-10-11 16:17:22 -04:00
Chet Ramey 22f21b760e fixes for extended glob in compat mode; fix for brackets appearing in nested parameter expansions 2022-10-07 17:46:16 -04:00
Chet Ramey 38d9d3590f fix for readline to handle setlocale() returning NULL 2022-10-07 17:44:03 -04:00
Chet Ramey 43e861c2cd fix crash with unset arrays in arithmetic constructs ; change to avoid printing foreground job statuses when we don't want to 2022-10-04 11:58:54 -04:00
Chet Ramey e6dc31ac13 changes for multibyte characters with intermediate state; small change to readline forced redisplay 2022-09-28 11:00:34 -04:00
Chet Ramey bdfa4b088e minor updates for release 2022-09-23 10:05:41 -04:00
Chet Ramey e9c75143a2 documentation updates 2022-09-20 10:16:23 -04:00
Chet Ramey 0ecda9fcc3 fix parser problem with auto-setting extglob inside command substitution inside conditional command pattern 2022-08-30 11:42:30 -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 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 e9e3e4fea5 fixed gcc printf warning; fixed typos in comments and support files 2022-07-26 11:44:09 -04:00
Chet Ramey 87a6e89edc additional tests; documentation updates 2022-07-12 10:19:29 -04:00
Chet Ramey eb2d46d77c updated translations; minor change to DEBUG trap 2022-06-22 10:51:18 -04:00
Chet Ramey b95dd4a066 fix for printing ambiguous redirection >& with declare -f 2022-06-07 10:31:06 -04:00
Chet Ramey ebeba87477 fix mem leak with local BASH_REMATCH 2022-06-03 11:33:35 -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 d0cd67ee13 fix up parser flags command substitution parsing inherits; using temp files for here-documents is now a compatibility mode option 2022-04-27 16:16:59 -04:00
Chet Ramey 98300c9405 force using temp files for here documents with shell compatibility setting; fix small memleak in programmable completion 2022-04-26 10:21:05 -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 0b9a4b3ae0 readline changes to use xfree; bumped version to bash-5.2-beta 2022-04-08 11:03:02 -04:00
Chet Ramey 505f60f94c fix for history-search-backward after previous-history clearing the undo list 2022-04-04 09:40:49 -04:00
Chet Ramey 8f68f9f0ff remove history position change to non-incremental search; fixes to $@ in some word expansions like :+ 2022-03-25 09:52:26 -04:00
Chet Ramey 5bba60397c changes to history-search-forward, history-search backward to make the final history position more similar to incremental search 2022-03-21 11:00:53 -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 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 b4e5e5505c fix to readline redisplay of invisible chars at end of line; fix to here-document delimiter quote removal; prompt expansion makes invisible chars in w, W, s visible 2022-03-07 09:21:09 -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 e7a56619a2 changes to make EOF state available to readline applications; fix for command substitution parsing inside conditional command 2022-02-21 10:06:44 -05:00
Chet Ramey 6d69b62547 changes for the shopt compatNN options 2022-02-15 11:52:30 -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 d70b53393e new variables to control the active region color; minor fix to $? 2022-02-09 10:21:04 -05:00
Chet Ramey 780d665cfd fix to multiple alias expansion problem in command substitutions 2022-02-09 10:15:16 -05:00
Chet Ramey b325b0e96b more changes for here-docs and $'...'; command optimization updates 2022-01-31 09:53:03 -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