Editline Versions Save

A small replacement for GNU readline() for UNIX

1.17.1

4 years ago

Fixes

  • 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

4 years ago

Changes

  • Simple multi-line support by Dima Volynets, @dvolynets

Fixes

  • Fix return value from read_history() and write_history(), could return errno instead of EOF to indicate error. Now both functions have uniform return values on error
  • Handle internal realloc() errors better. Now memory is not leaked if realloc() fails
  • Fix possible NULL pointer dereference in key binding lookup function

1.16.1

4 years ago

Changes

  • Major updates to the editline.3 man page
  • Cleanup of examples cli.c and fileman.c
  • Add example of hidden input prompt to cli.c

Fixes

  • 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

5 years ago

Event loop callback support.

Changes

  • rl_unintialize(), new function to free all memory, by Claus Fischer
  • rl_insert_text(), new GNU Readline compat function
  • rl_refresh_line(), new GNU Readline compat function
  • rl_callback_*(), alternate interface to plain readline() for event loops. Modeled after the GNU Readline API
  • rl_completion_entry_function, and rl_attempted_completion_function are two new GNU Readline compat user hooks for the completion framework
  • rl_completion_matches() and rl_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 of 0, and -1 instead of NULL, where applicable
  • Misc. minor Coverity Scan fixes
  • Misc. minor fixes to testit.c example code
  • Add -Wextra to std CFLAGS
  • Check fclose() return value in in write_history() and read_history()
  • Initialize global variables and reset to NULL on free()
  • 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

6 years ago

Bug fix release.

Changes

  • Refactor all enable/disable configure options, same problem as in #7

Fixes

  • Fix #7: --enable-termcap configure option does not work, wrongly enables termcap by default.

    Also, check for terminfo as well, when --enable-termcap is selected.

1.15.2

7 years ago

Bug fixes and minor feature creep in pkg-config support.

Changes

  • Prevent mangling of symbols when linking with C++. Patch courtesy of Jakub Pawlowski
  • Add libeditline.pc for pkg-config

Fixes

  • Do not assume a termcap library exists, check for tgetent() in curses, ncurses, tinfo and termcap libraries
  • Call tty_flush() when user calls rl_forced_update_display() to prevent screen becoming garbled. Patch by Jakub Pawlowski

1.15.1

8 years ago

Bug fixes only.

Changes

  • Update README with origin of this version of editline

Fixes

  • 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

8 years ago

Changes

  • 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 the configure script when working from GIT. This does not affect distributed tarballs

Fixes

  • 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 as sizeof(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