Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 9f28054d | 2024-12-15 12: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-14 12: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-25 01: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-25 01: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". | ||
| 6549d20c | 2023-05-21 00:29:37 | Implement GB18030 version 2022. * lib/encodings.def (GB18030): Add alias GB18030:2005. (GB18030:2022): New encoding. * lib/gb18030ext.h (gb18030_2005_ext_2uni_pagefe): Renamed from gb18030ext_2uni_pagefe. (gb18030_2022_ext_2uni_pagefe): New array. (gb18030_2005_ext_mbtowc): Renamed from gb18030ext_mbtowc. (gb18030_2022_ext_mbtowc): New function. (gb18030_2005_ext_wctomb): Renamed from gb18030ext_wctomb. (gb18030_2022_ext_wctomb): New function. * lib/gb18030uni.h (gb18030_2022_charset2uni_pua1, gb18030_2022_charset2uni_pua2): New arrays. (gb18030_2005_uni_mbtowc): Renamed from gb18030uni_mbtowc. (gb18030_2022_uni_mbtowc): New function. (gb18030_2022_uni2charset_pua1, gb18030_2022_uni2charset_pua2): New arrays. (gb18030_2005_uni_wctomb): Renamed from gb18030uni_wctomb. (gb18030_2022_uni_wctomb): New function. * lib/gb18030_2005.h: Renamed from lib/gb18030.h. Update comments. (gb18030_2005_mbtowc): Renamed from gb18030_mbtowc. (gb18030_2005_pua2charset): Renamed from gb18030_pua2charset. (gb18030_2005_wctomb): Renamed from gb18030_wctomb. * lib/gb18030_2022.h: New file, based on lib/gb18030_2005.h. * lib/converters.h: Don't include gb18030.h. Include gb18030_2005.h, gb18030_2022.h. * lib/Makefile.in (SOURCE_FILES): Remove gb18030.h. Add gb18030_2005.h, gb18030_2022.h. * tests/GB18030-2005-BMP.TXT: Renamed from tests/GB18030-BMP.TXT. * tests/GB18030-2005.IRREVERSIBLE.TXT: Renamed from tests/GB18030.IRREVERSIBLE.TXT. * tests/GB18030-2022-BMP.TXT: New file. * tests/Makefile.in (check): Test GB18030:2005 instead of GB18030. Also test GB18030:2022. (clean): Don't remove GB18030.TXT. Instead, remove GB18030-2005.TXT and GB18030-2022.TXT. (SOURCE_FILES): Update. Add GB18030-2022-BMP.TXT. * README: Mention the new encoding. * man/iconv_open.3: Likewise. * NEWS: Likewise. | ||
| 19b6af5e | 2023-04-03 04:12:01 | Allow overriding the newline conversion for EBCDIC encodings. Reported by Mike Fulton <mikefultonpersonal@gmail.com> in <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-04/msg00009.html>. * include/iconv.h.in (ICONV_SURFACE_NONE, ICONV_SURFACE_EBCDIC_ZOS_UNIX): New macros. (ICONV_GET_FROM_SURFACE, ICONV_SET_FROM_SURFACE, ICONV_GET_TO_SURFACE, ICONV_SET_TO_SURFACE): New macros. * lib/converters.h (struct conv_struct): Add the fields isurface, osurface. (swap_x15_x25): New macro. * lib/iconv.c (iconv_open, iconv_open_into): Add local variables from_surface, to_surface. (ALL_SURFACES): New macro. (iconvctl): Adjust ICONV_TRIVIALP implementation. Implement the ICONV_{GET,SET}_{FROM,TO}_SURFACE requests. * lib/iconv_open1.h: Parse a /ZOS_UNIX surface specifier. Set from_surface, to_surface. * lib/iconv_open2.h: Copy the values of from_surface, to_surface into the conversion descriptor. * lib/ebcdic*.h (*_mbtowc): Test the isurface. If requested, call swap_x15_x25 right after fetching an input byte. (*_wctomb): Test the osurface. If requested, call swap_x15_x25 right before storing an output byte. * man/iconvctl.3 (REQUEST VALUES): Document the ICONV_{GET,SET}_{FROM,TO}_SURFACE requests. * src/iconv.c (main): If ICONV_EBCDIC_ZOS_UNIX is set, set the from/to surfaces accordingly. * man/iconv.1 (ENVIRONMENT): New section. * tests/check-ebcdic: New file. * tests/Makefile.in (check): Invoke it. (SOURCE_FILES): Add it. * NEWS: Mention the new functionality. | ||
| 68ac8a9f | 2022-01-23 23:37:30 | New EBCDIC encodings. Reported by Ulrich Schwab and Calvin Buckley via Jack Woehr. * NOTES: Mention how to enable EBCDIC encodings. * tests/IBM-*.TXT: New files. * tools/8bit_tab_to_h.c (main): Emit copyright header with year 2022. * tools/Makefile: Add rules for generating ebcdic*.h. * lib/ebcdic*.h: New files, automatically generated by tools/Makefile. * lib/ebcdic838.h: Tweak reverse mapping manually. * lib/ebcdic1160.h: Likewise. * lib/converters.h: Include all ebcdic*.h. * lib/encodings_zos.def: New file. * lib/genaliases2.c: Include encodings_zos.def. * lib/genflags.c: Likewise. * Makefile.devel (lib/aliases_zos.h lib/canonical_zos.h): New rule. (lib/flags.h, totally-clean): Update. * lib/aliases2.h: Include aliases_zos.h. * lib/iconv.c (USE_ZOS): New macro. Include encodings_zos.def, canonical_zos.h. * README, man/iconv_open.3: Document the IBM-* encodings. * tests/Makefile.in (check-extra-yes): Also test the EBCDIC encodings. | ||
| 1badfd5d | 2019-01-27 22:57:45 | Accommodate a shell that is not in /bin/sh. | ||
| 67802283 | 2016-12-03 18:52:49 | Create tarballs through an Automake-like "make dist" command. | ||
| 4a064184 | 2016-10-01 16:22:10 | Remove autogenerated doc files from version control. | ||
| 3dda6027 | 2012-12-07 04:09:10 | Change copyright holder of man pages. | ||
| 3a33986e | 2011-10-24 02:39:35 | New encoding ISO-2022-CP-MS. | ||
| 2665c092 | 2011-08-07 20:09:23 | Remove all .cvsignore files. Not needed any more since the switch to git. | ||
| fd7d5707 | 2010-11-24 03:33:29 | Implement newer release of BIG5-HKSCS. | ||
| d03a4f0e | 2009-08-14 12:29:10 | Remove executable bits. | ||
| 79f729f9 | 2009-06-04 09:31:30 | Automatically generated from iconv_open_into.3. | ||
| 459ce580 | 2009-01-24 23:16:06 | New converter for CP1131. | ||
| 13bf88bb | 2009-01-17 09:06:59 | Add support for "make install-strip". | ||
| b5abb1f6 | 2008-09-21 18:18:54 | Explain resultp. | ||
| 56cf69ef | 2008-09-20 14:59:45 | Documentation of iconv_open_into. | ||
| 93ddeebe | 2008-09-07 21:38:33 | Clarify the processing of shift-sequences. | ||
| 7095c1ea | 2007-10-07 18:23:40 | Upgrade license. | ||
| 4fc3efad | 2007-06-30 21:47:00 | Remove autogenerated file from CVS. | ||
| 614f279f | 2007-05-25 23:41:00 | Add support for the Kazakh RK1048 encoding. | ||
| dfbfdf8c | 2007-04-24 07:02:08 | Tweak wording. | ||
| e54929ca | 2007-03-31 23:25:25 | \- is a HYPHEN-MINUS, - is a HYPHEN. Use HYPHEN-MINUS so that copy&paste leads to better results. | ||
| 59019c79 | 2007-03-31 22:22:08 | Mark as POSIX compliant. | ||
| 970a6068 | 2007-03-31 22:14:05 | Syntactic simplification. | ||
| 2613089e | 2007-03-20 01:55:33 | Remove redundant mkinstalldirs invocations. | ||
| 044da085 | 2006-10-25 11:39:30 | Fix installation directory of HTML documentation. | ||
| a7a84a32 | 2006-07-27 12:00:38 | Remove OS/2 build support that doesn't assume GNU make and GNU bash. | ||
| f260e646 | 2006-07-26 11:42:48 | Remove MSVC/nmake build support. | ||
| f574c3fa | 2006-07-25 11:08:43 | Remove VMS support. | ||
| 2cfac6dc | 2006-06-27 13:32:50 | Assume autoconf-2.60. | ||
| a4b44c8f | 2006-05-18 12:49:45 | Regenerated. | ||
| 7edefe50 | 2006-05-18 12:48:00 | Implement newer releases of BIG5-HKSCS. | ||
| b73dd1c9 | 2006-01-23 13:42:23 | Regenerated. | ||
| 422b3b1d | 2006-01-23 13:25:49 | New feature: character-dependent substitutions. | ||
| 3a95ad61 | 2006-01-23 13:23:00 | Accept long options. | ||
| 5640998c | 2005-12-15 12:54:52 | Regenerated. | ||
| 05a280da | 2005-12-15 12:43:45 | CP936 is now different from GBK. | ||
| cafce997 | 2005-07-06 11:01:05 | Regenerated. | ||
| 850c9ab1 | 2005-06-09 19:08:18 | Renamed autoconf/ to build-aux/. | ||
| 38981e01 | 2005-05-23 10:06:44 | Implement BIG5-2003 encoding. | ||
| 21830937 | 2005-05-19 17:22:26 | Regenerated with AtariST and PT154 support. | ||
| 9341db94 | 2005-05-06 11:04:28 | Support for PT154 encoding. | ||
| bb98761e | 2005-03-29 13:55:27 | Implement and document ATARIST converter. | ||
| 35a6ae08 | 2005-01-05 18:46:12 | Regenerated. | ||
| 49bc5baa | 2004-02-02 15:51:51 | Automatically generated from iconvctl.3. | ||
| daefecf7 | 2004-02-02 11:35:26 | Tiny fix. | ||
| fe3dc142 | 2004-02-02 11:34:53 | Tiny fix. | ||
| b45f3ec4 | 2004-02-02 11:31:24 | New man page for iconvctl(). | ||
| b881c36d | 2004-01-25 18:37:02 | Regenerated for release 1.9.2. | ||
| d7f2ba17 | 2004-01-21 12:09:53 | Fix description of return value. | ||
| 9042f1c1 | 2003-05-07 19:52:28 | Support for VMS. | ||
| 3a9a83af | 2003-04-23 12:13:25 | Install documentation under $(datadir), not $(prefix). | ||
| 1be7e00e | 2003-04-10 10:32:39 | Improved MSVC support. | ||
| 64d5a8b9 | 2003-03-29 16:35:11 | Improved MSVC support. | ||
| 0a858fb5 | 2003-02-14 18:30:07 | Regenerated. | ||
| 407b7965 | 2003-01-06 14:29:08 | Use mkinstalldirs. | ||
| 9bd02ce1 | 2002-07-22 17:06:17 | Fix typo in email address. | ||
| 0dc3ae56 | 2002-10-28 11:28:41 | Fix "make install" when builddir != srcdir on Solaris. | ||
| ed9ef091 | 2002-05-29 14:11:14 | New encoding C99. | ||
| 661d5e29 | 2002-05-29 14:22:14 | Regenerated. | ||
| 5f66bf92 | 2002-06-13 12:33:07 | Fix typo. | ||
| d1126b74 | 2002-05-24 13:02:51 | Regenerated. | ||
| e9eef361 | 2002-05-22 12:41:45 | New encodings CP853, TDS565, RISCOS-LATIN1. | ||
| b4332637 | 2002-05-18 01:27:16 | Write Shift_JIS instead of Shift-JIS. | ||
| f91d7f06 | 2002-05-21 12:50:46 | Mention extra encodings. | ||
| 854c1592 | 2002-05-10 10:38:29 | Update my email address. | ||
| 33057762 | 2002-05-13 10:03:19 | Add KOI8-T encoding. | ||
| 675bbf62 | 2002-01-14 12:07:48 | Regenerated. | ||
| c17cbdd6 | 2001-11-28 18:59:51 | ignore Makefile | ||
| 1d7b650c | 2001-12-06 14:27:22 | Empty encoding name is equivalent to locale dependent encoding, as in glibc. | ||
| dc5f739c | 2002-01-16 12:22:10 | New options -c, -s, -l. | ||
| bc3491ee | 2001-06-06 18:50:35 | Regenerated. | ||
| 7397d65d | 2001-06-06 18:37:24 | Rename BIG5HKSCS to BIG5-HKSCS. | ||
| 8df7aa6f | 2001-05-21 12:39:06 | Automatically generated from Makefile.devel. | ||
| 44bfc1f1 | 2001-05-21 12:34:42 | Distribute the man pages in HTML format as well. | ||
| e91c0ce3 | 2001-04-12 12:55:41 | Add UTF-32 encodings. | ||
| fc8e3792 | 2001-02-22 16:46:29 | Make -f and -t options optional. | ||
| b2ef8c91 | 2001-02-20 19:44:26 | Respect configure arguments --libdir, --includedir, --mandir. | ||
| 06aa1274 | 2001-01-05 13:52:21 | Add support for CP862. | ||
| 74834e21 | 2000-12-08 14:57:53 | Don't ignore --exec-prefix given to configure. | ||
| a615528b | 2000-11-23 19:54:07 | Move src/ to lib/, and install the iconv program. | ||
| 875b6b71 | 2000-11-20 18:24:35 | Document JOHAB again. | ||
| d51d26bc | 2000-11-20 18:33:47 | Add support for locale dependent "char" and "wchar_t" encodings. | ||
| 96cb8d7b | 2000-11-20 18:25:26 | Fix typo in manpage. | ||
| fdd8e49f | 2000-11-20 18:26:50 | Transliteration is now off by default. | ||
| 8333237d | 2000-10-23 14:20:07 | Add support for GB18030 and BIG5HKSCS. | ||
| dbbc4681 | 2000-10-23 13:47:19 | Typo in comment. | ||
| 84b6a3e8 | 2000-07-04 14:48:49 | Support for OS/2 using emx+gcc. | ||
| 98128f18 | 2000-09-22 12:24:19 | Support DESTDIR during installation. | ||
| da1ff855 | 2000-03-15 20:22:04 | Upgrade to libiconv-1.2. | ||
| 6d93d60b | 2000-04-17 17:18:14 | Upgrade to libiconv-1.3. | ||
| c37afd43 | 2000-01-24 13:06:57 | Upgrade to libiconv-1.1. | ||
| 00e960fc | 2000-01-04 21:56:56 | Upgrade to libiconv-1.0. | ||
| 3af9cd39 | 1999-12-31 12:50:49 | Import from libiconv-0.3. |