The NetBSD Project

CVS log for src/lib/libc/locale/Makefile.inc

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.64 / (download) - annotate - [select for diffs], Sun Aug 18 20:03:48 2013 UTC (6 years, 11 months ago) by joerg
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, 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-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, netbsd-9-base, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Branch point for: perseant-stdc-iso10646
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored)

Rename fixup to update_global to better reflect the purpose.
Remove the various Current pointers, they are implementation internals
that shouldn't be leaked. Remove _CATEGORY_DEFAULT related handling and
directly pick the implemenation pointer from the C locale.
Merge the C locale data into global_locale.c with the exception of
_DefaultRuneLocale. Mark that one hidden. Move _RUNE_LOCALE and
_CITRUS_CTYPE into multibyte.h and pick up the correct rl_citrus_ctype
for non-default locales.

Revision 1.63 / (download) - annotate - [select for diffs], Fri May 17 12:55:57 2013 UTC (7 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

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.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Apr 30 00:45:05 2013 UTC (7 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Make that to process PATH_LOCALE the first time _find_category is
called. Use this to implement newlocale and provide duplocale/freelocale
as well. Based on patches by Takehiko Nozaki with simplications and fix
for the init order by myself.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Apr 14 23:44:53 2013 UTC (7 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Provide a const copy of global_locale for libc-internal use.
This will be used by *_l when a NULL pointer is given.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jan 20 16:31:29 2012 UTC (8 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.59: +1 -10 lines
Diff to previous 1.59 (colored)

Remove code for CITRUS!=yes.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Aug 14 09:07:37 2011 UTC (9 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored)

annotate that some functions use non-literal format strings.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jun 19 13:26:52 2010 UTC (10 years, 1 month ago) by tnozaki
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.57: +2 -3 lines
Diff to previous 1.57 (colored)

1. refactoring new locale-db(RuneCT10) loading method with mmap(2).
2. remove unused field from _RuneLocale.
3. localeio(CITRUS=no) can read new locale-db(RuneCT10) now.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jun 7 13:52:30 2010 UTC (10 years, 2 months ago) by tnozaki
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

1. MB_LEN_MAX switch MD to MI.
2. unfortunately hppa's MB_LEN_MAX is defined incorrectly 6 instead of 32
   so we have to add more setlocale(3) __RENAME func, __setlocale50.
3. move setlocale1.c and setlocale32.c to lib/libc/compat/locale/*
   prepareing for next libc major crunk.
4. bump libc minor version.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jun 1 18:00:28 2010 UTC (10 years, 2 months ago) by tnozaki
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

refactoring old locale-db(BSDCTYPE) loading method with mmap(2).

Revision 1.55 / (download) - annotate - [select for diffs], Sun May 30 08:28:53 2010 UTC (10 years, 2 months ago) by tnozaki
Branch: MAIN
Changes since 1.54: +9 -15 lines
Diff to previous 1.54 (colored)

1. fix build problem CITRUS=no
2. make CITRUS={yes,no} knob friendly with libc/compat.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jan 11 02:46:28 2009 UTC (11 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.53: +1 -1 lines
Diff to previous 1.53 (colored)

merge christos-time_t

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jan 2 00:20:19 2009 UTC (11 years, 7 months ago) by tnozaki
Branch: MAIN
CVS Tags: christos-time_t-nbase, christos-time_t-base
Changes since 1.52: +38 -19 lines
Diff to previous 1.52 (colored)

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.

Revision 1.52 / (download) - annotate - [select for diffs], Sat May 17 03:49:54 2008 UTC (12 years, 3 months ago) by ginsbach
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, netbsd-5-base, matt-mips64-base2, hpcarm-cleanup-nbase
Branch point for: netbsd-5, christos-time_t
Changes since 1.51: +4 -3 lines
Diff to previous 1.51 (colored)

Add support for additional locale categories: LC_MESSAGES, LC_MONETARY,
LC_NUMERIC.

The code used to load LC_TIME was refactored in to a more general routine.
This common routine is now used to load LC_TIME along with the newly added
categories.

Changes discussed with/reviewed by christos.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Mar 28 19:05:48 2007 UTC (13 years, 4 months ago) by manu
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, wrstuden-revivesa
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Add support for LC_TIME, from  Joachim Kuebart, through PR lib/10877

Revision 1.50 / (download) - annotate - [select for diffs], Fri Oct 13 17:28:09 2006 UTC (13 years, 10 months ago) by tnozaki
Branch: MAIN
CVS Tags: 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
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

PR/30809 added manpages of wcswcs(3) and wcscoll(3), wcsxfrm(3)
(wcs?width and wprintf are already in repository).

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jun 3 04:36:45 2006 UTC (14 years, 2 months ago) by tnozaki
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.48: +5 -3 lines
Diff to previous 1.48 (colored)

fix lib/33476:
  added following manpages (derived from FreeBSD),
    wcwidth(3) wcswidth(3)
    wcstol(3) wcstoll(3) wcstoimax(3)
    wcstoul(3) wcstoull(3) wcstoumax(3)
  and update doc/TODO.i18n.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Apr 15 12:17:23 2006 UTC (14 years, 4 months ago) by tnozaki
Branch: MAIN
Changes since 1.47: +6 -2 lines
Diff to previous 1.47 (colored)

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

bump libc minor 138 -> 139.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Mar 30 10:15:12 2005 UTC (15 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Add man page for wcsftime from FreeBSD.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 30 03:47:12 2005 UTC (15 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

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

Revision 1.45 / (download) - annotate - [select for diffs], Tue Mar 11 09:21:23 2003 UTC (17 years, 5 months ago) by tshiozak
Branch: MAIN
CVS Tags: netbsd-3-base, 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.44: +3 -2 lines
Diff to previous 1.44 (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.44 / (download) - annotate - [select for diffs], Wed Mar 5 20:18:16 2003 UTC (17 years, 5 months ago) by tshiozak
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Tue Mar 4 12:11:49 2003 UTC (17 years, 5 months ago) by tshiozak
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

add manual pages for iswctype(), towctrans(), wctype() and wctrans().

Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 3 08:24:58 2003 UTC (17 years, 5 months ago) by tshiozak
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

- add btowc.3 / wctob.3.
- fix an unappropriate comment in wctob.c

Revision 1.41 / (download) - annotate - [select for diffs], Mon Mar 3 07:39:54 2003 UTC (17 years, 5 months ago) by tshiozak
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Sun Mar 2 22:18:12 2003 UTC (17 years, 5 months ago) by tshiozak
Branch: MAIN
Changes since 1.39: +5 -6 lines
Diff to previous 1.39 (colored)

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

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 18 06:00:26 2002 UTC (18 years, 5 months ago) by tshiozak
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.38: +5 -2 lines
Diff to previous 1.38 (colored)

add manpages for mb*/wc* functions.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 17 22:14:24 2002 UTC (18 years, 5 months ago) by tshiozak
Branch: MAIN
Changes since 1.37: +10 -10 lines
Diff to previous 1.37 (colored)

refine i18n stuffs.
  - add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 13 07:45:52 2002 UTC (18 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

add a function to handle alias names.
(primarily for nls, encoding and locale names)

Revision 1.36 / (download) - annotate - [select for diffs], Thu Sep 27 16:30:36 2001 UTC (18 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

add wcstod/wcstol/wcstoul.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Apr 1 17:45:07 2001 UTC (19 years, 4 months ago) by tshiozak
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Remove UTF-2.  UTF-2 is superceded by UTF-8.
see also:
http://mail-index.netbsd.org/tech-userlevel/2001/03/30/0000.html
http://mail-index.netbsd.org/tech-userlevel/2001/03/30/0001.html
http://mail-index.netbsd.org/tech-userlevel/2001/03/30/0002.html

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 25 09:21:57 2001 UTC (19 years, 6 months ago) by itojun
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored)

(finally!) enable multibyte LC_CTYPE locale support.

the functionality will be available for dynamic-linked binary only, due to
limitation with dlopen() from within statically-linked binaries.
(statically-linked binary can still enjoy singlebyte LC_CTYPE locale support)

from citrus project.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jan 25 01:25:05 2001 UTC (19 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.32: +7 -6 lines
Diff to previous 1.32 (colored)

split setlocale.c for smaller footprint (do not pull things in too much).
have magic number check in locale modules.
rename: lib/libc/locale/setlocale_sb.c -> setlocale1.c

NOTE: this commit does not enable multibyte locale support, yet.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 22 00:29:46 2001 UTC (19 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

move __mb_cur_max to dedicated *.o, so that we do not pull in
locale stuff just by calling printf().

Revision 1.31 / (download) - annotate - [select for diffs], Wed Dec 27 00:57:03 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

re-enable citrus (rune)locale support.

XXX please clean and recompile libc if you get this revision.  UPDATE=yes
may leave obsolete *.o.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 25 23:30:58 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.29: +12 -3 lines
Diff to previous 1.29 (colored)

byte default, use (non-citrus) singlebyte locale.  if we compile
ld.elf_so with citrus locale, it bombs.
XXX this is shortterm workaround.  if you are willing to test citrus locale,
use RUNE=yes in libc/locale/Makefile.inc.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Dec 23 23:14:33 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.28: +3 -17 lines
Diff to previous 1.28 (colored)

move wcs* and wmem* from lib/libc/locale to lib/libc/string.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Dec 22 05:21:41 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.27: +5 -3 lines
Diff to previous 1.27 (colored)

add wcsl{cat,cpy} - outside of ISO/IEC 9899:1999,
but i believe it should be there.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 22 04:59:41 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.26: +11 -2 lines
Diff to previous 1.26 (colored)

ad manpage for wide character string manipulation (wmem*/wcs*)

Revision 1.26 / (download) - annotate - [select for diffs], Fri Dec 22 02:18:58 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

manpage for tow*.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Dec 22 02:03:32 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.24: +13 -2 lines
Diff to previous 1.24 (colored)

manpage for isw*.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 21 12:17:35 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

add multibyte locale converters (just for use by testers at this moment,
to be built as dynamically loadable binary)

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 21 12:13:28 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

support multibytes in isw*/tow*.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 21 11:29:47 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Thu Dec 21 08:30:53 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Thu Dec 21 05:40:57 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

have dummy wctype.h and isw*/tow*.  part of libc minor 68 -> 69 crank.
equivalent to is*/to* at this moment.  we'll put wchar_t code in the
near future.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 21 05:12:19 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Wed Dec 20 14:53:24 2000 UTC (19 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 8 22:31:14 2000 UTC (20 years ago) by tshiozak
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Preparation for the future introduction of multibyte locale.
 - MB_LEN_MAX is increased to 32.
 - To ensure binary compatibility for old executables
   under multibyte locale, versioned setlocale is added.
 - __mb_len_cur definision is added in setlocale.c
   and enable it in stdlib.h .
   It is also important for multibyte locale stuffs,
   but I just forgot.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 24 15:05:20 1999 UTC (21 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5, minoura-xpg4dl
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
libc builds on pmax again

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 15 09:22:31 1997 UTC (23 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Link localeconv(3) to setlocale(3).

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jul 12 17:52:31 1997 UTC (23 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

add setlocale.3 man page

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 2 09:52:45 1997 UTC (23 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Add support for localized character sets (a.k.a. LC_CTYPE).

Thanks go to Matthias Scheler <tron@lyssa.owl.de> for contributing his initial
work in PR/3592, and to Christos Zoulas for refining it!

Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 29 16:40:13 1997 UTC (23 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

RCSid police.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 22 10:14:25 1994 UTC (25 years, 7 months ago) by cgd
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, ivory_soap2, ivory_soap
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

specify man pages the new way.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 29 04:57:23 1994 UTC (25 years, 10 months ago) by jtc
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Minor tweaks to prepare for checkin of real i18n code.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 16 05:12:26 1994 UTC (26 years, 1 month ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Added a nl_langinfo(3) man page.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 21 04:14:00 1994 UTC (26 years, 2 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Add nl_langinfo(), a SysV-X/Open function that provides access to some
of the locale info.

Some of the POSIX.2 utilities require this information, and I thought it
was better to use an existing interface rather than rolling my own.

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 26 00:31:53 1994 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

fix typo

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 25 01:49:32 1994 UTC (26 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

New localeconv() implementation that constructs it's return value from
the current numeric and current monetary locale data.

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 25 01:17:14 1994 UTC (26 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Compile the default locale data for LC_NUMERIC, LC_MONETARY, and LC_TIME.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 4 02:36:00 1993 UTC (26 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

update for .S and MACHINE_ARCH

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 7 00:23:13 1993 UTC (26 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

make an arch directory in libc, and move all machine dirs into it

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 05:40:56 1993 UTC (27 years ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add RCS identifiers.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (27 years, 5 months ago) by cgd
Branch: MAIN

Initial revision

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>