summaryrefslogtreecommitdiff
path: root/lib/libedit/emacs.c
Commit message (Collapse)AuthorAgeFilesLines
* Update libedit to a snapshot from 2019-09-10Baptiste Daroussin2019-09-131-513/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* MFV r312996:Pedro F. Giffuni2017-01-301-23/+26
| | | | | | | | | | | | | | 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
* Revert r296175Pedro F. Giffuni2016-03-061-26/+23
| | | | | | | | | | | | | 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
* MFV r296159Pedro F. Giffuni2016-02-291-23/+26
| | | | | | | | | Sync our libedit with NetBSD's libedit 2016-02-27. Obtained from: NetBSD Notes: svn path=/head/; revision=296175
* Synchronize libedit with NetBSD and activate UTF-8 support [1]Baptiste Daroussin2015-01-091-77/+81
| | | | | | | | | | | | | | | | | 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
* Sync some (mostly cosmetical) changes from NetBSDPedro F. Giffuni2014-07-101-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge the following changes from NetBSD:Stefan Farfeleder2007-03-111-4/+3
| | | | | | | | | | | | | | | | | | | | 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
* NetBSD merged our typo fixes, update $NetBSD$.Stefan Farfeleder2005-08-091-1/+1
| | | | Notes: svn path=/head/; revision=148900
* Sync libedit with recent NetBSD developments. Including improvements to theStefan Farfeleder2005-08-071-42/+62
| | | | | | | | | | 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
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-1/+1
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Fix ID's after a total boch CVS merge due to multiple people makingDavid E. O'Brien2001-10-011-2/+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
* + Sync with NetBSD, bringing in feature enhancements.David E. O'Brien2001-10-011-254/+236
| | | | | | | | | | + Convert to ANSI-C function definitions + style(9) Submitted by: kris Notes: svn path=/head/; revision=84260
* Add __FBSDID()s to libeditMatthew Dillon2001-09-301-0/+2
| | | | Notes: svn path=/head/; revision=84201
* 8bit cleaness (ctype) fixesAndrey A. Chernov1996-08-111-9/+9
| | | | Notes: svn path=/head/; revision=17524
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-18/+18
| | | | Notes: svn path=/head/; revision=8870
* In emacs editing mode, sh treated ^D at the end of a line as EOF.Geoff Rehmet1994-09-091-7/+3
| | | | | | | | (Apparently by Christos Zoulas.) Liberated from: NetBSD Notes: svn path=/head/; revision=2622
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+508
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573