OpenBSD CVS

CVS log for src/lib/libedit/Makefile


[BACK] Up to [local] / src / lib / libedit

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 15 01:54:00 2019 UTC (5 years, 4 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, HEAD
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Fix the inter-library dependency for libedit and libreadline.
Previously they tried to depend on libtermcap which actually doesn't
exist in the objdir.

ok jca

Revision 1.31 / (download) - annotate - [select for diffs], Wed Nov 14 20:43:48 2018 UTC (5 years, 6 months ago) by sthen
Branch: MAIN
Changes since 1.30: +4 -1 lines
Diff to previous 1.30 (colored)

Record an inter-library dependency on libcurses in libedit and libreadline,
avoiding runtime failures on architectures using ld.lld. Also add a note to
libcurses shlib_version reminding about bumps (as done with libcrypto/libssl).

Thanks guenther@ for suggestions of tests involving library bumps and jca@
for doing these tests and hint about DPADD.

Looks good kettenis@, ok jca@

Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 17 19:31:56 2017 UTC (6 years, 7 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

remove the remaining references to .depend files since nothing creates them
any longer; ok espie@ deraadt@

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 10 21:30:37 2017 UTC (6 years, 11 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

remove misc. depend and yacc nits that no longer matter.
okay millert@

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 3 18:19:55 2017 UTC (6 years, 11 months ago) by bluhm
Branch: MAIN
Changes since 1.27: +6 -4 lines
Diff to previous 1.27 (colored)

Generate source and header files for regress on demand.
OK espie@

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 16 10:25:54 2017 UTC (6 years, 11 months ago) by espie
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

mark files as BUILDFIRST, or write explicit dependencies, so that most
programs will build even without a make depend first.
okay tb@ millert@

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 24 18:06:30 2016 UTC (8 years ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Remove debugging ifdefs.
I'm debugging the read module for weeks now,
but these ifdefs aren't helpful.
OK cpp(1).

Revision 1.25 / (download) - annotate - [select for diffs], Tue May 10 11:53:54 2016 UTC (8 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.24: +5 -11 lines
Diff to previous 1.24 (colored)

Enable separate compilation while keeping internal interfaces hidden.
Simplifies the build system and prevents modules
from stomping on each other's static symbols.

Based on a hint from guenther@,
using feedback from kettenis@ and deraadt@.

Revision 1.24 / (download) - annotate - [select for diffs], Fri May 6 13:12:52 2016 UTC (8 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.23: +7 -7 lines
Diff to previous 1.23 (colored)

Replace the generated file "fcns.c" by a simpler header "func.h"
included only in the one file needing it, "map.c".
That allows to define el_action_t directly in "map.h",
which in turn allows to stop including "fcns.h" from "el.h"
and include it only in the modules needing it.
Now we no longer autogenerate any C files.

Feedback and OK martijn@.
First version also proofread by Christian Heckendorf <mbie at ulmus dot me>.

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 3 11:36:17 2016 UTC (8 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.22: +6 -9 lines
Diff to previous 1.22 (colored)

Combine help.h and help.c into a simplified help.h
and include it only in the one file needing it, map.c.
Also delete makelist -bc.
OK martijn@, also proofread by Christian Heckendorf <mbie at ulmus dot me>

Revision 1.22 / (download) - annotate - [select for diffs], Tue May 3 11:19:30 2016 UTC (8 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.21: +8 -20 lines
Diff to previous 1.21 (colored)

The files editline.c, historyn.c, and tokenizern.c are completely
constant and very short and simple.  Check them into CVS rather
than generating them at build time in a complicated way.
OK martijn@, also proofread by Christian Heckendorf <mbie at ulmus dot me>

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 20 01:11:45 2016 UTC (8 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

New editline(7) manual, explaining to end-users how line editing works
in programs like ftp(1), sftp(1), bc(1), and cdio(1) that use libedit.
The existing editrc(5) manual only explains customization, and the
existing editline(3) manual only explains the C language interface.
Already listing all editor functions and all default key bindings, but
in other respects, not 100% complete yet, and due to the sheer size,
some bugs may have slipped, but all that can be fixed in the tree.

OK and tweaks jmc@.
Also seems reasonable to Christian Heckendorf <mbie at ulmus dot me>.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 9 19:31:55 2016 UTC (8 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.19: +1 -6 lines
Diff to previous 1.19 (colored)

Always compile with WIDECHAR on and delete that preprocessor switch.
OK martijn@.
Diff also proofread by Christian Heckendorf <mbie at ulmus dot me>.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Mar 30 06:38:42 2016 UTC (8 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.18: +1 -22 lines
Diff to previous 1.18 (colored)

for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;

ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung

Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 22 11:32:18 2016 UTC (8 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

format string fixes in debug code;
committing right away because this code is not even compiled by default

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 21 15:25:39 2016 UTC (8 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.16: +2 -3 lines
Diff to previous 1.16 (colored)

Reduce the FUN() macro madness by no longer applying it to el_[w]getc(3).
Always use el_wgetc(3) internally.  In the !WIDECHAR case, casting
the result to (Char) is safe because the function returns a byte
rather than a character in that case.
No functional change except for fixing a printf(3) format string issue
when compiled with DEBUG_READ and WIDECHAR.
OK czarkoff@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 20 23:48:27 2016 UTC (8 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Cleanup of standard header inclusion:

1. Add the missing <errno.h> to sig.c.
2. Do not include standard headers from private headers "chared.h"
and "el.h", include them directly where needed.
3. Delete a few needless inclusions of <ctype.h>.
4. Sort the standard headers.
5. Delete _GNU_SOURCE weirdness from histedit.h, that file doesn't even
need the access to wcsdup(3) mentioned in the comment.
6. Delete some trailing blanks and blanks before tabs.

OK czarkoff@

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 29 17:23:21 2016 UTC (8 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Start synching with NetBSD:
Rename the files key.[hc] to keymacro.[hc] and term.[hc] to terminal.[hc].
The change makes sense because "term.h" conflicts with <term.h>
and the functions key_clear(), key_end(), and key_print() in "key.h"
conflict with macros in <term.h>.
No content change yet, no binary change in *.o after "strip -d".
This reduces the remaining diff from +4634 -3992 to +2640 -1998.
OK czarkoff@, and mmcc@ agrees with the direction.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 9 00:30:39 2014 UTC (9 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

USE_SHLIBDIR is archaic

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 4 03:10:42 2012 UTC (11 years, 9 months ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

remove lint leftovers; ok guenther@

Revision 1.12 / (download) - annotate - [select for diffs], Thu Aug 2 13:38:38 2012 UTC (11 years, 10 months ago) by okan
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.

ok guenther@

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 7 16:15:47 2011 UTC (12 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.10: +23 -10 lines
Diff to previous 1.10 (colored)

Enable wide character functions in libedit (not the other libe*t).

ok stsp deraadt

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 30 00:05:35 2010 UTC (13 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.9: +31 -12 lines
Diff to previous 1.9 (colored)

Update libedit to bring it into sync with the latest version from NetBSD.

ok deraadt

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 24 20:49:17 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

use WANTLINT= (on all architectures)

Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 31 08:42:23 2003 UTC (20 years, 7 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.7: +57 -30 lines
Diff to previous 1.7 (colored)

Update to NetBSD libedit (from Oct 1, 2003), adding some string
cleaning and history bug fixes. The code includes GNU libreadline
functionality, but the corresponding header files are not installed,
since some libreadline functions are missing. There are some minor API
changes, notably:

old: EditLine *el_init(const char *, FILE *, FILE *);
new: EditLine *el_init(const char *, FILE *, FILE *, FILE *);

old: HistEvent *history(History *h, int op, ...);
new: int history(History *h, HistEvent *ev, int op, ...); plus some
changes in operation names. See editline(3) for details.

Tested by djm@, mouring@, jmc@.

ok deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 24 00:10:48 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

-lcurses, not termcap/termlib

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 29 23:40:46 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.5: +3 -4 lines
Diff to previous 1.5 (colored)

Updates from NetBSD (christos@netbsd.org)
  * Portability fixes:
	__const         -> const
	BADSIG          -> SIG_ERR
	int flags       -> u_int flags
	#if __STDC__    -> #ifdef __STDC__
  * Don't allow CSWTCH to interfere with CSUSP on __SVR4 systems.
  * Return -1 if the terminal set operation resulted in dumb terminal settings.
  * Handle properly the case where the last line in the sourced file does
    not have a trailing '\n'. From Jeffrey C Honig.
  * editrc -> editline in editline(3)

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 27 20:56:10 1997 UTC (27 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 16 05:18:27 1997 UTC (27 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.3: +11 -1 lines
Diff to previous 1.3 (colored)

Merge in NetBSD libedit changes and new man pages.  Also fix some
strncpy() usage in their code.  NetBSD change log was:
    * add a man page for the editline routines
    * add a man page describing editrc
    * fix bugs in el_parse():
      * didn't execute command when program name matched (test reversed)
      * was checking against empty string instead of program name
      * after checks, command to run also pointed to empty string
    * document ^char and \ escape sequences
    * when parsing ^char control chars, check the correct char when determining
      validity (previously, ^char was a NOP interpreted as the literal string
      because of this bug)
    * Implement CC_REDISPLAY, which (unlike CC_REFRESH) redraws the entire input
    * line (a la ^R). This is useful if the binding outputs information and
    * mucks up the input line. To be used in ``list-choices'' bindings (refer
    * to the ^D binding in csh when filec is set)

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 8 15:22:27 1996 UTC (27 years, 6 months ago) by downsj
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

install -> ${INSTALL}, -c -> ${COPY}

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 10 06:22:12 1996 UTC (28 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

includes target

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:42:40 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:42:40 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.