Home | History | Annotate | Download | only in libcurses
History log of /src/lib/libcurses/ctrace.c
RevisionDateAuthorComments
 1.24  09-Jun-2024  rillig libcurses: fix lint warning about function without header prototype
 1.23  29-Oct-2018  uwe __CTRACE - don't call gettimeofday() twice.
 1.22  29-Oct-2018  uwe Make __CTRACE_init() static and ANSIfy its definition.
 1.21  06-Jan-2017  roy branches: 1.21.12; 1.21.14;
KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.
 1.20  17-Jan-2009  christos branches: 1.20.30;
fix debugging build.
 1.19  29-May-2007  blymn Change debug handling, now we write debug out iff CURSES_TRACE_FILE
has been set in the environment, this prevents people using MKDEBUGLIB
getting more than they bargained for.

Tidied up the debug settings in the Makefile to reflect the above change,
we no longer need to have FULL_DEBUG since nothing is written by default.
 1.18  22-Jan-2007  jdc Pull down the following from the wcurses branch:
ctrace.c: revision 1.16.2.2
initscr.c: revision 1.27.18.2
Orginal commit message:

Do the debug initialisation only in ctrace.c. Otherwise, it might not
get done, for example, if we start curses with setterm() and not initscr().
 1.17  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.16  17-Jan-2007  hubertf branches: 1.16.2;
Remove more duplicate #includes, and a few spurious whitespaces at EOL
From Slava Semushin <slava.semushin@gmail.com>
 1.15  18-Feb-2005  dsl Change first arg of __hash_more to const void * to remove need for double casts
 1.14  07-Aug-2003  agc branches: 1.14.4;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.13  26-Jun-2002  christos PR/17352: David Laight: Curses core-dumps on windows > 1024 wide.
 1.12  26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.11  24-Sep-2001  wiz va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
 1.10  20-Apr-2000  blymn * Fix longname behaviour so it returns the last alias for the terminal
name which, by convention, is the verbose terminal description.
* Fix compile errors when DEBUG defined.
 1.9  17-Apr-2000  blymn Multiple fixes:
* Added Bill's fixes for errors when compiling with WARNS=1
* Incorporated fixes to make usage of unctrl consistent in debug and
made improvements to ctrace - it now timestamps it's output better.
* Reduced the number of mallocs done by __init_getch by allocating key
structs in bunches instead of singly.
* Removed the shadowing of global declarations in newwin and subwin
functions
 1.8  16-Apr-2000  thorpej Make the lint hack compile (missing prototype).
 1.7  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.6  13-Apr-1999  mrg 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.5  22-Jul-1997  mikel RCSid police, fix warnings
 1.4  17-Aug-1994  cgd branches: 1.4.2;
clean up import
 1.3  24-Jan-1994  cgd changes from branch
 1.2  09-Nov-1993  cgd repeat after me: "I hate rcs ids"
 1.1  09-Nov-1993  cgd branches: 1.1.1; 1.1.2;
update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's. this is for diffs.
 1.1.2.1  24-Jan-1994  cgd minor fixups
 1.1.1.1  17-Aug-1994  cgd new libcurses, from new nvi
 1.4.2.2  17-Aug-1994  cgd clean up import
 1.4.2.1  17-Aug-1994  cgd file ctrace.c was added on branch netbsd-1-0 on 1994-08-17 21:51:58 +0000
 1.14.4.1  24-Jul-2005  snj Apply patch (requested by riz in ticket #5516):
Sync libcurses with HEAD of 2005-07-22.
 1.16.2.2  22-Jan-2007  jdc Do the debug initialisation only in ctrace.c. Otherwise, it might not
get done, for example, if we start curses with setterm() and not initscr().
 1.16.2.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.20.30.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.21.14.1  10-Jun-2019  christos Sync with HEAD
 1.21.12.1  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts

RSS XML Feed