Home | History | Annotate | Download | only in citrus
History log of /src/lib/libc/citrus/citrus_none.c
RevisionDateAuthorComments
 1.23  28-Jul-2019  christos PR/54414: Valery Ushakov: c99 requires that wcsrtombs(3) updates the source
argument on conversion error
 1.22  13-Jul-2017  christos branches: 1.22.2; 1.22.6;
s == NULL is illegal.
 1.21  13-Jul-2017  joerg Redo previous: catch NULL pointer earlier, check for empty string
latter.
 1.20  13-Jul-2017  joerg Spell NULL correctly.
 1.19  28-May-2013  joerg Add mbsnrtowcs and wcsnrtombs. Approved by core.
 1.18  14-Jun-2008  tnozaki branches: 1.18.2; 1.18.6; 1.18.26;
remove unused include, locale.h.
 1.17  02-Dec-2005  yamt branches: 1.17.18; 1.17.20;
remove unnecessary __UNCONST.
 1.16  29-Nov-2005  christos WARNS=4
 1.15  29-Oct-2005  martin Initialize error return value.
 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  27-Mar-2005  christos Don't sign extend characters when they get converted to wide characters in
mbtowc. Otherwise you are not going to be able to wctomb them. Added
regression test. From kim, many thanks.
 1.12  18-Jan-2004  yamt branches: 1.12.4; 1.12.6;
_citrus_NONE_stdenc_wctomb: return E2BIG correctly.
 1.11  29-Dec-2003  yamt _citrus_NONE_stdenc_cstomb: return E2BIG correctly.
 1.10  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.9  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.8  05-Mar-2003  tshiozak 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.
 1.7  01-Jan-2003  yamt 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.
 1.6  01-Jan-2003  yamt 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.
 1.5  24-May-2002  thorpej 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.
 1.4  25-Mar-2002  yamt branches: 1.4.2;
wcsrtombs: handle dst == 0 case correctly.
 1.3  18-Mar-2002  yamt branches: 1.3.2;
remove unneeded ARGSUSED.
 1.2  18-Mar-2002  tshiozak fix a bug; calling mbtowc(0, 0, 0) causes the programs to crash under
single byte locales.
 1.1  17-Mar-2002  tshiozak 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.3.2.5  08-Jan-2003  thorpej Sync with HEAD.
 1.3.2.4  21-Jun-2002  nathanw Catch up to -current.
 1.3.2.3  25-Apr-2002  nathanw Catch up to -current.
 1.3.2.2  22-Mar-2002  nathanw Catch up to -current.
 1.3.2.1  18-Mar-2002  nathanw file citrus_none.c was added on branch nathanw_sa on 2002-03-22 20:42:01 +0000
 1.4.2.3  02-Jun-2003  tron Pull up revision 1.7 (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.
 1.4.2.2  02-Jun-2003  tron Pull up revision 1.6 (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.
 1.4.2.1  24-May-2002  perry 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.
 1.12.6.1  30-Mar-2005  tron Pull up revision 1.13 (requested by christos in ticket #68):
Don't sign extend characters when they get converted to wide characters in
mbtowc. Otherwise you are not going to be able to wctomb them. Added
regression test. From kim, many thanks.
 1.12.4.1  10-May-2005  riz Pull up revision 1.13 (requested by christos in ticket #1361):
Don't sign extend characters when they get converted to wide characters in
mbtowc. Otherwise you are not going to be able to wctomb them. Added
regression test. From kim, many thanks.
 1.17.20.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.17.18.1  17-Jun-2008  yamt sync with head.
 1.18.26.1  23-Jun-2013  tls resync from head
 1.18.6.2  14-Jun-2008  tnozaki remove unused include, locale.h.
 1.18.6.1  14-Jun-2008  tnozaki file citrus_none.c was added on branch christos-time_t on 2008-06-14 16:01:08 +0000
 1.18.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.22.6.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.22.2.3  23-Jan-2018  perseant Make the tests pass once more when __STDC_ISO_10646__ is not defined.
 1.22.2.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.22.2.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