The NetBSD Project

CVS log for src/lib/libc/citrus/citrus_ctype_template.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.40 / (download) - annotate - [select for diffs], Sat May 28 22:16:43 2022 UTC (22 months ago) by andvar
Branch: MAIN
CVS Tags: 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, HEAD
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.25 (colored)

fix various typos in comments.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 19 20:32:14 2022 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.25 (colored)

lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 2 01:30:31 2020 UTC (3 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.37: +6 -1 lines
Diff to previous 1.37 (colored) to selected 1.25 (colored)

Don't overalign _RuneStatePriv, it must share the alignment of mbstate_t
it aliased with. Assert that the alignment actually used reflects the
alignment required by existing implementation and for newly build
modules assert that it is at most the guaranteed alignment.

Revision 1.36.28.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:08 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.25 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jul 28 14:26:08 2019 UTC (4 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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.36: +2 -1 lines
Diff to previous 1.36 (colored) to selected 1.25 (colored)

PR/54414: Valery Ushakov: c99 requires that wcsrtombs(3) updates the source
argument on conversion error

Revision 1.36.22.3 / (download) - annotate - [select for diffs], Fri Aug 4 21:43:11 2017 UTC (6 years, 7 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.36.22.2: +18 -4 lines
Diff to previous 1.36.22.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.25 (colored)

Add a version of localedef(1), taken from FreeBSD, which works with
NetBSD's binary format.  LC_CTYPE should be mostly compatible but is
still missing pieces; the LC_COLLATE format is in a similar situation,
since it makes different assumptions than UCA/DUCET.  The other, smaller,
LC_* types should all work, but have not been extensively tested.

Revision 1.36.22.2 / (download) - annotate - [select for diffs], Mon Jul 31 04:23:35 2017 UTC (6 years, 7 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.36.22.1: +8 -2 lines
Diff to previous 1.36.22.1 (colored) to branchpoint 1.36 (colored) to selected 1.25 (colored)

Make the compilation conditional on __STDC_ISO_10646__, so that applications
that need one of the East Asian locales but don't want __STDC_ISO_10646__
don't have to pay the penalty for it.

Revision 1.36.22.1 / (download) - annotate - [select for diffs], Fri Jul 21 20:22:29 2017 UTC (6 years, 8 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.36: +48 -26 lines
Diff to previous 1.36 (colored) to selected 1.25 (colored)

Move Unicode <-> ku/ten mapping into the individual codec modules.
Mapping is based on existing iconv data for single-byte encodings,
and included for several, but not all, multibyte encodings.

Revision 1.35.28.1 / (download) - annotate - [select for diffs], Thu May 22 11:36:50 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35: +171 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (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.35.34.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:04 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.35: +171 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.25 (colored)

resync from head

Revision 1.36 / (download) - annotate - [select for diffs], Tue May 28 16:57:56 2013 UTC (10 years, 10 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, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, 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-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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, perseant-stdc-iso10646
Changes since 1.35: +171 -4 lines
Diff to previous 1.35 (colored) to selected 1.25 (colored)

Add mbsnrtowcs and wcsnrtombs. Approved by core.

Revision 1.32.16.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:40:25 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.32.16.2: +2 -2 lines
Diff to previous 1.32.16.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.25 (colored)

sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Sat Feb 9 14:56:20 2008 UTC (16 years, 1 month ago) by junyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, 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, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-premerge-20101231, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, christos-time_t-nbase, christos-time_t-base, christos-time_t, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.25 (colored)

u_intXX_t -> uintXX_t.

Revision 1.32.16.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:34:02 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.32.16.1: +5 -6 lines
Diff to previous 1.32.16.1 (colored) to branchpoint 1.32 (colored) to selected 1.25 (colored)

sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Mon Nov 26 15:31:30 2007 UTC (16 years, 4 months ago) by tnozaki
Branch: MAIN
CVS Tags: matt-armv6-base, cube-autoconf-base, cube-autoconf
Changes since 1.33: +5 -6 lines
Diff to previous 1.33 (colored) to selected 1.25 (colored)

more PR/36938, restore internal-state if mbtowc() throw EILSEQ.
patch provided by Shiozaki-san, thanks.

Revision 1.32.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:11 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) to selected 1.25 (colored)

sync with HEAD

Revision 1.33 / (download) - annotate - [select for diffs], Tue Sep 18 15:12:07 2007 UTC (16 years, 6 months ago) by tnozaki
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) to selected 1.25 (colored)

lib/36938 mbtowc misbehaving after invalid char sequence
 - make sure to initialize mbtowc's internal state.
 - add regression test.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Mar 5 17:31:03 2005 UTC (19 years 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, 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, matt-mips64-base, matt-mips64, hpcarm-cleanup, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.25 (colored)

correct uninitialized value `err'.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Fri Oct 1 03:08:02 2004 UTC (19 years, 6 months ago) by jmc
Branch: netbsd-2-0
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-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.25: +19 -6 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pullup rev 1.26-1.31 (requested by soda in ticket #875)

Fix 3 bugs in cirtus:
1. The return values of wcrtomb(3) and wctomb(3) are wrong,
   if second argument wc is L\0  and current locale is either
   ja_JP.ISO2022-JP or ja_JP.ISO2022-JP2.
2. There is a case that _FUNCNAME(ctype_wcrtomb) return garbage values on the
   stack
3. wctomb isnt supposed to set errno.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Sep 26 00:51:39 2004 UTC (19 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.25 (colored)

wctomb isn't supposed to set errno.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Sep 26 00:35:51 2004 UTC (19 years, 6 months ago) by soda
Branch: MAIN
Changes since 1.29: +2 -3 lines
Diff to previous 1.29 (colored) to selected 1.25 (colored)

forgot to replace #else with #endif, thanks yamt again.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 26 00:17:15 2004 UTC (19 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored) to selected 1.25 (colored)

_FUNCNAME(ctype_wcrtomb):
set *nresult on error rather than using stack garbage.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Sep 25 23:56:44 2004 UTC (19 years, 6 months ago) by soda
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) to selected 1.25 (colored)

oops, forgot to add "else"

Revision 1.27 / (download) - annotate - [select for diffs], Sat Sep 25 23:51:31 2004 UTC (19 years, 6 months ago) by soda
Branch: MAIN
Changes since 1.26: +5 -3 lines
Diff to previous 1.26 (colored) to selected 1.25 (colored)

corrent an error in previous commit:
don't corrupt return value on error case, pointed out by yamt

Revision 1.26 / (download) - annotate - [select for diffs], Sat Sep 25 22:53:46 2004 UTC (19 years, 6 months ago) by soda
Branch: MAIN
Changes since 1.25: +12 -3 lines
Diff to previous 1.25 (colored)

correct the return values of wcrtomb(3) and wctomb(3).
These return values should include the length of shift sequence
to restore the initial shift state.

Revision 1.25 / (download) - annotate - [selected], Fri Jan 2 21:49:35 2004 UTC (20 years, 2 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-2-0-base, netbsd-2-0-RC1
Branch point for: netbsd-2-0
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

KNF

Revision 1.24 / (download) - annotate - [select for diffs], Thu Aug 7 16:42:38 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.23: +2 -6 lines
Diff to previous 1.23 (colored) to selected 1.25 (colored)

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

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

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 26 12:09:56 2003 UTC (20 years, 9 months ago) by tshiozak
Branch: MAIN
Changes since 1.22: +46 -11 lines
Diff to previous 1.22 (colored) to selected 1.25 (colored)

correct wcrtomb(3) - it is not conforming to standard on handling L'\0'.
This change also affects Citrus iconv engine.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 25 09:51:28 2003 UTC (20 years, 9 months ago) by tshiozak
Branch: MAIN
Changes since 1.21: +5 -3 lines
Diff to previous 1.21 (colored) to selected 1.25 (colored)

Citrus iconv support (1)
add core engine of Citrus iconv and some support routines.
  - iconv core (citrus_iconv)
  - coded character set mapper (csmapper)
  - encoding scheme database (esdb)
  - standard encoding scheme handler (stdenc)
  - basic character set manipulation utilities (bcs)
  - mmap based infrastructure (citrus_lookup/_mmap/_memstream/_db)
  - some source codes of new plugins (not built yet)

Revision 1.13.2.7 / (download) - annotate - [select for diffs], Mon Jun 2 15:06:10 2003 UTC (20 years, 10 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.13.2.6: +12 -1 lines
Diff to previous 1.13.2.6 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.25 (colored)

Pull up revision 1.20 (requested by yamt in ticket #1202):
- handle s==NULL case of wcrtomb.
- add a comment about it.
fix rest of PR 18269 by wurlitzer.

Revision 1.13.2.6 / (download) - annotate - [select for diffs], Mon Jun 2 15:04:57 2003 UTC (20 years, 10 months ago) by tron
Branch: netbsd-1-6
Changes since 1.13.2.5: +39 -22 lines
Diff to previous 1.13.2.5 (colored) to branchpoint 1.13 (colored) to selected 1.25 (colored)

Pull up revision 1.19 (requested by yamt in ticket #1202):
- add missing _CEI_TO_EI/_TO_CEI.
- don't use 'cl' before assert it's non NULL.

Revision 1.13.2.5 / (download) - annotate - [select for diffs], Mon Jun 2 15:03:42 2003 UTC (20 years, 10 months ago) by tron
Branch: netbsd-1-6
Changes since 1.13.2.4: +15 -7 lines
Diff to previous 1.13.2.4 (colored) to branchpoint 1.13 (colored) to selected 1.25 (colored)

Pull up revision 1.18 (requested by yamt in ticket #1202):
- add missing _CEI_TO_EI/_TO_CEI.
- add missing _STATE_NEEDS_EXPLICIT_INIT checks.
- more comment.

Revision 1.13.2.4 / (download) - annotate - [select for diffs], Mon Jun 2 15:01:14 2003 UTC (20 years, 10 months ago) by tron
Branch: netbsd-1-6
Changes since 1.13.2.3: +2 -2 lines
Diff to previous 1.13.2.3 (colored) to branchpoint 1.13 (colored) to selected 1.25 (colored)

Pull up revision 1.17 (requested by yamt in ticket #1202):
in _RESTART_BEGIN macro, don't use external variable directly.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Mon Jun 2 15:00:28 2003 UTC (20 years, 10 months ago) by tron
Branch: netbsd-1-6
Changes since 1.13.2.2: +9 -5 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored) to selected 1.25 (colored)

Pull up revision 1.16 (requested by yamt in ticket #1202):
when s==0, wctomb should initialize its internal state and return if
encodings have state dependency or not.
a patch provided with PR 18269 by wurlitzer.
modified by me.
fix part of PR 18269.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Mon Jun 2 14:59:39 2003 UTC (20 years, 10 months ago) by tron
Branch: netbsd-1-6
Changes since 1.13.2.1: +6 -8 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) to selected 1.25 (colored)

Pull up revision 1.15 (requested by yamt in ticket #1202):
mbsrtowcs_priv template:
        n == 0 is not an error. it's a valid input.
_citrus_NONE_ctype_mbsrtowcs:
        fix a typo that causes SEGV.
while i'm here, make them similar each other.
fix PR 19620.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 5 20:18:15 2003 UTC (21 years ago) by tshiozak
Branch: MAIN
Changes since 1.20: +62 -1 lines
Diff to previous 1.20 (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.3.2.5 / (download) - annotate - [select for diffs], Wed Jan 8 20:32:05 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.2.4: +71 -33 lines
Diff to previous 1.3.2.4 (colored) next main 1.4 (colored) to selected 1.25 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 1 15:57:12 2003 UTC (21 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.19: +12 -1 lines
Diff to previous 1.19 (colored) to selected 1.25 (colored)

- handle s==NULL case of wcrtomb.
- add a comment about it.

fix rest of PR 18269 by wurlitzer.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 1 15:25:54 2003 UTC (21 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.18: +39 -22 lines
Diff to previous 1.18 (colored) to selected 1.25 (colored)

- add missing _CEI_TO_EI/_TO_CEI.
- don't use 'cl' before assert it's non NULL.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 1 15:04:01 2003 UTC (21 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.17: +15 -7 lines
Diff to previous 1.17 (colored) to selected 1.25 (colored)

- add missing _CEI_TO_EI/_TO_CEI.
- add missing _STATE_NEEDS_EXPLICIT_INIT checks.
- more comment.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 1 14:45:13 2003 UTC (21 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.25 (colored)

in _RESTART_BEGIN macro, don't use external variable directly.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jan 1 14:34:27 2003 UTC (21 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.15: +9 -5 lines
Diff to previous 1.15 (colored) to selected 1.25 (colored)

when s==0, wctomb should initialize its internal state and return if
encodings have state dependency or not.

a patch provided with PR 18269 by wurlitzer.
modified by me.

fix part of PR 18269.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 1 13:29:45 2003 UTC (21 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.14: +6 -8 lines
Diff to previous 1.14 (colored) to selected 1.25 (colored)

mbsrtowcs_priv template:
	n == 0 is not an error. it's a valid input.
_citrus_NONE_ctype_mbsrtowcs:
	fix a typo that causes SEGV.

while i'm here, make them similar each other.

fix PR 19620.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Fri Jun 21 18:18:04 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.3: +6 -6 lines
Diff to previous 1.3.2.3 (colored) to selected 1.25 (colored)

Catch up to -current.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Fri May 24 21:55:23 2002 UTC (21 years, 10 months ago) by perry
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored) to selected 1.25 (colored)

1.6 pullup ticket number 11, from thorpej. Original commit message:

>Add some casts to quiet a "discards qualifier from pointer target type"
>warning from gcc 3.2 (experimental) (which is complaining about the loss
>of __restrict).
>
>Reviewed and approved by tshiozak@astec.co.jp.

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 24 04:04:30 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored) to selected 1.25 (colored)

Add some casts to quiet a "discards qualifier from pointer target type"
warning from gcc 3.2 (experimental) (which is complaining about the loss
of __restrict).

Reviewed and approved by tshiozak@astec.co.jp.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu Apr 25 04:01:40 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.2: +57 -25 lines
Diff to previous 1.3.2.2 (colored) to selected 1.25 (colored)

Catch up to -current.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 28 10:53:48 2002 UTC (22 years ago) by yamt
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.12: +16 -8 lines
Diff to previous 1.12 (colored) to selected 1.25 (colored)

- move _TO_CEI to template from each module/*.c.
- nuke _TO_EI and _TO_STATE.
- convert _TO_EI(cl) to _CEI_TO_EI(_TO_CEI(cl)).
- wrap long lines.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 28 10:38:52 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored) to selected 1.25 (colored)

fix comments.
(_TO_INTERNAL_STATE -> _CEI_TO_STATE)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 28 10:29:11 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.10: +8 -1 lines
Diff to previous 1.10 (colored) to selected 1.25 (colored)

introduce new macro _STATE_NEEDS_EXPLICIT_INIT.
and use it for encodings that needs explicit
init_state in addition to zero-fill.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 27 17:54:40 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.9: +4 -5 lines
Diff to previous 1.9 (colored) to selected 1.25 (colored)

fix wcstombs: convertion should always begin with
an initial shift state. and nuke s_wcstombs.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 27 17:18:41 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored) to selected 1.25 (colored)

fix state backup.
XXX this should be move into wcrtomb_priv.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 27 15:01:16 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.7: +8 -6 lines
Diff to previous 1.7 (colored) to selected 1.25 (colored)

- change _ENCODING_MB_CUR_MAX to take a pointer to encoding info.
- don't use MB_CUR_MAX here since it's depend on current locale.
  use _ENCODING_MB_CUR_MAX instead.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 26 07:53:38 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.6: +12 -3 lines
Diff to previous 1.6 (colored) to selected 1.25 (colored)

fix wcsrtombs to restart correctly.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 25 20:29:30 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.5: +12 -8 lines
Diff to previous 1.5 (colored) to selected 1.25 (colored)

- handle the case that buffer size == 0 for wcsrtombs.
- add a XXX comment.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 25 19:40:35 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored) to selected 1.25 (colored)

fix mbtowc to return if the encoding's state-dependent or not
correctly.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 25 19:10:45 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.25 (colored)

calculate the return value of wcsrtombs correctly
for stateful encodings.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Fri Mar 22 20:42:01 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.1: +590 -0 lines
Diff to previous 1.3.2.1 (colored) to selected 1.25 (colored)

Catch up to -current.

Revision 1.3.2.1, Mon Mar 18 10:01:12 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +0 -590 lines
FILE REMOVED

file citrus_ctype_template.h was added on branch nathanw_sa on 2002-03-22 20:42:01 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 18 10:01:12 2002 UTC (22 years ago) by yamt
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored) to selected 1.25 (colored)

don't set errno here. caller will set it.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 18 08:09:28 2002 UTC (22 years ago) by yamt
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.25 (colored)

make mbsrtowcs work.(fix a typo)

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 17 22:14:19 2002 UTC (22 years ago) by tshiozak
Branch: MAIN
Diff to selected 1.25 (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.

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>