Commit Graph

100 Commits

Author SHA1 Message Date
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 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 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 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 5edfaa45e7 third set of documentation updates: readline and history 2024-10-12 14:18:07 -04: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 dbff8b786e updates for several readline examples; update examples in readline documentation; update documentation for --rcfile option 2024-07-02 14:34:40 -04:00
Chet Ramey 6bd75b8d63 performance improvements for large history lists; fix problem with not unwind-protecting current command and name while executing 2024-02-14 09:43:03 -05:00
Chet Ramey 584a2b4c9e fix issue with reserved words in case clauses in command substitution; fix issue with double free in compound assignment 2024-01-09 16:00:15 -05:00
Chet Ramey 2eb9a3699b fix for subshells resetting job stats; new hook for rewriting part of completion word 2023-10-05 09:02:27 -04:00
Chet Ramey 1cc5a8f752 use size_t for string indices; document rl_reparse_colors 2023-09-22 09:50:33 -04:00
Chet Ramey 1d0c4ceb49 several fixes for printing readline key bindings and macro values containing characters with the high bit set 2023-08-08 10:49:46 -04:00
Chet Ramey 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 2023-08-01 09:59:09 -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 b91488b51c new readline application variable rl_full_quoting_desired; new programmable completion option "fullquote"; TIMEFORMAT now accepts precisions up to six digits 2023-06-16 12:49:11 -04:00
Chet Ramey d052bd6fd9 readline and completion fixes 2023-04-20 11:27:36 -04:00
Chet Ramey a46164736e new compgen -V option to store completions in an array 2023-04-18 10:25:47 -04:00
Chet Ramey 57d4dc15ff small asan fixes; size_t and other ANSI C changes; restore readline variables in compgen builtin 2023-03-27 16:38:37 -04:00
Chet Ramey d0bc56a325 allow async ignored signals to be reset to SIG_DFL; give rl_input_available_hook precedence in readline:rl_gather_tyi 2023-01-24 11:14:22 -05:00
Chet Ramey e9c75143a2 documentation updates 2022-09-20 10:16:23 -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 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 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 bf09dfc08d document new readline variables "active-region-start-color" and "active-region-end-color" 2022-02-11 09:12:39 -05:00
Chet Ramey b325b0e96b more changes for here-docs and $'...'; command optimization updates 2022-01-31 09:53:03 -05:00
Chet Ramey 8d3cecab33 changes to documentation to reduce gender-specific language; fix a seg fault in `fc' 2021-06-17 17:10:49 -04:00
Chet Ramey 2047e28584 add numeric arguments to bind -x commands and READLINE_ARGUMENT; minor fixes 2021-05-24 16:09:47 -04:00
Chet Ramey d128c3ddc1 command completion, key binding fixes 2021-04-19 09:40:14 -04:00
Chet Ramey 2fe2e8197e application-settable readline timeouts 2021-03-11 18:41:17 -05:00
Chet Ramey bdf37a2d4f commit bash-20200618 snapshot 2020-06-22 12:07:22 -04:00
Chet Ramey 5f49ef47d1 commit bash-20200323 snapshot 2020-03-27 10:30:38 -04:00
Chet Ramey 3a7c642e22 commit bash-20191213 snapshot 2019-12-16 09:43:38 -05:00
Chet Ramey 52e4696964 commit bash-20190524 snapshot 2019-05-28 10:02:55 -04:00
Chet Ramey f6388ab913 commit bash-20190306 snapshot 2019-03-07 12:08:22 -05:00
Chet Ramey 0712a90cd8 commit bash-20181123 snapshot 2018-12-03 10:29:56 -05:00
Chet Ramey 3d31a311da commit bash-20180921 snapshot 2018-09-25 09:54:29 -04:00
Chet Ramey c181950a89 commit bash-20180622 snapshot 2018-06-25 15:33:19 -04:00
Chet Ramey 12933b5bc7 commit bash-20180322 snapshot 2018-03-26 11:11:52 -04:00
Chet Ramey 03e8e2f9c8 commit bash-20171124 snapshot 2017-12-01 12:09:12 -05:00
Chet Ramey 787bb204f9 commit bash-20170421 snapshot 2017-05-01 15:45:48 -04:00
Chet Ramey 13eae87b0c commit bash-20160722 snapshot 2016-08-03 15:37:14 -04:00
Chet Ramey 7fa3190622 commit bash-20160715 snapshot 2016-07-23 10:04:54 -04:00
Chet Ramey f30e223041 commit bash-20160429 snapshot 2016-05-06 08:54:48 -04:00
Chet Ramey 3475994a81 commit bash-20160415 snapshot 2016-04-22 11:37:14 -04:00
Chet Ramey f1b255b12b commit bash-20160311 snapshot 2016-03-30 10:54:52 -04:00
Chet Ramey d345f817ff commit bash-20160129 snapshot 2016-02-09 09:03:09 -05:00
Chet Ramey ff7c092e19 commit bash-20150529 snapshot 2015-06-05 11:50:38 -04:00
Chet Ramey 60b80a1f45 commit bash-20150220 snapshot 2015-02-23 16:29:18 -05:00