History log of /netbsd-src/lib/libc/gen/isctype.c (Results 1 – 25 of 26)
Revision Date Author Comments
# e5717105 07-Jun-2024 riastradh <riastradh@NetBSD.org>

libc/locale: Nix needless size_t casts.

No functional change intended. No binary change to aarch64 libc.

Prompted by code inspection around PR lib/58319.


# a5358f36 19-Aug-2013 joerg <joerg@NetBSD.org>

Remove most LC_CTYPE specific parts of locale.cache.


# e0ac190e 17-May-2013 joerg <joerg@NetBSD.org>

Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale a

Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.

show more ...


# 4e2459a9 16-Apr-2013 joerg <joerg@NetBSD.org>

Add isalpha_l and friends.


# e8fa8f4d 13-Apr-2013 joerg <joerg@NetBSD.org>

Extend ctype classification table to 16bit. Based on patch by
Takehiko Nozaki, with changes to compile fail when using the old names
and to exploit __BUILD_LEGACY


# 674a6555 14-Dec-2010 joerg <joerg@NetBSD.org>

Prefix ctype bitmask macros with _CTYPE


# 9a35d797 01-Jun-2010 tnozaki <tnozaki@NetBSD.org>

more split ctype.h -> sys/ctype_inline.h, sys/ctype_bits.h


# bbed57c2 22-May-2010 tnozaki <tnozaki@NetBSD.org>

make _locale_impl_t.cache as pointer to maintain easily binary compatibility in future.
no ABI change was made.


# 461a86f9 11-Jan-2009 christos <christos@NetBSD.org>

merge christos-time_t


# 52ed7b03 02-Jan-2009 tnozaki <tnozaki@NetBSD.org>

Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and

Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.

show more ...


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# ecaa1449 12-Sep-1999 kleink <kleink@NetBSD.org>

Move the function implementations of (the non-ANSI) isascii() and toascii()
into separate modules to avoid namespace clashes.


# 26cc2d4f 13-Jul-1997 christos <christos@NetBSD.org>

Fix RCSID's


# d7ab506f 27-Feb-1995 cgd <cgd@NetBSD.org>

merge with Lite, keeping local changes. Fix up Id format, etc.


# 725ed31e 17-May-1994 cgd <cgd@NetBSD.org>

copyright foo


# a054c658 11-Nov-1993 jtc <jtc@NetBSD.org>

First pass at getting a clean compile with "gcc -Wall", mostly explictly
declaring function return values, etc.


# b23776a8 05-Oct-1993 jtc <jtc@NetBSD.org>

Due to an 8-bit attribute table and 9 bits of attributes, I've had to
remove the _B attribute from the "horizontal tab" position, and change
the isblank function to explicitly test against space and

Due to an 8-bit attribute table and 9 bits of attributes, I've had to
remove the _B attribute from the "horizontal tab" position, and change
the isblank function to explicitly test against space and tab.

When I finish merging the 4.4 runes code, this table will have to grow
to 16 bit entries, as several more attributes have been introduced.
I'm making this change so existing libraries will continue working
for the next (little) while.

show more ...


# b82a2533 14-Sep-1993 jtc <jtc@NetBSD.org>

Implement C version of isblank.


# e27da3f5 05-Sep-1993 mycroft <mycroft@NetBSD.org>

Separate the toupper() and tolower() functions so the tables *really* don't get
included unless you need them.


# 9c20f740 26-Aug-1993 jtc <jtc@NetBSD.org>

Declare rcsid strings so they are stored in text segment.


# 5def7a5f 23-Aug-1993 cgd <cgd@NetBSD.org>

use "_to*_tab_" rather than "_to*_table_" -- table is defined as the former


# 29b58287 06-Aug-1993 jtc <jtc@NetBSD.org>

Use C locale specific traslation tables for toupper and tolower.
Direct access to the tables is to be replaced by a pointer to tables for the
current locale.


# a35ec396 06-Aug-1993 jtc <jtc@NetBSD.org>

Provide function versions of isascii() and toascii().


# 2e9407c8 30-Jul-1993 mycroft <mycroft@NetBSD.org>

Remove patchkit lossage, and RCS frob, and make tolower() and toupper() a
little faster.


# e541169c 21-Mar-1993 cgd <cgd@NetBSD.org>

after 0.2.2 "stable" patches applied


12