freebsd-nq/lib/libc/iconv
Kyle Evans 2300a22c97 libc: iconv: add mb_cur_min for encoder traits
A future commit will actually implement //IGNORE so that applications
using base iconv can, e.g., sanitize UTF-8 strings.  To do this, the
iconv_std module needs to be able to determine the minimum width for any
given encoding so that it can skip that many bytes in the input buffer.
This is mainly an issue for UTF-16 and UTF-32.

This commit bumps shlib versions to 5 for libiconv modules to reflect
the ABI change.  It also fixes OptionalObsoleteFiles to remove the
libiconv modules if WITHOUT_ICONV is in use.

re: _ENCODING_MB_CUR_MIN, note that this file (citrus_stdenc_template.h)
is included at the bottom of an encoding *implementation*, so the
implementation is free to #define it prior.  UTF1632 is a good example,
as it redefines the minimum to be a property on the encodinginfo, and
the minimum is set to 2 or 4 bytes for UTF-16 and UTF-32 respectively.

Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D34344
2022-08-11 11:42:17 -05:00
..
__iconv_free_list.c
__iconv_get_list.3
__iconv_get_list.c
__iconv.c
_strtol.h
_strtoul.h
bsd_iconv.c libc: iconv: push option ignore into citrus_iconv_open() 2022-08-11 11:33:28 -05:00
citrus_aliasname_local.h
citrus_bcs_strtol.c
citrus_bcs_strtoul.c
citrus_bcs.c libc: Fix "harmless" iconv one-byte overread 2021-12-21 22:47:38 +00:00
citrus_bcs.h
citrus_csmapper.c
citrus_csmapper.h
citrus_db_factory.c
citrus_db_factory.h
citrus_db_file.h
citrus_db_hash.c
citrus_db_hash.h
citrus_db.c
citrus_db.h
citrus_esdb_file.h
citrus_esdb.c
citrus_esdb.h
citrus_fix_grouping.h
citrus_hash.c
citrus_hash.h
citrus_iconv_local.h
citrus_iconv.c libc: iconv: push option ignore into citrus_iconv_open() 2022-08-11 11:33:28 -05:00
citrus_iconv.h
citrus_lock.h
citrus_lookup_factory.c
citrus_lookup_factory.h
citrus_lookup_file.h
citrus_lookup.c
citrus_lookup.h
citrus_mapper_local.h
citrus_mapper.c
citrus_mapper.h
citrus_memstream.c
citrus_memstream.h
citrus_mmap.c
citrus_mmap.h
citrus_module.c libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
citrus_module.h
citrus_namespace.h libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
citrus_none.c
citrus_none.h
citrus_pivot_factory.c
citrus_pivot_factory.h
citrus_pivot_file.h
citrus_prop.c citrus_prop.c: do not ignore sign 2021-11-29 17:39:54 +02:00
citrus_prop.h
citrus_region.h
citrus_stdenc_local.h libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
citrus_stdenc_template.h libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
citrus_stdenc.c
citrus_stdenc.h libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
citrus_types.h
iconv_canonicalize.3
iconv_canonicalize.c
iconv_close.c
iconv_compat.c
iconv_open_into.c
iconv_open.c
iconv_set_relocation_prefix.c
iconv-internal.h
iconv.3
iconv.c
iconvctl.3
iconvctl.c
iconvlist.3
iconvlist.c
Makefile.inc
Symbol.map