Commit Graph

820 Commits

Author SHA1 Message Date
Chet Ramey b88cd1c366 experimental change to use groff instead of man2html for HTML man pages; man page updates for reserved words; fix for pattern matching bracket expression ranges; readline changes to disallow defining some recursive keyboard macros 2025-09-18 17:26:51 -04:00
Chet Ramey a451bfc3f5 declare builtin changes to reject -i when used with -n; readline changes to make control characters visible in search strings; readline signal handling changes to avoid data corruption and UAF; documentation updates for more consistent quoting 2025-09-04 12:29:57 -04:00
Chet Ramey ff6cfb1464 allow the --with-curses configure argument to specify a library name; fix for case pattern lists containing both null and non-null strings; fix for bug with PS1 expansion containing an arithmetic syntax error 2025-08-08 12:11:17 -04:00
Chet Ramey e9053f2a3a fix for parameter expansions that contain valid and invalid expansions; avoid stale readdir() value in getcwd replacement; check libtinfow for termcap functions; fix to propagate exit status of builtins run in subshells back to calling shell 2025-08-04 10:18:32 -04:00
Chet Ramey 01070d4324 fix for wait -n' in posix mode; fix for long messages in readline; fix for short reads by source' builtin; fix for crash on RISC-V machines; fix for bad memory read when getopts is called twice with different sets of arguments 2025-07-18 11:53:01 -04:00
Chet Ramey 12ea4bfec3 update formatted documentation; fix typo in bashline.c; update system-dependent tests 2025-07-08 09:59:39 -04:00
Chet Ramey 0f0cea342e updated translations; back out change allowing quoted characters and process substitution words in function names; rework readline change for GNU Hurd and ncurses 2025-06-16 13:47:40 -04:00
Chet Ramey 727b8d3663 addition to POSIX mode documentation; new translations; update copyrights on some files; update formatted documentation; changes to cut/lcut loadable builtins when supplied -a ARRAY 2025-06-06 12:16:11 -04:00
Chet Ramey dbe4256d5e fix for namerefs referencing an unset array index with nounset enabled; addition to buildconf.h.in for C23 compilers 2025-05-30 10:11:03 -04:00
Chet Ramey 870ad4c92b some fixes for static analysis findings; fix for brace expansion being too greedy checking sequence expressions; fix for strip targets when cross-compiling 2025-05-19 09:10:57 -04:00
Chet Ramey 535a8150b6 fix for command substitution string parsing that resulted in top-level unwind-protects being run in the wrong spot; fix for delimiter byte being part of invalid multibyte character in read builtin 2025-05-04 17:21:25 -04:00
Chet Ramey 7731dc5c4d fix for read builtin and invalid multibyte characters followed by the delimiter; updated formatted documentation; new bash.pot file with updated strings; updated translations 2025-04-22 10:39:43 -04:00
Chet Ramey 42c6cbd459 add math function calls to fltexpr; HISTFILESIZE documentation updates; help text updates for exxport, history; update translations 2025-04-09 11:14:41 -04:00
Chet Ramey 2e113467f0 minor updates for 5.3-rc1 release 2025-04-04 10:50:15 -04:00
Chet Ramey e009d30dff fix for invalid brace sequence expressions; cosmetic fix to help builtin; documentation and copyright updates; bump version to bash-5.3-rc1; cosmetic locale fixes 2025-03-24 17:07:43 -04:00
Chet Ramey c3997d51f8 documentation updates for arithmetic expansion and array subscripts; update BASH_COMMAND for subshells; fix potential file descriptor leak in here document pipes 2025-03-07 10:23:58 -05:00
Chet Ramey e608233770 revert change that suppressed array subscript expansion when called by the let builtin; fix default file descriptor for <> redirection when printing command 2025-02-24 11:36:49 -05:00
Chet Ramey c3ca11424d fix issue with redirections to bash input file descriptor; new minimal chmod builtin; posix mode change for kill builtin return status; perform additional validation on brace expansion sequence expressions 2025-02-12 11:18:16 -05:00
Chet Ramey 3cfc255efe fix error return from wait builtin in a subshell when there are no children of this shell 2025-02-10 09:27:45 -05:00
Chet Ramey 0390b4354a posix change for undoing redirections after failed exec; change readline to set lines and columns after SIGTSTP/SIGCONT 2025-01-28 10:15:16 -05:00
Chet Ramey 25e213a551 taking the length of an unset variable subscripted with anything but @ or * is a fatal error; quote results of u prompt expansion; posix mode changes for exiting on -e when in a shell function; fix readline redisplay issue when bold prompt spans multiple lines 2025-01-24 11:21:16 -05:00
Chet Ramey 42c49d621d fix issue with internally quoting multibyte characters; the let builtin now suppresses additional array subscript expansion; small change to how readline export-completions displays filenames; new loadable builtin to do floating-point arithmetic 2025-01-17 11:41:49 -05:00
Chet Ramey 2ea356081d documentation updates; test suite updates to reduce extraneous diff output; don't export BASHOPTS into running tests 2025-01-09 16:13:16 -05: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 bb56d620e0 more documentation updates; fix two issues when displaying readline completions; fix another use-after-free error with readline undo lists 2024-12-13 09:51:46 -05:00
Chet Ramey 5b239ebbd2 another set of documentation updates; fix readline problem with history entry undo list corruption 2024-12-10 11:43:08 -05:00
Chet Ramey 49c2670226 add warning message for null arg to printf %d; update command -v help string; Makefile updates to uninstall directories 2024-11-26 11:44:30 -05:00
Chet Ramey 22417e7881 new readline command `export-completions'; update documentation; update translations with new strings; Makefile updates 2024-11-21 10:31:38 -05:00
Chet Ramey fa68e6da80 More Makefile updates; updates for bash-5.3-beta 2024-11-15 11:15:23 -05:00
Chet Ramey b116cfe57d fix for readline redisplay issue in C locale; fix for small memory leak in termcap replacement library; updates to formatted documentation; fix problem with distclean and y.tab.h; Makefile clean targets updates 2024-11-08 11:13:57 -05:00
Chet Ramey 0075715b29 changes to non-incremental search implementation for consistency with incremental search; fix for readline unsetting rl_eof_found; minor man page updates 2024-11-04 17:51:50 -05:00
Chet Ramey bf093e31ae final set of documentation updates; documentation directory cleanups 2024-11-02 14:50:28 -04:00
Chet Ramey 4917f2859c fixes for a couple of autoconf macros; update exit builtin for POSIX interp 1602; include more info in EOF error message when parsing compound command; update Makefiles by removing some variables, initializing others; update dependencies on version.h 2024-10-28 15:05:35 -04:00
Chet Ramey ee3b91dfd9 do not require leading . for rl color prefix etension; fix for isearch in single-byte locales; next set of doc updates (SIGNALS); add warning for invalid job id; allow function names to be non-identifiers in posix mode 2024-10-26 12:39:17 -04:00
Chet Ramey 474743f2da next set of documentation updates (word splitting), rearrange a test in readline's tilde expansion to avoid touching uninitialized data 2024-10-22 15:40:46 -04:00
Chet Ramey 261c6e8cc6 next set of documentation fixes: update formatting, make filename formatting consistent, typeset the name readline consistently 2024-10-18 12:19:48 -04:00
Chet Ramey 3ed028ccec next set of documentation updates (job control); fix read timeout problem; fix bash-source-fullpath default; brace expansion integer overflow fix; fix for help output for loadable builtins 2024-10-15 10:02:17 -04:00
Chet Ramey c7439376a3 next set of documentation updates, includes readline 2024-10-11 09:41:57 -04:00
Chet Ramey 9d1eb43fdd First set of documentation updates to man page, texinfo manual 2024-10-08 09:52:21 -04:00
Chet Ramey 254081c097 fix for set -e and compound commands inverting return status; tty fix for fg' from a key binding; posix mode wait -n' can return notified jobs; off-by-one error in history word tokenization; new configure option to set bash_source_fullpath 2024-09-27 12:00:46 -04:00
Chet Ramey 8d74195d7f in posix mode, don't notify about other terminated jobs if the jobs builtin is listing individual jobs; in posix mode, if `wait pid' finds pid in bgpids, remove it from there 2024-09-20 14:47:56 -04: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 2610d40b32 documentation updates; fix for null commands with redirection expansion errors; changes to job notifications for interactive shells sourcing files; fix underflow issue with word_top 2024-08-28 11:42:10 -04:00
Chet Ramey 2e01122fe7 add bindable readline variable `force-meta-prefix' to allow users to tell readline how their Meta key works 2024-08-23 15:08:31 -04:00
Chet Ramey e327891b52 fix for printf with broken strtold; fix readline reading specified number of multibyte characters; fix read builtin to deal with invalid utf-8 continuation character as delimiter; turn off -n if supplied at interactive shell invocation 2024-08-21 16:11:01 -04:00
Chet Ramey 772e7e760e fix issue with read builtin delimiter in invaild mutibyte char; fix crash if caller passes negative count argument to one of the history file writing functions 2024-08-09 10:01:38 -04:00
Chet Ramey e45ec6f76b new bash_source_fullpath shell option; documentation updates for wait builtin 2024-07-30 11:18:17 -04:00
Chet Ramey 5d53be184e update copyright dates; fix problem with ignoring completions 2024-07-16 09:38:09 -04:00
Chet Ramey a91b8b0773 doc changes for --rcfile; fix isearch undo list incompatibility with bash-5.2; non-inc search preserves undo lists in history entries 2024-07-06 12:54:57 -04:00
Chet Ramey dbff8b786e updates for several readline examples; update examples in readline documentation; update documentation for --rcfile option 2024-07-02 14:34:40 -04:00