The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (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.12: +3 -3 lines
Diff to previous 1.12 (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.12.34.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.12.34.1: +23 -21 lines
Diff to previous 1.12.34.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (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.12.34.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.12: +9 -9 lines
Diff to previous 1.12 (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.11.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:16 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 12 13:51:29 2012 UTC (10 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, 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, 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-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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, agc-symver-base, agc-symver
Branch point for: perseant-stdc-iso10646
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

Remove unused variables. From cppcheck via Henning Petersen in PR 45997.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Fri Nov 19 23:25:01 2010 UTC (12 years, 2 months ago) by riz
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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.9: +34 -33 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up following revision(s) (requested by tnozaki in ticket #1356):
	lib/libc/citrus/modules/citrus_utf1632.c: revision 1.10
	lib/libc/citrus/modules/citrus_utf1632.c: revision 1.11
fix byte order mark related bug introduced by previous commit,
reported by Sverre Froyen via current-user, thanks!
1. fix wrong byte order mark of utf-16, reported by NARUSE Yui -san.
patch provided by tshiozak@ -san.
2. don't eat 0xfeff/0xfffe if they don't appear at the first of bytestream.
noticed y tshiozak@ -san, patch provied by me.
thanks a lot.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 20 18:15:32 2010 UTC (12 years, 10 months ago) by tnozaki
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

fix byte order mark related bug introduced by previous commit,
reported by Sverre Froyen via current-user, thanks!

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 15 15:00:58 2010 UTC (12 years, 10 months ago) by tnozaki
Branch: MAIN
Changes since 1.9: +35 -33 lines
Diff to previous 1.9 (colored)

1. fix wrong byte order mark of utf-16, reported by NARUSE Yui -san.
patch provided by tshiozak@ -san.

2. don't eat 0xfeff/0xfffe if they don't appear at the first of bytestream.
noticed y tshiozak@ -san, patch provied by me.

thanks a lot.

Revision 1.8.4.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.8: +2 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

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

Revision 1.8.2.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.8: +2 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.9.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.9.6.1: +485 -0 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

remove unused include, locale.h.

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

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

Revision 1.9 / (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, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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-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, matt-premerge-20091211, 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, christos-time_t-nbase, christos-time_t-base
Branch point for: netbsd-5, christos-time_t
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

remove unused include, locale.h.

Revision 1.7.14.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:44 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.7: +50 -26 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:40:25 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.7: +50 -26 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 20 11:47:45 2008 UTC (14 years, 10 months ago) by tnozaki
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, matt-armv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, wrstuden-revivesa
Changes since 1.7: +50 -26 lines
Diff to previous 1.7 (colored)

add BOM to utf-16/32 stream in case that endian is not specified,
like other iconv implementation, GNU libiconv, glibc2 iconv, perl iconv.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 27 14:13:55 2006 UTC (16 years, 3 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: matt-armv6, keiichi-mipv6
Changes since 1.6: +6 -2 lines
Diff to previous 1.6 (colored)

don't pass through surrogate character(0xD800 - 0xDFFF).

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 19 01:24:09 2006 UTC (16 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.5: +8 -2 lines
Diff to previous 1.5 (colored)

Coverity 2462: Bail out quickly instead of accessing uninitialized variables.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 9 22:03:15 2006 UTC (16 years, 11 months ago) by dogcow
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

change #include <sys/endian.h> => #include <machine/endian.h> so that
it's (more) consistent in the tree; this, along with changing tools/compat's
autoconf detection from AC_CHECK_FUNCS to AC_CHECK_DECLS makes the vast
majority of htobe16 and friends' redefinition errors bite the dust.
Tested with -current and FreeBSD.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 29 18:02:04 2005 UTC (17 years, 3 months ago) by tshiozak
Branch: MAIN
Changes since 1.3: +16 -2 lines
Diff to previous 1.3 (colored)

fix lib/31874.
- add _citrus_stdenc_get_state_desc() interface to get
  encoding-scheme-independent encoder/decoder state descriptions.
- make sure that iconv_std module uses it to judge whether the last
  sequences forms complete shift sequences.
- bump minor of i18n_module because of get_state_desc().

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 27 12:55:13 2003 UTC (19 years, 7 months ago) by yamt
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, 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.2: +2 -2 lines
Diff to previous 1.2 (colored)

$NetBSD $ -> $NetBSD$

Revision 1.2 / (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.1: +1 -7 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 25 09:51:49 2003 UTC (19 years, 7 months ago) by tshiozak
Branch: MAIN

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)

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>