Skip to content

Releases: troglobit/editline

Editline v1.17.1

23 Feb 18:10
Compare
Choose a tag to compare

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

Editline v1.17.0

05 Jan 08:55
Compare
Choose a tag to compare

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

Editline v1.16.1

07 Jun 10:06
Compare
Choose a tag to compare

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

Editline v1.16.0

16 Sep 08:39
Compare
Choose a tag to compare

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

Editline v1.15.3

06 Sep 23:31
Compare
Choose a tag to compare

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.

Editline v1.15.2

06 Jun 18:11
Compare
Choose a tag to compare

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

Editline v1.15.1

16 Nov 20:20
Compare
Choose a tag to compare

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

Editline v1.15.0

10 Sep 11:39
Compare
Choose a tag to compare

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