The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Mon May 9 21:46:56 2016 UTC (4 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, localcount-20160914, HEAD
Changes since 1.31: +27 -27 lines
Diff to previous 1.31 (colored)

s/protected/libedit_private/g

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 2 16:48:34 2016 UTC (5 months ago) by christos
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

eliminate static buffer with custom resizing code.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 18 17:01:19 2016 UTC (5 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

From Ingo Schwarze:
 * Replace fcns.c by a shorter and simpler func.h
   and include it only in the one file needing it, map.c.
 * Combine help.h and help.c into a simplified help.h
   and include it only in the one file needing it, map.c.
 * Check the very simple, static files editline.c, historyn.c, and
   tokenizern.c into CVS rather than needlessly generating them.
 * So we no longer autogenerate any C files.  :-)
 * Shorten and simplify makelist by deleting the options -n, -e, -bc,
   and -m; the latter was unused and useless in the first place.
 * Move the declaration of el_func_t from fcns.h to the header
   actually needing it, map.h.  Since that header is already
   included by el.h for unrelated reasons, that makes el_func_t
   just as globally available as before.
 * No longer include the simplified fcns.h into el.h,
   include it directly into the *.c files needing it.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 11 18:56:31 2016 UTC (5 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.28: +24 -24 lines
Diff to previous 1.28 (colored)

Get rid of private/public; keep protected (Ingo Schwarze)

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 11 00:50:13 2016 UTC (5 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.27: +32 -32 lines
Diff to previous 1.27 (colored)

Char -> wchar_t from Ingo Schwarze.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 11 00:22:48 2016 UTC (5 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.26: +20 -20 lines
Diff to previous 1.26 (colored)

more macro WIDECHAR undoing from Ingo Schwarze.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 9 18:43:17 2016 UTC (5 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.25: +15 -15 lines
Diff to previous 1.25 (colored)

More WIDECHAR elimination (Ingo Schwarze)

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 23 22:27:48 2016 UTC (6 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.24: +2 -8 lines
Diff to previous 1.24 (colored)

Start removing the WIDECHAR ifdefs; building without it has stopped working
anyway. (Ingo Schwarze)

Revision 1.24 / (download) - annotate - [select for diffs], Tue Mar 22 01:38:17 2016 UTC (6 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

put back NUL check (Ingo Schwarze)

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 2 19:24:20 2016 UTC (7 months ago) by christos
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

PR/50880: David Binderman: Remove redundant code.
While here, fix all debugging formats.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 17 19:47:49 2016 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.21: +10 -11 lines
Diff to previous 1.21 (colored)

whitespace and header sorting changes (Ingo Schwarze). No functional changes.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 16 15:53:48 2016 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.20: +2 -4 lines
Diff to previous 1.20 (colored)

From Ingo Scharze:
Let "el.h" include everything needed for struct editline,
and don't include that stuff multiple times.  That also improves
consistency, also avoids circular inclusions, and also makes it
easier to follow what is going on, even though not quite as nice.
But it seems like the best we can do...

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 16 14:08:25 2016 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

cleanup chartype.h includes (Ingo Schwarze)

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 16 14:06:05 2016 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

cleanup inclusion of histedit.h (Ingo Schwarze)

Revision 1.18 / (download) - annotate - [select for diffs], Mon Feb 15 22:53:38 2016 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.17: +7 -9 lines
Diff to previous 1.17 (colored)

OpenBSD term.c rev. 1.7 2002/11/29 20:13:39 deraadt
spelling

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 15 15:35:03 2016 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.16: +28 -11 lines
Diff to previous 1.16 (colored)

OpenBSD term.c rev. 1.13 2009/12/11 18:58:59 jacekm
fix two memory leaks

Revision 1.16 / (download) - annotate - [select for diffs], Sun Feb 14 14:49:34 2016 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

From Ingo Schwarze:

As we have seen before, "histedit.h" can never get rid of including
the <wchar.h> header because using the data types defined there is
deeply ingrained in the public interfaces of libedit.

Now POSIX unconditionally requires that <wchar.h> defines the type
wint_t.  Consequently, it can be used unconditionally, no matter
whether WIDECHAR is active or not.  Consequently, the #define Int
is pointless.

Note that removing it is not gratuitious churn.  Auditing for
integer signedness problems is already hard when only fundamental
types like "int" and "unsigned" are involved.  It gets very hard
when types come into the picture that have platform-dependent
signedness, like "char" and "wint_t".  Adding yet another layer
on top, changing both the signedness and the width in a platform-
dependent way, makes auditing yet harder, which IMHO is really
dangerous.  Note that while removing the #define, i already found
one bug caused by this excessive complication - in the function
re_putc() in refresh.c.  If WIDECHAR was defined, it printed an
Int = wint_t value with %c.  Fortunately, that bug only affects
debugging, not production.  The fix is contained in the patch.

With WIDECHAR, this doesn't change anything.  For the case without
WIDECHAR, i checked that none of the places wants to store values
that might not fit in wint_t.

This only changes internal interfaces; public ones remain unchanged.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 11 19:21:04 2016 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

- Add some more Char casts
- reduce ifdefs by providing empty defs for nls functions (Ingo Schwarze)

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:09 2012 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.10.2.1: +3 -3 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 30 18:21:14 2012 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, 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-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

don't include both term.h and termcap.h

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:27 2012 UTC (4 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.10: +14 -4 lines
Diff to previous 1.10 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 24 20:09:30 2012 UTC (4 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.12: +10 -3 lines
Diff to previous 1.12 (colored)

From: Jilles Tjoelker: Add a mapping for the cursor delete key

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 18 20:32:00 2011 UTC (4 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: 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
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

Initialize termbuf (Kamil Dudka)

Revision 1.11 / (download) - annotate - [select for diffs], Fri Nov 18 20:25:48 2011 UTC (4 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

check for negative return of ct_visual_char (Kamil Dudka)

Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 4 15:27:04 2011 UTC (4 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)


fixed warnings where wint_t is unsigned.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 3 14:09:38 2011 UTC (5 years ago) by christos
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

fix broken change (parenthesis in the wrong place). From Nirbhay Choubey

Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 16 16:25:15 2011 UTC (5 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.7: +9 -8 lines
Diff to previous 1.7 (colored)

re-enable -Wconversion

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 29 23:44:45 2011 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (colored)

pass -Wconversion

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

kill ifdef notdef

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

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

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 28 20:50:55 2011 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.3: +31 -25 lines
Diff to previous 1.3 (colored)

kill ptr_t and ioctl_t, add  * sizeof(*foo) to all allocations.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 28 03:52:19 2011 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.2: +44 -36 lines
Diff to previous 1.2 (colored)

whitespace

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 28 01:56:27 2011 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.1: +39 -42 lines
Diff to previous 1.1 (colored)

Rename key to keymacro to avoid conflicts with term.h. The renaming of term
to terminal was again to avoid conflicts with term.h. term.h is a moving
namespace violation.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 28 01:05:20 2011 UTC (5 years, 2 months ago) by christos
Branch: MAIN

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

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>