History log of /src/lib/libcurses/copywin.c |
Revision | | Date | Author | Comments |
1.22 |
| 23-Dec-2024 |
blymn | Sprinkle about some cycle wasting checks for the win pointer being null. Unfortunately, ncurses does this and there is some sloppy code out there that relies on the check resulting in segfaults in NetBSD curses which then, of course, gets blamed for the error.
|
1.21 |
| 12-Apr-2022 |
blymn | branches: 1.21.4; Make the default colour pair be pair 0 which appears to match other curses implementations.
|
1.20 |
| 06-Sep-2021 |
rin | Expand __CTRACE() to __nothing #ifndef DEBUG.
Remove most of #ifdef DEBUG around __CTRACE() calls.
No binary changes, except for line numbers for assert().
|
1.19 |
| 09-Jun-2019 |
blymn | 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.
|
1.18 |
| 20-May-2019 |
blymn | 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.
|
1.17 |
| 06-Jan-2017 |
roy | branches: 1.17.14; KNF. Normalise coding style. White space police. Sprinkle some extra braces to make the flow more clear.
No functional changes.
|
1.16 |
| 11-Dec-2016 |
blymn | Improve debug information.
|
1.15 |
| 22-Jul-2009 |
roy | branches: 1.15.28; 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.
|
1.14 |
| 08-Nov-2007 |
jdc | Make sure we copy the relevant cell (and not the first cell) for each line that we copy.
We also need to touch the destination window here.
Fixes display bug in atc(6). Bug reported by and fix tested by David Holland.
|
1.13 |
| 28-May-2007 |
blymn | branches: 1.13.4; Merge in wide curses code done as a Summer of Code project by Ruibiao Qiu.
|
1.12 |
| 21-Jan-2007 |
jdc | Add debug "areas" that allow selective debugging by setting the "CURSES_TRACE_MASK" environment variable. Postive vales include debug areas, negative values exclude them.
|
1.11 |
| 02-Aug-2004 |
dsl | branches: 1.11.12; Fix (I hope) the bounding checks against the source window.
|
1.10 |
| 01-Aug-2004 |
dsl | overwrite() wasn't copying enough lines or columns. copywin() couldn't seem to decide whether it should work in window or screen coordinates - and managed to do neither. Change copywin() to use window relative coords (as ncurses and solaris do), and change overwrite() and overlay() to use the modified interface. It is now possible to use overwrite() to save part of curscr while a temporary window is drawn. Fixes PR/26506
|
1.9 |
| 02-Jan-2002 |
blymn | branches: 1.9.6; Remove extraneous tabs from blank lines.
|
1.8 |
| 04-Nov-2001 |
lukem | fix WARNS=2 (-Wshadow) warning
|
1.7 |
| 13-Jun-2001 |
wiz | withough -> without
|
1.6 |
| 26-Apr-2000 |
blymn | * Fixed bug in copywin. * Fixed bug in overwrite. * Added functions is_linetouched, is_wintouched, untouchwin and wtouchln.
|
1.5 |
| 24-Apr-2000 |
blymn | * Added rcs id line to files missing it. * Added code to __restartwin to restore meta and cursor visibility states * Added code to __stopwin to disable meta. * Added the *line group of functions for drawing character lines.
|
1.4 |
| 23-Apr-2000 |
blymn | * Fixed bug in copywin which was copying more than it should. * Changed call to wrefresh in wgetch to be before input read. * Changed default old cursor mode to be high vis in curs_set * Added documentation for various new functions to fns.doc.
|
1.3 |
| 20-Apr-2000 |
blymn | * Added new function dupwin. * Fixed bug in copywin overwrite code.
|
1.2 |
| 18-Apr-2000 |
jdc | Include <string.h> - prototype for memcpy. Thanks due to Tim Rightnour.
|
1.1 |
| 18-Apr-2000 |
blymn | More multiple changes: * Added function derwin. * Added function copywin. * Modified both overlay and overwrite to use copywin. * Updated man page with new functions and fixed minor format glitch.
|
1.9.6.1 |
| 24-Jul-2005 |
snj | Apply patch (requested by riz in ticket #5516): Sync libcurses with HEAD of 2005-07-22.
|
1.11.12.2 |
| 21-Jan-2007 |
jdc | 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.
|
1.11.12.1 |
| 21-Jan-2007 |
blymn | Wide curses merge
|
1.13.4.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.15.28.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.17.14.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.21.4.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|