Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 153d4079 | 2023-05-12 22:41:08 | On z/OS, set a charset tag on iconv's output file. For the concept of charset tags as external metadata on z/OS files, see <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-04/msg00021.html>. * src/zos-tag.h: New file. * src/iconv.c: Include zos-tag.h. (convert): Add a 'tocode' parameter. On z/OS, turn off auto-conversion and tag the output file. (main): Update callers. * tests/check-ebcdic: On z/OS, make all test files initially untagged. * tests/check-tag: New file. * tests/Makefile.in (check): Pass the host_os to check-ebcdic. Invoke check-tag. | ||
| 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. | ||
| c31a1460 | 2022-02-12 13:50:15 | Prepare for version 1.17. * configure.ac: Bump version number to 1.17. * include/iconv.h.in (_LIBICONV_VERSION): Likewise. * lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 9:0:7. * src/iconv.c (print_version): Update copyright year. * windows/iconv.rc: Likewise. * windows/libiconv.rc: Likewise. * README: Update download link. | ||
| 59a168c6 | 2019-05-11 22:00:26 | Update bug reporting instructions. | ||
| 24729046 | 2019-04-26 20:59:03 | Prepare for version 1.16. | ||
| 4d2b066e | 2019-01-06 10:12:00 | Revisit handling of file descriptors closed by the parent process. | ||
| e54fc9c1 | 2018-09-17 18:28:56 | Prefer https URLs where possible. | ||
| 941f63af | 2017-01-30 23:48:37 | Prepare for version 1.15. | ||
| 3347685a | 2016-11-25 11:53:26 | Prepare for version 1.15. | ||
| bd21fb8e | 2016-10-01 18:29:43 | Fix bug #41187. | ||
| 6b00cc70 | 2012-01-26 12:37:51 | Modernize quoting. | ||
| 4d036b9a | 2011-08-07 15:16:56 | Prepare for version 1.14. | ||
| 4c5433e1 | 2011-07-03 22:04:21 | Improve interactive behaviour of iconv program. | ||
| b918f35d | 2011-07-03 17:43:06 | Fix interactive behaviour of iconv program. | ||
| ec9129d5 | 2009-03-26 12:10:13 | Update to GPLv3+. | ||
| a3272314 | 2009-03-26 03:27:28 | Bump year. | ||
| 942d4453 | 2008-04-06 09:11:05 | Bump copyright year. | ||
| f952c1c7 | 2007-07-07 17:09:24 | Update after cjk.h was moved to gnulib. | ||
| 417fde27 | 2007-06-30 22:50:31 | Use the standard --version output. | ||
| 8875f132 | 2007-06-30 21:23:41 | Reuse a translator comment from GNU gettext. | ||
| a7b2866b | 2007-06-30 14:44:27 | Provide many comments for translators. | ||
| fa56313a | 2007-05-27 20:14:55 | Change the default value of ICONV_CONST to empty. | ||
| 60ce7b6c | 2007-02-19 02:37:43 | Update after gnulib changes. | ||
| 6e184f1f | 2006-07-31 16:10:52 | Assume <locale.h>, <stddef.h>, <stdlib.h>, <string.h> all exist. | ||
| 8d6cc11c | 2006-07-04 13:34:13 | Fix error messages. | ||
| fccc58a2 | 2006-06-10 17:24:50 | Fix link error of iconv_no_i18n. | ||
| fdae0da5 | 2006-01-23 13:33:50 | Ensure that iconv_no_i18n does not depend on libintl. | ||
| 54f6c0ab | 2006-01-23 13:26:44 | Use error() instead of fprintf on stderr. | ||
| 422b3b1d | 2006-01-23 13:25:49 | New feature: character-dependent substitutions. | ||
| 3a95ad61 | 2006-01-23 13:23:00 | Accept long options. | ||
| 49aea841 | 2005-12-29 20:23:24 | Update year in --version output. | ||
| 45bd190c | 2005-05-19 17:14:19 | Update FSF postal address. | ||
| 7c821f47 | 2005-03-14 11:34:47 | Prettier output of error messages. | ||
| 218d46eb | 2005-03-14 11:36:42 | More reliable error checking. | ||
| e6158843 | 2005-03-14 11:34:08 | Improved error messages with line and column number. | ||
| fcab6708 | 2005-02-07 12:19:51 | Make more user-friendly. | ||
| a6223a6b | 2004-07-17 17:05:41 | Interpret -- as end of options. | ||
| 12d862d7 | 2004-01-22 19:33:40 | Make --binary the default. | ||
| 2aec7402 | 2003-04-15 09:41:45 | Use standards binary-io code. | ||
| 99e22dda | 2003-04-14 15:28:52 | Support for relocatable installation. | ||
| 13b72c98 | 2002-09-02 13:08:06 | Make it compile on mingw32. | ||
| 485041c8 | 2002-05-29 14:09:04 | Tricky "make install", due to dependencies iconv -> libintl -> libiconv. | ||
| 53110b18 | 2002-04-30 14:40:23 | Start using gettext. | ||
| dc5f739c | 2002-01-16 12:22:10 | New options -c, -s, -l. | ||
| 4781945e | 2001-03-21 21:16:44 | Name change. | ||
| d5ac1c2b | 2001-03-20 20:35:46 | Update copyright notice. | ||
| 64df57ae | 2001-03-05 14:55:52 | Tweak DJGPP support. | ||
| cdae1a8f | 2001-02-26 13:40:58 | Avoid warnings about iconv()'s second argument. | ||
| 37ec8877 | 2001-02-26 13:29:58 | Improve support for binary mode on DJGPP. | ||
| fc8e3792 | 2001-02-22 16:46:29 | Make -f and -t options optional. | ||
| 55dbc7f3 | 2000-12-02 00:44:49 | On DOS like systems, perform the test suite in binary mode. | ||
| 0750d976 | 2000-12-02 02:33:05 | Implement --help and --version. | ||
| 22cefdf1 | 2000-11-23 19:56:01 | Move src/ to lib/ and tests/iconv.c to src/iconv.c. | ||
| a615528b | 2000-11-23 19:54:07 | Move src/ to lib/, and install the iconv program. | ||
| fdd8e49f | 2000-11-20 18:26:50 | Transliteration is now off by default. | ||
| d51d26bc | 2000-11-20 18:33:47 | Add support for locale dependent "char" and "wchar_t" encodings. | ||
| 1ca2adf0 | 2000-11-20 18:30:25 | Use ucs4_t instead of locally defined wchar_t. | ||
| c5e6259f | 2000-03-13 14:46:54 | Find another way to deal with system dependent aliases. | ||
| aaebc789 | 2000-03-07 14:16:40 | Provide all encodings used by AIX locales. Simplify TIS-620. | ||
| 9a297f9c | 2000-02-24 20:53:03 | Fix treatment of "output buffer full" condition. | ||
| d215f82d | 2000-02-15 13:39:56 | Avoid compilation error with C++ compiler. | ||
| 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. |