Editline v1.16.0
Event loop callback support.
Changes
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
Fixes
- 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