summaryrefslogtreecommitdiff
path: root/lib/libedit
AgeCommit message (Collapse)Author
2015-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
obsolete SIZE_T_MAX. OK miod@ beck@
2015-01-16Move to the <limits.h> universe.Theo de Raadt
review by millert, binary checking process with doug, concept with guenther
2015-01-13libedit claims compatibility with readline 4.2, so provide a stub forReyk Floeter
rl_set_keyboard_input_timeout() that was added in this version. Also crank the minor version. OK krw@ yasuoka@ deraadt@
2014-12-15merge improvements from NetBSD; ok jmc@ nicm@Ingo Schwarze
2014-12-12markup fixes from Kaspars at Bankovskis dot net;Ingo Schwarze
some of this is already contained upstream in NetBSD, the rest will be sent there
2014-10-17Remove non-exposed malloc/realloc/free wrappers, and then substituteTheo de Raadt
reallocarray() where it helps. ok doug
2014-10-15use reallocarray()Theo de Raadt
2014-10-11Userland reallocarray() audit.Doug Hogan
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@
2014-10-11Userland reallocarray() audit.Doug Hogan
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@
2014-10-09USE_SHLIBDIR is archaicTheo de Raadt
2014-05-20Merge the fixes from the upstream. Factor out some common code inYASUOKA Masahiko
tty.c and fix EL_SETTY to work. ok nicm
2014-05-20The argv[] used for el_set() EL_BIND, EL_SETTY, etc should be terminatedNicholas Marriott
by NULL. Fix from NetBSD via yasuoka@ but changed by me not to walk off the end of array with >20 arguments. ok yasuoka
2014-05-19Add a H_SAVE_FP operation to history() which lets the history be savedNicholas Marriott
to an open file pointer. From NetBSD via Eitan Adler. ok millert
2014-01-19Retain local changes from rev 1.13.Tobias Stoeckmann
ok deraadt@
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-07-01Link sqlite3(1) against libedit and add an empty history.h header forMartin Pieuchot
compatibility with GNU realine. ok mikeb@, sthen@, espie@
2013-05-22Sync with upstream. Fix buffer growing and memory allocation for wideYASUOKA Masahiko
chars. Handle return of mbstowcs(). ok nickm
2013-01-10editline.3: editrc only read from $HOME; from LEVAI DanielJason McIntyre
editrc.5: add FILES for ~/.editrc patches passed onto net/free
2012-09-04remove lint leftovers; ok guenther@Okan Demirmen
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.Okan Demirmen
ok guenther@
2011-11-27Don't segfault when trying to bind to an invalid command. While here,Pascal Stumpf
kill a C++-style comment. ok nicm@
2011-11-17Calculate the size for the wchar_t argv correctly, fixes memoryNicholas Marriott
corruption reported by LEVAI Daniel <leva at ecentrum dot hu>. Also rename "bytes" to "wlen" since bytes is not accurate, suggested by stsp@. ok stsp oga
2011-07-13Reintroduce lost local diff; detective work by matthew@; ok okan@ oga@Otto Moerbeek
all hail the more strict malloc S flag!
2011-07-08el_set EL_BIND or EL_SETTC must have argument lists ending with NULL.Nicholas Marriott
ok tedu
2011-07-07Enable wide character functions in libedit (not the other libe*t).Nicholas Marriott
ok stsp deraadt
2011-07-07sync with upstream, retaining local modifications.Okan Demirmen
ok nicm@
2011-06-25No need for files generated by depend.Okan Demirmen
ok nicm@
2011-06-03lots of back things happening in this signal handler, but at leastTheo de Raadt
start to clean up the simple stuff ok nicm
2011-04-04Make wcwidth() callers cope with -1 return value. Doesn't affect the build yet.Stefan Sperling
ok nicm
2011-03-02netbsd -r1.75: Fix argument for EL_EDITOR; from Jess ThrysoeeJason McIntyre
ok nicm
2010-10-23Don't leak the fd returned by mkstemp in vi_histedit error paths.Nicholas Marriott
From zinovik.
2010-09-10observe the following spelling:Jason McIntyre
- wide character (noun) - wide-character (adjective) this is the "fix of least resistance", and appears to be in line with posix style; a tiny fix still needed for curses, but i'll mail that upstream;
2010-06-30there's no tcsh page in base, so don;t bother xr'ing it;Jason McIntyre
2010-06-30tweak previous;Jason McIntyre
2010-06-30Update libedit to bring it into sync with the latest version from NetBSD.Nicholas Marriott
ok deraadt
2010-05-14Document return values, based on a diff from Ross Richardson.Nicholas Marriott
ok jmc
2010-05-09another Os out of order;Jason McIntyre
2010-05-09Document that el_init can return NULL on failure, PR 6374 from rueda atNicholas Marriott
devio.us. ok jmc
2010-01-25ellipses are not optional arguments; while here, fix a double .Ar/.ArIgor Sobrado
in the roff source. ok jmc@
2010-01-25fix double full stop, find out by jmc@ when looking into another issue.Igor Sobrado
2009-12-11Fix two memory leaks, one found by parfait, one by myself.Jacek Masiulaniec
ok deraadt@
2009-10-28a few leftovers from yesterday's SCCS/RCS-ID removal;Ingo Schwarze
survived a full make build on i386; "sure" deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2008-11-09typo fixed (overriden -> overridden)Tobias Stoeckmann
ok espie, jmc
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-01-08advertising clauses that can be droppedTheo de Raadt
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-11-14use asprintf()Theo de Raadt