Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 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. | ||
| d01ac199 | 2023-09-13 19:53:35 | Simplify the library: Don't compile relocatable.c any more. The library does not need relocatable.h any more since 2018-09-22. * lib/relocatable.h: Remove file. * lib/relocatable.c: Remove file. * lib/compat.c: New file. * lib/Makefile.in (DEFS): Don't define LIBDIR, BUILDING_DLL, ENABLE_RELOCATABLE, IN_LIBRARY, INSTALLDIR, NO_XMALLOC, set_relocation_prefix, relocate, relocate2. (SOURCES): Remove relocatable.c. Add compat.c. (OBJECTS): Remove relocatable.lo. Add compat.lo. (localcharset.lo): Update dependencies. (relocatable.lo): Remove rule. (compat.lo): Add rule. (SOURCE_FILES): Remove relocatable.h, relocatable.c. Add compat.c. | ||
| 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. | ||
| 5448df58 | 2023-05-29 13:59:43 | GB18030: Help transitioning away from PUA code points. * lib/gb18030ext.h (gb18030_2005_ext_wctomb): Remove function. (gb18030ext_wctomb): Renamed from gb18030_2022_ext_wctomb. * lib/gb18030uni.h (gb18030_2005_uni_wctomb): Map 6 Ext-B code points to 4-bytes sequences. (gb18030_2022_uni_wctomb): Small refactoring. * lib/gb18030_2005.h (gb18030_2005_pua2charset): Map 6 PUA code points to 4-bytes sequences instead of 2-bytes sequences. (gb18030_2005_wctomb): Update accordingly. Invoke gb18030ext_wctomb instead of gb18030_2005_ext_wctomb. * lib/gb18030_2022.h (gb18030_2022_wctomb): Invoke gb18030ext_wctomb instead of gb18030_2022_ext_wctomb. * tests/GB18030-2005.IRREVERSIBLE.TXT: Update the inverse mappings of 6 Ext-B code points and 6 PUA code points. * NEWS: Mention it. | ||
| 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. | ||
| 41e0bd4e | 2023-05-17 21:47:12 | On z/OS, allow charset tagging of temporary shell scripts. Reported by Mike Fulton <mikefultonpersonal@gmail.com> in <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-05/msg00002.html>. * lib/genaliases.c (BINARY_MODE): New macro. (main): Use it instead of "b". | ||
| 33f08ec1 | 2023-04-03 20:08:16 | Fix genflags compilation error. * lib/genflags.c (ICONV_SURFACE_EBCDIC_ZOS_UNIX): New macro, copied from include/iconv.h.in. | ||
| 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. | ||
| 02abfbed | 2023-04-01 00:56:53 | Add some transliterations for mathematical symbols. Based on <https://sourceware.org/bugzilla/show_bug.cgi?id=23132> and the translit_neutral change in <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=513aaa0d782f8fae36732d06ca59d658149f0139>. Reported by Mike Fulton <mikefultonpersonal@gmail.com> in <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-03/msg00002.html>. * lib/translit.def: Add a couple of transliterations in the range U+27C0..U+29FF. * NEWS: Mention it. | ||
| 7b45add9 | 2023-04-01 00:34:22 | Upgrade transliterations to Unicode 15.0.0. * tools/gen-translit-def-part.lisp: Update comments. * lib/translit.def: Include differences between the generated files translit-part-4.0.0.def and translit-part-15.0.0.def. | ||
| dee7d5e9 | 2023-04-01 00:10:12 | Fix table of transliterations. * lib/translit.def: Sort according to Unicode code point. | ||
| e46dee2f | 2023-01-29 20:07:21 | Fix a clang warning "a function declaration without a prototype...". * lib/loop_wchar.h (mbrtowc): Don't declare. Drop portability to BeOS. | ||
| 429e0425 | 2022-02-12 13:49:13 | Update source file list (regression 2022-01-23). * lib/Makefile.in (SOURCE_FILES): Add encodings_zos.def, ebcdic*.h. (GENERATED_FILES): Add aliases_zos.h, canonical_zos.h. * tests/Makefile.in (SOURCE_FILES): Add IBM-*.TXT. | ||
| 59b4d2b4 | 2022-01-24 01:31:08 | Optimize the EBCDIC table sizes. * lib/converters.h (DEDUPLICATE_TABLES): New macro. * lib/ebcdic1025.h: Deduplicate tables with ebcdic880.h. * lib/ebcdic1123.h: Deduplicate tables with ebcdic1025.h. * lib/ebcdic1132.h: Deduplicate tables with ebcdic838.h. * lib/ebcdic1153.h: Deduplicate tables with ebcdic870.h. * lib/ebcdic1154.h: Deduplicate tables with ebcdic880.h. * lib/ebcdic1155.h: Deduplicate tables with ebcdic1026.h. * lib/ebcdic1156.h: Deduplicate tables with ebcdic1112.h. * lib/ebcdic1157.h: Deduplicate tables with ebcdic1122.h. * lib/ebcdic1158.h: Deduplicate tables with ebcdic1154.h, ebcdic1123.h. * lib/ebcdic1160.h: Deduplicate tables with ebcdic838.h. * lib/ebcdic1164.h: Deduplicate tables with ebcdic1130.h. * lib/ebcdic1165.h: Deduplicate tables with ebcdic870.h. * lib/ebcdic1166.h: Deduplicate tables with ebcdic1154.h. * lib/ebcdic4971.h: Deduplicate tables with ebcdic875.h. * lib/ebcdic12712.h: Deduplicate tables with ebcdic424.h. | ||
| 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. | ||
| 91f96be0 | 2021-06-06 11:51:12 | Change the license of the library from LGPL 2.0 to LGPL 2.1. | ||
| 0eb1068c | 2020-08-31 23:43:18 | Fix some -Wcast-qual warning, reported by clang. | ||
| 18b2324b | 2020-08-07 03:06:10 | Avoid a GCC warning with GCC >= 7. | ||
| 3acb1179 | 2020-04-04 14:58:34 | Change the license of the library from LGPL 2.0 to LGPL 2.1. | ||
| 5a8ccabd | 2019-12-23 22:51:48 | Do export the symbol 'locale_charset' (needed by GNU bash). | ||
| f1f8809e | 2019-05-22 19:11:03 | Fix comment. Reported by Paul Hardy <unifoundry@gmail.com>. * lib/jisx0213.h: Fix comment about the underlying standard version. | ||
| 24729046 | 2019-04-26 20:59:03 | Prepare for version 1.16. | ||
| b2ae6d4b | 2019-04-26 20:41:14 | Tweak exported symbols when --enable-relocatable is used. | ||
| bb4f73bb | 2019-03-07 20:30:57 | Avoid signed integer overflow during shifts. | ||
| 1badfd5d | 2019-01-27 22:57:45 | Accommodate a shell that is not in /bin/sh. | ||
| e54fc9c1 | 2018-09-17 18:28:56 | Prefer https URLs where possible. | ||
| 35064ed9 | 2018-05-04 21:27:39 | Simplify code. Drop support for Borland C++ on Windows. | ||
| 07aa900d | 2018-05-04 21:22:25 | Update from gnulib. | ||
| fa243a1b | 2018-01-03 10:50:00 | Fix installation in 64-bit mode on AIX. | ||
| 555ccdd7 | 2017-11-26 20:26:54 | Avoid end-of-lines problem in generated shell scripts on Cygwin. | ||
| 18d002cf | 2017-05-18 22:04:54 | Update from gnulib. | ||
| 9d5ee3d6 | 2016-12-30 01:12:47 | Remove autogenerated files from version control. | ||
| 3d1103e0 | 2016-12-15 04:00:05 | Cleanup useless removals. | ||
| 67802283 | 2016-12-03 18:52:49 | Create tarballs through an Automake-like "make dist" command. | ||
| e563d429 | 2016-12-03 19:07:57 | Avoid compilation warnings in 'genflags' program. | ||
| 554a6e69 | 2016-12-02 15:45:58 | Update from gnulib. | ||
| 3347685a | 2016-11-25 11:53:26 | Prepare for version 1.15. | ||
| ac2a8ace | 2016-11-22 18:30:52 | Update support for building with MSVC. | ||
| b29089d8 | 2016-11-19 17:13:56 | Fix link error when compiling with gcc -O0. | ||
| 0a04404c | 2016-11-17 23:13:53 | UTF-8: Reject surrogates and out-of-range code points. | ||
| 40924a62 | 2016-10-14 03:18:05 | Use 'size_t', not 'int', for the length of a string. | ||
| 500b967b | 2016-10-04 20:49:25 | Extend CP1255 mapping. | ||
| 19970423 | 2016-10-01 19:24:59 | Remove large stack requirement from gentranslit. | ||
| cf05c41f | 2016-10-01 19:17:57 | Remove unused array from gentranslit. | ||
| 5977e1b0 | 2012-07-01 02:35:32 | Make it possible to run 'genaliases2' on native Windows. | ||
| 1f574c8a | 2012-07-01 02:25:51 | Make it possible to run 'genaliases' on native Windows. | ||
| 3326ae99 | 2012-07-01 02:25:28 | Update copyright year. | ||
| 8dfc4c81 | 2012-05-13 20:08:21 | Tweak the GB18030 converter to map 0x8135F437 to U+E7C7. | ||
| 5365cc8d | 2012-03-24 16:03:37 | Avoid a GCC warning. | ||
| 48f31c74 | 2012-02-12 20:54:51 | Replace FSF snail-mail address with URL. | ||
| 6b00cc70 | 2012-01-26 12:37:51 | Modernize quoting. | ||
| a625a199 | 2012-01-15 12:19:04 | Support for MSVC 9. Add a comment. | ||
| 9b00b525 | 2012-01-07 04:31:17 | Talk about "native Windows API", not "Woe32". | ||
| cb3eb68c | 2012-01-04 14:49:09 | Talk about "native Windows API", not "Win32". | ||
| f14f82d1 | 2011-11-28 02:23:25 | Fix bug with error handling in UCS-2, UCS-4, UTF-32 decoders. | ||
| 47bec3b3 | 2012-06-30 17:28:51 | Improve ISO-2022-CP-MS versus CP932. | ||
| 5958e23c | 2012-06-30 15:00:29 | Improve ISO-2022-CP-MS versus CP932. | ||
| 3a33986e | 2011-10-24 02:39:35 | New encoding ISO-2022-CP-MS. | ||
| e2f2024d | 2011-10-23 18:47:31 | Add comments about Windows names of encodings. | ||
| 868ca34d | 2011-10-03 13:27:19 | Update from gnulib. | ||
| 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. | ||
| 37db12b8 | 2011-08-07 15:37:08 | Update from gnulib. | ||
| ac379c19 | 2011-08-07 04:54:14 | Upgrade the GB18030 converter to the version from 2005. | ||
| 33b05e19 | 2011-08-06 19:01:19 | Fix conversion bug in CP1258 converter. | ||
| bff27216 | 2011-06-05 15:40:21 | Work around <wchar.h> bug on OSF/1 5.1. | ||
| 347ec126 | 2011-04-01 00:18:38 | gentranslit: Fix buffer overrun. | ||
| ccc9de4b | 2011-02-28 23:33:49 | Update from gnulib. | ||
| 3cdff14a | 2011-01-29 18:34:14 | Simplify "wchar_t" handling on Cygwin 1.7.x. | ||
| c38bdb4f | 2011-01-29 18:24:44 | Adjust the meaning of "wchar_t" on native Windows systems. | ||
| fd7d5707 | 2010-11-24 03:33:29 | Implement newer release of BIG5-HKSCS. | ||
| 4413e2ca | 2010-06-05 01:15:37 | Addendum to 2009-10-18 commit. | ||
| 2cf3ee65 | 2009-07-08 00:22:57 | Fix an endless loop in the conversion to wchar_t. | ||
| 6d4efe5e | 2009-04-24 23:51:49 | Fix a compilation error on HP-UX 11.00, introduced on 2008-09-16. | ||
| f13047d9 | 2009-03-26 02:16:00 | Prepare for version 1.13. | ||
| 0be2421f | 2009-03-25 12:20:30 | Fix the handling of Windows resources in shared libraries. | ||
| 459ce580 | 2009-01-24 23:16:06 | New converter for CP1131. | ||
| 13bf88bb | 2009-01-17 09:06:59 | Add support for "make install-strip". | ||
| 469eb1fa | 2009-01-17 07:26:12 | Include string.h. | ||
| 770d7477 | 2008-09-21 17:07:22 | Regenerated. | ||
| ee594d9a | 2008-09-21 17:06:00 | Add aliases for *0213 encodings. | ||
| 607294d2 | 2008-09-17 01:08:35 | New function iconv_open_into. | ||
| 10cf0ccd | 2008-09-17 01:08:01 | Part 2 of iconv_open(). | ||
| 75b3adba | 2008-09-17 01:07:53 | Part 1 of iconv_open(). | ||
| bb8f7987 | 2008-09-07 23:28:41 | More consistent behaviour when invalid input is preceded by a shift sequence. | ||
| 046647ab | 2008-09-06 13:39:22 | Fix an out-of-bounds write. | ||
| 4d72adc3 | 2008-04-06 20:40:03 | More portable way of building the preloadable library. | ||
| 4932ba96 | 2008-04-06 09:15:19 | Avoid a gcc warning. | ||
| bcb1081e | 2008-04-06 07:38:02 | Support system-dependent aliases. | ||
| 4fc3efad | 2007-06-30 21:47:00 | Remove autogenerated file from CVS. | ||
| 68316a7b | 2007-05-27 22:16:46 | Don't use $< and $@ in a normal target rule. | ||
| 2e7f7e28 | 2007-05-27 20:23:44 | Include metainformation in the form of Windows resources. | ||
| fa56313a | 2007-05-27 20:14:55 | Change the default value of ICONV_CONST to empty. | ||
| 614f279f | 2007-05-25 23:41:00 | Add support for the Kazakh RK1048 encoding. | ||
| a446ed6b | 2007-04-23 21:57:37 | Exploit the fact that wchar_t on native Woe32 is Unicode. | ||
| 2613089e | 2007-03-20 01:55:33 | Remove redundant mkinstalldirs invocations. | ||
| ed5a7ddc | 2007-02-04 15:49:22 | Add the Korean postal code mark to the EUC-KR and JOHAB mappings. | ||
| 8d01d1cc | 2007-02-04 15:48:31 | Update comments regarding KS X 1001. | ||
| a4492a87 | 2006-12-20 13:35:38 | Avoid a problem with setlocale() on AIX. | ||
| f3b57304 | 2006-10-31 13:48:26 | Update infrastructure from GNU gettext. |