Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 8d618a87 | 2024-12-15 12:56:32 | Prepare for version 1.18. * configure.ac: Bump version number to 1.18. * 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. | ||
| 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. | ||
| e310efbf | 2024-12-14 17:00:22 | Remove left-overs of preloadable library (removed in 1.16). * include/iconv.h.in: Remove LIBICONV_PLUG conditionals. * lib/iconv.c: Likewise. * lib/converters.h: Likewise. * lib/loop_unicode.h: Likewise. * lib/loop_wchar.h: Likewise. * lib/iconv_open2.h: Likewise. | ||
| e613b130 | 2024-07-12 14:06:43 | Assume wchar_t. * include/iconv.h.in (iconv_wchar_mb_to_wc_fallback, iconv_wchar_wc_to_mb_fallback): Assume HAVE_WCHAR_T is 1. * src/iconv.c (ilseq_wchar_subst_buffer, subst_mb_to_wc_fallback, subst_wc_to_mb_fallback, main): Likewise. * configure.ac (HAVE_WCHAR_T): Remove variable. (gt_TYPE_WCHAR_T): Remove invocation. | ||
| 6ad5ae56 | 2023-09-16 12:04:24 | Fix a misnomer. * include/export.h (LIBICONV_SHLIB_EXPORTED): Renamed from LIBICONV_DLL_EXPORTED. Prefer the term "shared library", since the term "DLL" applies only to Windows. * Makefile.devel (include/iconv.h.build.in): Insert LIBICONV_SHLIB_EXPORTED instead of LIBICONV_DLL_EXPORTED. * configure.ac (DLL_VARIABLE): Update comment. * lib/Makefile.in (DEFS): Update comment. * woe32dll/export.h: Update comment. * libcharset/include/export.h (LIBCHARSET_SHLIB_EXPORTED): Renamed from LIBCHARSET_DLL_EXPORTED. Prefer the term "shared library", since the term "DLL" applies only to Windows. * libcharset/Makefile.devel (include/libcharset.h.build.in, include/localcharset.h.build.in): Insert LIBCHARSET_SHLIB_EXPORTED instead of LIBCHARSET_DLL_EXPORTED. * libcharset/lib/relocatable-stub.c (libcharset_set_relocation_prefix): Use LIBCHARSET_SHLIB_EXPORTED instead of LIBCHARSET_DLL_EXPORTED. * libcharset/lib/Makefile.in (DEFS): Update comment. * libcharset/Makefile.in (install-lib): Update comment. | ||
| bacf3318 | 2023-09-06 03:29:12 | Don't export symbols from static MSVC .obj files. Suggested by Dmitry Bely <dmitry.bely@gmail.com> in <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-08/msg00002.html>. * include/export.h: Add a copyright notice. Set LIBICONV_DLL_EXPORTED to empty on MSVC when DLL_EXPORT is not defined. * Makefile.devel (include/iconv.h.build.in): Filter out the second copyright notice. * configure.ac (DLL_VARIABLE): Test DLL_EXPORT, not _DLL. * lib/relocatable.h: From gnulib: (RELOCATABLE_DLL_EXPORTED): Don't use __declspec(dllexport) when creating static .obj files with MSVC. * libcharset/include/export.h: Add a copyright notice. Set LIBCHARSET_DLL_EXPORTED to empty on MSVC when DLL_EXPORT is not defined. * libcharset/Makefile.devel (include/libcharset.h.build.in, include/localcharset.h.build.in): Filter out the second copyright notice. | ||
| 968e1240 | 2023-05-21 15:12:35 | Fix link error regarding _libiconv_version on MSVC in C++ mode. Reported at <https://savannah.gnu.org/bugs/?64227>. * include/iconv.h.in (_libiconv_version): Enclose in an extern "C" block. | ||
| 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. | ||
| 91f96be0 | 2021-06-06 11:51:12 | Change the license of the library from LGPL 2.0 to LGPL 2.1. | ||
| 3acb1179 | 2020-04-04 14:58:34 | Change the license of the library from LGPL 2.0 to LGPL 2.1. | ||
| 24729046 | 2019-04-26 20:59:03 | Prepare for version 1.16. | ||
| ba8fe48f | 2018-09-22 15:39:54 | Avoid some warnings in MSVC build. | ||
| e54fc9c1 | 2018-09-17 18:28:56 | Prefer https URLs where possible. | ||
| 3347685a | 2016-11-25 11:53:26 | Prepare for version 1.15. | ||
| 48f31c74 | 2012-02-12 20:54:51 | Replace FSF snail-mail address with URL. | ||
| 2665c092 | 2011-08-07 20:09:23 | Remove all .cvsignore files. Not needed any more since the switch to git. | ||
| 4d036b9a | 2011-08-07 15:16:56 | Prepare for version 1.14. | ||
| a47098b3 | 2010-04-07 00:44:31 | Avoid a compilation error of gnulib's test-iconv-h-c++.cc on mingw. | ||
| 4a2f4d20 | 2009-12-11 12:16:52 | Untabify. | ||
| f13047d9 | 2009-03-26 02:16:00 | Prepare for version 1.13. | ||
| 607294d2 | 2008-09-17 01:08:35 | New function iconv_open_into. | ||
| 3a889794 | 2008-09-16 23:37:17 | Use Unicode single-quotes in comments. | ||
| f260e646 | 2006-07-26 11:42:48 | Remove MSVC/nmake build support. | ||
| e34f1bc7 | 2006-05-18 12:58:41 | Regenerated. | ||
| a373c34b | 2006-05-15 21:58:39 | Support for building shared libraries on mingw and Cygwin. | ||
| b73dd1c9 | 2006-01-23 13:42:23 | Regenerated. | ||
| 422b3b1d | 2006-01-23 13:25:49 | New feature: character-dependent substitutions. | ||
| 78423b48 | 2005-12-29 13:20:57 | Prepare for version 1.11. | ||
| 05b4c440 | 2005-07-25 12:02:41 | Support for controlling the exported symbols of the shared library. | ||
| 93ec0a45 | 2005-07-25 11:51:58 | Regenerated for 1.10. | ||
| aec14b3f | 2005-07-07 12:44:34 | Bump version number. | ||
| 45bd190c | 2005-05-19 17:14:19 | Update FSF postal address. | ||
| 8489f6de | 2005-03-14 11:27:00 | New function iconv_canonicalize. | ||
| 719d85b4 | 2005-03-14 11:24:40 | Introduce iconv_hooks. | ||
| d313e6df | 2003-05-06 10:28:37 | Regenerated. | ||
| 99e22dda | 2003-04-14 15:28:52 | Support for relocatable installation. | ||
| a9adbd70 | 2003-04-11 09:16:41 | Bump version number to 1.9. | ||
| 8ce4b310 | 2002-05-23 11:52:37 | Prepare for release 1.8. | ||
| d1126b74 | 2002-05-24 13:02:51 | Regenerated. | ||
| d82b82d2 | 2002-01-14 12:05:04 | Support for "iconv -l". | ||
| 9c8cc227 | 2002-01-15 12:48:06 | Regenerated. | ||
| 4f99b68d | 2002-01-15 12:47:34 | Support for "iconv -c". | ||
| 675bbf62 | 2002-01-14 12:07:48 | Regenerated. | ||
| e48b2399 | 2001-09-09 15:20:46 | Better test for EILSEQ. BSD/OS has it in <wchar.h> which is totally nonstandard. | ||
| 02a5e11d | 2001-06-26 15:10:15 | Regenerated. | ||
| 78281f96 | 2001-06-25 12:14:05 | Bump version number for 1.7. | ||
| d5ac1c2b | 2001-03-20 20:35:46 | Update copyright notice. | ||
| d771d662 | 2001-03-06 17:29:26 | Prepare for libiconv release 1.6. | ||
| 5e291761 | 2001-03-06 17:30:22 | Regenerated. | ||
| 58849cb5 | 2000-12-01 20:10:31 | Define the version number in the library as well. | ||
| 2fa33a56 | 2000-12-02 01:01:44 | Bump version number to 1.5. | ||
| 9696682c | 2000-11-20 18:48:55 | Update (should have been done before libiconv-1.4 release). | ||
| 2a1d7557 | 2000-11-16 16:27:17 | initial checkin | ||
| 6f19ac3a | 2000-10-24 12:26:53 | Bump version number to 1.4. | ||
| 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. |