The NetBSD Project

CVS log for src/lib/libedit/common.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libedit

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:27 2012 UTC (2 years, 6 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.28: +5 -8 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Sat Mar 24 20:08:43 2012 UTC (2 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-7, agc-symver-base, agc-symver, HEAD
Changes since 1.28: +5 -8 lines
Diff to previous 1.28 (colored)

From Jilles Tjoelker:
Do not move the cursor for ed-delete-next-char in emacs mode.
This makes ed-delete-next-char suitable for mapping to the <Delete> key.
Behaviour in vi mode is unchanged (for 'x').

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 29 20:58:07 2011 UTC (3 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.27: +5 -4 lines
Diff to previous 1.27 (colored)

- fix unused params
- unconditionalize vis.h

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 29 15:20:39 2011 UTC (3 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

kill ifdef notdef

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 29 15:16:33 2011 UTC (3 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.25: +66 -66 lines
Diff to previous 1.25 (colored)

KNF return (\1); -> return \1;

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 28 01:05:20 2011 UTC (3 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24 (colored)

term -> terminal
XXX: need to rename key_ too.

Revision 1.21.10.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:28:10 2010 UTC (4 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync to netbsd-5

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 30 22:37:40 2009 UTC (4 years, 9 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.23: +58 -58 lines
Diff to previous 1.23 (colored)

Wide character support (UTF-8) from Johny Mattsson; currently disabled.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:29 2009 UTC (5 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Sun May 3 22:53:40 2009 UTC (5 years, 5 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #703):
	lib/libedit/common.c: revision 1.23
fix mis-evaluating whether a char is digit or not.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Thu Apr 30 18:11:31 2009 UTC (5 years, 5 months ago) by bouyer
Branch: netbsd-4
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1307):
	lib/libedit/common.c: revision 1.23
fix mis-evaluating whether a char is digit or not.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Thu Apr 23 02:00:19 2009 UTC (5 years, 6 months ago) by snj
Branch: netbsd-3
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #2006):
	lib/libedit/common.c: revision 1.23
fix mis-evaluating whether a char is digit or not.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Feb 27 04:18:45 2009 UTC (5 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

fix mis-evaluating whether a char is digit or not.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Feb 15 21:55:23 2009 UTC (5 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

pass lint on _LP64.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Sep 30 08:37:42 2008 UTC (6 years ago) by aymeric
Branch: MAIN
CVS Tags: netbsd-5-base, 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, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

have '$' include the last character in the line when embedded in a command.
This fixes c$, d$, y$, and so on in vi mode.

Revision 1.19.20.1 / (download) - annotate - [select for diffs], Wed Sep 24 16:35:09 2008 UTC (6 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 10 15:45:37 2008 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Allow a single process to control multiple ttys (for pthreads using _REENTRANT)
using multiple EditLine objects. Mostly from Preston A. Elder.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 6 21:11:56 2006 UTC (8 years, 7 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, 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, netbsd-4
Changes since 1.18: +5 -6 lines
Diff to previous 1.18 (colored)

Print the actual eofc, instead of ^D\b\b.
Change internal character decoding to prevent buffer oveflows.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 8 14:05:37 2005 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Spelling mistakes and comment errors (from FreeBSD via Stefan Farfeleder; many
thanks)

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 1 23:00:15 2005 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Don't reset the macro strings each time we enter el_gets(), otherwise
el_push() is unusable programmatically.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:30 2003 UTC (11 years, 2 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-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
Branch point for: netbsd-3
Changes since 1.15: +3 -7 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Thu Jun 19 15:55:05 2003 UTC (11 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.14: +41 -32 lines
Diff to previous 1.14 (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 / (download) - annotate - [select for diffs], Wed Nov 20 16:50:08 2002 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.13: +9 -21 lines
Diff to previous 1.13 (colored)

Fix problem with previous patches that broke vi history.
- c_gets() was usually returning a length, but sometimes
  one of the CC_xxx values (which are small +ve integers)!
- fixed c_gets() by putting a ' ' under the cursor.
From David Laight.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Nov 15 14:32:33 2002 UTC (11 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.12: +33 -23 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sun Oct 27 21:41:50 2002 UTC (11 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.11: +14 -46 lines
Diff to previous 1.11 (colored)

vi mode and memory fixes from david laight.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 18 16:00:51 2002 UTC (12 years, 7 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, 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, netbsd-1-6
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Wed Jan 10 07:45:41 2001 UTC (13 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.9: +11 -6 lines
Diff to previous 1.9 (colored)

Enlarge editline buffers as needed to support arbitrary length lines.
This also addresses lib/9712 by Phil Nelson.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 4 22:06:29 2000 UTC (14 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.8: +511 -565 lines
Diff to previous 1.8 (colored)

convert to new style guide, which includes:
- ansi prototypes & features (such as stdargs)
- 8 space indents

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 2 15:21:23 1999 UTC (15 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, 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, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.7: +74 -74 lines
Diff to previous 1.7 (colored)

More trailing white space.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 12 20:08:21 1998 UTC (15 years, 10 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.6: +6 -6 lines
Diff to previous 1.6 (colored)

delint

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 20 01:00:33 1998 UTC (16 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.5: +7 -5 lines
Diff to previous 1.5 (colored)

Don't print to stderr, but to the editline error stream.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 3 19:12:38 1998 UTC (16 years, 8 months ago) by perry
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

remove obsolete register declarations

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 6 18:25:23 1997 UTC (17 years, 3 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.3: +3 -2 lines
Diff to previous 1.3 (colored)

Fix compiler warnings.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 14 04:17:22 1997 UTC (17 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.2: +3 -5 lines
Diff to previous 1.2 (colored)

Implement CC_REDISPLAY, which (unlink CC_REFRESH) redraws the entire input
line (a la ^R). This is useful if the binding outputs information and
mucks up the input line. To be used in ``list-choices'' bindings (refer
to the ^D binding in csh when filec is set)

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 11 06:47:50 1997 UTC (17 years, 9 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:45 1994 UTC (20 years, 5 months 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:44 1994 UTC (20 years, 5 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>