Commit Graph

58 Commits

Author SHA1 Message Date
Joachim Nilsson
48465835b8 Add EXTRA_DIST=LICENSE to include missing license file. 2009-04-06 02:30:25 +02:00
Joachim Nilsson
77d483da02 Build fixes when building with GCC v4.3.2 and -W -Wall -Werror 2008-12-02 19:09:17 +01:00
Joachim Nilsson
62e900a061 Change rl_complete() and rl_list_possib() to be function pointers instead.
This is a much cleaner design and also works with or without the configure
--enable-default-complete option.

See the examples for details.
2008-10-02 09:09:09 +02:00
Joachim Nilsson
5c9f0047bb Basic support for custom completion handlers with the two "standard"
rl_complete() and rl_list_possib().  Simply leave out complete.o from
the default build and in all programs require these two functions to
be supplied.

A better alternative would be to use function pointers and check those
for NULL in the running code.  With this code, and no completion handler
the editline code will die.
2008-10-02 01:52:40 +02:00
Joachim Nilsson
06a7f578d5 Minix editline v0.1.3
=====================

Fix another build warning for Arm cross-gcc, which actually was v4.1.2
This time getpid() was missing unistd.h, but kill() was also missing 
signal.h.  Added test for signal.h, but left out unistd.h since we
already define SYS_UNIX -- which we should really check for instead...

The rest are cosmetic prototype or automake/autoconf fixes.
2008-06-09 00:17:48 +02:00
Joachim Nilsson
c76941f24f Fix GCC 3.4.4 warnings about ambigous else, in "else if" construct by
relying on the original indentation.

Change exit(0) to return 0; to kill off warning about "non-void
funtion".
2008-06-08 23:45:07 +02:00
Joachim Nilsson
afb65c0d75 Add standard GNU configure and build system (autoconf+automake).
Enable termio backend in sysunix.c (HAVE_TERMIO_H)

Modify original sources to fit standard macros defined in config.h
2008-06-07 21:03:48 +02:00
Joachim Nilsson
882d443045 New layout. 2008-06-07 17:04:59 +02:00