The NetBSD Project

CVS log for src/include/wchar.h

[BACK] Up to [cvs.NetBSD.org] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45 / (download) - annotate - [select for diffs], Mon Jul 31 17:38:28 2023 UTC (7 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored) to selected 1.25 (colored)

new gdb needs wmempcpy, give it to it.

Revision 1.42.14.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:11 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.42.14.1: +6 -6 lines
Diff to previous 1.42.14.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.25 (colored)

Merge changes from current as of 20200406

Revision 1.44 / (download) - annotate - [select for diffs], Fri Mar 20 01:08:42 2020 UTC (4 years ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.43: +6 -6 lines
Diff to previous 1.43 (colored) to selected 1.25 (colored)

Fix visibility of various C99 features, esp. for C++11.

Revision 1.42.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:12 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.42: +8 -2 lines
Diff to previous 1.42 (colored) to selected 1.25 (colored)

Sync with HEAD

Revision 1.42.12.1 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:09 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.42: +8 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.25 (colored)

Synch with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Fri Dec 28 13:11:46 2018 UTC (5 years, 2 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, 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, is-mlppp-base, is-mlppp
Changes since 1.42: +8 -2 lines
Diff to previous 1.42 (colored) to selected 1.25 (colored)

Limit wcslcat, wcslcpy visibility to _NETBSD_SOURCE
wcswidth, wcwidth to POSIX.1-2001 or _NETBSD_SOURCE

Updated patch from kretschm in PR standards/39422

Revision 1.42.8.2 / (download) - annotate - [select for diffs], Sat Jan 20 19:36:29 2018 UTC (6 years, 1 month ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.42.8.1: +2 -2 lines
Diff to previous 1.42.8.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.25 (colored)

Use multilevel tables (tries) to convert kuten <-> unicode.
Get rid of dchains, replace with chain/rchain conversions through keys
allocated from the PUA.

Revision 1.42.8.1 / (download) - annotate - [select for diffs], Fri Jul 14 15:53:07 2017 UTC (6 years, 8 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.42: +4 -1 lines
Diff to previous 1.42 (colored) to selected 1.25 (colored)

Initial commit of a mostly-working implementation of __STDC_ISO_10646__,
with collation support using the Unicode Collation Algorithm.

The conversion from men/ku/ten form to Unicode is a gross hack at present.
Fixing this, and fleshing out the LC_COLLATE locale component, are next
on the agenda.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:48:51 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.25 (colored)

Sync with HEAD

Revision 1.42 / (download) - annotate - [select for diffs], Sat Oct 15 14:22:00 2016 UTC (7 years, 5 months ago) by kamil
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat, perseant-stdc-iso10646
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored) to selected 1.25 (colored)

Import wcsnlen(3) to libc

The wcsnlen(3) function conforms to POSIX.1-2008 and is an addition to the
ISO C standard.

size_t wcsnlen(const wchar_t *s, size_t maxlen);

The wcsnlen(3) function computes the number of wide-characters in a wide-
-string to which s points, not including NULL terminating wide-character
code and checking no more than maxlen wide-characters. This function never
examines wide-characters beyond a wide-string of maxlen size.


This function is a safer version of wcslen(3):

size_t wcslen(const wchar_t *s);


Update STANDARDS section of wmemchr(3) describing wide-character functions.

Revision 1.27.8.2 / (download) - annotate - [select for diffs], Thu Feb 26 21:59:43 2015 UTC (9 years ago) by snj
Branch: netbsd-5
Changes since 1.27.8.1: +5 -3 lines
Diff to previous 1.27.8.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.25 (colored)

Apply patch (requested by christos in ticket #1943):
Properly expose wcsto{f,ld,ll,ull} and v{fw,sw,ws}scanf when
_POSIX_C_SOURCE >= 200112L and _XOPEN_SOURCE >= 600.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Fri Jan 16 09:36:12 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-6
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.25 (colored)

Pull up following revision(s) (requested by christos in ticket #1231):
	include/wchar.h: revision 1.40
Expose properly vfwscanf and friends for POSIX_SOURCE >= 200112L

Revision 1.41 / (download) - annotate - [select for diffs], Mon Oct 13 00:47:03 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.40: +6 -1 lines
Diff to previous 1.40 (colored) to selected 1.25 (colored)

add open_{,w}memstream

Revision 1.30.8.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:05 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.30.8.1: +7 -2 lines
Diff to previous 1.30.8.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.25 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:36:35 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.30: +84 -3 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.25 (colored)

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")

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 21 09:09:52 2013 UTC (10 years, 3 months ago) by degroote
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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
Changes since 1.39: +5 -3 lines
Diff to previous 1.39 (colored) to selected 1.25 (colored)

Expose properly vfwscanf and friends for POSIX_SOURCE >= 200112L

Revision 1.39 / (download) - annotate - [select for diffs], Mon Aug 19 08:03:33 2013 UTC (10 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.38: +4 -1 lines
Diff to previous 1.38 (colored) to selected 1.25 (colored)

Add nl_langinfo_l, catopen_l and wcsftime_l.

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:49 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.30: +77 -1 lines
Diff to previous 1.30 (colored) to selected 1.25 (colored)

resync from head

Revision 1.38 / (download) - annotate - [select for diffs], Tue May 28 16:57:56 2013 UTC (10 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.37: +10 -1 lines
Diff to previous 1.37 (colored) to selected 1.25 (colored)

Add mbsnrtowcs and wcsnrtombs. Approved by core.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 19 23:45:15 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.36: +5 -1 lines
Diff to previous 1.36 (colored) to selected 1.25 (colored)

More __BEGIN_DECLS / __END_DECLS wrappers.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Apr 19 23:32:16 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.35: +11 -1 lines
Diff to previous 1.35 (colored) to selected 1.25 (colored)

Add scanf_l and wscanf_l families.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 19 15:22:24 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.34: +11 -1 lines
Diff to previous 1.34 (colored) to selected 1.25 (colored)

Add explicit locale versions for the printf family. Replace asprintf,
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Apr 18 23:24:26 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.33: +22 -2 lines
Diff to previous 1.33 (colored) to selected 1.25 (colored)

Add wcscoll_l, wcsxfrm_l, wcsncasecmp_l, wcscasecmp_l, btowc_l,
mbrlen_l, mbsinit_l, mbsrtowcs_l, wcrtomb_l, wcsrtombs_l and wctob_l.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 18 22:23:17 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.32: +5 -1 lines
Diff to previous 1.32 (colored) to selected 1.25 (colored)

Add wcstof_l, wcstod_l and wcstold_l.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 16 16:52:13 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.31: +11 -1 lines
Diff to previous 1.31 (colored) to selected 1.25 (colored)

Add support for wcstoimax_l and friends.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 16 11:55:02 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.30: +10 -1 lines
Diff to previous 1.30 (colored) to selected 1.25 (colored)

Also add prototypes for wcwidth_l and wcswidth_l.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:34 2011 UTC (12 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6
Changes since 1.29: +14 -7 lines
Diff to previous 1.29 (colored) to selected 1.25 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.27.18.1 / (download) - annotate - [select for diffs], Fri May 20 19:18:44 2011 UTC (12 years, 10 months ago) by bouyer
Branch: netbsd-5-1
CVS Tags: 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
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.25 (colored)

Pull up following revision(s) (requested by joerg in ticket #1611):
	include/inttypes.h: revision 1.7
	include/stddef.h: revision 1.16
	include/wchar.h: revision 1.28
	include/stdlib.h: revision 1.90
Don't define wchar_t for c++; it is native in the language. From Alexander
Nasonov

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Fri May 20 19:18:37 2011 UTC (12 years, 10 months ago) by bouyer
Branch: netbsd-5
CVS Tags: 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
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.25 (colored)

Pull up following revision(s) (requested by joerg in ticket #1611):
	include/inttypes.h: revision 1.7
	include/stddef.h: revision 1.16
	include/wchar.h: revision 1.28
	include/stdlib.h: revision 1.90
Don't define wchar_t for c++; it is native in the language. From Alexander
Nasonov

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:36:18 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.25 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Mar 27 22:14:09 2010 UTC (13 years, 11 months ago) by tnozaki
Branch: MAIN
CVS Tags: uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.25 (colored)

1. {wctype,wctrans,mbstate}_t: switch MD to MI like other
   libc implementation (such as *BSD and glibc2).

2. don't typedef void * wc{type,trans}_t, suggested by soda@-san.
   it may pass through compiler type check, it's harmful.
   so i introduce dummy struct __tag_wc{type,trans}_t(iconv_t already does).

no ABI change was made.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Nov 15 22:21:03 2009 UTC (14 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.25 (colored)

Don't define wchar_t for c++; it is native in the language. From Alexander
Nasonov

Revision 1.26.16.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:09 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.26: +1 -8 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.25 (colored)

sync with head.

Revision 1.27.10.2 / (download) - annotate - [select for diffs], Mon Apr 28 20:22:55 2008 UTC (15 years, 10 months ago) by martin
Branch: christos-time_t
Changes since 1.27.10.1: +202 -0 lines
Diff to previous 1.27.10.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.25 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.27.10.1, Mon Apr 28 20:22:54 2008 UTC (15 years, 10 months ago) by martin
Branch: christos-time_t
Changes since 1.27: +0 -202 lines
FILE REMOVED

file wchar.h was added on branch christos-time_t on 2008-04-28 20:22:55 +0000

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 28 20:22:54 2008 UTC (15 years, 10 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, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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, 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, christos-time_t-nbase, christos-time_t-base
Branch point for: netbsd-5-1, netbsd-5, christos-time_t
Changes since 1.26: +1 -8 lines
Diff to previous 1.26 (colored) to selected 1.25 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sun Aug 27 06:15:47 2006 UTC (17 years, 6 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by tron in ticket #64):
	lib/libc/include/namespace.h: revision 1.119
	lib/libc/string/wcsdup.c: revision 1.1
	lib/libc/string/wcscasecmp.c: revision 1.1
	lib/libc/include/namespace.h: revision 1.120
	distrib/sets/lists/base/shl.mi: revision 1.366
	lib/libc/shlib_version: revision 1.182
	include/wchar.h: revision 1.26
	lib/libc/string/Makefile.inc: revision 1.62
	lib/libc/string/Makefile.inc: revision 1.63
	lib/libc/string/wcsncasecmp.c: revision 1.1
PR/34238: Aleksey Cheusov: add wcsdup, wcscasecmp and wcsncasecmp functions
libc 147 for wcsdup and wcs{n,}casecmp
include one more new file.
add wcsdup, wcscasecmp and wcsncasecmp.  fixes build problems..
I think we want both wcs{c,n}casecmp weak.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 22 20:50:46 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, 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.25: +4 -1 lines
Diff to previous 1.25 (colored)

PR/34238: Aleksey Cheusov: add wcsdup, wcscasecmp and wcsncasecmp functions

Revision 1.25 / (download) - annotate - [selected], Sat Apr 15 12:17:22 2006 UTC (17 years, 11 months ago) by tnozaki
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

add c99 wcstof(3) and wcstold(3).
requested by skrll AT netbsd DOT org, thanks.

bump libc minor 138 -> 139.

Revision 1.24 / (download) - annotate - [select for diffs], Sun May 15 21:10:52 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.23: +6 -1 lines
Diff to previous 1.23 (colored) to selected 1.25 (colored)

add t_putws

Revision 1.23 / (download) - annotate - [select for diffs], Sat May 14 23:51:42 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.22: +20 -1 lines
Diff to previous 1.22 (colored) to selected 1.25 (colored)

Wide stdio functions.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Apr 6 13:39:05 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.25 (colored)

Pull up revision 1.22 (requested by christos in ticket #102):
PR/29826: J. T. Conklin: Add wcsftime(3) (from FreeBSD)

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 30 03:47:11 2005 UTC (18 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored) to selected 1.25 (colored)

PR/29826: J. T. Conklin: Add wcsftime(3) (from FreeBSD)

Revision 1.21 / (download) - annotate - [select for diffs], Thu Feb 3 04:39:32 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.20: +69 -72 lines
Diff to previous 1.20 (colored) to selected 1.25 (colored)

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 8 21:57:05 2004 UTC (19 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored) to selected 1.25 (colored)

C99: Provide WCHAR_{MAX,MIN} via <machine/wchar_limits.h> (we'll also
provide WINT_{MAX,MIN} along with it).
Fixes PR standards/24040 from Masao Uebayashi.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 8 05:39:23 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
CVS Tags: 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
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored) to selected 1.25 (colored)

prototype must not have variable name

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:15 2003 UTC (20 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored) to selected 1.25 (colored)

Add a new feature-test macro, _NETBSD_SOURCE.  If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
  can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
  various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
  !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them.  In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 11 09:21:22 2003 UTC (21 years ago) by tshiozak
Branch: MAIN
Changes since 1.16: +15 -4 lines
Diff to previous 1.16 (colored) to selected 1.25 (colored)

add wcstoll, wcstoimax, wcstoull and wcstoumax. (lib/20656)
  - these are defined in C99 (wcsto[ui]max) and SUSv3.
  - these implementations are written by sigsegv@s25.xrea.com,
    derived from NetBSD's wcstol/wcstoul.
  - I just added some comments.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 7 07:11:35 2003 UTC (21 years ago) by tshiozak
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored) to selected 1.25 (colored)

add fgetws() and fputws() (lib/20576).

Note: fgetws.c, fgetws.3, fputws.c and fputws.3 are obtained from FreeBSD,
and fitted by sigsegv@infoseek.jp and me.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 5 20:18:15 2003 UTC (21 years ago) by tshiozak
Branch: MAIN
Changes since 1.14: +4 -1 lines
Diff to previous 1.14 (colored) to selected 1.25 (colored)

changes related to lib/20576 and lib/20577.
  - add wcstok() and wcswcs(),
  - add wcstok(3),
  - move btowc() and wctob() into each ctype modules,
  - bump ctype interface ABI version,
  - bump i18n modules' minor and
  - update sets.
and fix a stupid bug in _RUNE_ISCACHED macro.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 3 07:39:53 2003 UTC (21 years ago) by tshiozak
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored) to selected 1.25 (colored)

 - add wctob() function. (I forgot it at the last commit.)
 - fix btowc(); I quite misunderstood about it.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 2 22:18:11 2003 UTC (21 years ago) by tshiozak
Branch: MAIN
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored) to selected 1.25 (colored)

add some ISO C 1995 I18N functions and types:
  btowc, wctrans, towctrans, wcscoll, wcsxfrm, wctype_t and wctrans_t.

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Fri Mar 22 21:10:10 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.9.2.3: +4 -4 lines
Diff to previous 1.9.2.3 (colored) next main 1.10 (colored) to selected 1.25 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 14 21:22:28 2002 UTC (22 years ago) by yamt
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, nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) to selected 1.25 (colored)

fix prototype of fputwc, putwc and putwchar.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Mon Jan 28 21:27:19 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.2: +1 -1 lines
Diff to previous 1.9.2.2 (colored) to selected 1.25 (colored)

Catch up to -current.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Mon Jan 14 21:37:09 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.1: +18 -1 lines
Diff to previous 1.9.2.1 (colored) to selected 1.25 (colored)

Catch up to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 7 11:47:40 2001 UTC (22 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.10: +18 -1 lines
Diff to previous 1.10 (colored) to selected 1.25 (colored)

- make FILE structure extensible without breaking binary-compatibility.
- add fputwc, fgetwc, fwide and related functions.
- add hooks needed to maintain the orientation of file stream.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:13:47 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9: +6 -1 lines
Diff to previous 1.9 (colored) to selected 1.25 (colored)

Catch up to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 27 16:30:35 2001 UTC (22 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.9: +6 -1 lines
Diff to previous 1.9 (colored) to selected 1.25 (colored)

add wcstod/wcstol/wcstoul.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Dec 29 15:26:33 2000 UTC (23 years, 2 months ago) by kleink
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.8: +17 -11 lines
Diff to previous 1.8 (colored) to selected 1.25 (colored)

Sprinkle some __restrict into <wchar.h>.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 22 05:31:42 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.25 (colored)

wcwidth is outside of standard

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 22 05:24:03 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored) to selected 1.25 (colored)

add wcsl{cat,cpy}

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 21 11:29:48 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.5: +7 -1 lines
Diff to previous 1.5 (colored) to selected 1.25 (colored)

first import of citrus LC_CTYPE locale.  singlebyte only at this moment.
shot-term TODO:
- enable multibyte locales.  this includes loadable locale modules
  (#ifdef DLRUNE).
- populate LC_CTYPE definition files.
- other functions such as iconv()
- make libc functions more friendly with multibyte.
- multilingualize other LC_xx
- torture tests

XXX don't forget to "make depend" when you rebuild libc, multibyte.c is
moved from lib/libc/stdlib to lib/libc/locale.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 21 08:30:52 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.4: +8 -1 lines
Diff to previous 1.4 (colored) to selected 1.25 (colored)

add dummy wcwidth() and wcswidth().  wcwidth() will be updated later.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 21 05:12:18 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.3: +18 -1 lines
Diff to previous 1.3 (colored) to selected 1.25 (colored)

add wcs* functions.  consier it as part of libc minor crank 68 -> 69.
add decl of WEOF into wchar.h.  ISO/IEC 9899:1999(E)..

Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 20 22:36:25 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.25 (colored)

ISO 9899-1990: #include <wchar.h> should pull definition for "NULL" in.
checked with Norihiro Kumagai <kuma@oasis.sharplabs.com>

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 20 14:53:23 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.1: +36 -1 lines
Diff to previous 1.1 (colored) to selected 1.25 (colored)

add wmem* functions, from citrus.  bump libc shlib minor.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun May 28 22:41:02 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.1: +170 -36 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.25 (colored)

Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 20 09:56:37 2000 UTC (23 years, 11 months ago) by kleink
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
Branch point for: minoura-xpg4dl
Diff to selected 1.25 (colored)

* Move <wchar.h> from libcurses to include (for the missing functionality
  is to be provided by libc).
* Define wint_t and size_t in <wchar.h> as well.

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>