Commit Graph

201 Commits

Author SHA1 Message Date
Joachim Nilsson
119db55bf2 Bump version for v1.15.3 bug fix release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-09-07 01:26:31 +02:00
Joachim Nilsson
2542f21ff1 Add support for building .deb packages
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-09-07 01:25:47 +02:00
Joachim Nilsson
36663d6acf Run distcheck in release target, verifies distribution files
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-09-07 01:25:25 +02:00
Joachim Nilsson
866f25ce10 Update ChangeLog(s) for v1.15.3 bug fix release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-09-07 01:25:01 +02:00
Joachim Nilsson
01f684ea19 debian/changelog: Add missing releases
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-09-07 01:24:38 +02:00
Joachim Nilsson
dd0c1dc2a4 debian/: Simplify rules file, greatly, add multi-arch support
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-09-07 01:22:46 +02:00
Joachim Nilsson
30e33b74fb Remove old compat symlinks, keep new Markdown versions
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-09-07 01:22:31 +02:00
Joachim Nilsson
b8c6a5b1e2 configure: Refactor other enable/disable checks like --enable-termcap
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-03-30 00:36:21 +02:00
Joachim Nilsson
ee70c8339c Followup to #7: Check also for terminfo, requested by @rofl0r
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-03-30 00:35:13 +02:00
Joachim Nilsson
16c96eda10 Fix #7: Fix configure --enable-termcap
Improper handling of AC_ARG_ENABLE() causes the configure script to
always enable CONFIG_USE_TERMCAP.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-03-29 22:06:56 +02:00
Joachim Nilsson
0d76f006b5 TODO: Ideas for how to use editline in an event loop
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-03-02 23:36:40 +01:00
Joachim Nilsson
4d93e85af7 debian/.gitignore: New file, ignore built files
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-01-21 19:37:13 +01:00
Joachim Nilsson
387a8b31ba .gitignore: Update, add *.pc file
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2017-01-21 19:36:44 +01:00
Joachim Nilsson
2a3575495a Add make release target for simplified maintenance
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-06 20:09:47 +02:00
Joachim Nilsson
8aa36184e6 Update ChangeLog and bump version for v1.15.2 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-06 20:04:35 +02:00
Joachim Nilsson
0a8f2ef420 Add pkg-config libeditline.pc file
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-06 19:56:48 +02:00
Joachim Nilsson
8078ff69cc Add ABI version info for libtool, start with 0.0.0
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-06 19:56:08 +02:00
Joachim Nilsson
6db7c7d440 Minor cleanup and simplification of build system
- Move 'foreign' declaration from Makefile.am's to configure script
- Move CFLAGS from configure script to src/Makefile.am
- Remove faltering license blurb at top of configure script, no need
  for this since we a) do not care, b) falls under project license

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-01 07:26:16 +02:00
Joachim Nilsson
e02339c3ae Do not assume -ltermcap, check for tgetent() instead
This is a followup patch for issue #8.  When the user elects
to enable Termcap checks for window resizing we need to check
what library on the system provides this functionality.  Do
not assume -ltermcap, but instead check for tgetent() in all
possible libraries.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-06-01 07:26:09 +02:00
Joachim Nilsson
f66e8cc151 Merge pull request #10 from rofl0r/patch-1
README.md: libedit depends on libtermcap
2016-05-31 23:27:53 +02:00
rofl0r
782ce4a7a9 README.md: libedit depends on libtermcap
netbsd's libedit only relies on functions offered by the traditional
libtermcap (such as tgetent()), which are *usually* (i.e. on the
majority of modern UNIX systems) supplied by ncurses, but there
exist standalone versions as well which can be used instead.
2016-05-31 13:42:10 +01:00
Joachim Nilsson
059d97d7a9 Remove Emacs version-control handling
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-05-07 22:42:24 +02:00
Jakub Pawlowski
edc38768ff Add tty_flush() to rl_forced_update_display()
Forcing update should flush, otherwise weird stuff happen when writing
to console asynchronously (cursor is moved, text is not displayed).

Signed-off-by: Jakub Pawlowski <jakubpawlo@gmail.com>
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-01-28 19:46:53 +01:00
Joachim Nilsson
59a2db7217 Test build with both GCC and Clang (LLVM)
- Test build with both GCC and Clang (LLVM)
- Only run Coverity Scan on dev branch, not master

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-01-27 10:12:25 +01:00
Joachim Nilsson
ba005dc0d0 Update ChangeLog, give Jakub proper credit with correct last name
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-01-27 09:49:33 +01:00
Joachim Nilsson
a1002f6984 Update .gitignore with generated files
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-01-27 09:32:19 +01:00
Joachim Nilsson
7a0c292a82 Bump version for v1.15.2 release cycle
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-01-27 09:24:23 +01:00
Jakub Pawlo
91398ceb34 Prevent mangling of symbols when linking with C++
Signed-off-by: Jakub Pawlo <jakubpawlo@gmail.com>
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-01-27 09:23:14 +01:00
Joachim Nilsson
3dbeaa0637 Fix link to version
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-11-16 21:21:44 +01:00
Joachim Nilsson
2f08585884 Fix heading
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-11-16 21:21:00 +01:00
Joachim Nilsson
8a40df481b Update ChangeLog and bump version for v1.15.1 release.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-11-16 21:17:17 +01:00
Joachim Nilsson
8439f426fc Fix examples FTBFS for --enable-termcap builds
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-10-27 19:50:01 +01:00
Joachim Nilsson
cbb5dd037e Update origin section upon questions from Peter Rosin
Thank you Peter for reminding me to update this!

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-10-22 01:02:25 +02:00
Joachim Nilsson
7a9e467251 Don't force automake v1.11, require at least v1.11
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-25 15:10:46 +02:00
Joachim Nilsson
6ad3cc1df5 Bump version and update ChangeLog for v1.15.0 release.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 13:26:03 +02:00
Joachim Nilsson
7abfadd7e6 Attempt to work around slightly bogus Coverity warnings.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 13:06:39 +02:00
Joachim Nilsson
9fbad9dbff Fix build problems after removal of generated files.
Restore custom INSTALL file, accidentally removed in 295f901.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 12:44:19 +02:00
Joachim Nilsson
474b9a6548 Instruct Travis-CI to run autogen.sh before configure
After removal of autoconf & automake generated friends we must run
./autogen.sh before configre.

Also, use docker to speed up builds (we don't need root).

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 12:00:02 +02:00
Joachim Nilsson
9865d7fe9f Update ChangeLog and fix Markdown syntax for links.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 11:18:00 +02:00
Joachim Nilsson
e35b8f2fd0 Rename CHANGELOG.md --> ChangeLog.md
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 11:09:37 +02:00
Joachim Nilsson
c10241745c Fix invalid Markdown syntax in README, and minor improvements.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 11:07:14 +02:00
Joachim Nilsson
295f901800 Remove generated files from autoconf et al, run ./autogen.sh instead.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-10 10:58:09 +02:00
C0deH4cker
a1ca0d46ac Include <sys/ioctl.h> before calling ioctl() for Clang on OX X
At least when building with Clang on OS X, there is an error on
[line 1120 of editline.c][err] caused by using the `ioctl()` function
without first declaring it by including its header `<sys/ioctl.h>`.
Adding this line makes the build complete without error.

[err]: https://github.com/troglobit/editline/blob/master/src/editline.c#L1120

Signed-off-by: C0deH4cker <c0deh4cker@gmail.com>
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-09-08 08:23:59 +02:00
Joachim Nilsson
256e288331 Update CHANGELOG and README slightly, bump version to 1.15.0-rc1
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-04-06 15:24:34 +02:00
Joachim Nilsson
9c163ff72b Rename define CONFIG_ANNOYING_NOISE --> CONFIG_TERMINAL_BELL
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-04-06 15:24:28 +02:00
Joachim Nilsson
6a8556733a Add support for disabling default SIGINT and EOF behavior.
This patch adds support for `--disable-eof` and `--disable-sigint` to
the Editline configure script.  With either of these two switches the
`tty_special()` function bypasses the special TTY checks making it
possible to bind Ctrl-C and Ctrl-D to custom callbacks.  This can be
useful if you want to emulate a Cisco style CLI rather than traditional
UNIX.

The user can of course also redefine the VINTR and VEOF special terminal
control characters, but these configure script switches may be easier to
use for some.

Also, the CLI example has been updated to bind Ctrl-D, Ctrl-C and Ctrl-Z
for testing purposes.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-04-06 14:53:47 +02:00
Toby Goodwin
a2bc89db64 Allow Ctrl-D to return EOF
This commit reverts parts of 111fc5e, which originally was intended to
add support for custom key bindings at pos 0, or more specifically, to
be able to change the behavior of Ctrl-D.  However this completely broke
compatibility with the original EOF behavior.

Signed-off-by: Toby Goodwin <toby@paccrat.org>
Signed-off-by: Joachim Nilsson <joachim.nilsson@westermo.se>
2015-04-06 14:46:57 +02:00
Joachim Nilsson
256e6106c7 Minor touch-up.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-02-03 21:34:15 +01:00
Joachim Nilsson
426a32f771 Convert TODO to Markdown format.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-02-03 21:32:26 +01:00
Joachim Nilsson
33ff6d5e0e Rename TODO --> TODO.md and add compat symlink.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-02-03 21:25:31 +01:00