Up to [cvs.netbsd.org] / src / lib / libedit
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 29 23:44:45 2011 UTC (9 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
HEAD
Changes since 1.36: +3 -3
lines
Diff to previous 1.36 (colored)
pass -Wconversion
Revision 1.36 / (download) - annotate - [select for diffs], Thu Jul 28 01:05:20 2011 UTC (9 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.35: +75 -75
lines
Diff to previous 1.35 (colored)
term -> terminal XXX: need to rename key_ too.
Revision 1.35 / (download) - annotate - [select for diffs], Wed Dec 30 22:37:40 2009 UTC (2 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.34: +125 -90
lines
Diff to previous 1.34 (colored)
Wide character support (UTF-8) from Johny Mattsson; currently disabled.
Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 28 22:15:36 2009 UTC (2 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.33: +2 -3
lines
Diff to previous 1.33 (colored)
reduce diff with tcsh
Revision 1.33 / (download) - annotate - [select for diffs], Mon Dec 28 21:52:43 2009 UTC (2 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.32: +4 -4
lines
Diff to previous 1.32 (colored)
Fix bug where tab completion on the second or > line that caused listing ended up corrupting the display by an extra space in the beginning. Reported by Mac Chan.
Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 17 12:28:27 2009 UTC (2 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.31: +17 -23
lines
Diff to previous 1.31 (colored)
Simplify the code. No functional change.
Revision 1.31 / (download) - annotate - [select for diffs], Tue May 19 21:45:14 2009 UTC (3 years ago) by christos
Branch: MAIN
Changes since 1.30: +43 -34
lines
Diff to previous 1.30 (colored)
always scroll when we advance past bottom. From Caleb Welton cwelton at greenplum dot com
Revision 1.28.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:29 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.28: +43 -36
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 31 17:38:27 2009 UTC (3 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.29: +24 -22
lines
Diff to previous 1.29 (colored)
Implement literal prompt sequences. Now someone can implement RL_PROMPT_START_LITERAL/RL_PROMPT_END_LITERAL :-)
Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 15 21:55:23 2009 UTC (3 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.28: +33 -28
lines
Diff to previous 1.28 (colored)
pass lint on _LP64.
Revision 1.27.20.1 / (download) - annotate - [select for diffs], Wed Sep 24 16:35:09 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.27: +13 -13
lines
Diff to previous 1.27 (colored) next main 1.28 (colored)
Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
Revision 1.28 / (download) - annotate - [select for diffs], Wed Sep 10 15:45:37 2008 UTC (3 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2
Branch point for: jym-xensuspend
Changes since 1.27: +13 -13
lines
Diff to previous 1.27 (colored)
Allow a single process to control multiple ttys (for pthreads using _REENTRANT) using multiple EditLine objects. Mostly from Preston A. Elder.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 9 22:11:10 2005 UTC (6 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: wrstuden-revivesa
Changes since 1.26: +35 -13
lines
Diff to previous 1.26 (colored)
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.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:33 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.25: +3 -7
lines
Diff to previous 1.25 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22280, verified by myself.
Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 19 15:55:06 2003 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.24: +6 -4
lines
Diff to previous 1.24 (colored)
From michael@moria.de: - use __attribute__((__unused__)) in arguments where appropriate. - some int -> size_t and char * to const char * conversions.
Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sat Mar 15 20:52:46 2003 UTC (9 years, 2 months ago) by he
Branch: netbsd-1-5
Changes since 1.14: +2 -3
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
Pull up revision 1.19 (via patch, requested by msaitoh in ticket #14): Since we have opost and onlcr set, we don't need to output \r; \n is sufficient. Fixes PR#17954.
Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 10 21:18:49 2003 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.23: +4 -4
lines
Diff to previous 1.23 (colored)
s/u_int32_t/unsigned int/
Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sun Jan 5 08:40:17 2003 UTC (9 years, 4 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Changes since 1.18: +2 -3
lines
Diff to previous 1.18 (colored) next main 1.19 (colored)
Pull up revisions 1.18-1.19 (requested by masanobu in ticket #1048) PR/17954: SAITOH Masanobu: since we have opost and onlcr set, we don't need to output \r to go to the end of line; \n is enough. From David Laight.
Revision 1.23 / (download) - annotate - [select for diffs], Fri Nov 15 14:33:53 2002 UTC (9 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored)
de-lint
Revision 1.22 / (download) - annotate - [select for diffs], Fri Nov 15 14:32:34 2002 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.21: +20 -4
lines
Diff to previous 1.21 (colored)
PR/18995: David Laight: libedit fixes for posix conformant sh The posix 'sh' specification defines vi-mode editing quite tightly. The netbsd libedit code (used by sh to do this) was missing several features, there were also minor errors in others. Compare netbsd sh to the definition available from: http://www.opengroup.org/onlinepubs/007904975/utilities/sh.html In particular the following were not supported: U - undo all changes to line | - goto column Y - yank to end of line y - yank # - comment out current line @ - take input from shell alias [1] G - goto numbered line in history buffer v - edit history line with vi _ - append word from last input line . - redo last command Other minor changes have also been made. [1] This needs the shell to define an appropriate routine to return the text of the alias. There is no requirement that such a function exist.
Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 12 00:01:21 2002 UTC (9 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored)
Fix signed/unsigned comparison warnings.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 27 21:41:50 2002 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.19: +6 -6
lines
Diff to previous 1.19 (colored)
vi mode and memory fixes from david laight.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 27 20:04:36 2002 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.18: +2 -3
lines
Diff to previous 1.18 (colored)
PR/17954: SAITOH Masanobu: since we have opost and onlcr set, we don't need to output \r to go to the end of line; \n is enough. From David Laight.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 18 16:00:58 2002 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.17: +5 -6
lines
Diff to previous 1.17 (colored)
- constify; passes all gcc and lint strict checks. - add config.h [Jason Evans], to create a portable version of libedit that can be easily compiled on other OS's.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 13 00:53:11 2001 UTC (11 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.16: +53 -51
lines
Diff to previous 1.16 (colored)
rename 3 arg ELRE_DEBUG to ELRE_ASSERT, add 2 arg ELRE_DEBUG, and change all occurences of ELRE_DEBUG(foo,bar,) -> ELRE_DEBUG(foo,bar). some compilers (e.g, gcc on darwin) bitch about the former (`not enough args').
Revision 1.16 / (download) - annotate - [select for diffs], Wed Jan 10 07:45:42 2001 UTC (11 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.15: +84 -27
lines
Diff to previous 1.15 (colored)
Enlarge editline buffers as needed to support arbitrary length lines. This also addresses lib/9712 by Phil Nelson.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 4 22:06:32 2000 UTC (11 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.14: +820 -837
lines
Diff to previous 1.14 (colored)
convert to new style guide, which includes: - ansi prototypes & features (such as stdargs) - 8 space indents
Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 13 22:59:22 2000 UTC (12 years, 2 months ago) by soren
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
Fix doubled 'the's.
Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 19 09:08:16 2000 UTC (12 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +5 -4
lines
Diff to previous 1.12 (colored)
Fix refresh glitches when using auto-margin.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 20 22:56:21 2000 UTC (12 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.11: +19 -8
lines
Diff to previous 1.11 (colored)
Add support for automatic and magic margins (from tcsh) This makes the rightmost column usable on all programs that use editline.
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:58 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.8: +39 -8
lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
Pull up to last week's -current.
Revision 1.11 / (download) - annotate - [select for diffs], Sat Nov 13 11:32:12 1999 UTC (12 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Changes since 1.10: +10 -14
lines
Diff to previous 1.10 (colored)
instead of using a private coord_t global variable to store the size of the rprompt, use the previously unused coord_t el->el_rprompt.p_pos
Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 12 01:05:07 1999 UTC (12 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.9: +42 -7
lines
Diff to previous 1.9 (colored)
- implement printing a right-side prompt. code derived from similar work
I wrote for tcsh(1) three years ago.
- implement EL_RPROMPT, which allows a setting/getting of a function which
returns a string to be used as the right-side prompt.
- improve HISTORY and AUTHORS sections in editline(3).
- bump shlib minor version for EL_RPROMPT.
XXX: due to an implementation issue, the rprompt has a 1 space gap before the
edge of the logical screen. editline's logical screen is 1 space less
than the full screen width, so there's a 2 space gap between the rprompt
and the right end of the physical screen. i'm not concerned about this.
Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 15 17:01:19 1999 UTC (12 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored)
don't assume locales are not working - it may not be the case
re_refresh(): cast the character passed to re_addc() to unsigned char,
so we don't end up calling isprint() with negative value
when chars are signed and character value is >= 128
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 2 15:21:26 1999 UTC (12 years, 10 months ago) by simonb
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.7: +36 -36
lines
Diff to previous 1.7 (colored)
More trailing white space.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 12 18:58:05 1999 UTC (12 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.6: +51 -51
lines
Diff to previous 1.6 (colored)
Make this compile under linux
Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 5 20:53:50 1999 UTC (13 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Changes since 1.5: +6 -6
lines
Diff to previous 1.5 (colored)
delint.
Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 12 20:08:22 1998 UTC (13 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.4: +13 -13
lines
Diff to previous 1.4 (colored)
delint
Revision 1.4 / (download) - annotate - [select for diffs], Wed May 20 01:03:30 1998 UTC (14 years ago) by christos
Branch: MAIN
Changes since 1.3: +6 -6
lines
Diff to previous 1.3 (colored)
cast is*() arg to unsigned char
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 6 18:25:33 1997 UTC (14 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.2: +3 -2
lines
Diff to previous 1.2 (colored)
Fix compiler warnings.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 11 06:48:07 1997 UTC (15 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.1: +6 -0
lines
Diff to previous 1.1 (colored)
RCSid police editline first appeared in 4.4BSD not NetBSD1.0
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri May 6 06:01:43 1994 UTC (18 years ago) by cgd
Branch: CSRG
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1,
netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0,
lite-2,
lite-1
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
libedit!
Revision 1.1 / (download) - annotate - [select for diffs], Fri May 6 06:01:42 1994 UTC (18 years ago) by cgd
Branch: MAIN
Initial revision