glibc/iconvdata
Ulrich Drepper fd1b5c0fb6 Update.
2000-04-09  Ulrich Drepper  <drepper@redhat.com>

	Implement handling of restartable conversion functions according to
	ISO C.
	* iconv/gconv.h (__gconv_fct): Add additional parameter.
	* iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
	* iconv/gconv.c: Pass additional parameter to conversion function.
	* iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
	(internal_ucs4le_loop_single): New function.
	(__gconv_transform_ascii_internal): Define ONE_DIRECTION.
	(__gconv_transform_internal_ascii): Likewise.
	(__gconv_transform_internal_utf8): Likewise.
	(__gconv_transform_utf8_internal): Likewise.
	(__gconv_transform_ucs2_internal): Likewise.
	(__gconv_transform_internal_ucs2): Likewise.
	(__gconv_transform_ucs2reverse_internal): Likewise.
	(__gconv_transform_internal_ucs2reverse): Likewise.
	(internal_ucs4le_loop_unaligned): Before return
	__GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
	a valid character.  Otherwise return __GCONV_ILLEGAL_INPUT.
	(__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
	* iconv/loop.c: Fit in definition of function to convert one character
	for processing of left-over bytes from the state object.
	* iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
	inend to match names in loop functions.
	(RESET_INPUT_BUFFER): Change apprpriately.
	(gconv): If needed, call function to process bytes from the state
	object.  Similar at the end: store left over bytes if input is
	incomplete.
	Take extra argument and add new argument to all calls of the
	conversion function.
	* iconvdata/iso-2022-cn.c: Adjust numeric values used to store
	information in the state object to not conflict with length count.
	* iconvdata/iso-2022-jp.c: Likewise.
	* iconvdata/iso-2022-kr.c: Likewise.
	* iconvdata/unicode.c: Adjust for change change in parameters of
	skeleton function.
	* iconvdata/utf-16.c: Likewise.
	* libio/iofwide.c: Add new parameter to all calls of conversion
	function.
	* wcsmbs/btowc.c: Likewise.
	* wcsmbs/mbrtowc.c: Likewise.
	* wcsmbs/mbsnrtowcs.c: Likewise.
	* wcsmbs/mbsrtowcs.c: Likewise.
	* wcsmbs/wcrtomb.c: Likewise.
	* wcsmbs/wcsnrtombs.c: Likewise.
	* wcsmbs/wcsrtombs.c: Likewise.
	* wcsmbs/wctob.c: Likewise.

	* iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
	MAX_NEEDED_INPUT.
2000-04-09 17:43:29 +00:00
..
testdata Update. 2000-03-29 16:06:35 +00:00
8bit-gap.c Update. 2000-03-28 17:33:37 +00:00
8bit-generic.c Update. 2000-03-28 17:33:37 +00:00
ansi_x3.110.c Update. 2000-03-28 17:33:37 +00:00
asmo_449.c Update. 1999-04-10 13:30:43 +00:00
big5.c (BODY): Fix typo. 2000-04-04 20:53:38 +00:00
cns11643.c
cns11643.h Update. 1999-06-16 22:55:47 +00:00
cns11643l1.c
cns11643l1.h Update. 1999-12-29 07:32:44 +00:00
cns11643l2.h Update. 1999-12-29 07:32:44 +00:00
cp737.c
cp737.h
cp775.c
cp775.h
cp1250.c
cp1251.c
cp1252.c
cp1253.c
cp1254.c
cp1255.c
cp1256.c
cp1257.c
cp1258.c Update. 1998-12-16 08:28:16 +00:00
csn_369103.c
cwi.c
dec-mcs.c
ebcdic-at-de-a.c
ebcdic-at-de.c
ebcdic-ca-fr.c
ebcdic-dk-no-a.c
ebcdic-dk-no.c
ebcdic-es-a.c
ebcdic-es-s.c
ebcdic-es.c
ebcdic-fi-se-a.c
ebcdic-fi-se.c
ebcdic-fr.c
ebcdic-is-friss.c
ebcdic-it.c
ebcdic-pt.c
ebcdic-uk.c
ebcdic-us.c
ecma-cyrillic.c Update. 1999-12-07 05:57:27 +00:00
euc-cn.c Update. 2000-03-28 17:33:37 +00:00
euc-jp.c Update. 2000-03-28 17:33:37 +00:00
euc-kr.c Update. 2000-03-28 17:33:37 +00:00
euc-tw.c Update. 2000-03-28 17:33:37 +00:00
extra-module.mk
gap.awk
gaptab.awk
gb2312.c Update. 1999-12-27 20:26:55 +00:00
gb2312.h Update. 1999-12-28 02:59:59 +00:00
gbgbk.c Update. 2000-04-09 17:43:29 +00:00
gbk.c Update. 2000-03-28 17:33:37 +00:00
gconv-modules Update. 2000-03-21 20:18:34 +00:00
gen-8bit-gap-1.sh
gen-8bit-gap.sh
gen-8bit.sh
gost_19768-74.c
greek7-old.c
greek7.c
greek-ccitt.c
hp-roman8.c
ibm037.c
ibm038.c
ibm256.c
ibm273.c
ibm274.c
ibm275.c
ibm277.c
ibm278.c
ibm280.c
ibm281.c
ibm284.c
ibm285.c
ibm290.c
ibm297.c
ibm420.c
ibm423.c
ibm424.c
ibm437.c
ibm500.c
ibm850.c
ibm851.c
ibm852.c
ibm855.c
ibm857.c
ibm860.c
ibm861.c
ibm862.c
ibm863.c
ibm864.c
ibm865.c
ibm866.c Update. 1998-12-16 08:28:16 +00:00
ibm868.c
ibm869.c
ibm870.c
ibm871.c
ibm874.c Update. 1999-04-17 09:34:27 +00:00
ibm875.c
ibm880.c
ibm891.c
ibm903.c
ibm904.c
ibm905.c
ibm918.c
ibm1004.c
ibm1026.c
ibm1047.c
iec_p27-1.c
inis-8.c
inis-cyrillic.c
inis.c
isiri-3342.c Update. 1999-12-19 01:51:10 +00:00
iso646.c Update. 2000-03-28 17:33:37 +00:00
iso8859-1.c Update. 1999-06-16 22:55:47 +00:00
iso8859-2.c
iso8859-3.c
iso8859-4.c
iso8859-5.c
iso8859-6.c
iso8859-7.c
iso8859-8.c
iso8859-9.c
iso8859-10.c
iso8859-11.c Update. 1998-12-12 21:48:52 +00:00
iso8859-11.h Update. 1998-12-12 21:48:52 +00:00
iso8859-13.c Update. 1998-12-12 21:48:52 +00:00
iso8859-14.c Update. 1998-12-12 21:48:52 +00:00
iso8859-15.c Update. 1998-12-12 21:48:52 +00:00
iso8859-16.c Update. 2000-01-05 19:15:03 +00:00
iso_2033.c Update. 1999-12-07 05:57:27 +00:00
iso_5427-ext.c
iso_5427.c
iso_5428.c
iso_6937-2.c Update. 2000-03-28 17:33:37 +00:00
iso_6937.c Update. 2000-03-28 17:33:37 +00:00
iso_10367-box.c
iso-2022-cn.c Update. 2000-04-09 17:43:29 +00:00
iso-2022-jp.c Update. 2000-04-09 17:43:29 +00:00
iso-2022-kr.c Update. 2000-04-09 17:43:29 +00:00
iso-ir-165.c Update. 2000-01-13 06:55:03 +00:00
iso-ir-165.h Update. 2000-01-13 06:55:03 +00:00
iso-ir-197.c Update. 1999-01-20 16:12:52 +00:00
jis0201.c
jis0201.h Update. 1999-09-06 07:55:04 +00:00
jis0208.c Update. 1998-12-08 13:12:47 +00:00
jis0208.h Update. 1999-06-16 22:55:47 +00:00
jis0212.c Update. 1998-12-08 13:12:47 +00:00
jis0212.h Update. 1999-06-16 22:55:47 +00:00
johab.c Update. 2000-03-28 17:33:37 +00:00
koi8-r.c
koi8-u.c Update. 1999-04-15 13:54:57 +00:00
koi-8.c
ksc5601.c Update. 2000-01-02 19:43:47 +00:00
ksc5601.h Update. 2000-01-02 19:43:47 +00:00
latin-greek-1.c
latin-greek.c
mac-is.c
mac-uk.c Update. 1998-12-16 08:28:16 +00:00
macintosh.c
Makefile Update. 2000-03-21 20:18:34 +00:00
nats-dano.c
nats-sefi.c
run-iconv-test.sh Update. 1999-12-28 22:17:16 +00:00
sami-ws2.c Update. 1999-12-07 05:57:27 +00:00
sjis.c Update. 2000-03-28 17:33:37 +00:00
t.61.c Update. 2000-03-28 17:33:37 +00:00
TESTS Update. 2000-03-28 17:33:37 +00:00
tis-620.c Update. 1999-04-10 13:30:43 +00:00
uhc.c Update. 2000-03-28 17:33:37 +00:00
unicode.c Update. 2000-04-09 17:43:29 +00:00
utf-16.c Update. 2000-04-09 17:43:29 +00:00