Commit Graph

121 Commits

Author SHA1 Message Date
Chet Ramey a23c863e75 fix for crash when executing PROMPT_COMMAND; fix for readline crash when rl_save_prompt is not followed by rl_set_prompt; fix for bash C-xg key binding listing completions; fix for precision overflow issue in printf; fix for readline non-multibyte builds 2025-07-09 16:33:00 -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 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 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 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 5576c26da8 track initial line number of {'', (', and `[[' compound commands; don't have readline check for signals while it's handling a signal; fix for malformed printf time format specifier 2024-09-04 17:26:15 -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 5e28a1813c size_t changes for multibyte characters; fix for running debug trap in asynchronous pipeline; remove support for precomputed cache files for cross-compiling; more size_t and ssize_t changes to avoid overflow 2024-06-28 14:16:29 -04:00
Chet Ramey f65ed506d4 fix issue with interupting timed functions; fix for parsing comsubs inside arith for commands; allow break and continue inside arith for expressions; fix for case-insensitive completion with multibyte chars; fix some minor memory leaks; reset read buffer if it returns partial results on EINTR; fix for undo in execute-named-command 2024-06-03 09:09:11 -04:00
Chet Ramey b3d8c8a4e7 change some error messages so the format string isn't the return value from gettext(); work around macos problem with gettext() in child processes; don't try to set tty state while running a trap; don't default to trying enable -f file if the shell is restricted; note that configure now supports --enable-year2038 2024-05-13 11:36:34 -04:00
Chet Ramey 9c430f6bf3 enable MULTIPLE_COPROCS; bind -p/-P can print out bindings for individual command names; changes to Makefile to remove MFLAGS; simplify build tools by assuming C90 compilation environment for better cross-compiling support 2024-04-26 16:51:04 -04:00
Chet Ramey 4f2595eff3 more fixes for using bool and the stdckdint functions for integer overflow; another update to test from coreutils-9.2 changes; fix memleak in parser state on parse error; Makefile changes for macOS 2024-03-28 12:16:15 -04:00
Chet Ramey 8af5a8e0ca change to test builtin for parenthesized expressions when there are more than four arguments to test; tentative change to @A transformation to output declare commands for local variables 2024-03-25 10:32:07 -04:00
Chet Ramey b1e7f68032 add stdbool.h detection and replacement for bool; use ckd_mul/ckd_add/ckd_sub where appropriate; update overflow detection in brace expansion and printf builtin 2024-03-18 11:45:39 -04:00
Chet Ramey 167a9248f9 add more overflow handling for printf builtin; start incorporating C23 stdckdint ; rework PRIdMAX replacements 2024-03-15 12:55:39 -04:00
Chet Ramey bf944fe91f fixes to printf for wide characters in single-byte locales; fixes to job notification for -c command shells 2024-03-13 09:33:32 -04:00
Chet Ramey dc97ded434 fix nofork comsub overwriting currently executing command; free readline undo list on signal in callback mode; avoid disabling readonly when assigning variables from the environment; fix bug with shell-expand-line and $'...' quoting inside command substitutions; add `bash-vi-complete' as bindable command name 2024-02-09 10:30:02 -05:00
Chet Ramey 35465406cd fix for cd when curent directory doesn't exist; fix wait -n in posix mode to delete any job that it returns; fix some variables where readonly can be circumvented; fix some overflows in printf 2024-02-02 14:39:50 -05:00
Chet Ramey b30389070a renamed several functions beginning with legal_; changed all callers 2023-11-06 09:26:02 -05:00
Chet Ramey b348b871b4 small change to brace expansion to inhibit some error messages; changes to printf builtin for precision and field widths 2023-10-23 09:50:02 -04:00
Chet Ramey 32826f717d fix for race condition with process creation and terminal process group; changes to printf builtin for multibyte characters 2023-09-11 10:09:22 -04:00
Chet Ramey 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 2023-09-07 17:09:24 -04:00
Chet Ramey f6a78e24d8 fixes for $LINENO in multi-line simple commands; printf out-of-range values now cause a non-zero return status 2023-07-28 11:35:44 -04:00
Chet Ramey 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 2023-07-19 15:33:45 -04:00
Chet Ramey 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 2023-05-31 10:40:39 -04:00
Chet Ramey d267701a91 more ANSI/ISO C changes; start on converting the unwind-protect framework to ANSI C 2023-03-29 15:43:46 -04:00
Chet Ramey 727e92c806 more ANSI/ISO C cleanups 2023-03-28 16:34:56 -04:00
Chet Ramey 315095ad7f printf changes: %q/%Q altform, %ls/%lc wide character strings; posix mode changes for function execution; allow <( and >) in function names 2023-02-06 10:02:16 -05:00
Chet Ramey 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 2023-01-31 10:20:31 -05:00
Chet Ramey 8fd8cd8f7b set of portability changes from lint/asan/ubsan 2023-01-07 13:18:20 -05:00
Chet Ramey a61ffa78ed second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword 2023-01-03 10:23:11 -05:00
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 e6dc31ac13 changes for multibyte characters with intermediate state; small change to readline forced redisplay 2022-09-28 11:00:34 -04:00
Chet Ramey 42768befc0 fix error message when completing backquote command substitution; fix test builtin with double negation 2022-06-28 16:15:24 -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 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 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 7b024db83e more minor changes for builtins and array subscript expansion; fix to `wait -n' 2021-05-17 12:03:03 -04:00
Chet Ramey a30f513fc4 more changes to handle @ and * as associative array keys 2021-05-13 14:49:18 -04:00
Chet Ramey 046d0cc93b allow builtins to assign to associative arrays using @ or * as keys; fixes to glob completion of command words 2021-04-28 11:30:31 -04:00
Chet Ramey e58dc557e2 commit bash-20201226 snapshot 2020-12-30 13:17:27 -05:00
Chet Ramey ab309487d5 commit bash-20200605 snapshot 2020-06-05 14:34:49 -04:00
Chet Ramey 11bb038e13 commit bash-20200124 snapshot 2020-01-27 09:25:05 -05:00
Chet Ramey befdddcbf1 commit bash-20190328 snapshot 2019-04-01 15:44:20 -04:00
Chet Ramey 5fab8dbf24 commit bash-20180928 snapshot 2018-10-01 16:19:21 -04:00
Chet Ramey 82b4156ab5 commit bash-20180831 snapshot 2018-09-04 16:43:40 -04:00
Chet Ramey 1ebae4666c commit bash-20170915 snapshot 2017-09-20 09:30:30 -04:00
Chet Ramey 68fd3b7615 commit bash-20170707 snapshot 2017-07-10 14:57:09 -04:00