aboutsummaryrefslogtreecommitdiff
path: root/lib/libedit/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Bump shared library versions after ncurses bump in 13.John Baldwin2021-02-021-1/+1
| | | | | | | | | | | | | 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
* Update libedit to a snapshot from 2019-09-10Baptiste Daroussin2019-09-131-52/+63
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=352275
* libedit: sort the Makefile in line with NetBSD's version.Pedro F. Giffuni2018-01-291-11/+13
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=328567
* libedit: raise the warning level to 3.Pedro F. Giffuni2017-09-141-2/+2
| | | | | | | NetBSD has the warning level to 5 but that actually triggers -Wcast-qual. Notes: svn path=/head/; revision=323598
* MFV 312999:Pedro F. Giffuni2017-01-301-3/+3
| | | | | | | | | | | | Update libedit 2016-03-21 Minor cleanups plus some license syncing. Obtained from: NetBSD X-MFC with: r312997 Notes: svn path=/head/; revision=313002
* MFV r312996:Pedro F. Giffuni2017-01-301-3/+2
| | | | | | | | | | | | | | Re-import libedit 2016-02-27 This reverts r296435: the issues related to lldb and this update appear to have been identified (in lldb). Obtained from: NetBSD Reported by: emaste MFC after: 3 weeks Notes: svn path=/head/; revision=312997
* When MAKEOBJDIRPREFIX points to a case-insensitive file system, theMarcel Moolenaar2016-09-241-1/+1
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=306297
* MFHGlen Barber2016-03-071-2/+3
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296457
| * Revert r296175Pedro F. Giffuni2016-03-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=296435
* | MFHGlen Barber2016-03-021-3/+2
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * MFV r296159Pedro F. Giffuni2016-02-291-3/+2
| | | | | | | | | | | | | | | | | | Sync our libedit with NetBSD's libedit 2016-02-27. Obtained from: NetBSD Notes: svn path=/head/; revision=296175
| * Revert r284417 it is not necessary anymoreBaptiste Daroussin2015-06-151-1/+1
| | | | | | | | Notes: svn path=/head/; revision=284421
| * Enforce overwritting SHLIBDIRBaptiste Daroussin2015-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=284417
* | Remove libc, librtld_db, libthr packages, and further increaseGlen Barber2016-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/projects/release-pkg/; revision=295337
* | First pass through library packaging.Glen Barber2016-02-041-0/+1
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* Synchronize libedit with NetBSD and activate UTF-8 support [1]Baptiste Daroussin2015-01-091-3/+12
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=276881
* Convert libraries to use LIBADDBaptiste Daroussin2014-11-251-2/+1
| | | | | | | While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
* Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-2/+2
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=268804
* Sync some (mostly cosmetical) changes from NetBSDPedro F. Giffuni2014-07-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=268502
* libedit: Revert r247683 to fix buildworld.Jilles Tjoelker2013-03-031-0/+1
| | | | | | | | I think r247683 is wrong because libedit.so actually uses symbols from libcurses.so. Since it breaks the build, revert it now. Notes: svn path=/head/; revision=247713
* libedit does not need to be linked with ncursesPedro F. Giffuni2013-03-031-1/+0
| | | | | | | | | | | libedit uses the terminfo headers but doesn't really need to be linked with ncurses. Discussed with: christos@NetBSD MFC after; 3 days Notes: svn path=/head/; revision=247683
* * Add the readline(3) API to libedit. The libedit versions ofDavid E. O'Brien2011-04-051-3/+8
| | | | | | | | | | | | | | | | | | | {readline,history}.h are in /usr/include/edit so as to not conflict with the GNU libreadline versions. To use the libedit readline(3) one should add "-I/usr/include/edit" to their Makefile (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree). * Enable its use in the BSD licensed utilities that support readline(3). * To make it easier to sync libedit development with NetBSD, histedit.h is moved into libedit's directory as history shows shown we keep merging it into that location. Obtained from: NetBSD Sponsored by: Juniper Networks Notes: svn path=/head/; revision=220370
* libedit: Add basic filename completion code from NetBSD.Jilles Tjoelker2010-06-131-1/+2
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=209136
* Build lib/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=201381
* Bump the version of all non-symbol-versioned shared libraries inKen Smith2009-07-191-1/+1
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=195767
* Bump library versions in preparation for 7.0.Daniel Eischen2007-05-211-1/+1
| | | | | | | Ok'd by: kan Notes: svn path=/head/; revision=169807
* Sync libedit with recent NetBSD developments. Including improvements to theStefan Farfeleder2005-08-071-3/+5
| | | | | | | | | | vi-mode, removal of clause 3, cleanups and the export of the tokenization functions. Not included: config.h, filecomplete.{c,h} Notes: svn path=/head/; revision=148834
* Bump the shared library version number of all libraries that have notKen Smith2005-07-221-1/+1
| | | | | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...) Notes: svn path=/head/; revision=148297
* style.Makefile(5)David E. O'Brien2003-08-181-1/+1
| | | | Notes: svn path=/head/; revision=119071
* Stage 3 of dynamic root support. Make all the libraries needed to runGordon Tetlow2003-08-171-0/+1
| | | | | | | | | 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. Notes: svn path=/head/; revision=119017
* Zap now-unused SHLIB_MINORPeter Wemm2002-09-281-1/+0
| | | | Notes: svn path=/head/; revision=104073
* -ltermcap is spelled -lncurses nowadays.Ruslan Ermilov2002-04-091-2/+2
| | | | Notes: svn path=/head/; revision=94278
* Clean this up after the NetBSD syncing.David E. O'Brien2001-10-011-25/+19
| | | | Notes: svn path=/head/; revision=84335
* Our histedit.h lives in src/include.David E. O'Brien2001-10-011-1/+0
| | | | Notes: svn path=/head/; revision=84327
* + Sync with NetBSD, bringing in feature enhancements.David E. O'Brien2001-10-011-6/+12
| | | | | | | | | | + Convert to ANSI-C function definitions + style(9) Submitted by: kris Notes: svn path=/head/; revision=84260
* Back out history.3 link removing - conflict fixed in libreadline insteadAndrey A. Chernov2001-04-121-4/+1
| | | | Notes: svn path=/head/; revision=75440
* Comment out one of many editline.3 MLINKS conflicting with libreadlineAndrey A. Chernov2001-04-121-1/+4
| | | | | | | (history.3) Notes: svn path=/head/; revision=75438
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-2/+1
| | | | Notes: svn path=/head/; revision=74870
* Fix style bugsMarcel Moolenaar1999-10-031-4/+2
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=51904
* sigset_t change (part 5 of 5)Marcel Moolenaar1999-09-291-0/+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. Notes: svn path=/head/; revision=51794
* Fix MLINKS.Matthew N. Dodd1999-08-201-3/+2
| | | | | | | Noticed by: Norman C. Rice <nrice@emu.sourcee.com> Notes: svn path=/head/; revision=50088
* Add 2 functions: el_data_set() and el_data_get() which do what youMatthew N. Dodd1999-08-201-1/+2
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=50070
* Switch to using ".So" as the extension for PIC object files ratherJohn Polstra1999-01-091-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=42450
* Improve dependancy behaviour a little more.Mike Smith1997-07-281-3/+4
| | | | | | | | | This is still pretty disgusting. Submitted by: bde Notes: svn path=/head/; revision=27727
* List help.h a a dependancy for editline.cMike Smith1997-07-271-2/+2
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=27717
* Move editrc.5 from MAN3 to MAN5Andrey A. Chernov1997-06-271-1/+2
| | | | Notes: svn path=/head/; revision=26981
* Pull histedit.h out, it lives in /usr/src/include, not here.Mike Smith1997-06-251-5/+0
| | | | Notes: svn path=/head/; revision=26933
* Update libedit with changes from NetBSD. Includes history load/save,Mike Smith1997-06-251-5/+20
| | | | | | | | | | some buffer overflow guards and some stylistic cleanups. Also adds manpages. Obtained from: NetBSD Notes: svn path=/head/; revision=26926
* Add missing DPADD, remove duplicate -ltermcapPeter Wemm1996-08-301-1/+2
| | | | Notes: svn path=/head/; revision=17929
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | Notes: svn path=/head/; revision=8870