History log of /src/lib/libcurses/addch.c |
Revision | | Date | Author | Comments |
1.23 |
| 06-Sep-2021 |
rin | Style fixes most for __CTRACE().
|
1.22 |
| 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.21 |
| 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.20 |
| 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.19 |
| 29-Oct-2018 |
uwe | waddch - instead of enclosing every statement in #ifdef HAVE_WCHAR just provide two separate definitions.
Same object code is generated for all four combinations of debug/wchar.
|
1.18 |
| 06-Jan-2017 |
roy | branches: 1.18.12; 1.18.14; KNF
|
1.17 |
| 09-Nov-2013 |
blymn | branches: 1.17.8; Rename the old __waddbytes function to _cursesi_waddbytes and add a parameter that controls whether or not certain characters in the string are interpreted or not (things like tab being expanded).
Make __waddbytes a wrapper for _cursesi_waddbytes that passes all parameters and sets the flag for character interpretation for backward compatibility.
Fix an incipient bug in _cursesi_waddbytes where garbage would have been written to the terminal if the terminal TABSIZE was set > 8 and character interpretation is on.
Convert all internal __waddbytes calls to use _cursesi_waddbytes, fix the function prototypes and add a new flag that will be used later.
Fix the addchstr family functions so that they call _cursesi_waddbytes with character interpretation off as per SUSV2.
|
1.16 |
| 23-Feb-2010 |
drochner | branches: 1.16.6; 1.16.12; misc fixes and improvements: -call setlocale(LC_CTYPE, "") before nl_langinfo(CODESET) if the locale settings is (still) at "C" - otherwise the CODESET doesn't work -fix the type of the WACS_* symbols -- this needs to be cchar_t* -add safeguards where the return value of wcwidth() is used for loop counters or indexing -- it can be -1 -use more common code in the widechar support case -- in particular let the wchar functions do the work even if chtype ones were called -implement wcursyncup/wsyncup/wsyncdown -somewhat experimental: allow ACS_* variables to refer to WACS_* table entries -- this way, programs using the old chtype using API can use UTF8 line drawing on terminals which support UTF8 but not ACS switching -fix some logics bugs in UTF8 recognition and ALTCHARSET handling
|
1.15 |
| 28-May-2007 |
blymn | Merge in wide curses code done as a Summer of Code project by Ruibiao Qiu.
|
1.14 |
| 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.13 |
| 07-Aug-2003 |
agc | branches: 1.13.18; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
1.12 |
| 19-Jul-2002 |
blymn | * Added new function idcok - this closes PR 10802 * Added sentinels to the line structures when in debug mode to try to pick up data overwrite problems, if they occur.
|
1.11 |
| 15-Apr-2000 |
blymn | 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.
|
1.10 |
| 11-Apr-2000 |
blymn | Made data structures opaque
|
1.9 |
| 13-Apr-1999 |
mrg | branches: 1.9.6; 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!
|
1.8 |
| 22-Jul-1997 |
mikel | RCSid police, fix warnings
|
1.7 |
| 17-Aug-1994 |
cgd | branches: 1.7.2; clean up import
|
1.6 |
| 09-Nov-1993 |
cgd | repeat after me: "I hate rcs ids"
|
1.5 |
| 09-Nov-1993 |
cgd | update to new version from berkeley. doesn't compile yet, nor does it have rcsid's. this is for diffs.
|
1.4 |
| 07-Aug-1993 |
mycroft | New version from uunet.
|
1.3 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.2 |
| 09-Jul-1993 |
alm | 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.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 17-Aug-1994 |
cgd | new libcurses, from new nvi
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.7.2.2 |
| 17-Aug-1994 |
cgd | clean up import
|
1.7.2.1 |
| 17-Aug-1994 |
cgd | file addch.c was added on branch netbsd-1-0 on 1994-08-17 21:51:47 +0000
|
1.9.6.2 |
| 05-Mar-2000 |
jdc | Strip attributes from buf.ch. Print attributes in hex when debugging.
|
1.9.6.1 |
| 09-Jan-2000 |
jdc | Changes to make libcurses SUS v2 compatible.
|
1.13.18.2 |
| 26-Feb-2007 |
blymn | * commonalise adding a wide character so it can be reused * make __waddbytes add wide characters if libcurses is built in wide character mode. * make waddch add wide characters if libcurses is built in wide character mode.
|
1.13.18.1 |
| 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.16.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.16.6.1 |
| 22-May-2014 |
yamt | 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")
|
1.17.8.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.18.14.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.18.12.1 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|