Commit Graph

1094 Commits

Author SHA1 Message Date
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 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 3011048a92 fixes to read/wait; revert change that processes $'...' quoting in here-documents unconditionally 2022-01-24 09:37:14 -05:00
Chet Ramey 2a1c81bf63 change to behavior of '&' in pattern substitution replacement string; fix for blank lines in multiline commands saved in command history 2022-01-18 10:59:53 -05:00
Chet Ramey 5e6f45d9b1 getting ready for bash-5.2 2022-01-11 15:53:25 -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 1d17c604fc changes to make builtins that perform assignments work better with arbitrary associative array keys 2022-01-04 10:54:28 -05:00
Chet Ramey 186129835e new shell option to force globbing never to return .' and ..' as matches 2022-01-04 10:11:48 -05: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 b2b78a6348 fixes to LINENO, read -n, command substitution and backslash-escaped newlines 2021-12-20 20:03:26 -05:00
Chet Ramey 5f2dd5ff95 fix for posix semantics for the := word expansion when assigning array elements 2021-12-14 14:18:00 -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 e93bed95a8 fix for adding here-documents to history; change to checking for custom LS_COLORS prefix 2021-12-09 15:31:21 -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 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 d384b92874 update version to 5.2-devel, update copyright dates 2021-11-08 09:53:24 -05:00
Chet Ramey b06200f7a1 minor fixes to command -p, posix-mode tilde expansion, line numbers when in ERR traps 2021-11-04 15:45:55 -04:00
Chet Ramey 4657c04050 internal changes to prevent `unset' from scanning associative array subscripts multiple times 2021-11-01 10:42:50 -04:00
Chet Ramey 1984960023 fix readline expand prompt issue; fixes for readline fuzzing issues 2021-10-28 14:39:34 -04:00
Chet Ramey c813e24652 new `patsub_replacement' shell option 2021-10-25 11:56:15 -04:00
Chet Ramey 2c8ac78cbb minor documentation update on SIGINT handling 2021-10-21 16:02:37 -04:00
Chet Ramey 1fff64acdc changes to new pattern substitution replacement; documentation updates 2021-10-18 10:57:20 -04: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 f74291e6d1 new pattern substitution replacement feature; fix for problem with unset builtin and associative arrays 2021-10-08 08:21: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 70d7c6430d fixes for array subscripts and values containing 0x01 characters 2021-09-28 15:13:02 -04:00
Chet Ramey fa1e33671d prompt reprinting fixes for readline when screenwidth is less than prompt length; redirection fixes 2021-09-27 10:29:22 -04:00
Chet Ramey 72206eb271 new alternate array implementation that prioritizes access time over sparse arrays; selectable via configure 2021-09-23 16:14:29 -04:00
Chet Ramey 70a158ede9 more changes for autoconf-2.71: AC_TRY_LINK; minor typo change to readline 2021-09-22 09:30:03 -04:00