opnsense-src/lib/libiconv_modules
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
..
BIG5 lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
DECHanyu lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
EUC lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
EUCTW lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
GBK2K lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
HZ lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
iconv_none lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
iconv_std lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
ISO2022 iconv: adding missing break 2018-01-21 21:09:08 +00:00
JOHAB lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
mapper_646 lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
mapper_none lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
mapper_parallel DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mapper_serial lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
mapper_std libiconv: correct undefined behavior. 2018-07-08 23:22:04 +00:00
mapper_zone lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
MSKanji lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
UES lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
UTF7 lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
UTF8 lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
UTF1632 libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
VIQR lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
ZW lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
Makefile
Makefile.inc libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00