The NetBSD Project

CVS log for src/lib/libcurses/color.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libcurses

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.47 / (download) - annotate - [select for diffs], Wed Oct 19 06:09:27 2022 UTC (3 months, 2 weeks ago) by blymn
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

Fixes for lib/56926 amongst other things:
 - plod now correctly accounts for wide characters when plodding
 - use erase line when in color mode if the terminal has the capability
 - ensure that the CA_CONTINUATION flag is applied consistently to the
   subsequent characters in a wide character.
 - fix a bunch of refresh bugs that caused inconsistent placement of
   wide characters.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Apr 12 07:03:04 2022 UTC (9 months, 3 weeks ago) by blymn
Branch: MAIN
Changes since 1.45: +12 -4 lines
Diff to previous 1.45 (colored)

Make the default colour pair be pair 0 which appears to match other
curses implementations.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 17 03:50:18 2021 UTC (13 months, 2 weeks ago) by uwe
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

curses: spell "foreground" correctly in comments

Revision 1.44 / (download) - annotate - [select for diffs], Mon Sep 6 07:45:48 2021 UTC (17 months ago) by rin
Branch: MAIN
Changes since 1.43: +7 -5 lines
Diff to previous 1.43 (colored)

Style fixes most for __CTRACE().

Revision 1.43 / (download) - annotate - [select for diffs], Mon Sep 6 07:03:49 2021 UTC (17 months ago) by rin
Branch: MAIN
Changes since 1.42: +2 -20 lines
Diff to previous 1.42 (colored)

Expand __CTRACE() to __nothing #ifndef DEBUG.

Remove most of #ifdef DEBUG around __CTRACE() calls.

No binary changes, except for line numbers for assert().

Revision 1.42 / (download) - annotate - [select for diffs], Mon Sep 6 02:48:54 2021 UTC (17 months ago) by rin
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Fix old-style definition: use_default_colors() --> use_default_colors(void)

Revision 1.38.24.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:03 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.38: +59 -43 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 6 13:53:18 2017 UTC (6 years, 1 month ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.40: +30 -33 lines
Diff to previous 1.40 (colored)

KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 6 09:14:07 2017 UTC (6 years, 1 month ago) by roy
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

u_int -> unsigned int, u_int32_t -> uint32_t.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 3 12:39:44 2017 UTC (6 years, 1 month ago) by roy
Branch: MAIN
Changes since 1.38: +38 -19 lines
Diff to previous 1.38 (colored)

Now that we have the initialize_color capability,
init_color can be made to work.

From: rofl0r <retnyg@gmx.net>

Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 3 12:32:15 2011 UTC (11 years, 4 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, 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-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, 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, localcount-20160914, agc-symver-base, agc-symver
Branch point for: pgoyette-localcount
Changes since 1.37: +10 -10 lines
Diff to previous 1.37 (colored)

Use tiparm instead of vtparm.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jan 6 11:29:40 2011 UTC (12 years, 1 month ago) by blymn
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.36: +3 -13 lines
Diff to previous 1.36 (colored)

Back out change for assume_default_colors as it was not correct.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Dec 25 10:05:08 2010 UTC (12 years, 1 month ago) by blymn
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.35: +20 -4 lines
Diff to previous 1.35 (colored)

Ignore request to change the values of colour pair 0
Explicitly set foreground and/or background colours when -1 is passed
to assume_default_colors()

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 3 15:34:40 2010 UTC (13 years ago) by roy
Branch: MAIN
Changes since 1.34: +31 -30 lines
Diff to previous 1.34 (colored)

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jul 22 16:57:14 2009 UTC (13 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.33: +16 -11 lines
Diff to previous 1.33 (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.32.10.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:35 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.32: +2 -9 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:01 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, 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-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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, hpcarm-cleanup-nbase
Changes since 1.32: +2 -9 lines
Diff to previous 1.32 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Sun Jan 21 17:43:35 2007 UTC (16 years ago) by jdc
Branch: wcurses
Changes since 1.31: +25 -17 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

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.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jan 21 13:25:36 2007 UTC (16 years ago) by jdc
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42
Changes since 1.31: +25 -17 lines
Diff to previous 1.31 (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.30.2.1 / (download) - annotate - [select for diffs], Fri Aug 25 16:15:33 2006 UTC (16 years, 5 months ago) by ghen
Branch: abandoned-netbsd-4
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Pull up following revision(s) (requested by jdc in ticket #54):
	lib/libcurses/color.c: revision 1.31
	lib/libcurses/screen.c: revision 1.18
	lib/libcurses/delwin.c: revision 1.14
Make sure we update the correct window when changing colour pairs.
When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Fri Aug 25 11:40:53 2006 UTC (16 years, 5 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Pull up following revision(s) (requested by jdc in ticket #1475):
	lib/libcurses/color.c: revision 1.31
	lib/libcurses/screen.c: revision 1.18
	lib/libcurses/delwin.c: revision 1.14
Make sure we update the correct window when changing colour pairs.
When deleting windows and screens, also set to NULL the standard names
that refer to the window or screen just deleted.
Add some more debugging information.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Aug 23 19:20:37 2006 UTC (16 years, 5 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
Branch point for: wcurses
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Make sure we update the correct window when changing colour pairs.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 15 11:43:54 2006 UTC (17 years ago) by jdc
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.29: +31 -42 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Mon Mar 22 18:57:38 2004 UTC (18 years, 10 months ago) by jdc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RC1, 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-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, 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, netbsd-2
Branch point for: netbsd-3
Changes since 1.28: +6 -17 lines
Diff to previous 1.28 (colored)

Because we are changing the libcurses major number, remove can_change_colors()
and change the attribute definitions so that we can support more colour pairs.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Mar 16 07:52:43 2004 UTC (18 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.27: +43 -12 lines
Diff to previous 1.27 (colored)

Accept any negative number of init_pair().  Noticed by Peter Bex.
Swap red/blue and yellow/cyan if necessary in assume_default_colors().

Revision 1.27 / (download) - annotate - [select for diffs], Tue Oct 21 00:25:21 2003 UTC (19 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Don't compare an int against NULL.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Oct 5 08:26:02 2003 UTC (19 years, 4 months ago) by jdc
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Fix __CTRACE arguments.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 30 11:10:42 2003 UTC (19 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.24: +39 -41 lines
Diff to previous 1.24 (colored)

Use _cursesi_screen->winlistp (depracating __winlistp)
Optimise and adjust layout so that fewer line breaks are required.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 6 07:22:13 2003 UTC (19 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.23: +69 -2 lines
Diff to previous 1.23 (colored)

Swap red/blue and yellow/cyan when working with Sb/Sf colour.  Problem noticed
when working on PR 21000.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 17 11:07:19 2003 UTC (19 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Mon Jan 27 21:06:16 2003 UTC (20 years ago) by jdc
Branch: MAIN
Changes since 1.21: +26 -8 lines
Diff to previous 1.21 (colored)

Rename can_change_colors() to can_change_color().
Add can_change_colors() (that just calls can_change_color()).
Add no_color_video().
Replace __nca with _cursesi_screen->nca.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 25 09:11:18 2002 UTC (20 years, 2 months ago) by jdc
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Don't allow default colour setting to be overwritten in init_pair().
(Also noticed by Pooka).

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 22 11:37:34 2002 UTC (20 years, 3 months ago) by blymn
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Fix lint nits mainly with the len parameter type in hash_more.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 4 16:43:07 2002 UTC (20 years, 6 months ago) by jdc
Branch: MAIN
Changes since 1.18: +186 -31 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Wed Jun 26 18:13:59 2002 UTC (20 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

PR/17352: David Laight: Curses core-dumps on windows > 1024 wide.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 2 10:38:27 2002 UTC (21 years, 1 month 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.16: +5 -5 lines
Diff to previous 1.16 (colored)

Remove extraneous tabs from blank lines.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 11 11:18:17 2001 UTC (21 years, 2 months ago) by blymn
Branch: MAIN
Changes since 1.15: +2 -20 lines
Diff to previous 1.15 (colored)

 * Remove termcap globals from public interface
 * Clean up commented out code

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 2 09:14:20 2001 UTC (21 years, 2 months ago) by blymn
Branch: MAIN
Changes since 1.14: +69 -70 lines
Diff to previous 1.14 (colored)

* Major change to add support for the newterm/set_term functions.
* Added fix to getch.c suggested by Gabriel Rosenkoetter (thanks :-)

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 5 22:57:56 2001 UTC (22 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

de-lint:
	- bad arithmetic shift
	- const castaways.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 19 21:34:24 2000 UTC (22 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.12: +29 -28 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sat May 6 19:03:39 2000 UTC (22 years, 9 months ago) by jdc
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

Only return TRUE if we can actually manipulate colours.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 29 00:43:36 2000 UTC (22 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +3 -5 lines
Diff to previous 1.10 (colored)

Use the mask here too.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 27 05:03:22 2000 UTC (22 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +13 -17 lines
Diff to previous 1.9 (colored)

Fix obvious bugs in init_pair().

Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 27 00:26:57 2000 UTC (22 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.8: +41 -37 lines
Diff to previous 1.8 (colored)

Use '__TERMATTR'.
Reorder initialisation to make debugging easier to parse.
Use t_getent() not tgetent().

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 24 14:09:42 2000 UTC (22 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.7: +6 -1 lines
Diff to previous 1.7 (colored)

* 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.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 21 15:54:42 2000 UTC (22 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.6: +25 -23 lines
Diff to previous 1.6 (colored)

Initialise colour pairs to default (white on black).
Move colour initialisation so we don't reinitialise the first 8 colours.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 18 22:47:40 2000 UTC (22 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.5: +19 -6 lines
Diff to previous 1.5 (colored)

Use Sb/Sf if AB/AF not present.
Missed a "\n" in debugging printf.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 17 12:25:45 2000 UTC (22 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 15 22:53:05 2000 UTC (22 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.3: +11 -14 lines
Diff to previous 1.3 (colored)

Don't reset firstchp and lastchp even if this line was not dirty.
They could have been set previously by a parent window or sub-window.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 15 13:17:03 2000 UTC (22 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.2: +10 -16 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Fri Apr 14 17:37:15 2000 UTC (22 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.1: +68 -10 lines
Diff to previous 1.1 (colored)

Use the window list so that redefinition of a colour pair can be flagged on
all affected windows.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 12 21:43:09 2000 UTC (22 years, 9 months ago) by jdc
Branch: MAIN

Colour specific routines.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>