All notable changes to the project are documented in this file.
1.17.1 - 2020-02-23
- Fix #38: Fix for multiline representing as one line
- Fix packaging, missing files in libeditline1, regression from 1.16.0
- Fix packaging, update to latest std version
- Fix formatting of function names in man page
- Restore tar.gz distribution, for usability on systems that do not have xz in their default install
1.17.0 - 2020-01-05
- Simple multi-line support by Dima Volynets, @dvolynets
- Fix return value from
read_history()
andwrite_history()
, could returnerrno
instead ofEOF
to indicate error. Now both functions have uniform return values on error - Handle internal
realloc()
errors better. Now memory is not leaked ifrealloc()
fails - Fix possible NULL pointer dereference in key binding lookup function
1.16.1 - 2019-06-07
- Major updates to the
editline.3
man page - Cleanup of examples
cli.c
andfileman.c
- Add example of hidden input prompt to
cli.c
- Fix #20:
configure --disable-eof
does not bite - Fix #23: Make Ctrl-L clear the screan instead of starting a new line
Like Ctrl-D, which exits, Ctrl-L only clears the screen when the line is empty and the cursor is at the start of the line, otherwise Ctrl-L will redraw/refresh the current line. - Fix #24: Fix behavior when TTY is narrower than column width, by Will Dietz
- Fix #25: Avoid continuously duplicate commands in history
- Fix #31: Aborting i-search with Ctrl-C should not generate signal
1.16.0 - 2018-09-16
Event loop callback support.
rl_unintialize()
, new function to free all memory, by Claus Fischerrl_insert_text()
, new GNU Readline compat functionrl_refresh_line()
, new GNU Readline compat functionrl_callback_*()
, alternate interface to plainreadline()
for event loops. Modeled after the GNU Readline APIrl_completion_entry_function
, andrl_attempted_completion_function
are two new GNU Readline compat user hooks for the completion frameworkrl_completion_matches()
andrl_filename_completion_function()
are two new GNU Readline compat functions- Add new example:
fileman.c
from GNU Readline to demonstrate the level of compatibility of the revamped completion framework - Add support for Ctrl-Right and Ctrl-Left, forward/backward word
- Add .deb package to official release target
- Fixed header guards, avoid using leading
__
- Spell check fixes
- Remove duplicate code in history check
- Use
NULL
instead of0
, and-1
instead ofNULL
, where applicable - Misc. minor Coverity Scan fixes
- Misc. minor fixes to
testit.c
example code - Add
-Wextra
to stdCFLAGS
- Check
fclose()
return value in inwrite_history()
andread_history()
- Initialize global variables and reset to
NULL
onfree()
- Fix off-by-one in forward kill word, avoid deleting too much
- Skip (or kill) leading whitespace when skipping (or killing) forwards
1.15.3 - 2017-09-07
Bug fix release.
- Refactor all enable/disable configure options, same problem as in #7
-
Fix #7:
--enable-termcap
configure option does not work. The script enabled termcap by default rather than the other way around.Also, check for terminfo as well, when
--enable-termcap
is selected.
1.15.2 - 2016-06-06
Bug fixes and minor feature creep in pkg-config
support.
- Prevent mangling of symbols when linking with C++. Patch courtesy of Jakub Pawlowski
- Add
libeditline.pc
forpkg-config
- Do not assume a termcap library exists, check for
tgetent()
in curses, ncurses, tinfo and termcap libraries - Call
tty_flush()
when user callsrl_forced_update_display()
to prevent screen becoming garbled. Patch by Jakub Pawlowski
1.15.1 - 2015-11-16
Bug fixes only.
- Update README with origin of this version of editline
- Fix build system, don't force automake v1.11, require at least v1.11
- Fix build problem with examples using
--enable-termcap
1.15.0 - 2015-09-10
- Add support for
--disable-eof
and--disable-sigint
to disable default Ctrl-D and Ctrl-C behavior - Add support for
el_no_hist
to disable access to and auto-save of history - GNU readline compat functions for prompt handling and redisplay
- Refactor: replace variables named 'new' with non-reserved word
- Add support for Travis-CI, continuous integration with GitHub
- Add support for Coverity Scan, the best static code analyzer, integrated with Travis-CI -- scan runs for each push to master
- Rename NEWS.md --> ChangeLog.md, with symlinks for make install
- Attempt to align with http://keepachangelog.com/ for this file
- Cleanup and improve Markdown syntax in README.md
- Add API and example to README.md, inspired by libuEv
- Removed generated files from version control. Use
./autogen.sh
to generate theconfigure
script when working from GIT. This does not affect distributed tarballs
- Fix issue #2, regression in Ctrl-D (EOF) behavior. Regression introduced in 1.14.1. Fixed by @TobyGoodwin
- Fix memory leak in completion handler. Found by Coverity Scan.
- Fix suspicious use of
sizeof(char **)
, same assizeof(char *)
but non-portable. Found by Coverity Scan - Fix out-of-bounds access in user key binding routines Found by Coverity Scan.
- Fix invisible example code in man page
1.14.2 - 2014-09-14
Bug fixes only.
- Fix
el_no_echo
bug causing secrets to leak when disabling no-echo - Handle
EINTR
in syscalls better
1.14.1 - 2014-09-14
Minor fixes and additions.
- Don't print status message on
stderr
in key binding funcions - Export
el_del_char()
- Check for and return pending signals when detected
- Allow custom key bindings ...
- Bug fixes ...
1.14.0 - 2010-08-10
Major cleanups and further merges with Debian editline package.
- Merge in changes to
debian/
fromeditline_1.12-6.debian.tar.gz
- Migrate to use libtool
- Make
UNIQUE_HISTORY
configurable - Make scrollback history (
HIST_SIZE
) configurable - Configure options for toggling terminal bell and
SIGSTOP
(Ctrl-Z) - Configure option for using termcap to read/control terminal size
- Rename Signal to
el_intr_pending
, from Festival speech-tools - Merge support for capitalizing words (
M-c
) from Festival speech-tools by Alan W Black mailto:awb()cstr!ed!ac!uk - Fallback backspace handling, in case
tgetstr("le")
fails
- Cleanups and fixes thanks to the Sparse static code analysis tool
- Merge
el_no_echo
patch from Festival speech-tools - Merge fixes from Heimdal project
- Completely refactor
rl_complete()
andrl_list_possib()
with fixes from the Heimdal project. Userl_set_complete_func()
andrl_set_list_possib_func()
. Default completion callbacks are now available as a configure option--enable-default-complete
- Memory leak fixes
- Actually fix 8-bit handling by reverting old Debian patch
- Merge patch to improve compatibility with GNU readline, thanks to Steve Tell from way back in 1997 and 1998
1.13.0 - 2010-03-09
Adaptations to Debian editline package.
- Major version number bump, adapt to Jim Studt's v1.12
- Import
debian/
directory and adapt it to configure et al. - Change library name to libeditline to distinguish it from BSD libedit
0.3.0 - 2009-02-08
- Support for ANSI arrow keys using configure --enable-arrow-keys
0.2.3 - 2008-12-02
- Patches from Debian package merged
- Support for custom command completion
0.1.0 - 2008-06-07
- First version, forked from Minix current 2008-06-06