Commit Graph

812 Commits

Author SHA1 Message Date
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
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 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 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 1984960023 fix readline expand prompt issue; fixes for readline fuzzing issues 2021-10-28 14:39:34 -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 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 70a158ede9 more changes for autoconf-2.71: AC_TRY_LINK; minor typo change to readline 2021-09-22 09:30:03 -04:00
Chet Ramey 4410784029 more updates for autoconf-2.71: removing usage of AC_TRY_RUN 2021-09-13 10:08:15 -04:00
Chet Ramey a67031fe11 configuration changes to remove obsolete autoconf macros, and resultant changes to some source files 2021-09-08 11:16:55 -04:00
Chet Ramey 61782ca16b minor fix to readline:unix-filename-rubout 2021-08-30 11:40:26 -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 cf8298cb22 minor fixes; bad printf -v return status 2021-08-18 11:32:26 -04:00
Chet Ramey 4d4294caf7 globbing reacts to signals more quickly; new printf %Q format specifier; readline completion handles multiline quotes better 2021-08-08 20:44:28 -04:00
Chet Ramey 6650b4de61 fixes for minor memory leaks 2021-07-19 09:58:33 -04:00
Chet Ramey 8ede7a904f readline changes for MSVC wide chars; check for more write errors 2021-07-16 15:11:03 -04:00
Chet Ramey 9e3495c9e9 readline: free undo list associated with the saved history line when traversing history 2021-07-12 11:09:44 -04:00