History log of /src/lib/libcurses/add_wch.c |
Revision | | Date | Author | Comments |
1.10 |
| 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.9 |
| 09-Jun-2019 |
blymn | branches: 1.9.12; 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.8 |
| 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.7 |
| 24-Apr-2019 |
blymn | Add/improve debug output for some routines.
|
1.6 |
| 22-Nov-2018 |
uwe | Drop HAVE_WCHAR ifdefs from code that is not even compiled with !HAVE_WCHAR.
We still try to mainain the ability to build our curses with !HAVE_WCHAR, but it doesn't make sense to provide stubs for new wide API functions that just error out when !HAVE_WCHAR. Any code that only uses old API (and can work with !HAVE_WCHAR curses) doesn't use those new functions. The code that uses new API obviosly cannot work when all the new API is stubbed out.
So the plan is to drop the stubs. This commit does that for files that are not even compiled with !HAVE_WCHAR (not only those stubs are useless, they were not even there to begin with).
Same object code is generated for the normal HAVE_WCHAR case. Nothing is even recompiled for !HAVE_WCHAR.
Ok by blymn@ jdc@ roy@
|
1.5 |
| 07-Jan-2016 |
jdc | branches: 1.5.14; 1.5.16; Add missing new line in debug print.
|
1.4 |
| 09-Nov-2013 |
blymn | 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.3 |
| 22-Jul-2009 |
roy | branches: 1.3.6; 1.3.12; 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.2 |
| 28-May-2007 |
blymn | Merge in wide curses code done as a Summer of Code project by Ruibiao Qiu.
|
1.1 |
| 21-Jan-2007 |
blymn | branches: 1.1.2; Wide curses merge
|
1.1.2.7 |
| 18-Mar-2007 |
jdc | Make this compile without DEBUG defined.
|
1.1.2.6 |
| 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.1.2.5 |
| 22-Jan-2007 |
jdc | We only need to include <assert.h> when debugging.
|
1.1.2.4 |
| 22-Jan-2007 |
blymn | * Make WCHAR libcurses the default build * Sprinkle about some SET_WCOL() calls where they were missing
|
1.1.2.3 |
| 21-Jan-2007 |
jdc | We need to include <assert.h> when debugging.
|
1.1.2.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.1.2.1 |
| 21-Jan-2007 |
blymn | Wide curses merge.
|
1.3.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.3.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.5.16.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.5.14.1 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|
1.9.12.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|