Up to [cvs.NetBSD.org] / src / lib / libcurses
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.77 / (download) - annotate - [select for diffs], Sun May 5 14:22:07 2013 UTC (2 weeks, 1 day ago) by jdc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.76: +11 -4
lines
Diff to previous 1.76 (colored)
Add extra debugging when copying window contents.
Revision 1.76 / (download) - annotate - [select for diffs], Sat Apr 21 11:33:16 2012 UTC (12 months, 4 weeks ago) by blymn
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver
Changes since 1.75: +15 -4
lines
Diff to previous 1.75 (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 (19 months, 2 weeks 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,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
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)
Use tiparm instead of vtparm.
Revision 1.74 / (download) - annotate - [select for diffs], Thu Jun 16 22:45:46 2011 UTC (23 months ago) by jdc
Branch: MAIN
Changes since 1.73: +3 -3
lines
Diff to previous 1.73 (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 (3 years, 3 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)
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 (3 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.71: +148 -107
lines
Diff to previous 1.71 (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 (3 years, 9 months ago) by roy
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.70: +83 -83
lines
Diff to previous 1.70 (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.70 / (download) - annotate - [select for diffs], Fri Jun 13 03:18:04 2008 UTC (4 years, 11 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,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.69: +3 -3
lines
Diff to previous 1.69 (colored)
remove unnecessary casts.
Revision 1.69 / (download) - annotate - [select for diffs], Sat Oct 6 20:14:41 2007 UTC (5 years, 7 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)
Make it build without HAVE_WCHAR
Revision 1.68 / (download) - annotate - [select for diffs], Wed Sep 19 22:00:43 2007 UTC (5 years, 8 months ago) by jdc
Branch: MAIN
Changes since 1.67: +2 -24
lines
Diff to previous 1.67 (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 (5 years, 11 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)
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 (5 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.65: +12 -7
lines
Diff to previous 1.65 (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 (5 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.64: +496 -66
lines
Diff to previous 1.64 (colored)
Merge in wide curses code done as a Summer of Code project by Ruibiao Qiu.
Revision 1.64 / (download) - annotate - [select for diffs], Sun Jan 21 13:25:36 2007 UTC (6 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.63: +119 -77
lines
Diff to previous 1.63 (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 / (download) - annotate - [select for diffs], Sun Jan 15 11:43:54 2006 UTC (7 years, 4 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)
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 (7 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.61: +3 -3
lines
Diff to previous 1.61 (colored)
Don't read entry after end of array. Discovered by Neil Ludban running curses under 'ElecticFence'
Revision 1.61 / (download) - annotate - [select for diffs], Fri Feb 18 22:16:27 2005 UTC (8 years, 3 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)
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 (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.59: +3 -4
lines
Diff to previous 1.59 (colored)
check fflush() return code (from Julian Coleman)
Revision 1.59 / (download) - annotate - [select for diffs], Sun Mar 28 08:58:37 2004 UTC (9 years, 1 month 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)
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 (9 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.57: +3 -7
lines
Diff to previous 1.57 (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 (9 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.56: +61 -43
lines
Diff to previous 1.56 (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 (9 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.55: +9 -9
lines
Diff to previous 1.55 (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 (9 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.54: +31 -17
lines
Diff to previous 1.54 (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 (10 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.53: +14 -4
lines
Diff to previous 1.53 (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 (10 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.52: +8 -8
lines
Diff to previous 1.52 (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 (10 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.51: +9 -2
lines
Diff to previous 1.51 (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 (10 years, 4 months ago) by jdc
Branch: MAIN
Changes since 1.50: +3 -5
lines
Diff to previous 1.50 (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 (10 years, 4 months ago) by jdc
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.49: +130 -33
lines
Diff to previous 1.49 (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 (10 years, 5 months ago) by jdc
Branch: MAIN
Changes since 1.48: +7 -4
lines
Diff to previous 1.48 (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 (10 years, 7 months ago) by blymn
Branch: MAIN
Changes since 1.47: +3 -3
lines
Diff to previous 1.47 (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 (10 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.46: +16 -42
lines
Diff to previous 1.46 (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 (10 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.45: +38 -14
lines
Diff to previous 1.45 (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 (11 years, 4 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)
Remove extraneous tabs from blank lines.
Revision 1.44 / (download) - annotate - [select for diffs], Mon Dec 31 14:23:11 2001 UTC (11 years, 4 months ago) by blymn
Branch: MAIN
Changes since 1.43: +29 -16
lines
Diff to previous 1.43 (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 (11 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.42: +65 -61
lines
Diff to previous 1.42 (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 (11 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.41: +4 -2
lines
Diff to previous 1.41 (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 (12 years, 5 months ago) by jdc
Branch: MAIN
Changes since 1.40: +134 -125
lines
Diff to previous 1.40 (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.40 / (download) - annotate - [select for diffs], Wed Aug 2 10:50:49 2000 UTC (12 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (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 (12 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.38: +8 -8
lines
Diff to previous 1.38 (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 (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.37: +3 -2
lines
Diff to previous 1.37 (colored)
More include cleanup. Remvoe (p) from #undef in libipsec.
Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 15 21:20:16 2000 UTC (12 years, 11 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)
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 (12 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.35: +7 -5
lines
Diff to previous 1.35 (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 (13 years 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)
GC __FORCEPAINT.
Revision 1.34 / (download) - annotate - [select for diffs], Fri May 19 16:00:52 2000 UTC (13 years ago) by mycroft
Branch: MAIN
Changes since 1.33: +3 -3
lines
Diff to previous 1.33 (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 (13 years ago) by mycroft
Branch: MAIN
Changes since 1.32: +63 -75
lines
Diff to previous 1.32 (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 (13 years ago) by mycroft
Branch: MAIN
Changes since 1.31: +23 -17
lines
Diff to previous 1.31 (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 (13 years ago) by mycroft
Branch: MAIN
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (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 (13 years ago) by mycroft
Branch: MAIN
Changes since 1.29: +3 -2
lines
Diff to previous 1.29 (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 (13 years ago) by jdc
Branch: MAIN
Changes since 1.28: +6 -5
lines
Diff to previous 1.28 (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 (13 years ago) by mycroft
Branch: MAIN
Changes since 1.27: +6 -14
lines
Diff to previous 1.27 (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 (13 years ago) by mycroft
Branch: MAIN
Changes since 1.26: +79 -129
lines
Diff to previous 1.26 (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 (13 years ago) by jdc
Branch: MAIN
Changes since 1.25: +22 -22
lines
Diff to previous 1.25 (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 (13 years ago) by jdc
Branch: MAIN
Changes since 1.24: +0 -1
lines
Diff to previous 1.24 (colored)
Remove test code inadvertently left in.
Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 27 22:12:36 2000 UTC (13 years ago) by jdc
Branch: MAIN
Changes since 1.23: +6 -4
lines
Diff to previous 1.23 (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 (13 years ago) by jdc
Branch: MAIN
Changes since 1.22: +336 -315
lines
Diff to previous 1.22 (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 (13 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.21: +52 -24
lines
Diff to previous 1.21 (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 (13 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.20: +10 -6
lines
Diff to previous 1.20 (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 (13 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.19: +221 -112
lines
Diff to previous 1.19 (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 (13 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.18: +71 -185
lines
Diff to previous 1.18 (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 (13 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.17: +13 -2
lines
Diff to previous 1.17 (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 (13 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.16: +18 -4
lines
Diff to previous 1.16 (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 (13 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.15: +145 -44
lines
Diff to previous 1.15 (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 (13 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.14: +177 -135
lines
Diff to previous 1.14 (colored)
Made data structures opaque
Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 17 14:21:04 1999 UTC (13 years, 8 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)
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 (13 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.12: +5 -6
lines
Diff to previous 1.12 (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 (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.11: +20 -15
lines
Diff to previous 1.11 (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 (14 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.10: +345 -161
lines
Diff to previous 1.10 (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 (15 years, 3 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)
remove obsolete register declarations
Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 12 21:08:24 1997 UTC (15 years, 8 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)
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 (15 years, 10 months ago) by mikel
Branch: MAIN
Changes since 1.7: +17 -4
lines
Diff to previous 1.7 (colored)
RCSid police, fix warnings
Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 17 21:52:40 1994 UTC (18 years, 9 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)
clean up import
Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 9 04:08:34 1993 UTC (19 years, 6 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)
repeat after me: "I hate rcs ids"
Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 9 03:34:47 1993 UTC (19 years, 6 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)
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 (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +176 -188
lines
Diff to previous 1.3 (colored)
New version from uunet.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 18:35:26 1993 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1
lines
Diff to previous 1.2 (colored)
Add RCS identifiers.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 9 05:34:35 1993 UTC (19 years, 10 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)
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 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (20 years, 2 months ago) by cgd
Branch: MAIN
Initial revision