summaryrefslogtreecommitdiff
path: root/lib/libedit
AgeCommit message (Collapse)Author
2023-06-21libedit: fix pkg-config to really provide readline directory as intendedwiz
2023-06-20install pkg-config file for libeditwiz
version number matches portable libedit --cflags output matches portable libedit, since users probably want the readline interface
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-05-30Fix some const qual (Piotr Pawel Stefaniak)christos
2023-04-25pass lint.christos
2023-04-24PR/57376: Jorge Giner: readline file completion does not quote; do the same.christos
2023-04-21Align types with readline-8.2 (wiz@)christos
2023-02-04Remove unused stuff, and limit the scope of some of the used ones.christos
(from des@freebsd)
2023-02-03Add a entry point for the complete function for FreeBSD compatibility with sh.christos
2023-02-03Don't clear the handle to el "sel" and set it earlier to prevent handlingchristos
a signal before the handle is set. (From: des at FreeBSD)
2022-12-06editrc(5): Markup fixesuwe
2022-12-02PR/57095: Yilei Yang: Change readline's replace_history_entry to not make a copychristos
of the string to replace since H_REPLACE already makes a copy (fixes memory leak)
2022-10-30improvements in malloc/free handling.christos
2022-09-21PR/57016: Ricky Zhou: declare lastidxchristos
2022-09-20PR/57016: Ricky Zhou: Revert to trimming the last newline instead of thechristos
first one so that multi-line commands work again.
2022-04-11libedit/chartype.h: portability fix for OSF/1tnn
2022-04-08PR/56778: Detlev Casanova: Missing rl_initialize call in rl_copy_textchristos
2022-03-12Fix filename autocompletion for strings like a\)bchristos
An escaped character should unconditionally be skipped together with the character that does the escaping. For example, in "a\)b" only the ")b" part was skipped but then the loop stopped at the "\" since it's one of the characters listed in word_break. (Piotr P. Stefaniak)
2022-02-19PR/56695: Walter Lozano: Correct declaration of hook functions.christos
2022-02-08libedit: fix typos, apply KNF to newly imported code (PR/56693)rillig
No binary change.
2022-02-08PR/56693: Walter Lozano: Add support for rl_delete_text and rl_set_keychristos
2022-01-31PR/56622: Walter Lozano: Improve readline compatibility by addingchristos
rl_readline_state support.
2022-01-29Add more refreshes from Walter Lozano. The readline example inchristos
http://www.mcld.co.uk/blog/2009/simple-gnu-readline-callback-style-example.html still does not work, but it is better.
2022-01-14Don't use __printflike, use the explicit attribute so that this works outsidechristos
NetBSD.
2022-01-14libedit: rl_message: annotate __printfliketnn
2022-01-11PR/56618: Walter Lozano: Improve libedit compatibility with readline bychristos
implementing: rl_copy_text, rl_erase_empty_line, rl_message, rl_on_new_line, rl_replace_line, rl_restore_prompt, rl_save_prompt
2021-09-26make flag unsigned to match prototype of the function usedchristos
2021-09-26- Completion should not add a quote at the end of the line to match anchristos
already quoted quote. (Piotr Stefaniak) - fix lint unconst warnings for strchr
2021-09-10libedit: fix indentationrillig
No change to the resulting object files.
2021-09-10Add an LLVM fuzzing wrapper for the portable libedit (Christian Holler)christos
2021-09-10rl_startup_hook should be called each time. From Carlos Henrique Lima Melarachristos
2021-09-09fix memory issues found by fuzzing (double frees and buffer overflows)christos
2021-09-09Add casts to appease conversions between wchar_t and wint_tchristos
2021-09-03Try to refactor this in order to correct some of the memory issueschristos
reported by Christian Holler.
2021-08-30Add a changes filechristos
2021-08-29^W is traditionally bound to ed-delete-prev-word and not kill-regionchristos
^R is traditionally bound to em-inc-search-next and not redisplay This is what mksh, zsh bash, readline do (Baptiste Daroussin)
2021-08-28Respect $EDITOR when execution one (Baptiste Daroussin)christos
2021-08-21PR/56370: mirabilos: libedit change from 2017 kills history in gdbchristos
2021-08-21Add more api to make gdb-11 happy (but not gdbtui as usual)christos
2021-08-15libedit: simplify calls to macro ADD_STRINGrillig
The lint comments CONSTCOND and LINTED were not necessary. It is simpler to just specify what to free. GCC optimizes free(NULL) to be a no-op. No functional change.
2021-08-15readline: fix lint warning about effective unconst castrillig
Calling strchr to avoid the syntactical unconst cast is not necessary here. A simple pointer assignment is enough. No functional change.
2021-08-15Add verb to sentence.wiz
2021-08-15Disable attempts to handle EINTR and non-blocking I/O by default. It ischristos
confusing to other programs and unexpected behavior. Reported by Ingo Schwarze. This behavior is now controlled with EL_SAFEREAD.
2021-08-15Add a LINTED comment... Why doesn't NOTREACHED work?christos
2021-07-31s/dependend/dependent/andvar
2021-07-14Via Jess Thrysoee, from Adrian Bunk: Fix libedit build on Linux/Alphachristos
Alpha is the only Linux architecture that has SIGINFO: https://sources.debian.org/src/manpages/5.10-1/man7/signal.7/#L522 But even on Alpha Ctrl-T is not supported, and therefore no VSTATUS: https://sources.debian.org/src/manpages/5.10-1/man3/termios.3/#L603-L608 For consistency check both signal existence and character existence
2021-05-05PR/56147: Miroslav Lichvar: Avoid memory leak if strdup fails.christos
2021-03-28Only unescape when we are quoting and don't add a space if we are quotingchristos
(we already did) (Piotr Stefaniak)
2021-03-28document the flagchristos
2021-03-28Pass the unescaped filename the the append function so it has to do less workchristos
(for example it can call stat(2) directly (Piotr Stefaniak)