aboutsummaryrefslogtreecommitdiff
path: root/lib/libedit
Commit message (Collapse)AuthorAgeFilesLines
* Merge NetBSD changes, among them:Stefan Farfeleder2007-06-105-117/+259
| | | | | | | | | | | | | | | | | el.c 1.44, el.h 1.17, editline.3 1.53, histedit.h 1.31: # add EL_GETFP, and EL_SETFP. el.c 1.42, term.c 1.46, term.h 1.18, editline.3 1.52, histedit.h 1.29: # - Add more readline functions, enough for gdb-6.5 # - Make el_get varyadic, and implement EL_GETTC. # - XXX: the EL_SETTC api will change in the future. Note: The latter change breaks the ABI of the el_get() function. Approved by: re (kensmith) Notes: svn path=/head/; revision=170511
* Bump library versions in preparation for 7.0.Daniel Eischen2007-05-211-1/+1
| | | | | | | Ok'd by: kan Notes: svn path=/head/; revision=169807
* Merge the following changes from NetBSD:Stefan Farfeleder2007-03-114-16/+37
| | | | | | | | | | | | | | | | history.c 1.32: # Fix memory leak found by valgrind (Julien Torres) map.c 1.24: # fix debugging printf format. read.c 1.40: # Fix bug with multiple pending el_pushes. Reported by Julien Torres. tty.c 1.24: # Coverity CID 1216: Prevent negative index use. MFC after: 3 weeks Notes: svn path=/head/; revision=167464
* Merge the following changes from NetBSD:Stefan Farfeleder2007-03-119-95/+144
| | | | | | | | | | | | | | | | | | | | chared.h 1.17, common.c 1.19, emacs.c 1.21, key.c 1.18, key.h 1.9, map.c 1.23, term.c 1.42, term.h 1.17, vi.c 1.25: # Print the actual eofc, instead of ^D\b\b. # Change internal character decoding to prevent buffer oveflows. key.c 1.19, key.h 1.10: # move declaration to header file. term.c 1.43: # Coverity CID 806: Prevent NULL deref term.c 1.44: # Coverity CID 1668: Plug memory leak. term.c 1.45: # Fix compilation. MFC after: 3 weeks Notes: svn path=/head/; revision=167457
* Merge changes to the NetBSD copyright (advertising clause removal).Stefan Farfeleder2007-03-113-18/+6
| | | | Notes: svn path=/head/; revision=167444
* Merge NetBSD's revision 1.27. This bug can be observed eg. when browsingStefan Farfeleder2005-12-041-12/+34
| | | | | | | | | | | | | | | | | | | | | | | | through the history in sh. | Refresh bug reported by Julien Torres: | | going from: | activate -verbose | to: | reset -activation | results in: | reset -activationverbose" | instead of: | reset -activation | | This is because we choose to insert "reset -" before the current line, | and the delete "e -" and insert "ion" in the appropriate place. The | cleareol code did not handle this case properly; we now cleareol to | the maximum number of characters of the first difference, the second | difference and the difference in line length. Notes: svn path=/head/; revision=153079
* Fix prototype.Ruslan Ermilov2005-11-241-1/+1
| | | | Notes: svn path=/head/; revision=152759
* -mdoc sweep.Ruslan Ermilov2005-11-172-8/+11
| | | | Notes: svn path=/head/; revision=152551
* Add el_get to the NAME section.Stefan Farfeleder2005-10-201-1/+2
| | | | | | | Obtained from: OpenBSD (via NetBSD) Notes: svn path=/head/; revision=151493
* Merge makelist rev 1.10 and map.c rev 1.22 from NetBSD. They just patch theStefan Farfeleder2005-10-042-14/+14
| | | | | | | | bug fixed in the last commit to map.c in a different way. Follow NetBSD to facilitate future merges. Notes: svn path=/head/; revision=150947
* Merge NetBSD's rev. 1.49:Stefan Farfeleder2005-10-041-6/+6
| | | | | | | | | Fix double if (from Alexey E. Suslikov via jmc@openbsd). While here, re-word both H_[GS]ETUNIQUE descriptions so they make more sense. Bump date. Notes: svn path=/head/; revision=150946
* Merge NetBSD's rev. 1.41:Stefan Farfeleder2005-10-041-3/+3
| | | | | | | | PR/31012: Barry Naujok: libedit el_get with EL_EDITOR op does not work Fixed as suggested. Notes: svn path=/head/; revision=150945
* Move <sys/cdefs.h> up to reduce diff to NetBSD.Stefan Farfeleder2005-08-101-2/+2
| | | | Notes: svn path=/head/; revision=148924
* Submitted to and merged from NetBSD (rev. 1.23 and 1.24):Stefan Farfeleder2005-08-101-6/+7
| | | | | | | | | - Don't delete the current line when typing `yy'. - Don't use a possibly stale pointer in cv_paste(). - Notes: svn path=/head/; revision=148923
* NetBSD merged our typo fixes, update $NetBSD$.Stefan Farfeleder2005-08-096-6/+6
| | | | Notes: svn path=/head/; revision=148900
* Merge a change I missed in the last commit.Stefan Farfeleder2005-08-091-1/+1
| | | | Notes: svn path=/head/; revision=148899
* Merge NetBSD's 1.25 which fixes a small bug introduced in 1.24.Stefan Farfeleder2005-08-091-1/+3
| | | | Notes: svn path=/head/; revision=148897
* Include <term.h> before #undef'ing key_clear.Stefan Farfeleder2005-08-081-0/+2
| | | | Notes: svn path=/head/; revision=148859
* Fix a few typos.Stefan Farfeleder2005-08-082-4/+4
| | | | Notes: svn path=/head/; revision=148848
* Don't forget to copy the sentinel into the `help' array. It's expected toStefan Farfeleder2005-08-081-2/+2
| | | | | | | | | | be there. Submitted by: Björn König PR: 82381 Notes: svn path=/head/; revision=148847
* Sync libedit with recent NetBSD developments. Including improvements to theStefan Farfeleder2005-08-0738-1482/+2374
| | | | | | | | | | 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
* Revert the replacement of realloc() with reallocf() (el.h:1.2, map.c:1.5 andStefan Farfeleder2005-08-073-5/+3
| | | | | | | | | tokenizer.c:1.3). Contrary to the commit log there were no memory leaks, but the change introduced a bug because the free'd pointer was not zeroed and calling the appropriate _end() function would call free() a second time. Notes: svn path=/head/; revision=148814
* 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
* Expand contractions.Ruslan Ermilov2005-02-131-2/+2
| | | | Notes: svn path=/head/; revision=141851
* Expand *n't contractions.Ruslan Ermilov2005-02-132-3/+3
| | | | Notes: svn path=/head/; revision=141846
* mdoc(7): Use the new feature of the .In macro.Ruslan Ermilov2003-09-081-1/+1
| | | | Notes: svn path=/head/; revision=119893
* 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
* LANG->LC_ALLAndrey A. Chernov2003-08-041-1/+1
| | | | | | | Pointed by: ru Notes: svn path=/head/; revision=118449
* Fix problem differently, useAndrey A. Chernov2003-08-041-1/+1
| | | | | | | | LANG=C tr 'a-z' 'A-Z' for hypotetical case that script may generate non-ascii characters Notes: svn path=/head/; revision=118430
* Fix double-wrong tr usage: tr '[a-z]' '[A-Z]'Andrey A. Chernov2003-08-041-1/+1
| | | | | | | | | | | First of all, it should be written as: tr 'a-z' 'A-Z' ranges not encolosed in [] according to POSIX, so [] just included in the replacement. Second, it should be written: tr '[:lower:]' '[:upper:]' since a-z and A-Z may have different length in some locales. Notes: svn path=/head/; revision=118427
* The .Fn functionPhilippe Charnier2003-02-061-1/+2
| | | | Notes: svn path=/head/; revision=110443
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-014-4/+4
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-301-2/+2
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* Write the strvis()'d string out to the history file in history_save(),Tim J. Robbins2002-10-141-1/+1
| | | | | | | | not the original string. Fixes the bug where every second line of a history file was empty. Notes: svn path=/head/; revision=105095
* FreeBSD's libedit does not include NetBSD's readline emulation code.Tim J. Robbins2002-10-131-4/+3
| | | | | | | Remove references to it from the Authors and History sections. Notes: svn path=/head/; revision=105032
* Zap now-unused SHLIB_MINORPeter Wemm2002-09-281-1/+0
| | | | Notes: svn path=/head/; revision=104073
* Restore local bits lost in recent merge from NetBSD.Matthew N. Dodd2002-06-161-19/+24
| | | | Notes: svn path=/head/; revision=98293
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* -ltermcap is spelled -lncurses nowadays.Ruslan Ermilov2002-04-091-2/+2
| | | | Notes: svn path=/head/; revision=94278
* Remove __P() usage.David E. O'Brien2002-03-211-1/+1
| | | | Notes: svn path=/head/; revision=92917
* Fix problem where with PicoBSD the shell coredumps if it does not find anDavid E. O'Brien2002-01-241-1/+1
| | | | | | | | | entry for its terminal type in /etc/termcap. Submitted by: bde Notes: svn path=/head/; revision=89735
* mdoc(7) police: markup nit in the actual rev. 1.13 changes.Ruslan Ermilov2001-11-211-1/+1
| | | | Notes: svn path=/head/; revision=86736
* mdoc(7) police: restore all FreeBSD fixes to this file that gotRuslan Ermilov2001-11-211-16/+14
| | | | | | | clobbered by previous commit. Notes: svn path=/head/; revision=86735
* Clean this up after the NetBSD syncing.David E. O'Brien2001-10-011-25/+19
| | | | Notes: svn path=/head/; revision=84335
* Fix ID's after a total boch CVS merge due to multiple people makingDavid E. O'Brien2001-10-0113-26/+0
| | | | | | | | | | | commits to these files. As I sing to CVS: Have I told you lately that I hate your guts? Have I told you all SCM's are above you? You fill my heart with pain, take away all my merging joy, grow my troubles that's what you do." Notes: svn path=/head/; revision=84334
* Our histedit.h lives in src/include.David E. O'Brien2001-10-011-1/+0
| | | | Notes: svn path=/head/; revision=84327
* Re-applied some of rev. 1.11 and 1.13 fixes that were lost in the last commit.Ruslan Ermilov2001-10-011-11/+17
| | | | | | | Fixed some more. Notes: svn path=/head/; revision=84304
* + Sync with NetBSD, bringing in feature enhancements.David E. O'Brien2001-10-0137-8660/+9754
| | | | | | | | | | + Convert to ANSI-C function definitions + style(9) Submitted by: kris Notes: svn path=/head/; revision=84260