|
cf10b545
|
2025-05-31T00:29:46
|
|
Document the 'const char **' vs. 'char **' problem.
Reported by Braden Ganetsky <braden.ganetsky@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnu-libiconv/2025-05/msg00003.html>.
* man/iconv.3 (SYNOPSIS, CONFORMING TO): List also the POSIX-compatible
declaration. Explain the background. Mention AM_ICONV.
|
|
9f28054d
|
2024-12-15T12:52:18
|
|
Implement the //NON_IDENTICAL_DISCARD suffix from POSIX:2024.
* include/iconv.h.in (ICONV_GET_DISCARD_INVALID,
ICONV_SET_DISCARD_INVALID, ICONV_GET_DISCARD_NON_IDENTICAL,
ICONV_SET_DISCARD_NON_IDENTICAL): New macros.
* lib/converters.h (struct conv_struct): Change type of discard_ilseq to
'unsigned int'.
(DISCARD_INVALID, DISCARD_UNCONVERTIBLE): New macros.
* lib/iconv.c (iconv_open, iconv_open_into): Change type of
discard_ilseq to 'unsigned int'.
(iconvctl): Implement ICONV_GET_DISCARD_INVALID,
ICONV_SET_DISCARD_INVALID, ICONV_GET_DISCARD_NON_IDENTICAL,
ICONV_SET_DISCARD_NON_IDENTICAL. Change the implementation of
ICONV_GET_DISCARD_ILSEQ, ICONV_SET_DISCARD_ILSEQ to test/set both bits.
* lib/iconv_open1.h: Update comment. Recognize //NON_IDENTICAL_DISCARD.
* lib/iconv_open2.h: Update comment.
* lib/loop_unicode.h (mb_to_uc_write_replacement): Test the
DISCARD_UNCONVERTIBLE bit of discard_ilseq.
(unicode_loop_convert): Test the respective bit of discard_ilseq.
(unicode_loop_reset): Test the DISCARD_UNCONVERTIBLE bit of
discard_ilseq.
* lib/loop_wchar.h (wchar_from_loop_convert, wchar_to_loop_convert):
Test the DISCARD_INVALID bit of discard_ilseq.
* man/iconv_open.3: Mention the //NON_IDENTICAL_DISCARD suffix. Mark as
conforming to POSIX:2024.
* man/iconv.3: Likewise.
* man/iconv_close.3: Mark as conforming to POSIX:2024.
* man/iconv.1: Likewise.
* man/iconvctl.3: Document ICONV_GET_DISCARD_INVALID,
ICONV_SET_DISCARD_INVALID, ICONV_GET_DISCARD_NON_IDENTICAL,
ICONV_SET_DISCARD_NON_IDENTICAL. Revise the description of
ICONV_GET_DISCARD_ILSEQ, ICONV_SET_DISCARD_ILSEQ.
* tests/test-discard.c (test_default, test_translit, test_ignore,
test_ignore_translit): Test also the ICONV_GET_DISCARD_INVALID,
ICONV_GET_DISCARD_NON_IDENTICAL accessors.
(test_nid, test_nid_translit, test_invd, test_invd_translit): New
functions.
(main): Add test cases with //NON_IDENTICAL_DISCARD suffix.
* NEWS: Mention the change.
|
|
2c82f5d5
|
2024-12-14T12:10:36
|
|
Improve man page.
* man/iconv.3: Move 4th case to be the 2nd case. Add a NOTES section,
based on the Linux man-pages project's iconv.3 page.
|
|
bf03f38b
|
2023-05-25T01:43:25
|
|
man pages: List a fifth condition when iconv(3) may stop.
Based on the patch to the man-pages project
<https://marc.info/?l=linux-man&m=168496625522371&w=2> =
<https://lore.kernel.org/linux-man/2f9c4dbd-7aa6-fc7a-f126-453603ef695e@gmail.com/T/#m25e33d4defa1118e5c84951790f0319360abf9d4>
* man/iconv.3: List a fifth condition.
|
|
db5e62f4
|
2023-05-25T01:05:43
|
|
man pages: Use man page section title from groff or the distro.
Reported by Mike Fulton <mikefultonpersonal@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-04/msg00027.html>.
* man/*.[13]: Remove section title "Linux Programmer's Manual".
|
|
3dda6027
|
2012-12-07T04:09:10
|
|
Change copyright holder of man pages.
|
|
93ddeebe
|
2008-09-07T21:38:33
|
|
Clarify the processing of shift-sequences.
|
|
7095c1ea
|
2007-10-07T18:23:40
|
|
Upgrade license.
|
|
e54929ca
|
2007-03-31T23:25:25
|
|
\- is a HYPHEN-MINUS, - is a HYPHEN. Use HYPHEN-MINUS so that copy&paste
leads to better results.
|
|
59019c79
|
2007-03-31T22:22:08
|
|
Mark as POSIX compliant.
|
|
970a6068
|
2007-03-31T22:14:05
|
|
Syntactic simplification.
|
|
b45f3ec4
|
2004-02-02T11:31:24
|
|
New man page for iconvctl().
|
|
d7f2ba17
|
2004-01-21T12:09:53
|
|
Fix description of return value.
|
|
9bd02ce1
|
2002-07-22T17:06:17
|
|
Fix typo in email address.
|
|
5f66bf92
|
2002-06-13T12:33:07
|
|
Fix typo.
|
|
854c1592
|
2002-05-10T10:38:29
|
|
Update my email address.
|
|
96cb8d7b
|
2000-11-20T18:25:26
|
|
Fix typo in manpage.
|
|
c37afd43
|
2000-01-24T13:06:57
|
|
Upgrade to libiconv-1.1.
|
|
00e960fc
|
2000-01-04T21:56:56
|
|
Upgrade to libiconv-1.0.
|
|
3af9cd39
|
1999-12-31T12:50:49
|
|
Import from libiconv-0.3.
|