History log of /freebsd-current/lib/libedit/Makefile
Revision Date Author Comments
# dc36d6f9 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

lib: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 7973f26a 03-Oct-2022 John Baldwin <jhb@FreeBSD.org>

libedit: Disable -Wuse-after-free for chartype.c.

GCC 12 thinks ct_visual_string can reuse a pointer after it has been
reallocated, but in this case the warning appears false.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D36820


# cbc83e37 22-Sep-2021 Baptiste Daroussin <bapt@FreeBSD.org>

ncurses: chase dependency changes in the source tree

Differential Revision: https://reviews.freebsd.org/D32098


# b315a729 28-Mar-2021 Piotr Pawel Stefaniak <pstef@FreeBSD.org>

sh(1): autocomplete commands

Without this patch, sh can autocomplete file names but not commands from
$PATH. Use libedit's facility to execute custom function for autocomplete,
but yield to the library's standard autocomplete function when cursor is
not at position 0.

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D29361


# 0b7f1af8 01-Feb-2021 John Baldwin <jhb@FreeBSD.org>

Bump shared library versions after ncurses bump in 13.

A few shared libraries in the base system link against ncurses. An
upgrade from a 12.x host to 13 results in ABI breakage for existing
binaries since the newer versions of these libraries link against the
newer ncurses while the binary itself links against the older ncurses.
For example, dialog4ports built on 12.x sometimes crashes on 13 since
it depends on libdialog which links against ncurses internally.

MFC after: 3 days
Reviewed by: kib, delphij
Differential Revision: https://reviews.freebsd.org/D28448


# 81565700 13-Sep-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Update libedit to a snapshot from 2019-09-10

This version bring many fixes regarding unicode support
It also adds proper support for filename completion (we do not need our custom
patches anymore)
Improves the libreadline compatibility

Note that the same work was done by Yuichiro Naito in
https://reviews.freebsd.org/D21196 the main difference is in this case we have
reimported libedit in contrib to fix a long standing mess in the previous merges
which prevented a proper update workflow. (discussed long ago with pfg@)

The only difference with upstream libedit is we have added a compatibility shim
for the _elf_fn_sh_complete function which we previously added to support quoting
in filename completion and is not needed anymore.
This was added to continue supported old /bin/sh binaries and not break backward
compatibility (as discussed with jilles@)

Reviewed by: Yuichiro Naito <naito.yuichiro_gmail.com>
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D21584


# 6ea268b6 29-Jan-2018 Pedro F. Giffuni <pfg@FreeBSD.org>

libedit: sort the Makefile in line with NetBSD's version.

NetBSD's libedit has been been cleaned-up considerably so the
non--widecharacter version is no longer an option. Re -sorting the
Makefile should make it easier for some brave soul trying to update it.

No functional change intended.

MFC after: 5 days


# 98fa04ef 14-Sep-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

libedit: raise the warning level to 3.

NetBSD has the warning level to 5 but that actually triggers -Wcast-qual.


# 2b4da8aa 24-Sep-2016 Marcel Moolenaar <marcel@FreeBSD.org>

When MAKEOBJDIRPREFIX points to a case-insensitive file system, the
build can break when different source files create the same target
files (case-insensitivity speaking). This is the case for object
files compiled with -fpic and shared libraries. The former uses
an extension of ".So", and the latter an extension ".so". Rename
shared object files from *.So to *.pico to match what NetBSD does.

See also r305855

MFC after: 1 month
Sponsored by: Bracket Computing
Differential Revision: https://reviews.freebsd.org/D7906


# 1f37f0f1 06-Mar-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

Revert r296175
Undo update of libedit 2016-02-27

Something in libedit appears to be causing breakage in lldb38.
The changes are not generally huge but they are suficient to
to justify reverting for now.

Reported by: novel, bapt


# c389411c 05-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Remove libc, librtld_db, libthr packages, and further increase
the constraints on what needs to be installed in a specific to
maintain consistency during upgrades.

Create a new clibs package containing libraries that are needed
as a bare minimum for consistency.

With much help and input from: kib
Sponsored by: The FreeBSD Foundation


# a70cba95 04-Feb-2016 Glen Barber <gjb@FreeBSD.org>

First pass through library packaging.

Sponsored by: The FreeBSD Foundation


# 18b2ee82 15-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Revert r284417 it is not necessary anymore


# 4232f826 15-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Enforce overwritting SHLIBDIR

Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading
bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere.

This makes /lib being populated again.

Reported by: many


# c1a66a97 09-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Synchronize libedit with NetBSD and activate UTF-8 support [1]

Differences with NetBSD
Reapply our local patches on top of it
Fix Unicode environement detection
Fix reading a line in unicode environment.
It allows /bin/sh to works in UTF-8 envs

Differential Revision: https://reviews.freebsd.org/D1455
Reviewed by: jilles, pfg
Obtained from: NetBSD [1]
MFC after: 1 month
Relnotes: yes


# 6b129086 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert libraries to use LIBADD
While here reduce a bit overlinking


# 80189b3b 17-Jul-2014 Brooks Davis <brooks@FreeBSD.org>

Replace all uses of libncurses and libtermcap with their wide character
variants. This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.

Exp-run: antoine
PR: 189842
Discussed with: bapt
Sponsored by: DARPA, AFRL


# c4a1f025 10-Jul-2014 Pedro F. Giffuni <pfg@FreeBSD.org>

Sync some (mostly cosmetical) changes from NetBSD

Makefile,v 1.37
tc1.c v 1.3
Rename TEST/test.c tc1.c

common.c,v 1.23
pass lint on _LP64.

emacs.c,v 1.22
pass lint on _LP64.

filecomplete.h,v 1.8
mv NetBSD ID back from 1.9 as we don't
have the widecharacter support.

prompt.c,v 1.14
prompt.h,v 1.9
term.h,v 1.20
read.h,v 1.6
Update NetBSD version strings

sys.h,v 1.12
Misc sun stuff.

tty.c 1.31
handle EINTR in the termios operations
Allow a single process to control multiple ttys (for pthreads using _REENTRANT)
using multiple EditLine objects.
pass lint on _LP64.
Don't depend on side effects inside an assert

MFC after: 1 week
Obtained from: NetBSD


# 2dea247f 03-Mar-2013 Jilles Tjoelker <jilles@FreeBSD.org>

libedit: Revert r247683 to fix buildworld.

I think r247683 is wrong because libedit.so actually uses symbols from
libcurses.so. Since it breaks the build, revert it now.


# 0b62a022 02-Mar-2013 Pedro F. Giffuni <pfg@FreeBSD.org>

libedit does not need to be linked with ncurses

libedit uses the terminfo headers but doesn't really need
to be linked with ncurses.

Discussed with: christos@NetBSD
MFC after; 3 days


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 96535454 13-Jun-2010 Jilles Tjoelker <jilles@FreeBSD.org>

libedit: Add basic filename completion code from NetBSD.

This will be used to provide filename completion in sh(1).

Changes from the NetBSD code:
* wide character support disabled, as in the rest of libedit
* config.h and related portability stuff reduced/disabled, as in the rest
of libedit

Submitted by: Guy Yur
Obtained from: NetBSD


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# daaf5759 02-Jan-2010 Ed Schouten <ed@FreeBSD.org>

Build lib/ with WARNS=6 by default.

Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.


# 3ca3047a 19-Jul-2009 Ken Smith <kensmith@FreeBSD.org>

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by: kib
Approved by: re (rwatson)


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 419ecd5d 20-May-2007 Daniel Eischen <deischen@FreeBSD.org>

Bump library versions in preparation for 7.0.

Ok'd by: kan


# 76d00450 07-Aug-2005 Stefan Farfeleder <stefanf@FreeBSD.org>

Sync libedit with recent NetBSD developments. Including improvements to the
vi-mode, removal of clause 3, cleanups and the export of the tokenization
functions.

Not included: config.h, filecomplete.{c,h}


# a84020c2 22-Jul-2005 Ken Smith <kensmith@FreeBSD.org>

Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)


# 4f4a104e 18-Aug-2003 David E. O'Brien <obrien@FreeBSD.org>

style.Makefile(5)


# 41d8423f 17-Aug-2003 Gordon Tetlow <gordon@FreeBSD.org>

Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.


# 224af215 27-Sep-2002 Peter Wemm <peter@FreeBSD.org>

Zap now-unused SHLIB_MINOR


# 357bbe4a 09-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

-ltermcap is spelled -lncurses nowadays.


# 4f375b90 01-Oct-2001 David E. O'Brien <obrien@FreeBSD.org>

Clean this up after the NetBSD syncing.


# be4f05c4 01-Oct-2001 David E. O'Brien <obrien@FreeBSD.org>

Our histedit.h lives in src/include.


# 3c195773 01-Oct-2001 David E. O'Brien <obrien@FreeBSD.org>

+ Sync with NetBSD, bringing in feature enhancements.
+ Convert to ANSI-C function definitions
+ style(9)

Submitted by: kris


# 6055a95f 12-Apr-2001 Andrey A. Chernov <ache@FreeBSD.org>

Back out history.3 link removing - conflict fixed in libreadline instead


# 45b655df 11-Apr-2001 Andrey A. Chernov <ache@FreeBSD.org>

Comment out one of many editline.3 MLINKS conflicting with libreadline
(history.3)


# 4a558355 27-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

MAN[1-9] -> MAN.


# 1b779c59 03-Oct-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Fix style bugs

Submitted by: bde


# 3cf3c5d9 29-Sep-1999 Marcel Moolenaar <marcel@FreeBSD.org>

sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
libdialog
libreadline
libc
libc_r
libedit
libftpio
libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
given one now.

NOTE: doscmd is a real casualty and has been disconnected for
the moment. Reconnection will eventually happen after
doscmd has been fixed. I'm aware that being the last one
to touch it, I'm automaticly promoted to being maintainer.
According to good taste this means that I will receive a
badge which either will be glued or mechanically stapled,
drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
change cause sys/types to be included along the way which
contains the const and volatile modifiers. I don't consider
this a solution, but more a workaround.


# 70ff7ab7 20-Aug-1999 Matthew N. Dodd <mdodd@FreeBSD.org>

Fix MLINKS.

Noticed by: Norman C. Rice <nrice@emu.sourcee.com>


# 90cc1fbc 19-Aug-1999 Matthew N. Dodd <mdodd@FreeBSD.org>

Add 2 functions: el_data_set() and el_data_get() which do what you
would expect. (Allow user data to be associated with an EditLine context).

As this changes no existing interfaces and doesn't alter any structs
visable to the user I've been told that its not necessary to bump
the version of the library.


# f92bdbd0 09-Jan-1999 John Polstra <jdp@FreeBSD.org>

Switch to using ".So" as the extension for PIC object files rather
than ".so". The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.


# fb4289da 27-Jul-1997 Mike Smith <msmith@FreeBSD.org>

Improve dependancy behaviour a little more.

This is still pretty disgusting.

Submitted by: bde


# a39c8cb6 27-Jul-1997 Mike Smith <msmith@FreeBSD.org>

List help.h a a dependancy for editline.c
Use 'beforedepend' instead of '.depend' to hang automatically-generated
headers off.

XXX the latter is bogus without a 'beforeall' target and explicit ordering
of dependancy generation for targets.


# f76efb86 27-Jun-1997 Andrey A. Chernov <ache@FreeBSD.org>

Move editrc.5 from MAN3 to MAN5


# e3144c39 25-Jun-1997 Mike Smith <msmith@FreeBSD.org>

Pull histedit.h out, it lives in /usr/src/include, not here.


# bd5176cb 25-Jun-1997 Mike Smith <msmith@FreeBSD.org>

Update libedit with changes from NetBSD. Includes history load/save,
some buffer overflow guards and some stylistic cleanups.
Also adds manpages.

Obtained from: NetBSD


# b7e5f46a 29-Aug-1996 Peter Wemm <peter@FreeBSD.org>

Add missing DPADD, remove duplicate -ltermcap


# 6c06b4e2 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# e46d877d 11-Oct-1994 Andrey A. Chernov <ache@FreeBSD.org>

Add LDADD+= -ltermcap


# 6897a8a7 11-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap


# 2577a8ac 28-Aug-1994 Bruce Evans <bde@FreeBSD.org>

Add dependencies on libraries to DPADD. Someday this should be done
automagically. -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.


# eaf83dc0 08-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Make this work even if make depend is not run.
Reviewed by:
Submitted by: jkh


# 8401cb0d 04-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

histedit.h is now installed from include.


# 58f0484f 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Lib Sources