Home | History | Annotate | Download | only in readline
History log of /src/lib/libedit/readline/readline.h
RevisionDateAuthorComments
 1.55  25-Apr-2023  christos pass lint.
 1.54  21-Apr-2023  christos Align types with readline-8.2 (wiz@)
 1.53  19-Feb-2022  christos PR/56695: Walter Lozano: Correct declaration of hook functions.
 1.52  08-Feb-2022  christos PR/56693: Walter Lozano: Add support for rl_delete_text and rl_set_key
 1.51  31-Jan-2022  christos PR/56622: Walter Lozano: Improve readline compatibility by adding
rl_readline_state support.
 1.50  14-Jan-2022  christos Don't use __printflike, use the explicit attribute so that this works outside
NetBSD.
 1.49  14-Jan-2022  tnn libedit: rl_message: annotate __printflike
 1.48  11-Jan-2022  christos 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
 1.47  21-Aug-2021  christos Add more api to make gdb-11 happy (but not gdbtui as usual)
 1.46  07-Jun-2019  christos PR/54280: rl_completer_quote_characters should be const for readline compat
 1.45  15-Feb-2019  christos PR/53983: Jonathan Perkins: Fix types for readline compatibility
 1.44  02-Dec-2018  christos Add a couple more readline compat functions.
 1.43  09-Jun-2018  christos branches: 1.43.2;
Provide more compatibility with readline headers; now python-3.6.5 works
when changing 'readline' -> 'edit' in setup.py.
Revert previous conditional setting of unbuffered.
 1.42  01-Sep-2017  christos branches: 1.42.2;
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.
 1.41  28-Oct-2016  christos export rl_done
 1.40  24-Aug-2016  christos more compatible with readline history functions.
 1.39  17-Feb-2016  christos branches: 1.39.2;
whitespace and header sorting changes (Ingo Schwarze). No functional changes.
 1.38  15-Feb-2016  christos OpenBSD readline.c rev. 1.13 2015/01/13 08:33:12 reyk
rl_set_keyboard_input_timeout() for readline 4.2 compat
 1.37  02-Jun-2015  christos remove duplicate declaration
 1.36  02-Jun-2015  christos Adjust API to a more modern readline (Ryo Onodera)
 1.35  26-May-2015  christos - fix types of rl_completion_entry_function and rl_add_defun
- call update pos before completion to refresh the screen
From Thomas Eriksson
 1.34  28-May-2013  christos expose rl_catch_signals and explain what we are doing.
 1.33  15-May-2012  christos branches: 1.33.2;
Add rl_completion_word_break_hook from:
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/\
5ec6a45fa762b8cbd0305ca06acb8780335a486a
 1.32  16-Sep-2010  christos branches: 1.32.6;
unbreak readline history.
 1.31  04-Aug-2010  christos provide rl_on_newline
 1.30  07-Sep-2009  christos apply apple patches from:
http://opensource.apple.com/source/libedit/libedit-11/patches/
 1.29  31-Aug-2009  christos delete defined(sun), it could be invaded in the user namespace. Suggested
by mrg@
 1.28  30-Aug-2009  christos use __sun || sun instead of _SunOS, from Jess Thrysoee
 1.27  09-Jul-2009  christos add stdio.h since we are using FILE. From Grant Erickson
 1.26  31-Mar-2009  christos implement RL_PROMPT_{START,END}_IGNORE
 1.25  12-Feb-2009  sketch More fixes for existing portability stuff.
 1.24  05-Feb-2009  christos branches: 1.24.2;
add rl_set_prompt
 1.23  29-Apr-2008  martin Convert to new 2 clause license
 1.22  04-Apr-2008  christos branches: 1.22.2;
Add rl_forced_update_display() from Gerry Swislow
 1.21  12-Aug-2007  christos patches from Axel Thimm
 1.20  27-May-2007  christos Add rl_completion_matches, fix remove_history
 1.19  24-Nov-2006  christos - Add more readline functions, enough for gdb-6.5
- Make el_get varyadic, and implement EL_GETTC.
- XXX: the EL_SETTC api will change in the future.
 1.18  21-Aug-2006  christos Change to a 3 clause copyright after permission of the holders.
 1.17  14-Jul-2005  christos PR/30747: David N. Williams: libedit is missing remove_history()
Added, please test.
 1.16  11-Jun-2005  christos PR/30500: Paul Shupak: Inconsistent definition of tilde_expand().
Provide a layer of indirection between the readline compatibility functions
and our internal implementation, so that we have the freedom to change the
function signature.
 1.15  10-Jun-2005  christos tilde expand should take a const argument.
 1.14  27-May-2005  agc Sync the alternative readline interface with reality:

+ the rl_callback_handler_install takes a pointer to a void function
which has one char * argument (it's called that way in the readline
emulation source, otherwise there's no way to pass the line buffer
to the function which processes the line when EOL is encountered)

+ provide a prototype for that function signature and use it

Makes the callback readline interface work now.
 1.13  12-Apr-2005  christos PR/29958: Peter Bex: add rl_variable_bind and rl_attempted_completion_over
 1.12  08-Sep-2004  christos branches: 1.12.2;
make rl_inhibit_completion visible.
 1.11  17-Jan-2004  christos portability fixes.
 1.10  27-Oct-2003  christos Make readline csh-like history work.
From Gerry Swislow <gerry at certif dot com>.
 1.9  16-Oct-2003  christos More libedit readline emulation functions from: Gerry Swislow
<gerry at certif dot com>
 1.8  26-Sep-2003  christos Implement enough of readline's 4.0 async mode to make gdb happy. This is
not complete yet, but it seems to work...
This required to introduce an unbuffered mode to el_gets(), but that was
a minor change.
 1.7  15-Sep-2003  tron Include "sys/ttydefaults.h" to get standard definition of "CTRL" macro
which avoids clash with custom one.
 1.6  15-Sep-2003  christos kludge around CTRL redef.
 1.5  14-Sep-2003  christos Match the stupid function pointer declarations with actual readline's 4.0.
This is gross.
 1.4  14-Sep-2003  christos Avoid pre-ansi warning.
 1.3  14-Sep-2003  christos - provide enough hooks to compile gdb-5.3
- fix el_get(e, EL_TERMINAL, (char **))
 1.2  18-Mar-2002  christos - constify; passes all gcc and lint strict checks.
- add config.h [Jason Evans], to create a portable version of libedit that
can be easily compiled on other OS's.
 1.1  05-Jan-2001  jdolecek Standard location of readline headers is /usr/include/readline/, so install
them there.
readline.h of libedit had to move to subdirectory 'readline', due to the way
BSD makefiles work; this is better than potentially fragile Makefile hacks
 1.12.2.1  28-May-2005  tron Pull up revision 1.14 (requested by agc in ticket #353):
Sync the alternative readline interface with reality:
+ the rl_callback_handler_install takes a pointer to a void function
which has one char * argument (it's called that way in the readline
emulation source, otherwise there's no way to pass the line buffer
to the function which processes the line when EOL is encountered)
+ provide a prototype for that function signature and use it
Makes the callback readline interface work now.
 1.22.2.1  18-May-2008  yamt sync with head.
 1.24.2.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.32.6.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.32.6.1  23-May-2012  yamt sync with head.
 1.33.2.1  23-Jun-2013  tls resync from head
 1.39.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.42.2.2  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.42.2.1  25-Jun-2018  pgoyette Sync with HEAD
 1.43.2.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed