Joachim Nilsson
02ea37e4de
Clarify code when CONFIG_ANSI_ARROWS is selected.
2010-07-24 02:52:51 +02:00
Joachim Nilsson
c7b78df006
Fix lingering bug, post incrementing pointers is almost never a good idea.
2010-07-24 02:46:04 +02:00
Joachim Nilsson
5a8ad742d9
Adding -Wcast-qual revealed some more interesting casts.
2010-07-24 02:39:45 +02:00
Joachim Nilsson
522e534448
Remove unnecessary casts.
2010-07-24 02:21:28 +02:00
Joachim Nilsson
d4aa5ac293
Minor cleanup
2010-07-24 02:15:18 +02:00
Joachim Nilsson
a848011073
Move strdup() fallback implementation to platform code.
2010-07-24 02:02:56 +02:00
Joachim Nilsson
ceb1995733
Add fallback backspace in case tgetstr("le") fails.
2010-07-24 02:02:14 +02:00
Joachim Nilsson
98b846c8b1
Revert function pointers for rl_complete() and rl_list_possib() introduced in 0.2.2.
...
Instead merge afd8b4de9dca8ec6afc3 from http://github.com/heimdal/heimdal.git project.
This lets rl_complete() and rl_list_possib() become wrapper functions calling a set of
function pointers, set using rl_set_complete_func() and rl_set_list_possib_funct().
Each wrapper has a fallback to do filename completion, which in turn can be disabled
by leaving out --enable-default-complete from the configure line.
This change, admittedly quite intrusive for a library, is a better implementation in
many ways. For one it is much more readable, but it also enables further adoption of
other editline forks as well as a simpler implementation of GNU Readline function
pointers rl_completion_entry_function and rl_attempted_completion_function at a later
stage.
My apologies to everyone for whom this change breaks backwards compatibility. For
help on converting your code, please see examples/cli.c.
2010-07-24 00:50:40 +02:00
Joachim Nilsson
511a1a65a4
Nuke NEW, DISPOSE, RENEW, and COPYFROMTO macros, by Johan Danielsson
...
This is a manual merge of 98c988dd10888cfb72c4 from http://github.com/heimdal/heimdal
2010-07-23 11:01:51 +02:00
Joachim Nilsson
64219dc1f0
\? -> ? by Johan Danielsson of Heimdal project http://github.com/heimdal/heimdal
2010-07-23 09:54:08 +02:00
Joachim Nilsson
b51dad6408
Minor fixes from changeset a5f54865d41c3f181a06 from Heimdal project http://github.com/heimdal/heimdal
2010-07-23 09:46:49 +02:00
Joachim Nilsson
cc1fd1e9dc
Add more TODO items.
2010-07-20 00:18:51 +02:00
Joachim Nilsson
536dcacb06
Rename and globalize internal data structures to make more similar to GNU Readline
2010-07-20 00:18:20 +02:00
Joachim Nilsson
009d3f0568
Make UNIQUE_HISTORY configurable, remove TODO items and old Minix Makefile
2010-07-19 04:13:11 +02:00
Joachim Nilsson
60245e5e51
Make sure to only export if new --enable-termcap is set.
2010-07-19 03:33:39 +02:00
Joachim Nilsson
576e437290
Bump version to 1.14.0-rc1
2010-07-18 19:00:13 +02:00
Joachim Nilsson
6d2f4c99a3
Add configurable support for using termcap library for terminal size.
2010-07-18 18:57:07 +02:00
Joachim Nilsson
8b85bab216
Improve handling of ioctl() errors, cleanup and comment on ordering.
...
The ordering of alternative rl_ttyset() implementations is important.
We have chosen to place the most common, most portable, code first
and then in lesser order. Ending with the sgtty.h based code, which
I cannot test on GNU/Linux. Will test on OpenBSD later.
Also added Emacs indentation style to make it easier to follow the
original style of Mr Turner and Salz.
2010-07-18 16:07:02 +02:00
Joachim Nilsson
a0ec848f7b
Cleanup configure.ac a bit
2010-07-18 16:05:56 +02:00
Joachim Nilsson
d76ca9f1d6
Update Makefile.in's after last configure.ac change
2010-07-18 12:55:44 +02:00
Joachim Nilsson
98fbc6cd41
Spellcheck comment
2010-07-18 05:22:45 +02:00
Joachim Nilsson
4c4a7e808c
Make scrollback history (HIST_SIZE) configurable
2010-07-18 05:19:03 +02:00
Joachim Nilsson
7d0aff5ba3
Remove obsolete checks, all current systems today have dirent.h
2010-07-18 03:37:23 +02:00
Joachim Nilsson
f874ad60ab
Configure sets HAVE_STRDUP, check for that instead of NEED_STRDUP.
2010-07-18 03:36:05 +02:00
Joachim Nilsson
2d2ec7db98
Improve GCC warning and error triggers and also improve check of GCC version.
...
Configure snippets shamelessly stolen from http://www.libusb.org/browser/configure.ac
2010-07-18 02:51:25 +02:00
Joachim Nilsson
ca56b74763
Update .gitignore
2010-07-18 02:50:09 +02:00
Joachim Nilsson
89261724d2
Fix function declaration, non-ANSI style.
2010-07-18 02:42:05 +02:00
Joachim Nilsson
885475fc49
Fix invalid function pointer declarations.
2010-07-18 02:41:38 +02:00
Joachim Nilsson
ad0fee03aa
Fix recently broken --enable-default-complete and simplify configure script.
2010-07-18 02:30:30 +02:00
Joachim Nilsson
da4bd00eef
Fix qsort() wrapper definition, missing const directives.
2010-07-18 02:28:52 +02:00
Joachim Nilsson
3c4cf96bfc
More cleanup. Added license blurb to top of all source files.
...
Remove all old $Id:$ and similar constructs, they don't provide any
additional benefit anymore.
Add configure options for toggling terminal bell and toying with
SIGSTOP using Ctrl-Z. Rename config option for ANSI keys to get
a consistent namespace.
Also did some work on ANSI-fication of function definitions, lot's
of that was still lingering around.
2010-07-18 01:41:18 +02:00
Joachim Nilsson
00dd651835
Minor update.
2010-07-18 01:39:07 +02:00
Joachim Nilsson
34a314c8e7
ANSI-fication and lots of minor fixes inspired by Sparse warnings.
2010-07-17 22:38:05 +02:00
Joachim Nilsson
4c9c71faae
Cleanup and fix problems found by Sparse.
2010-07-17 22:23:21 +02:00
Joachim Nilsson
cbf276d9ff
Make sure local functions are marked static.
...
Sparse (cgcc) is very picky about such things, which is great.
2010-07-17 22:18:17 +02:00
Joachim Nilsson
722dae35a2
Change mode 0644 on all source files.
2010-07-17 22:08:32 +02:00
Joachim Nilsson
c52e75cb01
Make sure to keep copies of config.guess & config.sub, not symlinks.
2010-07-17 22:04:08 +02:00
Joachim Nilsson
e16f245672
Migrate to libtool and regenerate configure script
2010-07-17 22:00:06 +02:00
Joachim Nilsson
bc6dd1c34e
Update with more files to ignore now that we're moving to libtool
2010-07-17 21:59:36 +02:00
Joachim Nilsson
07fe826324
Move TODO item from examples Makefile.am
2010-07-17 21:55:43 +02:00
Joachim Nilsson
9973cc2a9a
Change bug-report-address.
2010-07-17 21:45:39 +02:00
Joachim Nilsson
348eb97440
Extend list of generated files in .gitignore
2010-07-17 20:20:31 +02:00
Joachim Nilsson
e0c7e38d4e
Rename old Bzr file
2010-07-17 20:13:39 +02:00
Joachim Nilsson
e8fc7788aa
Merge in changes to debian/ from editline_1.12-6.debian.tar.gz
2010-07-17 19:57:40 +02:00
Joachim Nilsson
be016e4866
Fix make install problem with editline.3 man page
2010-03-09 22:04:13 +01:00
Joachim Nilsson
2b8e5ef78b
Release 1.13.0.
2010-03-09 21:23:40 +01:00
Joachim Nilsson
87edc33897
Minor cleanup before release.
2010-03-09 21:18:03 +01:00
Joachim Nilsson
8ff3272698
Add support for automake silent builds
2010-01-16 22:42:21 +01:00
Joachim Nilsson
fc498f305b
Change name from Minix editline to just editline. This also affects
...
the library name, from libedit.a to libeditline.a
Bump version to 1.13.0 to better illustrate it has the same heritage
as the Debian version.
Import the debian/ directory from editline-1.12-5.
Yes, this is a major changeset. :)
2009-06-14 20:17:10 +02:00
Joachim Nilsson
48465835b8
Add EXTRA_DIST=LICENSE to include missing license file.
2009-04-06 02:30:25 +02:00