CVS log for src/lib/libcurses/refresh.c
Up to [cvs.NetBSD.org] / src / lib / libcurses
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.126.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 20 15:33:03 2024 UTC (4 months, 3 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126: +2 -3
lines
Pull up following revision(s) (requested by rin in ticket #756):
lib/libcurses/refresh.c: revision 1.127
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.128: download - view: text, markup, annotated - select for diffs
Sat Jun 24 05:18:13 2023 UTC (17 months, 2 weeks ago) by msaitoh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -3
lines
Fix typo in comment.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Fri Apr 28 07:12:39 2023 UTC (19 months, 2 weeks ago) by blymn
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +2 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 5 21:14:25 2022 UTC (2 years ago) by blymn
Branches: 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
Branch point for: netbsd-10
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -9
lines
Revert previous change, it is not correct.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Wed Nov 30 06:19:15 2022 UTC (2 years ago) by blymn
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +9 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 19 06:09:27 2022 UTC (2 years, 1 month ago) by blymn
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +145 -68
lines
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 - view: text, markup, annotated - select for diffs
Tue May 3 07:25:34 2022 UTC (2 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +6 -6
lines
* 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 - view: text, markup, annotated - select for diffs
Tue Apr 19 22:26:57 2022 UTC (2 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +10 -45
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 13 19:17:09 2022 UTC (2 years, 7 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3
lines
Fix build (enabled only for MKDEBUG?)
Revision 1.120: download - view: text, markup, annotated - select for diffs
Tue Apr 12 21:54:16 2022 UTC (2 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -3
lines
Fix compile breakage when wide char support is disabled.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Apr 12 07:03:04 2022 UTC (2 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +142 -98
lines
Make the default colour pair be pair 0 which appears to match other
curses implementations.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Jan 25 03:05:06 2022 UTC (2 years, 10 months ago) by blymn
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +79 -38
lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 17 03:50:18 2021 UTC (2 years, 11 months ago) by uwe
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3
lines
curses: spell "foreground" correctly in comments
Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Sep 7 01:23:09 2021 UTC (3 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +4 -33
lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 6 07:45:48 2021 UTC (3 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +20 -15
lines
Style fixes most for __CTRACE().
Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon Sep 6 07:03:50 2021 UTC (3 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +3 -75
lines
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 - view: text, markup, annotated - select for diffs
Sat May 8 04:29:07 2021 UTC (3 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +8 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:14 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.88.12.1: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.12.1: +3 -3
lines
Merge changes from current as of 20200406
Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon Feb 24 12:20:29 2020 UTC (4 years, 9 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3
lines
0x%p --> %p for non-external codes.
Revision 1.88.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:22 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +434 -386
lines
Sync with HEAD
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Jun 9 07:40:14 2019 UTC (5 years, 6 months ago) by blymn
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
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
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +6 -9
lines
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 - view: text, markup, annotated - select for diffs
Mon May 20 22:17:41 2019 UTC (5 years, 6 months ago) by blymn
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +8 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun May 12 02:19:23 2019 UTC (5 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +14 -5
lines
Add more debug to _wnoutrefresh
Revision 1.108: download - view: text, markup, annotated - select for diffs
Wed Apr 24 07:09:44 2019 UTC (5 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +15 -10
lines
Add/improve debug output for some routines.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri Mar 29 18:32:45 2019 UTC (5 years, 8 months ago) by roy
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -3
lines
Minor adjustment to prior to match putch
Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Mar 29 16:56:58 2019 UTC (5 years, 8 months ago) by roy
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +10 -10
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:10 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.88.10.3: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.10.3: +13 -10
lines
Synch with HEAD
Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Jan 6 04:27:53 2019 UTC (5 years, 11 months ago) by uwe
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +11 -8
lines
_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 - view: text, markup, annotated - select for diffs
Sun Jan 6 03:59:17 2019 UTC (5 years, 11 months ago) by uwe
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +4 -4
lines
_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 - view: text, markup, annotated - select for diffs
Sun Jan 6 03:46:11 2019 UTC (5 years, 11 months ago) by uwe
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:27 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.88.10.2: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.10.2: +4 -4
lines
Sync with HEAD, resolve a few conflicts
Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri Nov 30 04:38:14 2018 UTC (6 years ago) by roy
Branches: MAIN
CVS tags: pgoyette-compat-1226
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -4
lines
curses: Fix inverted logic when drawing LR corner with auto margins
Thanks to M. Levinson.
Revision 1.88.10.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:12 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.88.10.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.10.1: +269 -295
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Nov 18 02:46:24 2018 UTC (6 years ago) by uwe
Branches: MAIN
CVS tags: pgoyette-compat-1126
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +10 -10
lines
Reindent a few lineeq() calls now that we can w/out exceeding 80
columns limit. Whitespace change only.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Nov 18 02:39:44 2018 UTC (6 years ago) by uwe
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +5 -6
lines
Further tweak previous. Change the check order to be more logical.
No functional change intentded. While here fix indentation.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun Nov 18 02:34:39 2018 UTC (6 years ago) by uwe
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +6 -11
lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 18 02:17:24 2018 UTC (6 years ago) by uwe
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +10 -23
lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 18 01:54:30 2018 UTC (6 years ago) by uwe
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -36
lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 18 01:39:55 2018 UTC (6 years ago) by uwe
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +26 -20
lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 18 01:19:29 2018 UTC (6 years ago) by uwe
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +17 -17
lines
Rename cellcmp() and linecmp() to celleq() and lineeq() respectively
and make them static.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Nov 18 01:05:30 2018 UTC (6 years ago) by uwe
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 18 00:45:44 2018 UTC (6 years ago) by uwe
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3
lines
cellcmp - use logical && not bitwise &
Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Oct 29 01:02:16 2018 UTC (6 years, 1 month ago) by uwe
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +5 -4
lines
Fix operator precedence for !HAVE_WCHAR
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Oct 21 12:47:33 2018 UTC (6 years, 1 month ago) by roy
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +221 -202
lines
curses: ensure attributes are correctly set for each character
Another fix for PR# 30978.
Revision 1.88.10.1: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:22 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +132 -76
lines
Sync with head
Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Oct 10 09:40:11 2018 UTC (6 years, 2 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +123 -63
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 9 10:01:38 2018 UTC (6 years, 2 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.88.4.1: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.4.1: +38 -34
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 9 09:49:35 2018 UTC (6 years, 2 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +34 -38
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 5 11:59:05 2018 UTC (6 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +34 -38
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 26 02:52:54 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.80.2.2: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.2: +4 -4
lines
Sync with HEAD
Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:10 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +4 -4
lines
Sync with HEAD
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Mar 20 20:42:39 2017 UTC (7 years, 8 months ago) by christos
Branches: 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
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -4
lines
Make this compile again: use ce instead of clr_eol which gcc thinks might
be NULL.
Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:56:59 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.80.2.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.1: +65 -47
lines
Sync with HEAD
Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Jan 11 10:06:32 2017 UTC (7 years, 11 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-localcount-20170320,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +7 -7
lines
Kill stray refs to __virtscr and _cursesi_screen missed in prior commit.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jan 11 09:54:54 2017 UTC (7 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +14 -15
lines
ripoffline requires wnoutrefresh to work before _cursesi_screen has been
set.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Jan 10 10:33:49 2017 UTC (7 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +21 -13
lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 10 09:32:01 2017 UTC (7 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +29 -18
lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:04 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +123 -87
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Jan 6 13:53:18 2017 UTC (7 years, 11 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-localcount-20170107
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +109 -85
lines
KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.
No functional changes.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Jan 6 09:14:07 2017 UTC (7 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -4
lines
u_int -> unsigned int, u_int32_t -> uint32_t.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Dec 31 22:47:01 2016 UTC (7 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +14 -2
lines
Implement POSIX Curses typeahead function.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Jan 10 08:11:06 2016 UTC (8 years, 11 months ago) by jdc
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
Clear the "forced" flag after updating a line, otherwise we'll always do
complete line redraws.
Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:17 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.1: +186 -59
lines
Rebase to HEAD as of a few days ago.
Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:36:55 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.1: +197 -63
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 20 09:42:42 2014 UTC (10 years, 9 months ago) by blymn
Branches: 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
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +122 -38
lines
Correct the implementation of mvderwin, it now works as specified by
SUSv2.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Dec 6 11:23:47 2013 UTC (11 years ago) by blymn
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +69 -26
lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 06:21:06 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +11 -4
lines
resync from head
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun May 5 14:22:07 2013 UTC (11 years, 7 months ago) by jdc
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +11 -4
lines
Add extra debugging when copying window contents.
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:31 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +15 -4
lines
sync with head.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Apr 21 11:33:16 2012 UTC (12 years, 7 months ago) by blymn
Branches: 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
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +15 -4
lines
Fix build break if curses is built without wide char support
Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Oct 3 12:32:15 2011 UTC (13 years, 2 months ago) by roy
Branches: 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
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +14 -14
lines
Use tiparm instead of vtparm.
Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:18:37 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +3 -3
lines
Catchup with rmind-uvmplock merge.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Jun 16 22:45:46 2011 UTC (13 years, 5 months ago) by jdc
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
Correctly test for __ISDIRTY.
Problem noticed by (and test case provided by) blymn@.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Feb 8 20:45:22 2010 UTC (14 years, 10 months ago) by roy
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -4
lines
Fix an off-by-one error.
Thanks to Matthias Drochner.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Feb 3 15:34:40 2010 UTC (14 years, 10 months ago) by roy
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +148 -107
lines
Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Jul 22 16:57:15 2009 UTC (15 years, 4 months ago) by roy
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +83 -83
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 23 04:29:52 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -3
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.69.6.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:13:39 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -3
lines
sync with head.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Jun 13 03:18:04 2008 UTC (16 years, 6 months ago) by yamt
Branches: 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
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3
lines
remove unnecessary casts.
Revision 1.67.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:11:25 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +16 -39
lines
sync with HEAD
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Oct 6 20:14:41 2007 UTC (17 years, 2 months ago) by martin
Branches: 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
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +16 -17
lines
Make it build without HAVE_WCHAR
Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Sep 19 22:00:43 2007 UTC (17 years, 2 months ago) by jdc
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -24
lines
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 - view: text, markup, annotated - select for diffs
Tue May 29 19:07:19 2007 UTC (17 years, 6 months ago) by veego
Branches: MAIN
CVS tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3
lines
Fix compile errors on i386 by changing %ld to %zu.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue May 29 11:10:56 2007 UTC (17 years, 6 months ago) by blymn
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +12 -7
lines
Fix some compiler warnings.
Remove shadowed variable declarations when DEBUG is defined.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon May 28 15:01:57 2007 UTC (17 years, 6 months ago) by blymn
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +496 -66
lines
Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
Revision 1.63.6.10: download - view: text, markup, annotated - select for diffs
Sun Mar 18 10:04:59 2007 UTC (17 years, 8 months ago) by jdc
Branches: wcurses
Diff to: previous 1.63.6.9: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.6.9: +26 -11
lines
Mark subsequent cells of multi-column characters with __WCWIDTH and
their attributes and only display them once.
Revision 1.63.6.9: download - view: text, markup, annotated - select for diffs
Wed Feb 28 10:34:46 2007 UTC (17 years, 9 months ago) by blymn
Branches: wcurses
Diff to: previous 1.63.6.8: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.8: +33 -5
lines
Output the non-spacing characters to the screen.
Revision 1.63.6.8: download - view: text, markup, annotated - select for diffs
Mon Feb 5 10:38:17 2007 UTC (17 years, 10 months ago) by blymn
Branches: wcurses
Diff to: previous 1.63.6.7: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.7: +4 -4
lines
Don't overwrite character width when copying characters between screens.
Revision 1.63.6.7: download - view: text, markup, annotated - select for diffs
Sun Feb 4 09:54:23 2007 UTC (17 years, 10 months ago) by blymn
Branches: wcurses
Diff to: previous 1.63.6.6: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.6: +6 -10
lines
Ansify static function prototypes
Revision 1.63.6.6: download - view: text, markup, annotated - select for diffs
Thu Jan 25 08:50:15 2007 UTC (17 years, 10 months ago) by blymn
Branches: wcurses
Diff to: previous 1.63.6.5: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.5: +14 -61
lines
* 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 - view: text, markup, annotated - select for diffs
Tue Jan 23 21:07:09 2007 UTC (17 years, 10 months ago) by jdc
Branches: wcurses
Diff to: previous 1.63.6.4: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.4: +6 -5
lines
Mask off the attribute bits when checking which attributes we need to set.
Revision 1.63.6.4: download - view: text, markup, annotated - select for diffs
Mon Jan 22 11:44:32 2007 UTC (17 years, 10 months ago) by jdc
Branches: wcurses
Diff to: previous 1.63.6.3: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.3: +26 -28
lines
Only produce debug information for the current line.
Revision 1.63.6.3: download - view: text, markup, annotated - select for diffs
Mon Jan 22 10:43:28 2007 UTC (17 years, 10 months ago) by blymn
Branches: wcurses
Diff to: previous 1.63.6.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.2: +2 -3
lines
* Make WCHAR libcurses the default build
* Sprinkle about some SET_WCOL() calls where they were missing
Revision 1.63.6.2: download - view: text, markup, annotated - select for diffs
Sun Jan 21 17:43:35 2007 UTC (17 years, 10 months ago) by jdc
Branches: wcurses
Diff to: previous 1.63.6.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.6.1: +333 -281
lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 21 13:25:36 2007 UTC (17 years, 10 months ago) by jdc
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +119 -77
lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 21 11:38:59 2007 UTC (17 years, 10 months ago) by blymn
Branches: wcurses
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +561 -131
lines
Wide curses merge
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jan 15 11:43:54 2006 UTC (18 years, 11 months ago) by jdc
Branches: 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
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -20
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 23 18:38:52 2005 UTC (19 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3
lines
Don't read entry after end of array.
Discovered by Neil Ludban running curses under 'ElecticFence'
Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Sun Jul 24 00:50:34 2005 UTC (19 years, 4 months ago) by snj
Branches: 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
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +6 -8
lines
Apply patch (requested by riz in ticket #5516):
Sync libcurses with HEAD of 2005-07-22.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Feb 18 22:16:27 2005 UTC (19 years, 9 months ago) by dsl
Branches: 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
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -6
lines
Change first arg of __hash_more to const void * to remove need for double casts
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Apr 7 17:27:10 2004 UTC (20 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -4
lines
check fflush() return code (from Julian Coleman)
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Mar 28 08:58:37 2004 UTC (20 years, 8 months ago) by jdc
Branches: 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
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +9 -2
lines
Changes to support *echochar().
Should fix PR lib/24927.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:44:23 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -7
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 5 19:07:49 2003 UTC (21 years, 5 months ago) by jdc
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +61 -43
lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 28 21:11:43 2003 UTC (21 years, 5 months ago) by jdc
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +9 -9
lines
Make the refresh complete in the presence of multiple sub-windows.
Match function names in the debug output.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jun 26 17:17:10 2003 UTC (21 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +31 -17
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 29 21:43:22 2003 UTC (21 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +14 -4
lines
Now refresh() refreshes subwindows too.
Fixes PR lib/20544 by rtr.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Feb 17 11:07:20 2003 UTC (21 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +8 -8
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 27 21:11:12 2003 UTC (21 years, 10 months ago) by jdc
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +9 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 12 12:53:51 2003 UTC (21 years, 11 months ago) by jdc
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -5
lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 23 12:17:55 2002 UTC (21 years, 11 months ago) by jdc
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +130 -33
lines
Add pnoutrefresh() and prefresh().
Modify _cursesi_wnoutrefresh() to handle pads.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Dec 5 17:22:13 2002 UTC (22 years ago) by jdc
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +7 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 22 11:37:34 2002 UTC (22 years, 1 month ago) by blymn
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
Fix lint nits mainly with the len parameter type in hash_more.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Aug 4 16:43:08 2002 UTC (22 years, 4 months ago) by jdc
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +16 -42
lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 26 18:14:04 2002 UTC (22 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +38 -14
lines
PR/17352: David Laight: Curses core-dumps on windows > 1024 wide.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jan 2 10:38:28 2002 UTC (22 years, 11 months ago) by blymn
Branches: 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
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4
lines
Remove extraneous tabs from blank lines.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Dec 31 14:23:11 2001 UTC (22 years, 11 months ago) by blymn
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +29 -16
lines
fix __startwin() so it outputs the init strings to the correct device.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Dec 2 09:14:22 2001 UTC (23 years ago) by blymn
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +65 -61
lines
* 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 - view: text, markup, annotated - select for diffs
Thu Sep 20 11:11:54 2001 UTC (23 years, 2 months ago) by blymn
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -2
lines
Add code to allow resizing of windows and the underlying terminal.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Dec 19 21:34:25 2000 UTC (23 years, 11 months ago) by jdc
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +134 -125
lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 13 03:41:10 2000 UTC (24 years, 4 months ago) by itojun
Branches: 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
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 3 11:46:12 2000 UTC (24 years, 4 months ago) by itojun
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +8 -8
lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 2 10:50:49 2000 UTC (24 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 1 04:17:09 2000 UTC (24 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -8
lines
use __cputchar(), not putchar().
otherwise, __CTRACE() will not be useful for debugging curses internals.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Jul 3 03:56:20 2000 UTC (24 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -2
lines
More include cleanup. Remvoe (p) from #undef in libipsec.
Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 23 16:16:27 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +8 -8
lines
Sync w/ netbsd-1-5-base.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jun 15 21:20:16 2000 UTC (24 years, 6 months ago) by jdc
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -3
lines
Move setting of __endwin so that we also change it from the stop handler.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 12 20:51:39 2000 UTC (24 years, 6 months ago) by jdc
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -5
lines
Copy all background attributes (not just colour) from win to __virtscr.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat May 20 15:12:15 2000 UTC (24 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +23 -47
lines
GC __FORCEPAINT.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 19 16:00:52 2000 UTC (24 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri May 19 07:39:02 2000 UTC (24 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +63 -75
lines
More microoptimization, and explicitly skip lines that are not dirty.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri May 19 04:15:55 2000 UTC (24 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +23 -17
lines
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 - view: text, markup, annotated - select for diffs
Fri May 19 01:05:44 2000 UTC (24 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu May 18 20:37:42 2000 UTC (24 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -2
lines
Clear any cached __LEAVEOK flag in __virtscr when refreshing another window.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun May 7 21:22:43 2000 UTC (24 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -5
lines
Don't try and refresh those parts of windows that are outside our terminal.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Apr 29 02:51:16 2000 UTC (24 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -14
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 29 00:42:26 2000 UTC (24 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +79 -129
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 28 17:11:51 2000 UTC (24 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +22 -22
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 28 06:51:36 2000 UTC (24 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +0 -1
lines
Remove test code inadvertently left in.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Apr 27 22:12:36 2000 UTC (24 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -4
lines
Don't change the cursor position if __LEAVEOK.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Apr 27 00:26:19 2000 UTC (24 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +336 -315
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 21 15:56:35 2000 UTC (24 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +52 -24
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 19 13:52:39 2000 UTC (24 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -6
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 18 22:47:01 2000 UTC (24 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +221 -112
lines
Add support for background characters and attributes.
Add extra colour/attributes debugging.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Apr 16 09:55:16 2000 UTC (24 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +71 -185
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 15 23:01:15 2000 UTC (24 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +13 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 15 13:17:04 2000 UTC (24 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +18 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 12 21:47:20 2000 UTC (24 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +145 -44
lines
Add color manipulation.
Note that window background attributes are not handled yet.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Apr 11 13:57:10 2000 UTC (24 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +177 -135
lines
Made data structures opaque
Revision 1.14.6.3: download - view: text, markup, annotated - select for diffs
Thu Mar 16 21:27:44 2000 UTC (24 years, 9 months ago) by jdc
Branches: curses-v3
Diff to: previous 1.14.6.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.2: +18 -11
lines
Fix debug crash when using subwins.
Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Sun Mar 5 23:25:17 2000 UTC (24 years, 9 months ago) by jdc
Branches: curses-v3
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.1: +31 -3
lines
Add alternate character set support.
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Sun Jan 9 20:43:21 2000 UTC (24 years, 11 months ago) by jdc
Branches: curses-v3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +131 -125
lines
Changes to make libcurses SUS v2 compatible.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Sep 17 14:21:04 1999 UTC (25 years, 3 months ago) by simonb
Branches: 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
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -6
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 28 13:27:24 1999 UTC (25 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -6
lines
Remove the test for NOQCH, and print the line flags in the CTRACE in
the main loop wrefresh().
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 23 03:27:34 1999 UTC (25 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +20 -15
lines
- protect NULL attributes from de-referencing
- Silence pointer casts
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Apr 13 14:08:18 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +345 -161
lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 3 19:12:32 1998 UTC (26 years, 10 months ago) by perry
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -9
lines
remove obsolete register declarations
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Sep 12 21:08:24 1997 UTC (27 years, 3 months ago) by phil
Branches: 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -2
lines
Make endwin() save state so a subsequent call to wrefresh restores curses
and makes endwin()/wrefresh() act like a SIGTSTP.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 22 07:36:59 1997 UTC (27 years, 4 months ago) by mikel
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +17 -4
lines
RCSid police, fix warnings
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 17 21:52:41 1994 UTC (30 years, 4 months ago) by cgd
Branches: netbsd-1-0
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +827 -0
lines
clean up import
Revision 1.7.2.1
Wed Aug 17 21:52:40 1994 UTC (30 years, 4 months ago) by cgd
Branches: netbsd-1-0
FILE REMOVED
Changes since revision 1.7: +0 -827
lines
file refresh.c was added on branch netbsd-1-0 on 1994-08-17 21:52:41 +0000
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Aug 17 21:52:40 1994 UTC (30 years, 4 months ago) by cgd
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +223 -120
lines
clean up import
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Aug 17 21:13:20 1994 UTC (30 years, 4 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: lite-2,
CSRG-94-08-17
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +722 -232
lines
new libcurses, from new nvi
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Nov 9 04:08:34 1993 UTC (31 years, 1 month ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
repeat after me: "I hate rcs ids"
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 9 03:34:47 1993 UTC (31 years, 1 month ago) by cgd
Branches: MAIN
CVS tags: CSRG-last,
CSRG-94-01-23,
CSRG-93-11-06
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +542 -147
lines
update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's. this is for diffs.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 7 05:49:04 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +176 -188
lines
New version from uunet.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:35:26 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
Add RCS identifiers.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jul 9 05:34:35 1993 UTC (31 years, 5 months ago) by alm
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +13 -11
lines
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 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8,
WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>