The NetBSD Project

CVS log for src/lib/libc/citrus/modules/citrus_mskanji.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 19 20:32:14 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (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.14.22.5 / (download) - annotate - [select for diffs], Mon Jan 29 22:08:59 2018 UTC (5 years ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.14.22.4: +7 -2 lines
Diff to previous 1.14.22.4 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Fix issues with trie implementation.  Now passes the locale tests when __STDC_ISO_10646__ is defined, with the exception of tests requiring LC_COLLATE support.

Revision 1.14.22.4 / (download) - annotate - [select for diffs], Sat Jan 20 19:36:29 2018 UTC (5 years ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.14.22.3: +6 -17 lines
Diff to previous 1.14.22.3 (colored) to branchpoint 1.14 (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.14.22.3 / (download) - annotate - [select for diffs], Mon Jul 31 04:23:35 2017 UTC (5 years, 6 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.14.22.2: +6 -2 lines
Diff to previous 1.14.22.2 (colored) to branchpoint 1.14 (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.14.22.2 / (download) - annotate - [select for diffs], Fri Jul 21 20:22:29 2017 UTC (5 years, 6 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.14.22.1: +77 -12 lines
Diff to previous 1.14.22.1 (colored) to branchpoint 1.14 (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.14.22.1 / (download) - annotate - [select for diffs], Fri Jul 14 15:53:07 2017 UTC (5 years, 6 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.14: +16 -8 lines
Diff to previous 1.14 (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.13.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:36:50 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (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.13.26.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:04 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

resync from head

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 28 16:57:56 2013 UTC (9 years, 8 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-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-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: perseant-stdc-iso10646
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

Add mbsnrtowcs and wcsnrtombs. Approved by core.

Revision 1.12.12.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:29:31 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:13:33 2008 UTC (14 years, 7 months ago) by yamt
Branch: yamt-pf42
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Sat Jun 14 16:01:09 2008 UTC (14 years, 7 months ago) by tnozaki
Branch: christos-time_t
Changes since 1.13.6.1: +544 -0 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

remove unused include, locale.h.

Revision 1.13.6.1, Sat Jun 14 16:01:08 2008 UTC (14 years, 7 months ago) by tnozaki
Branch: christos-time_t
Changes since 1.13: +0 -544 lines
FILE REMOVED

file citrus_mskanji.c was added on branch christos-time_t on 2008-06-14 16:01:09 +0000

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 14 16:01:08 2008 UTC (14 years, 7 months ago) by tnozaki
Branch: MAIN
CVS Tags: yamt-pf42-base4, 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, 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, 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, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, christos-time_t-nbase, christos-time_t-base, 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, christos-time_t
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored)

remove unused include, locale.h.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 5 16:57:06 2007 UTC (15 years, 11 months ago) by tnozaki
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, 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-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, wrstuden-revivesa
Changes since 1.11: +90 -20 lines
Diff to previous 1.11 (colored)

iconv: add following CCS/CES support.
- CNS11643-[3-7] <-> UCS:BMP/SIP (EUC-TW, ISO-2022-CN-EXT)
- HKSCS <-> UCS:BMP/SIP (Big5-HKSCS)
- JISX0213-[1-2] <-> UCS:BMP/SIP (EUC-JIS-2004,Shift_JIS-2004,ISO-2022-JP-2004)

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 7 06:20:20 2005 UTC (17 years, 2 months ago) by tshiozak
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, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.10: +17 -2 lines
Diff to previous 1.10 (colored)

add missing _citrus_MSKanji_stdenc_get_state_desc_generic() function.
pointed out by Patrick Welche <prlw1 _at_ newn _dot_ cam _dot_ ac _dot_ uk>

Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 18 06:44:28 2005 UTC (17 years, 3 months ago) by tshiozak
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

make sure that this module can handle all private/vendor-defined
character area.
This is reported by MORIYAMA Masayuki <msyk _at_ mtg.biglobe.ne.jp> and
"NARUSE, Yui" <naruse _at_ airemix.com>, and fixed by MORIYAMA-san.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 10 19:03:51 2005 UTC (17 years, 11 months ago) by tnozaki
Branch: MAIN
CVS Tags: 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
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

fix typo in _DIAGASSERT

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 29 17:59:03 2003 UTC (19 years, 1 month ago) by yamt
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.7: +7 -2 lines
Diff to previous 1.7 (colored)

_citrus_MSKanji_wcrtomb_priv: return E2BIG correctly.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 26 12:09:58 2003 UTC (19 years, 7 months ago) by tshiozak
Branch: MAIN
Changes since 1.6: +2 -8 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 25 09:51:48 2003 UTC (19 years, 7 months ago) by tshiozak
Branch: MAIN
Changes since 1.5: +152 -17 lines
Diff to previous 1.5 (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.1.2.3 / (download) - annotate - [select for diffs], Thu Apr 25 04:01:40 2002 UTC (20 years, 9 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.2: +4 -7 lines
Diff to previous 1.1.2.2 (colored) next main 1.2 (colored)

Catch up to -current.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 28 10:53:49 2002 UTC (20 years, 10 months 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.4: +2 -5 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Thu Mar 28 10:29:11 2002 UTC (20 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Wed Mar 27 17:54:42 2002 UTC (20 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 27 15:01:17 2002 UTC (20 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (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.1.2.2 / (download) - annotate - [select for diffs], Fri Mar 22 20:42:03 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.1: +329 -0 lines
Diff to previous 1.1.2.1 (colored)

Catch up to -current.

Revision 1.1.2.1, Sun Mar 17 22:14:23 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -329 lines
FILE REMOVED

file citrus_mskanji.c was added on branch nathanw_sa on 2002-03-22 20:42:03 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 17 22:14:23 2002 UTC (20 years, 10 months ago) by tshiozak
Branch: MAIN
Branch point for: nathanw_sa

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>