The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 6 07:03:49 2021 UTC (3 weeks ago) by rin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +2 -12 lines
Diff to previous 1.21 (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.20.14.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:03 2017 UTC (4 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.20: +13 -13 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 6 13:53:18 2017 UTC (4 years, 8 months 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-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.20: +13 -13 lines
Diff to previous 1.20 (colored)

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

No functional changes.

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:31 2012 UTC (9 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 21 12:27:27 2012 UTC (9 years, 5 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, 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, localcount-20160914, agc-symver-base, agc-symver
Branch point for: pgoyette-localcount
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Feb 25 10:56:24 2010 UTC (11 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

fix wrong widechar assignment for "up arrow"

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 23 19:48:26 2010 UTC (11 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.17: +97 -64 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 3 15:34:40 2010 UTC (11 years, 7 months ago) by roy
Branch: MAIN
Changes since 1.16: +12 -12 lines
Diff to previous 1.16 (colored)

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:23 2008 UTC (13 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15: +8 -6 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 4 16:24:45 2008 UTC (13 years, 2 months ago) by tnozaki
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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-premerge-20091211, 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
Changes since 1.15: +8 -6 lines
Diff to previous 1.15 (colored)

use nl_langinfo(CODESET) instead of setlocale(LC_ALL, "").

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:34 2008 UTC (13 years, 4 months ago) by yamt
Branch: yamt-pf42
Changes since 1.14: +2 -9 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:01 2008 UTC (13 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.14: +2 -9 lines
Diff to previous 1.14 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 11 18:44:46 2007 UTC (14 years, 2 months 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.13: +24 -2 lines
Diff to previous 1.13 (colored)

Add additional line drawing and characters.
Pointed out by pooka@.

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 28 15:01:53 2007 UTC (14 years, 4 months ago) by blymn
Branch: MAIN
Changes since 1.12: +133 -3 lines
Diff to previous 1.12 (colored)

Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.

Revision 1.11.20.3 / (download) - annotate - [select for diffs], Tue Jan 30 09:49:07 2007 UTC (14 years, 8 months ago) by blymn
Branch: wcurses
Changes since 1.11.20.2: +5 -5 lines
Diff to previous 1.11.20.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Don't core dump if setlocale returns NULL - we punt and go for unicode
instead

Revision 1.11.20.2 / (download) - annotate - [select for diffs], Sun Jan 21 17:43:35 2007 UTC (14 years, 8 months ago) by jdc
Branch: wcurses
Changes since 1.11.20.1: +18 -16 lines
Diff to previous 1.11.20.1 (colored) to branchpoint 1.11 (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.12 / (download) - annotate - [select for diffs], Sun Jan 21 13:25:36 2007 UTC (14 years, 8 months ago) by jdc
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (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.11.20.1 / (download) - annotate - [select for diffs], Sun Jan 21 11:38:59 2007 UTC (14 years, 8 months ago) by blymn
Branch: wcurses
Changes since 1.11: +139 -11 lines
Diff to previous 1.11 (colored)

Wide curses merge

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 11 18:06:41 2002 UTC (19 years, 5 months ago) by mycroft
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, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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-3, 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, 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, fvdl_fs64_base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wcurses
Changes since 1.10: +7 -6 lines
Diff to previous 1.10 (colored)

Make sure _acs_char[] is copied to screen->acs_char[] even when there is no
ac attribute.  This fixes box-drawing on displays with no ac.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 4 13:53:26 2002 UTC (19 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.9: +7 -6 lines
Diff to previous 1.9 (colored)

Only reference termcap capabilities in the screen struct in __init_acs
Also changed tputs to t_puts to output acs init string to correct device.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 2 09:14:20 2001 UTC (19 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.8: +15 -3 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 19 21:34:24 2000 UTC (20 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Mon Apr 24 14:09:42 2000 UTC (21 years, 5 months ago) by blymn
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.6: +6 -1 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Sat Apr 15 13:17:02 2000 UTC (21 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Wed Apr 12 21:33:35 2000 UTC (21 years, 5 months ago) by jdc
Branch: MAIN
Changes since 1.4: +7 -6 lines
Diff to previous 1.4 (colored)

Make ACS array index unsigned.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 11 20:41:38 2000 UTC (21 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Use "unsigned char" instead of "int" in previous, from Christos Zoulas.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 11 14:27:51 2000 UTC (21 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Cast array subscript to int - fixes compile barf on (at least) alpha.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 11 13:57:08 2000 UTC (21 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.1: +109 -0 lines
Diff to previous 1.1 (colored)

Made data structures opaque

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Mar 30 19:27:45 2000 UTC (21 years, 6 months ago) by jdc
Branch: curses-v3
Changes since 1.1.2.1: +5 -4 lines
Diff to previous 1.1.2.1 (colored) next main 1.2 (colored)

ACS terminal representations can be 8bit.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun Mar 5 23:25:56 2000 UTC (21 years, 6 months ago) by jdc
Branch: curses-v3
Changes since 1.1: +108 -0 lines
Diff to previous 1.1 (colored)

Alternate character set initialisation routine.

Revision 1.1, Sun Mar 5 23:25:56 2000 UTC (21 years, 6 months ago) by jdc
Branch: MAIN
Branch point for: curses-v3
FILE REMOVED

file acs.c was initially added on branch curses-v3.

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>