History log of /netbsd-src/lib/libedit/histedit.h (Results 1 – 25 of 62)
Revision Date Author Comments
# 3ce4aa66 03-Feb-2023 christos <christos@NetBSD.org>

Add a entry point for the complete function for FreeBSD compatibility with sh.


# 65744508 08-Feb-2022 rillig <rillig@NetBSD.org>

libedit: fix typos, apply KNF to newly imported code (PR/56693)

No binary change.


# 001f54a4 08-Feb-2022 christos <christos@NetBSD.org>

PR/56693: Walter Lozano: Add support for rl_delete_text and rl_set_key


# b7e56637 11-Jan-2022 christos <christos@NetBSD.org>

PR/56618: Walter Lozano: Improve libedit compatibility with readline by
implementing:

rl_copy_text, rl_erase_empty_line, rl_message, rl_on_new_line,
rl_replace_line, rl_restore_prompt, rl_sa

PR/56618: Walter Lozano: Improve libedit compatibility with readline by
implementing:

rl_copy_text, rl_erase_empty_line, rl_message, rl_on_new_line,
rl_replace_line, rl_restore_prompt, rl_save_prompt

show more ...


# da69b70b 15-Aug-2021 christos <christos@NetBSD.org>

Disable attempts to handle EINTR and non-blocking I/O by default. It is
confusing to other programs and unexpected behavior. Reported by Ingo Schwarze.
This behavior is now controlled with EL_SAFEREA

Disable attempts to handle EINTR and non-blocking I/O by default. It is
confusing to other programs and unexpected behavior. Reported by Ingo Schwarze.
This behavior is now controlled with EL_SAFEREAD.

show more ...


# 27916d7c 01-Sep-2017 christos <christos@NetBSD.org>

PR/51517: Jay West: Tty settings not restored on exit
PR/51518: Jay West: prompt is interleaved with client output

Both these issues are caused by rl_restore_handler not DTRT; fix
it so that it kill

PR/51517: Jay West: Tty settings not restored on exit
PR/51518: Jay West: prompt is interleaved with client output

Both these issues are caused by rl_restore_handler not DTRT; fix
it so that it kills the internal libedit state completely. This is
inefficient, but it works.

Also fix:
1. add append_history()/H_NSAVE_FP
2. call the rl_startup_hook before printing the first prompt as documented.
callint it from rl_initialize breaks python, because the callback ends
up being invoked before the readline module is installed, and we end up
dereferencing a NULL pointer.
3. add el_resize_terminal.

With those changes, s/lreadline/ledit/g in python works.

show more ...


# 1364b603 19-Apr-2016 christos <christos@NetBSD.org>

From Ingo Schwarze:
- Put the data type el_rfunc_t into the public header <histedit.h>.
- Make el_read in struct editline an opaque pointer rather
than an embedded struct.
- Do not include "rea

From Ingo Schwarze:
- Put the data type el_rfunc_t into the public header <histedit.h>.
- Make el_read in struct editline an opaque pointer rather
than an embedded struct.
- Do not include "read.h" everywhere, but only in the two files
needing access to el_read, read.c and el.c.
- To functions that don't need more, pass the struct el_read_t *
rather than the full EditLine *.
- Of course, that means that read_init() can now fail from
memory exhaustion, but it's easy to clean up after that.

show more ...


# 22383670 17-Feb-2016 christos <christos@NetBSD.org>

whitespace and header sorting changes (Ingo Schwarze). No functional changes.


# bc4f01ce 16-Feb-2016 christos <christos@NetBSD.org>

- don't set _GNU_SOURCE. We are not supposed to make decisions for others.
- don't special-case wcsdup()
From Ingo Schwarze.


# e06822a7 18-Jun-2014 christos <christos@NetBSD.org>

Don't depend on weak aliases to define the vi "alias" expansion function,
provide an API instead to set it.


# 58ced3d7 11-May-2014 christos <christos@NetBSD.org>

Add a history function that takes a FILE pointer; needed for Capsicum.
From Eitan Adler


# 255f657e 12-Jul-2013 christos <christos@NetBSD.org>

Add a function to move the cursor.


# 40b42dfe 22-Jan-2013 christos <christos@NetBSD.org>

provide an el_init_fd function.


# a6b4b457 31-May-2012 christos <christos@NetBSD.org>

remove stdint.h; it is not used.


# a13cd756 28-Jul-2011 christos <christos@NetBSD.org>

kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.


# 7741aae9 28-Aug-2010 christos <christos@NetBSD.org>

setup a callback to be invoked on resize buffers so that readline can
reset rl_line_buffer which unfortunately some applications use it directly.


# a9dd944f 15-Apr-2010 christos <christos@NetBSD.org>

From Jess Thrysoee: add ifndef around def of _GNU_SOURCE


# 73eda9fe 03-Jan-2010 christos <christos@NetBSD.org>

rename historyw -> history_w for consistency.
add wide tst code and make it the default.


# dc8498be 31-Dec-2009 christos <christos@NetBSD.org>

- Document and enable wide character support.
- Fix read function compatibility.


# 0b9ae3fd 30-Dec-2009 christos <christos@NetBSD.org>

Fix wide build, test it, but don't turn it on yet.


# 34e53048 30-Dec-2009 christos <christos@NetBSD.org>

Wide character support (UTF-8) from Johny Mattsson; currently disabled.


# ea3813ed 07-Sep-2009 christos <christos@NetBSD.org>

apply apple patches from:
http://opensource.apple.com/source/libedit/libedit-11/patches/


# b627b61f 11-May-2009 christos <christos@NetBSD.org>

restore binary compatibility by providing new prompt functions that take
an extra literal character.


# c8754a5b 31-Mar-2009 christos <christos@NetBSD.org>

Implement literal prompt sequences. Now someone can implement
RL_PROMPT_START_LITERAL/RL_PROMPT_END_LITERAL :-)


# c51877c3 21-Feb-2009 christos <christos@NetBSD.org>

back out all prompt changes. they are not needed.


123