Commit Graph

  • 511fef0f5c new bindable readline command `execute-named-command', bound to M-x in emacs mode Chet Ramey 2023-11-06 09:44:01 -05:00
  • b30389070a renamed several functions beginning with legal_; changed all callers Chet Ramey 2023-11-06 09:26:02 -05:00
  • fe24a6a55e changes to SIGINT handler while waiting for a child; skip vertical whitespace after translating an integer Chet Ramey 2023-10-30 12:16:07 -04:00
  • b348b871b4 small change to brace expansion to inhibit some error messages; changes to printf builtin for precision and field widths Chet Ramey 2023-10-23 09:50:02 -04:00
  • 1e1a0342a4 changes for backslashes in glob patterns and single-quoted strings; brace expansion knows '${...}' expansions; read returns status 2 if trying to assign to a readonly variable Chet Ramey 2023-10-17 11:09:23 -04:00
  • 7a698806d1 changes to quoting for some globbing characters; regularize error behavior of builtins that take numeric arguments and complain about too many arguments Chet Ramey 2023-10-11 11:40:08 -04:00
  • 09c32bc946 fix for @E transformation; fixes for failures in arith for and for commands; style changes to man page; fix for bug in read builtin if it assigns to IFS Chet Ramey 2023-10-10 12:00:19 -04:00
  • 2eb9a3699b fix for subshells resetting job stats; new hook for rewriting part of completion word Chet Ramey 2023-10-05 09:02:27 -04:00
  • 9c83052f48 changes to several error messages; more test suite additions Chet Ramey 2023-10-04 15:04:31 -04:00
  • 00edd0ee50 small changes to some error messages; greatly expanded builtins tests Chet Ramey 2023-09-28 10:47:17 -04:00
  • b3958b3ab4 a select command invalid selection variable name is now a fatal error in posix mode; many test suite additions Chet Ramey 2023-09-25 15:08:04 -04:00
  • 1cc5a8f752 use size_t for string indices; document rl_reparse_colors Chet Ramey 2023-09-22 09:50:33 -04:00
  • 94bce520e8 more error checking for hash builtin; fix for [[ builtin and some test syntax errors Chet Ramey 2023-09-13 16:25:28 -04:00
  • 32826f717d fix for race condition with process creation and terminal process group; changes to printf builtin for multibyte characters Chet Ramey 2023-09-11 10:09:22 -04:00
  • aab2c1fb1d fix typo in readline custom LS_COLORS extension; fix so `time' is recognized as a reserved word after $( and ${; don't run traps while parsing a command substitution Chet Ramey 2023-09-07 17:09:24 -04:00
  • f4683835d8 documentation updates for arrayname[0]; update trace/debug order for some compound commands Chet Ramey 2023-08-28 12:16:01 -04:00
  • 944ac21503 fix for readline numeric args and bind -x commands; fix for printing null simple commands; fix to make read builtin callable recursively; fix for ignoreeof with nofork comsubs in PS1 Chet Ramey 2023-08-23 16:32:40 -04:00
  • b64a7d8cbe fix for LINENO after shell errors; fix for crash with !&; new read -E option Chet Ramey 2023-08-18 16:41:55 -04:00
  • 50ffbc9ddc update included libintl to gettext-0.21.1 Chet Ramey 2023-08-14 11:14:46 -04:00
  • 85b466d64f add more characters to inhibit history expansion; allow asynchronous !' and time' commands without a pipeline Chet Ramey 2023-08-11 10:32:40 -04:00
  • 1d0c4ceb49 several fixes for printing readline key bindings and macro values containing characters with the high bit set Chet Ramey 2023-08-08 10:49:46 -04:00
  • dc91b3f509 fixes for read builtin with backslash escapes; change history builtin behavior when HISTFILE is unset or null; change to compopt to make it use the name from the actual compspec it uses; fix for executing coproc in functions; fix for array variables and declare -g Chet Ramey 2023-08-04 11:06:57 -04:00
  • ab99fdbca6 new readline application hook to print macro key sequences and values; change bind -X default output format; bind -x accepts more input formats; quoting changes for pathname expansion patterns Chet Ramey 2023-08-01 09:59:09 -04:00
  • f6a78e24d8 fixes for $LINENO in multi-line simple commands; printf out-of-range values now cause a non-zero return status Chet Ramey 2023-07-28 11:35:44 -04:00
  • 8418224f32 changes for quoting special and multibyte characters in glob patterns; changes to filename unicode normalization on macOS for globbing and filename completion; send SIGCONT unconditionally to just-restarted job in fg/bg Chet Ramey 2023-07-25 10:18:35 -04:00
  • ad39c5c3d7 change redisplay to handle some cases where the line consumes more than the number of physical screen lines; add regerror() error messages if regular expression compilation fails; make sure active region readline variables are displayed with bind -v; partial fix for bind -x and commands containing quoting characters Chet Ramey 2023-07-19 15:33:45 -04:00
  • 7f7ee0e9c6 fix for leak when completing command word with glob pattern that matches multiple files; preserve export attribute when unsetting local variable in case it is reset; fix for using nl_langinfo when performing charset conversions Chet Ramey 2023-07-17 17:35:59 -04:00
  • 2f09fa19cf fix cd when user assigns a value to OLDPWD; fix android issue with blocked system calls; fix historical use of test -t; fix issue with foreground-TSTP async jobs Chet Ramey 2023-07-10 09:41:30 -04:00
  • 6cca378e82 prefer nanosleep for sleep loadable builtin; changes for overflow in indexed array indices; make sure dynamic loading and unloading builtins updates programmable completion; document that assignment to PATH clears the command hash table; fix small memory leak from readline filename rewrite hook Chet Ramey 2023-07-05 16:38:35 -04:00
  • 935fe11af0 more small fixes to command printing code; simplify readline username completion if getpwent is not available Chet Ramey 2023-07-03 10:29:28 -04:00
  • 6a9e77e881 fix up semantics of assigning to noassign variables; fix error message in arithmetic noeval mode; add shared memory option to anonymous files; fix static linking config in configure Chet Ramey 2023-07-03 10:26:23 -04:00
  • 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 Chet Ramey 2023-06-28 14:48:09 -04:00
  • 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 Chet Ramey 2023-06-26 17:09:08 -04:00
  • 81f7b44564 fix for -c command ending with backslash; fix several small memory leaks; fix several uninitialized variables; compgen -V fix Chet Ramey 2023-06-26 16:23:10 -04:00
  • 293916f885 apply several fixes tagged for bash-5.3; use memfd_create in anon file open if available; append a newline to parsed command in parse_comsub if last read token was a newline Chet Ramey 2023-06-20 11:35:05 -04:00
  • 4e4cebb6dc fix for nofork comsub command printing; fix for crash caused by tempvar assignment converted to an array in a function Chet Ramey 2023-06-20 11:10:39 -04:00
  • fc29a02404 new BASH_MONOSECONDS, BASH_TRAPSIG variables; make checkwinsize work in subshells of interactive shells; fix for declare -f and function names containing `=' Chet Ramey 2023-06-20 10:10:11 -04:00
  • b91488b51c new readline application variable rl_full_quoting_desired; new programmable completion option "fullquote"; TIMEFORMAT now accepts precisions up to six digits Chet Ramey 2023-06-16 12:49:11 -04:00
  • 76112093ec extend assoc_expand_once to indexed arrays; rename to array_expand_once, keeping old name as a synonym; udpate shopt documentation Chet Ramey 2023-06-13 11:44:33 -04:00
  • d44a45afbc fix for optimizing forks away if bash -ic command is executed Chet Ramey 2023-06-12 17:46:30 -04:00
  • a629483b0e fix for adding ;' to nofork command substitution; IBM z/OS changes; fix for files ending with backslash; fix for expanding compound assignment in an alias; fix for printing here-documents in if statements; change to make enable -fn load a builtin but mark it as disabled; fix for removing FIFOs during .'; fix for single-quoting translations Chet Ramey 2023-06-03 14:21:03 -04:00
  • 353e3749e9 minor readline fixes for isearch, insert-char,quoted-insert, and do-lowercase-version; fix buffer overflow with printf %b; work around issues with isblank in UTF-8 locales on macOS; fixes for the enable builtin Chet Ramey 2023-05-31 10:40:39 -04:00
  • e252024788 remove (' from chars that can follow ${' command substitution; fix for empty command substitutions; fix for adding incomplete command substitutions to history; fix for function source file with -c command; fix for EOF at PS2 when ignoreeof is set Chet Ramey 2023-05-26 17:29:41 -04:00
  • 782af56204 updates for nofork command substitution; changes for z/OS machines; fix for race in wait_for_any_job Chet Ramey 2023-05-22 09:37:41 -04:00
  • e44e3d50de complete initial implementation of nofork command substitution (${ command; }) Chet Ramey 2023-05-15 13:30:18 -04:00
  • c375f8f45f subshells should not inherit FIFOs; initial framework for nofork (foreground) command substitutions Chet Ramey 2023-05-09 10:33:56 -04:00
  • 896df2874a fix for incomplete multibyte characters in pasted input; fix for syntax errors while entering compound assignments; fix for jobs not removing jobs from the list in a SIGCHLD trap; fix for PS0 that contains a command substitution after interactive shell reads EOF; fix for non-interactive shell reading from stdin and evaling a command that dups stdin Chet Ramey 2023-05-04 11:19:43 -04:00
  • 23935dbe85 asan fuzzing fixes; fix incomplete multibyte chars in history expansion; new nosort GLOBSORT value Chet Ramey 2023-05-01 09:59:55 -04:00
  • 7aae19bfe4 changes to non-incremental searching to avoid pointer alias problems, undo issues Chet Ramey 2023-04-27 14:56:35 -04:00
  • ec02facd13 allow FIGNORE suffixes to match entire pathnames; allow SIGINT received while a function is executing in a loop to break the loop Chet Ramey 2023-04-24 15:25:45 -04:00
  • d052bd6fd9 readline and completion fixes Chet Ramey 2023-04-20 11:27:36 -04:00
  • a46164736e new compgen -V option to store completions in an array Chet Ramey 2023-04-18 10:25:47 -04:00
  • d06fefb2ba new GLOBSORT variable Chet Ramey 2023-04-16 16:13:14 -04:00
  • 15b199c0dd posix mode changes for interp 1150; fix for varassign redirection; fix for nameref in ${param=value} expansion Chet Ramey 2023-04-11 09:56:03 -04:00
  • ec9447ce93 fix minor asan bug; $(<nosuchfile) is no longer a fatal error with errexit enabled; fixes for vi t/T motion commands Chet Ramey 2023-04-05 16:07:04 -04:00
  • 877ff72675 rest of work to convert unwind-protects to ANSI/ISO C; size_t updates; function prototype changes for ANSI/ISO C Chet Ramey 2023-04-03 12:07:25 -04:00
  • d267701a91 more ANSI/ISO C changes; start on converting the unwind-protect framework to ANSI C Chet Ramey 2023-03-29 15:43:46 -04:00
  • 727e92c806 more ANSI/ISO C cleanups Chet Ramey 2023-03-28 16:34:56 -04:00
  • 1efe6d6b69 remove more old, unused files Chet Ramey 2023-03-28 15:54:06 -04:00
  • 57d4dc15ff small asan fixes; size_t and other ANSI C changes; restore readline variables in compgen builtin Chet Ramey 2023-03-27 16:38:37 -04:00
  • 429bd8199c remove some unused files Chet Ramey 2023-03-27 15:02:32 -04:00
  • 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 Chet Ramey 2023-03-27 09:28:12 -04:00
  • f539a75606 changes to terminate_current_pipeline; fix for adding incomplete command substitutions to the history list; fix dotglob and compgen interaction Chet Ramey 2023-03-22 10:27:41 -04:00
  • 4c2b574c00 more minor asan fixes Chet Ramey 2023-03-20 15:23:38 -04:00
  • deedd41cf4 changes for PATH being the empty string; more minor asan fixes Chet Ramey 2023-03-17 16:03:11 -04:00
  • 437b73931c bash asan fixes; minor documentation updates Chet Ramey 2023-03-15 14:59:24 -04:00
  • 01084938a1 script read errors are now fatal errors; fixes for readline asan issues Chet Ramey 2023-03-13 17:20:51 -04:00
  • 22cdf92bee posix conformance fixes Chet Ramey 2023-03-10 15:45:52 -05:00
  • 277c21d2b2 readline fix for rl_undo_list pointer aliasing; arith command sets word_top Chet Ramey 2023-03-06 10:50:45 -05:00
  • 0bd0fb5966 fix crash with null arithmetic for expression; fix size_t issue with history search string allocation Chet Ramey 2023-03-02 12:04:03 -05:00
  • 349e21043e local variables no longer modify external variables if the variable is supplied as a variable assignment preceding a function call; assignments in compound assignment statements don't undergo brace expansion Chet Ramey 2023-02-27 10:55:06 -05:00
  • ede7124fd4 fix for EOF while reading a quoted string; allow window size updates during trap commands or `bind -x' commands Chet Ramey 2023-02-22 09:36:28 -05:00
  • 3b4d12c1a2 control default value of patsub_replacement from config-top.h; documentation updates Chet Ramey 2023-02-20 11:59:04 -05:00
  • 72c4a0f40d add support for case-insensitive incremental and non-incremental history searches in readline; controlled by new bindable readline variable `search-ignore-case' Chet Ramey 2023-02-17 17:13:04 -05:00
  • 5857180657 changes to placing rl_point after alias-expand-line or history-expand-line Chet Ramey 2023-02-15 15:31:02 -05:00
  • d7a6d947df fix for $_ when executing $PROMPT_COMMAND; fix for extra line in history after here-document in command substitution Chet Ramey 2023-02-13 10:48:05 -05:00
  • 3eab48247a make buffered stream read errors sticky; handle EOF in comments explicitly; don't change point if alias-expand-line or history-expand-line don't expand anything Chet Ramey 2023-02-08 11:34:51 -05:00
  • 7411382644 fix tilde expansion in associative array compound assignments Chet Ramey 2023-02-07 10:16:51 -05:00
  • 315095ad7f printf changes: %q/%Q altform, %ls/%lc wide character strings; posix mode changes for function execution; allow <( and >) in function names Chet Ramey 2023-02-06 10:02:16 -05:00
  • de195f9483 changes to function printing; new trap -P option; posix mode changes for command builtin as a declaration utility; changes for compiling without multibyte code Chet Ramey 2023-01-31 10:20:31 -05:00
  • d0bc56a325 allow async ignored signals to be reset to SIG_DFL; give rl_input_available_hook precedence in readline:rl_gather_tyi Chet Ramey 2023-01-24 11:14:22 -05:00
  • a37b2af985 fix terminal pgrp issue with async jobs in non-interactive shells; history_expand change to first argument Chet Ramey 2023-01-20 14:31:00 -05:00
  • 992bd861ab fix for multi-level alias expansion with trailing space Chet Ramey 2023-01-18 13:59:27 -05:00
  • a5d2617c7a fixes for SIGINT handling in asynchronous lists Chet Ramey 2023-01-17 13:31:46 -05:00
  • 0647e53bd1 fix for completing quoted filenames with show-all-if-ambiguous set; avoid signed int overflow in intrand32 Chet Ramey 2023-01-10 10:23:14 -05:00
  • 8fd8cd8f7b set of portability changes from lint/asan/ubsan Chet Ramey 2023-01-07 13:18:20 -05:00
  • 2e725f7346 final set of ANSI C changes Chet Ramey 2023-01-05 15:09:06 -05:00
  • 5b512e1121 fourth set of ANSI C changes: size_t; rest globskipdots to enabled default in subshells Chet Ramey 2023-01-04 09:18:59 -05:00
  • b2613ad1c0 third set of ANSI C changes: const function parameters Chet Ramey 2023-01-03 11:59:43 -05:00
  • a61ffa78ed second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword Chet Ramey 2023-01-03 10:23:11 -05:00
  • 81e3a4fb07 first set of ANSI C changes: remove PARAMS Chet Ramey 2023-01-03 10:01:11 -05:00
  • b648a9ab79 fix for optimizing issues in sourced files; change to printf documentation to specify valid format characters Chet Ramey 2023-01-03 09:38:11 -05:00
  • 001918cdec handle signals at more places in brace expansion; fix for subshells changing terminal process group on signals Chet Ramey 2022-12-21 09:57:36 -05:00
  • 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 Chet Ramey 2022-12-19 09:38:15 -05:00
  • 49918d90cd fix for parameter length expressions for nameref variables expanding to invalid identifiers Chet Ramey 2022-12-13 12:57:47 -05:00
  • ec8113b986 Bash-5.2 patch 15: fix too-aggressive optimizing forks out of subshell commands Chet Ramey 2022-12-13 12:43:50 -05:00
  • 6647917a43 Bash-5.2 patch 14: process additional terminating signals when running the EXIT trap after a terminating signal Chet Ramey 2022-12-13 12:42:51 -05:00
  • 52f2cda1a2 Bash-5.2 patch 13: fix memory leak referencing a nonexistent associative array element Chet Ramey 2022-12-13 12:41:47 -05:00
  • 237c32ba16 fix for programmable completion functions setting traps on signals that readline handles Chet Ramey 2022-12-06 10:41:41 -05:00
  • 198210c58f more changes for bracket expressions in patterns Chet Ramey 2022-12-02 11:41:48 -05:00