The NetBSD Project

CVS log for src/lib/libcurses/refresh.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.128 / (download) - annotate - [select for diffs], Sat Jun 24 05:18:13 2023 UTC (9 months, 3 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.127: +3 -3 lines
Diff to previous 1.127 (colored) to selected 1.80.2.2 (colored)

Fix typo in comment.

Revision 1.127 / (download) - annotate - [select for diffs], Fri Apr 28 07:12:39 2023 UTC (11 months, 2 weeks ago) by blymn
Branch: MAIN
Changes since 1.126: +2 -3 lines
Diff to previous 1.126 (colored) to selected 1.80.2.2 (colored)

Don't set the clear_to_eol variable in doupdate to NULL, this was a
leftover from previous code that makes no sense and makes worms(6)
crash randomly.  Thanks to kre@ for reporting this.

Revision 1.126 / (download) - annotate - [select for diffs], Mon Dec 5 21:14:25 2022 UTC (16 months, 1 week ago) by blymn
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.125: +2 -9 lines
Diff to previous 1.125 (colored) to selected 1.80.2.2 (colored)

Revert previous change, it is not correct.

Revision 1.125 / (download) - annotate - [select for diffs], Wed Nov 30 06:19:15 2022 UTC (16 months, 2 weeks ago) by blymn
Branch: MAIN
Changes since 1.124: +9 -2 lines
Diff to previous 1.124 (colored) to selected 1.80.2.2 (colored)

When performing a scroll, check the last line of the region is the same
on virtscr and curscr because the indexes past are supposed to be
one *past* the last matching line (they may actually match if the line is
at the bottom of the screen).  Iff they don't match reduce the scroll
region size by one so we don't scroll non-matching lines, also check
if the region is then 0 after the decrement and just return if it was.

Revision 1.124 / (download) - annotate - [select for diffs], Wed Oct 19 06:09:27 2022 UTC (17 months, 4 weeks ago) by blymn
Branch: MAIN
Changes since 1.123: +145 -68 lines
Diff to previous 1.123 (colored) to selected 1.80.2.2 (colored)

Fixes for lib/56926 amongst other things:
 - plod now correctly accounts for wide characters when plodding
 - use erase line when in color mode if the terminal has the capability
 - ensure that the CA_CONTINUATION flag is applied consistently to the
   subsequent characters in a wide character.
 - fix a bunch of refresh bugs that caused inconsistent placement of
   wide characters.

Revision 1.123 / (download) - annotate - [select for diffs], Tue May 3 07:25:34 2022 UTC (23 months, 2 weeks ago) by blymn
Branch: MAIN
Changes since 1.122: +6 -6 lines
Diff to previous 1.122 (colored) to selected 1.80.2.2 (colored)


 * Don't redraw the background if the new background character is the
   same as the old one.  This prevents excessive redraws in some
   applications.

 * Fix bug introduced when wbkgrndset was fixed, we cannot blindly
   replace any instance of the old background character with the new one
   because some of those characters were put there by the application
   leading to display corruption.  So flag characters as background when
   they are erased and only update the flagged characters when setting
   the background.

Revision 1.122 / (download) - annotate - [select for diffs], Tue Apr 19 22:26:57 2022 UTC (23 months, 3 weeks ago) by blymn
Branch: MAIN
Changes since 1.121: +10 -45 lines
Diff to previous 1.121 (colored) to selected 1.80.2.2 (colored)

fix for PR 55496

 * Fix bkgrndset so that it actually sets the background character in
   in line with the SUSv2 specification.

 * Add an internal function to copy a complex character

 * Make the previously static celleq function into a libcurses private
   function so that it can be called in other files.

Revision 1.121 / (download) - annotate - [select for diffs], Wed Apr 13 19:17:09 2022 UTC (2 years ago) by pgoyette
Branch: MAIN
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored) to selected 1.80.2.2 (colored)

Fix build (enabled only for MKDEBUG?)

Revision 1.120 / (download) - annotate - [select for diffs], Tue Apr 12 21:54:16 2022 UTC (2 years ago) by blymn
Branch: MAIN
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored) to selected 1.80.2.2 (colored)

Fix compile breakage when wide char support is disabled.

Revision 1.119 / (download) - annotate - [select for diffs], Tue Apr 12 07:03:04 2022 UTC (2 years ago) by blymn
Branch: MAIN
Changes since 1.118: +142 -98 lines
Diff to previous 1.118 (colored) to selected 1.80.2.2 (colored)

Make the default colour pair be pair 0 which appears to match other
curses implementations.

Revision 1.118 / (download) - annotate - [select for diffs], Tue Jan 25 03:05:06 2022 UTC (2 years, 2 months ago) by blymn
Branch: MAIN
Changes since 1.117: +79 -38 lines
Diff to previous 1.117 (colored) to selected 1.80.2.2 (colored)

Correct (hopefully) the handling of wide characters.

* Remove the WCOL family of macros, these were "stealing" the upper bits
  of a character attribute to store the column width of a character.  No
  warning was given about this in curses.h which meant it was easy to
  accidentally reuse the bits in use by the WCOL macros (we already did).
  Add couple of 16bit ints to the character structure iff HAVE_WCHAR is
  true to hold the display width and wide char related flags (just
  continuation at the moment)
* Convert all instances of WCOL macros to just reference the column width
  in the char structure so it is not obfuscated.
* Fix cursor positioning so placing a cursor in the middle of a wide char
  actually does just that.
* Fix plod so it understands that if the cursor is going to be positioned
  in the middle of a wide char it cannot just reprint the char to get there.
* Fix plodput so it correctly counts the number of output characters for
  wide characters.
* Fix slk routines to properly size the wctomb() buffer.

Revision 1.117 / (download) - annotate - [select for diffs], Fri Dec 17 03:50:18 2021 UTC (2 years, 3 months ago) by uwe
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored) to selected 1.80.2.2 (colored)

curses: spell "foreground" correctly in comments

Revision 1.116 / (download) - annotate - [select for diffs], Tue Sep 7 01:23:09 2021 UTC (2 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.115: +4 -33 lines
Diff to previous 1.115 (colored) to selected 1.80.2.2 (colored)

PR lib/56388

For __newwin() and __resizewin(), the line hash was calculated as if
HAVE_WCHAR is disabled.

Fix this bug by refactoring __hash_line() function, which calculates
the line hash by an appropriate method.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Sep 6 07:45:48 2021 UTC (2 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.114: +20 -15 lines
Diff to previous 1.114 (colored) to selected 1.80.2.2 (colored)

Style fixes most for __CTRACE().

Revision 1.114 / (download) - annotate - [select for diffs], Mon Sep 6 07:03:50 2021 UTC (2 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.113: +3 -75 lines
Diff to previous 1.113 (colored) to selected 1.80.2.2 (colored)

Expand __CTRACE() to __nothing #ifndef DEBUG.

Remove most of #ifdef DEBUG around __CTRACE() calls.

No binary changes, except for line numbers for assert().

Revision 1.113 / (download) - annotate - [select for diffs], Sat May 8 04:29:07 2021 UTC (2 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.112: +8 -3 lines
Diff to previous 1.112 (colored) to selected 1.80.2.2 (colored)

avoid accessing stack garbage.

on arm64eb resuming vi(1) would often crash.  in makech(), the 'csp'
variable is either set to current window data, or a local stack
variable's address '&blank'.  the window data has many lines of info
stored, and 'csp++' is used per line here.  unfortunately, a case
existed where 'csp++' operated on csp initialised from '&blank' which
eventually crashes when, on my display with 160 columns and 'csp + 155'
exceeds the mapped stack and crashes.

match the '!_cursesi_screen->curwin' conditional that initialises csp,
and avoid csp++ here.  assert() that csp != &blank in both places that
modify csp.

thanks to jdc@ and mlelstv@.

XXX: possibly also should avoid the putch() here as well.

Revision 1.88.12.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:14 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.88.12.1: +3 -3 lines
Diff to previous 1.88.12.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.80.2.2 (colored)

Merge changes from current as of 20200406

Revision 1.112 / (download) - annotate - [select for diffs], Mon Feb 24 12:20:29 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored) to selected 1.80.2.2 (colored)

0x%p --> %p for non-external codes.

Revision 1.88.12.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:22 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.88: +434 -386 lines
Diff to previous 1.88 (colored) to selected 1.80.2.2 (colored)

Sync with HEAD

Revision 1.111 / (download) - annotate - [select for diffs], Sun Jun 9 07:40:14 2019 UTC (4 years, 10 months ago) by blymn
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.110: +6 -9 lines
Diff to previous 1.110 (colored) to selected 1.80.2.2 (colored)

Rework previous fix for getch cursor position when cursor is moved
without refresh.  If the window is not dirty but the window cursor
position does not match curscr then move the cursor.  This fixes
the issues seen in PR lib/54263.

Revision 1.110 / (download) - annotate - [select for diffs], Mon May 20 22:17:41 2019 UTC (4 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.109: +8 -4 lines
Diff to previous 1.109 (colored) to selected 1.80.2.2 (colored)

Back out incorrect fix for PR 53617 and fix it in a different way.
Keep track of the cursor location, if getch is called without a refresh
and without pending updates (dirty windows) then move the cursor to the
correct location directly.  Doing this prevents unnecessary refreshes.

Revision 1.109 / (download) - annotate - [select for diffs], Sun May 12 02:19:23 2019 UTC (4 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.108: +14 -5 lines
Diff to previous 1.108 (colored) to selected 1.80.2.2 (colored)

Add more debug to _wnoutrefresh

Revision 1.108 / (download) - annotate - [select for diffs], Wed Apr 24 07:09:44 2019 UTC (4 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.107: +15 -10 lines
Diff to previous 1.107 (colored) to selected 1.80.2.2 (colored)

Add/improve debug output for some routines.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Mar 29 18:32:45 2019 UTC (5 years ago) by roy
Branch: MAIN
Changes since 1.106: +3 -3 lines
Diff to previous 1.106 (colored) to selected 1.80.2.2 (colored)

Minor adjustment to prior to match putch

Revision 1.106 / (download) - annotate - [select for diffs], Fri Mar 29 16:56:58 2019 UTC (5 years ago) by roy
Branch: MAIN
Changes since 1.105: +10 -10 lines
Diff to previous 1.105 (colored) to selected 1.80.2.2 (colored)

Use WCOL rather than wcwidth(3) as we should already know the width
during refresh.
Ensure the character width is not negative when advancing during refresh
(unlikely) and we actually have something to insert in the lower right
corner depending on terminal caps.

Fixes PR lib/54085

Revision 1.88.10.4 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:10 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.88.10.3: +13 -10 lines
Diff to previous 1.88.10.3 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.80.2.2 (colored)

Synch with HEAD

Revision 1.105 / (download) - annotate - [select for diffs], Sun Jan 6 04:27:53 2019 UTC (5 years, 3 months ago) by uwe
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.104: +11 -8 lines
Diff to previous 1.104 (colored) to selected 1.80.2.2 (colored)

_wnoutrefresh - extend current position checks.

Also verify that dwin->cury >= begy (ditto for x), i.e. for pads make
sure that the current position is after the beginning of the displayed
portion.  While here refactor the checks for better readability.

We should probably combine the y and x checks b/c if one of them is
not in the range, the current position as a whole is not in the range
and it doesn't make sense to pick and set just the y or just the x
part of it.

Revision 1.104 / (download) - annotate - [select for diffs], Sun Jan 6 03:59:17 2019 UTC (5 years, 3 months ago) by uwe
Branch: MAIN
Changes since 1.103: +4 -4 lines
Diff to previous 1.103 (colored) to selected 1.80.2.2 (colored)

_wnoutrefresh - fix current position checks for pads

maxy is an absolute value and should not be adjusted for begy when we
check also absolute cury.  Note that this change does not affect
calculations for normal windows as for them we always pass zero for
begy.  Ditto for x.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Jan 6 03:46:11 2019 UTC (5 years, 3 months ago) by uwe
Branch: MAIN
Changes since 1.102: +4 -4 lines
Diff to previous 1.102 (colored) to selected 1.80.2.2 (colored)

prefresh - fix current position calculations

The code was copy-pasted from wrefresh(), but for pads we need to
adjust for (pbegy, pbegx).

PR lib/53801

Revision 1.88.10.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:27 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.88.10.2: +4 -4 lines
Diff to previous 1.88.10.2 (colored) to branchpoint 1.88 (colored) to selected 1.80.2.2 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.102 / (download) - annotate - [select for diffs], Fri Nov 30 04:38:14 2018 UTC (5 years, 4 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (colored) to selected 1.80.2.2 (colored)

curses: Fix inverted logic when drawing LR corner with auto margins

Thanks to M. Levinson.

Revision 1.88.10.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:12 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.88.10.1: +269 -295 lines
Diff to previous 1.88.10.1 (colored) to branchpoint 1.88 (colored) to selected 1.80.2.2 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.101 / (download) - annotate - [select for diffs], Sun Nov 18 02:46:24 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.100: +10 -10 lines
Diff to previous 1.100 (colored) to selected 1.80.2.2 (colored)

Reindent a few lineeq() calls now that we can w/out exceeding 80
columns limit.  Whitespace change only.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Nov 18 02:39:44 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.99: +5 -6 lines
Diff to previous 1.99 (colored) to selected 1.80.2.2 (colored)

Further tweak previous.  Change the check order to be more logical.
No functional change intentded.  While here fix indentation.

Revision 1.99 / (download) - annotate - [select for diffs], Sun Nov 18 02:34:39 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.98: +6 -11 lines
Diff to previous 1.98 (colored) to selected 1.80.2.2 (colored)

Merge one more #ifdef with mostly identical code in both branches.
The same object code is generated modulo gratuitously different order
of checks.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Nov 18 02:17:24 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.97: +10 -23 lines
Diff to previous 1.97 (colored) to selected 1.80.2.2 (colored)

Merge another #ifdefs that now has identical code in both branches
modulo swapped arguments to celleq() call.  Same object code is
generated otherwise for both HAVE_WCHAR and !HAVE_WCHAR

Revision 1.97 / (download) - annotate - [select for diffs], Sun Nov 18 01:54:30 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.96: +3 -36 lines
Diff to previous 1.96 (colored) to selected 1.80.2.2 (colored)

Merge few #ifdefs that now have identical code in both branches.
Same object code is generated for both HAVE_WCHAR and !HAVE_WCHAR.

Revision 1.96 / (download) - annotate - [select for diffs], Sun Nov 18 01:39:55 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.95: +26 -20 lines
Diff to previous 1.95 (colored) to selected 1.80.2.2 (colored)

Define celleq() and lineeq() for !HAVE_WCHAR too and use them instead
of explicit memcmp() calls.  Same object code is generated for both
HAVE_WCHAR and !HAVE_WCHAR, but we can now try to merge some of the
#ifdefs

Revision 1.95 / (download) - annotate - [select for diffs], Sun Nov 18 01:19:29 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.94: +17 -17 lines
Diff to previous 1.94 (colored) to selected 1.80.2.2 (colored)

Rename cellcmp() and linecmp() to celleq() and lineeq() respectively
and make them static.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Nov 18 01:05:30 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.93: +4 -4 lines
Diff to previous 1.93 (colored) to selected 1.80.2.2 (colored)

quickch - fix inverted checks.

I have to admit I have no idea what's going on here, but HAVE_WCHAR
code here inverted the sense of linecmp and cellcmp checks w.r.t the
!HAVE_WCHAR variant just above it.  Cf. also all other similar #ifdefs
in this file.

Found through source code inspection, not really tested.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Nov 18 00:45:44 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored) to selected 1.80.2.2 (colored)

cellcmp - use logical && not bitwise &

Revision 1.92 / (download) - annotate - [select for diffs], Mon Oct 29 01:02:16 2018 UTC (5 years, 5 months ago) by uwe
Branch: MAIN
Changes since 1.91: +5 -4 lines
Diff to previous 1.91 (colored) to selected 1.80.2.2 (colored)

Fix operator precedence for !HAVE_WCHAR

Revision 1.91 / (download) - annotate - [select for diffs], Sun Oct 21 12:47:33 2018 UTC (5 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.90: +221 -202 lines
Diff to previous 1.90 (colored) to selected 1.80.2.2 (colored)

curses: ensure attributes are correctly set for each character

Another fix for PR# 30978.

Revision 1.88.10.1 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:22 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.88: +132 -76 lines
Diff to previous 1.88 (colored) to selected 1.80.2.2 (colored)

Sync with head

Revision 1.90 / (download) - annotate - [select for diffs], Wed Oct 10 09:40:11 2018 UTC (5 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.89: +123 -63 lines
Diff to previous 1.89 (colored) to selected 1.80.2.2 (colored)

curses: test terminal capabilities for drawing in the bottom right corner

If auto margins are present, we need to turn them off or enter
an insert mode to "push" the character we want into the corner.
If pushing a wide character of greater than one cell, we need something
more than ich1, othewise the bottom right corner will remain blank.

Follow on fix for PR# 30978.

OK jdc@

Revision 1.88.4.2 / (download) - annotate - [select for diffs], Tue Oct 9 10:01:38 2018 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.88.4.1: +38 -34 lines
Diff to previous 1.88.4.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.80.2.2 (colored)

Back out the following revision(s) (requested by roy in ticket #1049):

	lib/libcurses/refresh.c: revision 1.89
	lib/libcurses/newwin.c: revision 1.53

  curses: allow drawing the lowest right hand cell of the terminal

  This is a historical behaviour that needs fixing
  If any terminal does scroll when drawing in the lowest right hand cell
  of the terminal then an entry should be made in the terminfo database
  (currently there is no standard code) to state that and define
  __SCROLLWIN as before.

  Fixes PR# 30978.


As discussed in the PR, this change introduces a regression.

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Tue Oct 9 09:49:35 2018 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
Changes since 1.88: +34 -38 lines
Diff to previous 1.88 (colored) to selected 1.80.2.2 (colored)

Pull up following revision(s) (requested by roy in ticket #1049):

	lib/libcurses/refresh.c: revision 1.89
	lib/libcurses/newwin.c: revision 1.53

curses: allow drawing the lowest right hand cell of the terminal

This is a historical behaviour that needs fixing
If any terminal does scroll when drawing in the lowest right hand cell
of the terminal then an entry should be made in the terminfo database
(currently there is no standard code) to state that and define
__SCROLLWIN as before.

Fixes PR# 30978.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Oct 5 11:59:05 2018 UTC (5 years, 6 months ago) by roy
Branch: MAIN
Changes since 1.88: +34 -38 lines
Diff to previous 1.88 (colored) to selected 1.80.2.2 (colored)

curses: allow drawing the lowest right hand cell of the terminal

This is a historical behaviour that needs fixing
If any terminal does scroll when drawing in the lowest right hand cell
of the terminal then an entry should be made in the terminfo database
(currently there is no standard code) to state that and define
__SCROLLWIN as before.

Fixes PR# 30978.

Revision 1.80.2.3 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:54 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.80.2.2: +4 -4 lines
Diff to previous 1.80.2.2 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Sync with HEAD

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:10 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.87: +4 -4 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.80.2.2 (colored)

Sync with HEAD

Revision 1.88 / (download) - annotate - [select for diffs], Mon Mar 20 20:42:39 2017 UTC (7 years ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-compat-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.87: +4 -4 lines
Diff to previous 1.87 (colored) to selected 1.80.2.2 (colored)

Make this compile again: use ce instead of clr_eol which gcc thinks might
be NULL.

Revision 1.80.2.2 / (download) - annotate - [selected], Mon Mar 20 06:56:59 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.80.2.1: +65 -47 lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored)

Sync with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Wed Jan 11 10:06:32 2017 UTC (7 years, 3 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.86: +7 -7 lines
Diff to previous 1.86 (colored) to selected 1.80.2.2 (colored)

Kill stray refs to __virtscr and _cursesi_screen missed in prior commit.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Jan 11 09:54:54 2017 UTC (7 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.85: +14 -15 lines
Diff to previous 1.85 (colored) to selected 1.80.2.2 (colored)

ripoffline requires wnoutrefresh to work before _cursesi_screen has been
set.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Jan 10 10:33:49 2017 UTC (7 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.84: +21 -13 lines
Diff to previous 1.84 (colored) to selected 1.80.2.2 (colored)

When doupdate is called, check for typeahead input after N lines changed
instead of aborting really early.

This allows some screen update when holding the page down key for example.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jan 10 09:32:01 2017 UTC (7 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.83: +29 -18 lines
Diff to previous 1.83 (colored) to selected 1.80.2.2 (colored)

Test for __ISPASTEOL when moving the cursor and it hasn't moved.
Unset __ISPASTEOL when moving the cursor during refresh.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:04 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.80: +123 -87 lines
Diff to previous 1.80 (colored) to selected 1.80.2.2 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.83 / (download) - annotate - [select for diffs], Fri Jan 6 13:53:18 2017 UTC (7 years, 3 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.82: +109 -85 lines
Diff to previous 1.82 (colored) to selected 1.80.2.2 (colored)

KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jan 6 09:14:07 2017 UTC (7 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.81: +4 -4 lines
Diff to previous 1.81 (colored) to selected 1.80.2.2 (colored)

u_int -> unsigned int, u_int32_t -> uint32_t.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Dec 31 22:47:01 2016 UTC (7 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.80: +14 -2 lines
Diff to previous 1.80 (colored) to selected 1.80.2.2 (colored)

Implement POSIX Curses typeahead function.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Jan 10 08:11:06 2016 UTC (8 years, 3 months ago) by jdc
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) to selected 1.80.2.2 (colored)

Clear the "forced" flag after updating a line, otherwise we'll always do
complete line redraws.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:17 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.76.2.1: +186 -59 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored) to selected 1.80.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:55 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.75.2.1: +197 -63 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored) to selected 1.80.2.2 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.79 / (download) - annotate - [select for diffs], Thu Feb 20 09:42:42 2014 UTC (10 years, 1 month ago) by blymn
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.78: +122 -38 lines
Diff to previous 1.78 (colored) to selected 1.80.2.2 (colored)

Correct the implementation of mvderwin, it now works as specified by
SUSv2.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Dec 6 11:23:47 2013 UTC (10 years, 4 months ago) by blymn
Branch: MAIN
Changes since 1.77: +69 -26 lines
Diff to previous 1.77 (colored) to selected 1.80.2.2 (colored)

Make the touch family of calls actually force an update of the
terminal bypassing optimisations.  Previously if curses thought curscr
was in sync with virtscr (curses concept of what is on the screen) then
nothing would be output.  This change forces an update out to the terminal
regardless.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:06 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.76: +11 -4 lines
Diff to previous 1.76 (colored) to selected 1.80.2.2 (colored)

resync from head

Revision 1.77 / (download) - annotate - [select for diffs], Sun May 5 14:22:07 2013 UTC (10 years, 11 months ago) by jdc
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.76: +11 -4 lines
Diff to previous 1.76 (colored) to selected 1.80.2.2 (colored)

Add extra debugging when copying window contents.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:31 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.75: +15 -4 lines
Diff to previous 1.75 (colored) to selected 1.80.2.2 (colored)

sync with head.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Apr 21 11:33:16 2012 UTC (11 years, 11 months ago) by blymn
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.75: +15 -4 lines
Diff to previous 1.75 (colored) to selected 1.80.2.2 (colored)

Fix build break if curses is built without wide char support

Revision 1.75 / (download) - annotate - [select for diffs], Mon Oct 3 12:32:15 2011 UTC (12 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base4, 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.74: +14 -14 lines
Diff to previous 1.74 (colored) to selected 1.80.2.2 (colored)

Use tiparm instead of vtparm.

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:37 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored) next main 1.74 (colored) to selected 1.80.2.2 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jun 16 22:45:46 2011 UTC (12 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored) to selected 1.80.2.2 (colored)

Correctly test for __ISDIRTY.
Problem noticed by (and test case provided by) blymn@.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Feb 8 20:45:22 2010 UTC (14 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.72: +4 -4 lines
Diff to previous 1.72 (colored) to selected 1.80.2.2 (colored)

Fix an off-by-one error.
Thanks to Matthias Drochner.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Feb 3 15:34:40 2010 UTC (14 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.71: +148 -107 lines
Diff to previous 1.71 (colored) to selected 1.80.2.2 (colored)

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@

Revision 1.71 / (download) - annotate - [select for diffs], Wed Jul 22 16:57:15 2009 UTC (14 years, 8 months ago) by roy
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.70: +83 -83 lines
Diff to previous 1.70 (colored) to selected 1.80.2.2 (colored)

Prepare curses for the possibility of changing from termcap to terminfo.
term.h #defines lines, pad_char and no_color_video macros which conflict
with existing curses code. We change lines to alines and nlines depending
on use, pad_char to padchar and no_color_video becomes no_color_attributes
but with a strong alias from no_color_video.

Revision 1.69.8.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:29:52 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.80.2.2 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.69.6.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:13:39 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.80.2.2 (colored)

sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jun 13 03:18:04 2008 UTC (15 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, 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-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) to selected 1.80.2.2 (colored)

remove unnecessary casts.

Revision 1.67.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:25 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.67: +16 -39 lines
Diff to previous 1.67 (colored) next main 1.68 (colored) to selected 1.80.2.2 (colored)

sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Sat Oct 6 20:14:41 2007 UTC (16 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, wrstuden-revivesa
Changes since 1.68: +16 -17 lines
Diff to previous 1.68 (colored) to selected 1.80.2.2 (colored)

Make it build without HAVE_WCHAR

Revision 1.68 / (download) - annotate - [select for diffs], Wed Sep 19 22:00:43 2007 UTC (16 years, 7 months ago) by jdc
Branch: MAIN
Changes since 1.67: +2 -24 lines
Diff to previous 1.67 (colored) to selected 1.80.2.2 (colored)

We don't need separate #ifdef's for __ALTCHARSET and WA_ALTCHARSET, as they
are defined to be the same in curses.h.

Revision 1.67 / (download) - annotate - [select for diffs], Tue May 29 19:07:19 2007 UTC (16 years, 10 months ago) by veego
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) to selected 1.80.2.2 (colored)

Fix compile errors on i386 by changing %ld to %zu.

Revision 1.66 / (download) - annotate - [select for diffs], Tue May 29 11:10:56 2007 UTC (16 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.65: +12 -7 lines
Diff to previous 1.65 (colored) to selected 1.80.2.2 (colored)

Fix some compiler warnings.
Remove shadowed variable declarations when DEBUG is defined.

Revision 1.65 / (download) - annotate - [select for diffs], Mon May 28 15:01:57 2007 UTC (16 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.64: +496 -66 lines
Diff to previous 1.64 (colored) to selected 1.80.2.2 (colored)

Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.

Revision 1.63.6.10 / (download) - annotate - [select for diffs], Sun Mar 18 10:04:59 2007 UTC (17 years, 1 month ago) by jdc
Branch: wcurses
Changes since 1.63.6.9: +26 -11 lines
Diff to previous 1.63.6.9 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored) to selected 1.80.2.2 (colored)

Mark subsequent cells of multi-column characters with __WCWIDTH and
their attributes and only display them once.

Revision 1.63.6.9 / (download) - annotate - [select for diffs], Wed Feb 28 10:34:46 2007 UTC (17 years, 1 month ago) by blymn
Branch: wcurses
Changes since 1.63.6.8: +33 -5 lines
Diff to previous 1.63.6.8 (colored) to branchpoint 1.63 (colored) to selected 1.80.2.2 (colored)

Output the non-spacing characters to the screen.

Revision 1.63.6.8 / (download) - annotate - [select for diffs], Mon Feb 5 10:38:17 2007 UTC (17 years, 2 months ago) by blymn
Branch: wcurses
Changes since 1.63.6.7: +4 -4 lines
Diff to previous 1.63.6.7 (colored) to branchpoint 1.63 (colored) to selected 1.80.2.2 (colored)

Don't overwrite character width when copying characters between screens.

Revision 1.63.6.7 / (download) - annotate - [select for diffs], Sun Feb 4 09:54:23 2007 UTC (17 years, 2 months ago) by blymn
Branch: wcurses
Changes since 1.63.6.6: +6 -10 lines
Diff to previous 1.63.6.6 (colored) to branchpoint 1.63 (colored) to selected 1.80.2.2 (colored)

Ansify static function prototypes

Revision 1.63.6.6 / (download) - annotate - [select for diffs], Thu Jan 25 08:50:15 2007 UTC (17 years, 2 months ago) by blymn
Branch: wcurses
Changes since 1.63.6.5: +14 -61 lines
Diff to previous 1.63.6.5 (colored) to branchpoint 1.63 (colored) to selected 1.80.2.2 (colored)

 * rearrange code to ensure that SET_WCOL() is called after attributes
   are copied/set.

 * fix some instances where attributes were being checked without
   masking with WA_ATTRIBUTES

 * Replace another instance of non-spacing character copying with function
   call.

Revision 1.63.6.5 / (download) - annotate - [select for diffs], Tue Jan 23 21:07:09 2007 UTC (17 years, 2 months ago) by jdc
Branch: wcurses
Changes since 1.63.6.4: +6 -5 lines
Diff to previous 1.63.6.4 (colored) to branchpoint 1.63 (colored) to selected 1.80.2.2 (colored)

Mask off the attribute bits when checking which attributes we need to set.

Revision 1.63.6.4 / (download) - annotate - [select for diffs], Mon Jan 22 11:44:32 2007 UTC (17 years, 2 months ago) by jdc
Branch: wcurses
Changes since 1.63.6.3: +26 -28 lines
Diff to previous 1.63.6.3 (colored) to branchpoint 1.63 (colored) to selected 1.80.2.2 (colored)

Only produce debug information for the current line.

Revision 1.63.6.3 / (download) - annotate - [select for diffs], Mon Jan 22 10:43:28 2007 UTC (17 years, 2 months ago) by blymn
Branch: wcurses
Changes since 1.63.6.2: +2 -3 lines
Diff to previous 1.63.6.2 (colored) to branchpoint 1.63 (colored) to selected 1.80.2.2 (colored)

* Make WCHAR libcurses the default build
* Sprinkle about some SET_WCOL() calls where they were missing

Revision 1.63.6.2 / (download) - annotate - [select for diffs], Sun Jan 21 17:43:35 2007 UTC (17 years, 2 months ago) by jdc
Branch: wcurses
Changes since 1.63.6.1: +333 -281 lines
Diff to previous 1.63.6.1 (colored) to branchpoint 1.63 (colored) to selected 1.80.2.2 (colored)

Apply the changes that add debug "areas" on HEAD to the wcurses branch.
Add correspending changes to the debug code that is only present on the branch.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jan 21 13:25:36 2007 UTC (17 years, 2 months ago) by jdc
Branch: MAIN
Changes since 1.63: +119 -77 lines
Diff to previous 1.63 (colored) to selected 1.80.2.2 (colored)

Add debug "areas" that allow selective debugging by setting the
"CURSES_TRACE_MASK" environment variable.  Postive vales include
debug areas, negative values exclude them.

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Sun Jan 21 11:38:59 2007 UTC (17 years, 2 months ago) by blymn
Branch: wcurses
Changes since 1.63: +561 -131 lines
Diff to previous 1.63 (colored) to selected 1.80.2.2 (colored)

Wide curses merge

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jan 15 11:43:54 2006 UTC (18 years, 3 months ago) by jdc
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, wcurses-base, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wcurses
Changes since 1.62: +6 -20 lines
Diff to previous 1.62 (colored) to selected 1.80.2.2 (colored)

Background characters and attributes don't need to be kept per character
cell, as they are merged when characters are added.  Remove the per cell
storage and clarify the manual page.  Pointed out by ruibiao@.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Oct 23 18:38:52 2005 UTC (18 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored) to selected 1.80.2.2 (colored)

Don't read entry after end of array.
Discovered by Neil Ludban running curses under 'ElecticFence'

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Sun Jul 24 00:50:34 2005 UTC (18 years, 8 months ago) by snj
Branch: netbsd-2
CVS Tags: 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
Changes since 1.59: +6 -8 lines
Diff to previous 1.59 (colored) next main 1.60 (colored) to selected 1.80.2.2 (colored)

Apply patch (requested by riz in ticket #5516):
Sync libcurses with HEAD of 2005-07-22.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Feb 18 22:16:27 2005 UTC (19 years, 2 months ago) by dsl
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
Changes since 1.60: +5 -6 lines
Diff to previous 1.60 (colored) to selected 1.80.2.2 (colored)

Change first arg of __hash_more to const void * to remove need for double casts

Revision 1.60 / (download) - annotate - [select for diffs], Wed Apr 7 17:27:10 2004 UTC (20 years ago) by christos
Branch: MAIN
Changes since 1.59: +3 -4 lines
Diff to previous 1.59 (colored) to selected 1.80.2.2 (colored)

check fflush() return code (from Julian Coleman)

Revision 1.59 / (download) - annotate - [select for diffs], Sun Mar 28 08:58:37 2004 UTC (20 years ago) by jdc
Branch: MAIN
CVS Tags: netbsd-2-base, 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
Branch point for: netbsd-2
Changes since 1.58: +9 -2 lines
Diff to previous 1.58 (colored) to selected 1.80.2.2 (colored)

Changes to support *echochar().
Should fix PR lib/24927.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:23 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.57: +3 -7 lines
Diff to previous 1.57 (colored) to selected 1.80.2.2 (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.57 / (download) - annotate - [select for diffs], Sat Jul 5 19:07:49 2003 UTC (20 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.56: +61 -43 lines
Diff to previous 1.56 (colored) to selected 1.80.2.2 (colored)

Rework the way window/wub-window refresh is done.

For each line that is marked dirty on each sub-window, we now mark the
relevant line on the parent as dirty and unmark it on the sub-window.
This avoids copying the same data multiple times and also leaves the
cursor in the correct position for the window refreshed.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jun 28 21:11:43 2003 UTC (20 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.55: +9 -9 lines
Diff to previous 1.55 (colored) to selected 1.80.2.2 (colored)

Make the refresh complete in the presence of multiple sub-windows.
Match function names in the debug output.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jun 26 17:17:10 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.54: +31 -17 lines
Diff to previous 1.54 (colored) to selected 1.80.2.2 (colored)

Stop refresh(subwin) doing refresh on the other subwin's created before it.
(If nothing else the cursor would get left in the wrong place).
Fix some if (!flags & MASK) checks.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Mar 29 21:43:22 2003 UTC (21 years ago) by jdc
Branch: MAIN
Changes since 1.53: +14 -4 lines
Diff to previous 1.53 (colored) to selected 1.80.2.2 (colored)

Now refresh() refreshes subwindows too.
Fixes PR lib/20544 by rtr.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Feb 17 11:07:20 2003 UTC (21 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.52: +8 -8 lines
Diff to previous 1.52 (colored) to selected 1.80.2.2 (colored)

Fix resize of windows with subwins.
Let window size be given as a -ver number => lines from bottom.
Fix trace calls of pointers
(approved by Brett Lumn)

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jan 27 21:11:12 2003 UTC (21 years, 2 months ago) by jdc
Branch: MAIN
Changes since 1.51: +9 -2 lines
Diff to previous 1.51 (colored) to selected 1.80.2.2 (colored)

Check for conflict between colour and other attributes.  The previous
checks when adding attributes could be inadequate if background colours
were later added to a window.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jan 12 12:53:51 2003 UTC (21 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.50: +3 -5 lines
Diff to previous 1.50 (colored) to selected 1.80.2.2 (colored)

Back out part of rev 1.50.  We can't call werase() here.
Fixes PR lib/19739 by Matthias Scheler.
Problem also noted by Martin Husemann.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Dec 23 12:17:55 2002 UTC (21 years, 3 months ago) by jdc
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.49: +130 -33 lines
Diff to previous 1.49 (colored) to selected 1.80.2.2 (colored)

Add pnoutrefresh() and prefresh().
Modify _cursesi_wnoutrefresh() to handle pads.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 5 17:22:13 2002 UTC (21 years, 4 months ago) by jdc
Branch: MAIN
Changes since 1.48: +7 -4 lines
Diff to previous 1.48 (colored) to selected 1.80.2.2 (colored)

When copying a line from a window, only copy the changed part instead of
the whole line.
This fixes a bug when displaying displaying overlapping windows.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Oct 22 11:37:34 2002 UTC (21 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.80.2.2 (colored)

Fix lint nits mainly with the len parameter type in hash_more.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Aug 4 16:43:08 2002 UTC (21 years, 8 months ago) by jdc
Branch: MAIN
Changes since 1.46: +16 -42 lines
Diff to previous 1.46 (colored) to selected 1.80.2.2 (colored)

Set the curses default colours to white on black when using colour.
See the Single UNIX Specification, Version 2 :

  http://www.opengroup.org/onlinepubs/007908799/xcurses/can_change_color.html

Also, add the functions :

	use_default_colors();
	assume_default_colors(fore, back);

(from ncurses) that allow the terminal default colours or user-specified
default colours to be used.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jun 26 18:14:04 2002 UTC (21 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.45: +38 -14 lines
Diff to previous 1.45 (colored) to selected 1.80.2.2 (colored)

PR/17352: David Laight: Curses core-dumps on windows > 1024 wide.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jan 2 10:38:28 2002 UTC (22 years, 3 months ago) by blymn
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.44: +4 -4 lines
Diff to previous 1.44 (colored) to selected 1.80.2.2 (colored)

Remove extraneous tabs from blank lines.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Dec 31 14:23:11 2001 UTC (22 years, 3 months ago) by blymn
Branch: MAIN
Changes since 1.43: +29 -16 lines
Diff to previous 1.43 (colored) to selected 1.80.2.2 (colored)

fix __startwin() so it outputs the init strings to the correct device.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Dec 2 09:14:22 2001 UTC (22 years, 4 months ago) by blymn
Branch: MAIN
Changes since 1.42: +65 -61 lines
Diff to previous 1.42 (colored) to selected 1.80.2.2 (colored)

* Major change to add support for the newterm/set_term functions.
* Added fix to getch.c suggested by Gabriel Rosenkoetter (thanks :-)

Revision 1.42 / (download) - annotate - [select for diffs], Thu Sep 20 11:11:54 2001 UTC (22 years, 7 months ago) by blymn
Branch: MAIN
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored) to selected 1.80.2.2 (colored)

Add code to allow resizing of windows and the underlying terminal.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Dec 19 21:34:25 2000 UTC (23 years, 4 months ago) by jdc
Branch: MAIN
Changes since 1.40: +134 -125 lines
Diff to previous 1.40 (colored) to selected 1.80.2.2 (colored)

Rename variables refering to termcap capabilities from NN to __tc_nn.  Case
adjusted to match termcap capability.  A few other variable names renamed too
(ones related to or derived from termcap variables).

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Sun Aug 13 03:41:10 2000 UTC (23 years, 8 months ago) by itojun
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.37.2.1: +3 -3 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.80.2.2 (colored)

pullup 1.39 -> 1.40 (approved by releng-1-5)
on repaint, we must look at attributes present on curscr.
check __ISPASTEOL on curscr->lines, not on win->lines.  PR 10732.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Thu Aug 3 11:46:12 2000 UTC (23 years, 8 months ago) by itojun
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.37: +8 -8 lines
Diff to previous 1.37 (colored) to selected 1.80.2.2 (colored)

pullup (approved by releng-1-5)

 > use __cputchar(), not putchar().
 > otherwise, __CTRACE() will not be useful for debugging curses internals.

1.18 -> 1.19 basesrc/lib/libcurses/cr_put.c
1.38 -> 1.39 basesrc/lib/libcurses/refresh.c
1.12 -> 1.13 basesrc/lib/libcurses/scroll.c

Revision 1.40 / (download) - annotate - [select for diffs], Wed Aug 2 10:50:49 2000 UTC (23 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.80.2.2 (colored)

on repaint, we must look at attributes present on curscr.
check __ISPASTEOL on curscr->lines, not on win->lines.  PR 10732.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Aug 1 04:17:09 2000 UTC (23 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.38: +8 -8 lines
Diff to previous 1.38 (colored) to selected 1.80.2.2 (colored)

use __cputchar(), not putchar().
otherwise, __CTRACE() will not be useful for debugging curses internals.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jul 3 03:56:20 2000 UTC (23 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.37: +3 -2 lines
Diff to previous 1.37 (colored) to selected 1.80.2.2 (colored)

More include cleanup.  Remvoe (p) from #undef in libipsec.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:16:27 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.35: +8 -8 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.80.2.2 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 15 21:20:16 2000 UTC (23 years, 10 months ago) by jdc
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.36: +1 -3 lines
Diff to previous 1.36 (colored) to selected 1.80.2.2 (colored)

Move setting of __endwin so that we also change it from the stop handler.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jun 12 20:51:39 2000 UTC (23 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.35: +7 -5 lines
Diff to previous 1.35 (colored) to selected 1.80.2.2 (colored)

Copy all background attributes (not just colour) from win to __virtscr.

Revision 1.35 / (download) - annotate - [select for diffs], Sat May 20 15:12:15 2000 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.34: +23 -47 lines
Diff to previous 1.34 (colored) to selected 1.80.2.2 (colored)

GC __FORCEPAINT.

Revision 1.34 / (download) - annotate - [select for diffs], Fri May 19 16:00:52 2000 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.80.2.2 (colored)

Fix a silly bug that caused blanks to always be redrawn on dirty lines in
curscr.  This usually manifested itself as a very slow redraw after suspend.

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 19 07:39:02 2000 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.32: +63 -75 lines
Diff to previous 1.32 (colored) to selected 1.80.2.2 (colored)

More microoptimization, and explicitly skip lines that are not dirty.

Revision 1.32 / (download) - annotate - [select for diffs], Fri May 19 04:15:55 2000 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.31: +23 -17 lines
Diff to previous 1.31 (colored) to selected 1.80.2.2 (colored)

Two optimizations in quickch():
* Don't bother comparing lines that are not dirty when looking for the top
  and bottom regions.
* In the loop that searches for the largest equal region, do the totally
  half-assed hack of splitting the inner loop into two parts -- comparing
  only the hash values the first time, and doing memcmp()s the second time.
  This makes many of my test cases >100x as fast.
  XXX This code needs a lot more work.

Revision 1.31 / (download) - annotate - [select for diffs], Fri May 19 01:05:44 2000 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.80.2.2 (colored)

We already initialize UP and BC when we fire up Curses, so pass a null pointer
to t_goto() to avoid doing it again... and again... and...

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 18 20:37:42 2000 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored) to selected 1.80.2.2 (colored)

Clear any cached __LEAVEOK flag in __virtscr when refreshing another window.

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 7 21:22:43 2000 UTC (23 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.28: +6 -5 lines
Diff to previous 1.28 (colored) to selected 1.80.2.2 (colored)

Don't try and refresh those parts of windows that are outside our terminal.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 29 02:51:16 2000 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +6 -14 lines
Diff to previous 1.27 (colored) to selected 1.80.2.2 (colored)

As the comment suggests, move the __unsetattr() to the end of doupdate(), just
before the fflush().  This avoids needlessly resetting modes.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 29 00:42:26 2000 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.26: +79 -129 lines
Diff to previous 1.26 (colored) to selected 1.80.2.2 (colored)

Speed up refresh in the presence of attributes by precalculating a mask for
each `end' command to turn off other attributes in the case of conflicts.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 28 17:11:51 2000 UTC (23 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.25: +22 -22 lines
Diff to previous 1.25 (colored) to selected 1.80.2.2 (colored)

We can't assume colour won't be turned off if the escape sequences for
turning off attributes aren't the same as the one for colour, so decide
that we've turned off colour when we turn off any attributes.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 28 06:51:36 2000 UTC (23 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.24: +0 -1 lines
Diff to previous 1.24 (colored) to selected 1.80.2.2 (colored)

Remove test code inadvertently left in.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 27 22:12:36 2000 UTC (23 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.23: +6 -4 lines
Diff to previous 1.23 (colored) to selected 1.80.2.2 (colored)

Don't change the cursor position if __LEAVEOK.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Apr 27 00:26:19 2000 UTC (23 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.22: +336 -315 lines
Diff to previous 1.22 (colored) to selected 1.80.2.2 (colored)

Implement wnoutrefresh() and doupdate().  wrefresh() now calls these functions
and the previous wrefresh() code is split between them.  Background character
and attribute handling is now done in wnoutrefresh(), thus simplifying the code
in doupdate(), makech() and quickch().
Refine xterm workround and test for it earlier - this cuts down the number of
lines we test when looking for a scrolled region.
Rename unsetattr() to __unsetattr(), so it can be used by __stopwin().

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 21 15:56:35 2000 UTC (24 years ago) by jdc
Branch: MAIN
Changes since 1.21: +52 -24 lines
Diff to previous 1.21 (colored) to selected 1.80.2.2 (colored)

Work round xterm bug which displays the wrong background colour when the
screen has just been scrolled.
Only use CL if all lines have the same background colour.
Fix debug output in quickch().

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 19 13:52:39 2000 UTC (24 years ago) by blymn
Branch: MAIN
Changes since 1.20: +10 -6 lines
Diff to previous 1.20 (colored) to selected 1.80.2.2 (colored)

Converted all termcap library calls to the "new" interface, this fixes
a problem with curses crashing when the CM capability was larger than
64 bytes and eliminates some possible buffer overflow problems.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 18 22:47:01 2000 UTC (24 years ago) by jdc
Branch: MAIN
Changes since 1.19: +221 -112 lines
Diff to previous 1.19 (colored) to selected 1.80.2.2 (colored)

Add support for background characters and attributes.
Add extra colour/attributes debugging.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 16 09:55:16 2000 UTC (24 years ago) by jdc
Branch: MAIN
Changes since 1.18: +71 -185 lines
Diff to previous 1.18 (colored) to selected 1.80.2.2 (colored)

Really don't move with altcharset set.
Leave other attributes if MS is defined.
Move attribute unsetting into a new function.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Apr 15 23:01:15 2000 UTC (24 years ago) by jdc
Branch: MAIN
Changes since 1.17: +13 -2 lines
Diff to previous 1.17 (colored) to selected 1.80.2.2 (colored)

Don't move with altcharset or colour set (if you try this on an xterm, you
won't actually move, but will think you have).

Revision 1.17 / (download) - annotate - [select for diffs], Sat Apr 15 13:17:04 2000 UTC (24 years ago) by blymn
Branch: MAIN
Changes since 1.16: +18 -4 lines
Diff to previous 1.16 (colored) to selected 1.80.2.2 (colored)

Added functions to replace what were previously macros in curses.h
(this is a requirement of SUSv2) - the old macro behaviour can be
restored by defining _CURSES_USE_MACROS.
Changed function prototypes to use ANSI style.
All externally visible functions now have ANSI style declarations.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 12 21:47:20 2000 UTC (24 years ago) by jdc
Branch: MAIN
Changes since 1.15: +145 -44 lines
Diff to previous 1.15 (colored) to selected 1.80.2.2 (colored)

Add color manipulation.
Note that window background attributes are not handled yet.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 11 13:57:10 2000 UTC (24 years ago) by blymn
Branch: MAIN
Changes since 1.14: +177 -135 lines
Diff to previous 1.14 (colored) to selected 1.80.2.2 (colored)

Made data structures opaque

Revision 1.14.6.3 / (download) - annotate - [select for diffs], Thu Mar 16 21:27:44 2000 UTC (24 years, 1 month ago) by jdc
Branch: curses-v3
Changes since 1.14.6.2: +18 -11 lines
Diff to previous 1.14.6.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.80.2.2 (colored)

Fix debug crash when using subwins.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Sun Mar 5 23:25:17 2000 UTC (24 years, 1 month ago) by jdc
Branch: curses-v3
Changes since 1.14.6.1: +31 -3 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored) to selected 1.80.2.2 (colored)

Add alternate character set support.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Sun Jan 9 20:43:21 2000 UTC (24 years, 3 months ago) by jdc
Branch: curses-v3
Changes since 1.14: +131 -125 lines
Diff to previous 1.14 (colored) to selected 1.80.2.2 (colored)

Changes to make libcurses SUS v2 compatible.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 17 14:21:04 1999 UTC (24 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, curses-v3-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: curses-v3
Changes since 1.13: +10 -6 lines
Diff to previous 1.13 (colored) to selected 1.80.2.2 (colored)

When dumping the attributes for a line, put a space between each attribute
so you can tell where each one starts and stops, and prefix these lines
with "attr: ".

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 28 13:27:24 1999 UTC (24 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.12: +5 -6 lines
Diff to previous 1.12 (colored) to selected 1.80.2.2 (colored)

Remove the test for NOQCH, and print the line flags in the CTRACE in
the main loop wrefresh().

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 23 03:27:34 1999 UTC (24 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.11: +20 -15 lines
Diff to previous 1.11 (colored) to selected 1.80.2.2 (colored)

- protect NULL attributes from de-referencing
- Silence pointer casts

Revision 1.11 / (download) - annotate - [select for diffs], Tue Apr 13 14:08:18 1999 UTC (25 years ago) by mrg
Branch: MAIN
Changes since 1.10: +345 -161 lines
Diff to previous 1.10 (colored) to selected 1.80.2.2 (colored)

Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities.  The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
terminal) into symbolic code returns thus relieving the application of
recognising multi-character key sequences.  Other features are the
capability to perform a timed wait for a key (good for when you are
not sure if there is a keypress ready or not) and the capability for
turning off the inter-key timeout when assembling multi-character
function keys.

this work was done by Julian Coleman <J.D.Coleman@newcastle.ac.uk>
and blymn@baea.com.au (Brett Lymn).  i'm just integrating it.  thanks
HEAPS guys!

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 3 19:12:32 1998 UTC (26 years, 2 months ago) by perry
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.9: +9 -9 lines
Diff to previous 1.9 (colored) to selected 1.80.2.2 (colored)

remove obsolete register declarations

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 12 21:08:24 1997 UTC (26 years, 7 months ago) by phil
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.8: +8 -2 lines
Diff to previous 1.8 (colored) to selected 1.80.2.2 (colored)

Make endwin() save state so a subsequent call to wrefresh restores curses
and makes endwin()/wrefresh() act like a SIGTSTP.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 22 07:36:59 1997 UTC (26 years, 9 months ago) by mikel
Branch: MAIN
Changes since 1.7: +17 -4 lines
Diff to previous 1.7 (colored) to selected 1.80.2.2 (colored)

RCSid police, fix warnings

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Aug 17 21:52:41 1994 UTC (29 years, 8 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.7.2.1: +827 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.80.2.2 (colored)

clean up import

Revision 1.7.2.1, Wed Aug 17 21:52:40 1994 UTC (29 years, 8 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.7: +0 -827 lines
FILE REMOVED

file refresh.c was added on branch netbsd-1-0 on 1994-08-17 21:52:41 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 17 21:52:40 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
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-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
Branch point for: netbsd-1-0
Changes since 1.6: +223 -120 lines
Diff to previous 1.6 (colored) to selected 1.80.2.2 (colored)

clean up import

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Wed Aug 17 21:13:20 1994 UTC (29 years, 8 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, CSRG-94-08-17
Changes since 1.1.1.1: +722 -232 lines
Diff to previous 1.1.1.1 (colored) to selected 1.80.2.2 (colored)

new libcurses, from new nvi

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 9 04:08:34 1993 UTC (30 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.80.2.2 (colored)

repeat after me: "I hate rcs ids"

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 9 03:34:47 1993 UTC (30 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: CSRG-last, CSRG-94-01-23, CSRG-93-11-06
Changes since 1.4: +542 -147 lines
Diff to previous 1.4 (colored) to selected 1.80.2.2 (colored)

update to new version from berkeley.  doesn't compile yet, nor
does it have rcsid's.  this is for diffs.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 7 05:49:04 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +176 -188 lines
Diff to previous 1.3 (colored) to selected 1.80.2.2 (colored)

New version from uunet.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 18:35:26 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.80.2.2 (colored)

Add RCS identifiers.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 9 05:34:35 1993 UTC (30 years, 9 months ago) by alm
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +13 -11 lines
Diff to previous 1.1 (colored) to selected 1.80.2.2 (colored)

added Andrew Chernov's patch set:
Standard curses library use eight bit for standout mode, so
8-bit characters displays like highlighted 7-bit characters.

This patch produce library which is fully compatible with all curses
programs and add 8-bit chars to all input/display functions.
---
I don't think, that any programs wish to use internal curses
attribute _STANDOUT directly, in expressions like:
        addch( ch | _STANDOUT );
        Normal interface use standout() and standend() functions instead.
        Many programs use 'char' type (with sign extention) for input characters
        and sign extention becomes _STANDOUT mode in this case.
        So, I refuse this future and allow 8-bit characters for programs,
        which is designed for 7-bit only ('char' type using instead of
        'unsigned char').
---
This small patch fix unpleasant standard curses bug:
curses can't expand TAB at all (but tries).
A man who wrote this curses misplace SYNC_IN and SYNCH_OUT,
this patch exchange macro calls.

This patch useful for standard 7-bit curses too, for this
you must delete '_' symbol before waddbytes and apply patch.
---
Oh, NO! This curses are really buggy!

This small patch fix following problem:
[ assumed scrollok(stdscr, TRUE) ]
when addch(ch) at lower right corner of screen, curses are realy
gone mad instead if simple scrolling... Curses code assumed that
this will be done correctly, but implement it with two bugs.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.80.2.2 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.80.2.2 (colored)

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>