Home | History | Annotate | Download | only in modules
History log of /src/lib/libc/citrus/modules/citrus_iso2022.c
RevisionDateAuthorComments
 1.23  28-May-2013  joerg branches: 1.23.22;
Add mbsnrtowcs and wcsnrtombs. Approved by core.
 1.22  10-Oct-2011  tnozaki branches: 1.22.2; 1.22.8;
revert r1.21, still problem exists for posix2008 mbsnrtowcs(not yet commited),
but i have no time to investigate t_mbrtowc failure.
 1.21  07-Oct-2011  tnozaki update string pointer when input is partial escape sequence or multibyte.
 1.20  07-Dec-2010  joerg Remove tautology.
 1.19  14-Jun-2008  tnozaki branches: 1.19.6;
remove unused include, locale.h.
 1.18  21-Nov-2007  tnozaki branches: 1.18.6; 1.18.8;
fix lib/37290
- don't call abort(3) when there's no suitable charset found.
- use iso-8859-1(or INIT1 if specified) for C1 control char.
 1.17  18-Sep-2007  tnozaki lib/36938 mbtowc misbehaving after invalid char sequence
- make sure to initialize mbtowc's internal state.
- add regression test.
 1.16  07-Jun-2006  tnozaki branches: 1.16.10;
if INIT0 specified, use it instead of ASCII.
 1.15  19-Mar-2006  christos Coverity CID 2464: Don't use uninitialized variables; exit with error quickly.
 1.14  29-Oct-2005  tshiozak 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().
 1.13  10-Feb-2005  tnozaki fix typo in _DIAGASSERT
 1.12  21-Dec-2004  yamt constify.
 1.11  02-Jan-2004  itojun comment on values from 0x80000000 to 0xffffffff
 1.10  02-Jan-2004  itojun safer realloc
 1.9  16-Jul-2003  itojun use bounded string op
 1.8  26-Jun-2003  tshiozak correct wcrtomb(3) - it is not conforming to standard on handling L'\0'.
This change also affects Citrus iconv engine.
 1.7  25-Jun-2003  tshiozak 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)
 1.6  28-Mar-2002  yamt - 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.
 1.5  28-Mar-2002  yamt introduce new macro _STATE_NEEDS_EXPLICIT_INIT.
and use it for encodings that needs explicit
init_state in addition to zero-fill.
 1.4  28-Mar-2002  yamt drop __packed__ attribute from _ISO2022State.
 1.3  27-Mar-2002  yamt fix wcstombs: convertion should always begin with
an initial shift state. and nuke s_wcstombs.
 1.2  27-Mar-2002  yamt - 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.
 1.1  17-Mar-2002  tshiozak branches: 1.1.2;
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.
 1.1.2.3  25-Apr-2002  nathanw Catch up to -current.
 1.1.2.2  22-Mar-2002  nathanw Catch up to -current.
 1.1.2.1  17-Mar-2002  nathanw file citrus_iso2022.c was added on branch nathanw_sa on 2002-03-22 20:42:03 +0000
 1.16.10.2  09-Jan-2008  matt sync with HEAD
 1.16.10.1  06-Nov-2007  matt sync with HEAD
 1.18.8.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.18.6.1  17-Jun-2008  yamt sync with head.
 1.19.6.2  14-Jun-2008  tnozaki remove unused include, locale.h.
 1.19.6.1  14-Jun-2008  tnozaki file citrus_iso2022.c was added on branch christos-time_t on 2008-06-14 16:01:08 +0000
 1.22.8.1  23-Jun-2013  tls resync from head
 1.22.2.1  22-May-2014  yamt 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")
 1.23.22.5  29-Jan-2018  perseant 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.
 1.23.22.4  20-Jan-2018  perseant Use multilevel tables (tries) to convert kuten <-> unicode.
Get rid of dchains, replace with chain/rchain conversions through keys
allocated from the PUA.
 1.23.22.3  31-Jul-2017  perseant 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.
 1.23.22.2  21-Jul-2017  perseant 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.
 1.23.22.1  14-Jul-2017  perseant 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.

RSS XML Feed