src

Branch


Log

Author Commit Date CI Message
Bruno Haible 918904ed 2025-07-07T11:42:45 Add support for --enable-relocatable in mingw builds on Cygwin hosts. Reported by Michele Locati <michele@locati.it> in <https://github.com/mlocati/gettext-iconv-windows/pull/47#issuecomment-3041406917>. * configure.ac: Invoke gl_BUILD_TO_HOST_BINDIR. * src/Makefile.in (bindir_c_make, localedir_c_make): New variables. (iconv_no_i18n.@OBJEXT@, iconv.@OBJEXT@): Fix value of INSTALLDIR and LOCALEDIR.
Bruno Haible 8d618a87 2024-12-15T12: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.
Collin Funk 09865086 2024-08-13T20:51:25 Prefer #include <...> for system headers. See <https://www.gnu.org/software/gnulib/manual/html_node/Style-of-_0023include-statements.html>. * gnulib-local/lib/xmalloc.c: Include <error.h>. * src/iconv.c: Likewise.
Bruno Haible e613b130 2024-07-12T14: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.
Bruno Haible 5bddef71 2024-06-11T23:51:44 POSIX compliance: Interpret '-' file name as standard input. Reported by Brian Inglis at <https://savannah.gnu.org/bugs/?65874>. * src/iconv.c (main): Recognize the argument '-' as denoting standard input.
Bruno Haible af375a34 2023-05-12T22:50:18 Integrate the last change. * src/Makefile.in (SOURCE_FILES): Add zos-tag.h. * tests/Makefile.in (SOURCE_FILES): Add check-tag. * NEWS: Mention the new functionality.
Mike Fulton 153d4079 2023-05-12T22: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.
Bruno Haible 19b6af5e 2023-04-03T04: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.
Bruno Haible c593e206 2023-02-13T10:59:50 Fix iconv link command for Cygwin. Inspired by https://www.cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/libiconv.git;a=blob;f=1.16-cross-install.patch;h=7b3c5c0d761497a20abf0e4cc38d74f2755445fb;hb=HEAD . Rationale: libintl may depends on libiconv. * src/Makefile.in (install): On the link command line, mention libintl before libiconv.
Bruno Haible c31a1460 2022-02-12T13: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.
Bruno Haible 59a168c6 2019-05-11T22:00:26 Update bug reporting instructions.
Bruno Haible 24729046 2019-04-26T20:59:03 Prepare for version 1.16.
Bruno Haible 1badfd5d 2019-01-27T22:57:45 Accommodate a shell that is not in /bin/sh.
Bruno Haible 4d2b066e 2019-01-06T10:12:00 Revisit handling of file descriptors closed by the parent process.
Bruno Haible e54fc9c1 2018-09-17T18:28:56 Prefer https URLs where possible.
Bruno Haible 941f63af 2017-01-30T23:48:37 Prepare for version 1.15.
Bruno Haible 67802283 2016-12-03T18:52:49 Create tarballs through an Automake-like "make dist" command.
Bruno Haible 3347685a 2016-11-25T11:53:26 Prepare for version 1.15.
Bruno Haible bd21fb8e 2016-10-01T18:29:43 Fix bug #41187.
Bruno Haible 6b00cc70 2012-01-26T12:37:51 Modernize quoting.
Bruno Haible 2665c092 2011-08-07T20:09:23 Remove all .cvsignore files. Not needed any more since the switch to git.
Bruno Haible 4d036b9a 2011-08-07T15:16:56 Prepare for version 1.14.
Bruno Haible 4c5433e1 2011-07-03T22:04:21 Improve interactive behaviour of iconv program.
Bruno Haible b918f35d 2011-07-03T17:43:06 Fix interactive behaviour of iconv program.
KO Myung-Hun bf56aea7 2011-06-04T19:10:38 Fix installation on OS/2.
Bruno Haible 47eb581d 2009-04-15T23:48:55 Use EXEEXT.
Bruno Haible ec9129d5 2009-03-26T12:10:13 Update to GPLv3+.
Bruno Haible a3272314 2009-03-26T03:27:28 Bump year.
Bruno Haible 13bf88bb 2009-01-17T09:06:59 Add support for "make install-strip".
Bruno Haible efd07a98 2009-01-17T08:56:25 Update after gnulib changed.
Bruno Haible 2ed6e121 2009-01-17T07:48:08 Make --enable-relocatable work on glibc systems.
Bruno Haible 942d4453 2008-04-06T09:11:05 Bump copyright year.
Bruno Haible f952c1c7 2007-07-07T17:09:24 Update after cjk.h was moved to gnulib.
Bruno Haible 417fde27 2007-06-30T22:50:31 Use the standard --version output.
Bruno Haible 8875f132 2007-06-30T21:23:41 Reuse a translator comment from GNU gettext.
Bruno Haible a7b2866b 2007-06-30T14:44:27 Provide many comments for translators.
Bruno Haible 68316a7b 2007-05-27T22:16:46 Don't use $< and $@ in a normal target rule.
Bruno Haible 2e7f7e28 2007-05-27T20:23:44 Include metainformation in the form of Windows resources.
Bruno Haible fa56313a 2007-05-27T20:14:55 Change the default value of ICONV_CONST to empty.
Bruno Haible 2613089e 2007-03-20T01:55:33 Remove redundant mkinstalldirs invocations.
Bruno Haible 5280b767 2007-03-05T01:10:06 Update after changes to "relocatable" infrastructure in gnulib.
Bruno Haible 60ce7b6c 2007-02-19T02:37:43 Update after gnulib changes.
Bruno Haible 6e184f1f 2006-07-31T16:10:52 Assume <locale.h>, <stddef.h>, <stdlib.h>, <string.h> all exist.
Bruno Haible a7a84a32 2006-07-27T12:00:38 Remove OS/2 build support that doesn't assume GNU make and GNU bash.
Bruno Haible f260e646 2006-07-26T11:42:48 Remove MSVC/nmake build support.
Bruno Haible f574c3fa 2006-07-25T11:08:43 Remove VMS support.
Bruno Haible c8dc4a2e 2006-07-24T12:43:07 Use the CFLAGS also when linking.
Bruno Haible 5e08f217 2006-07-14T13:24:59 Treat *.stackdump files like core files.
Bruno Haible 0707a728 2006-07-14T13:18:10 Fix cleanup on cygwin and mingw.
Bruno Haible 8d6cc11c 2006-07-04T13:34:13 Fix error messages.
Bruno Haible 2cfac6dc 2006-06-27T13:32:50 Assume autoconf-2.60.
Bruno Haible fccc58a2 2006-06-10T17:24:50 Fix link error of iconv_no_i18n.
Bruno Haible 8663fe9b 2006-05-16T19:15:03 Use EXEEXT, for Cygwin.
Bruno Haible fdae0da5 2006-01-23T13:33:50 Ensure that iconv_no_i18n does not depend on libintl.
Bruno Haible 54f6c0ab 2006-01-23T13:26:44 Use error() instead of fprintf on stderr.
Bruno Haible 422b3b1d 2006-01-23T13:25:49 New feature: character-dependent substitutions.
Bruno Haible 3a95ad61 2006-01-23T13:23:00 Accept long options.
Bruno Haible 49aea841 2005-12-29T20:23:24 Update year in --version output.
Bruno Haible 5e46797a 2005-12-29T19:05:17 Define EXEEXT.
Bruno Haible 850c9ab1 2005-06-09T19:08:18 Renamed autoconf/ to build-aux/.
Bruno Haible 45bd190c 2005-05-19T17:14:19 Update FSF postal address.
Bruno Haible 218d46eb 2005-03-14T11:36:42 More reliable error checking.
Bruno Haible 7c821f47 2005-03-14T11:34:47 Prettier output of error messages.
Bruno Haible e6158843 2005-03-14T11:34:08 Improved error messages with line and column number.
Bruno Haible fcab6708 2005-02-07T12:19:51 Make more user-friendly.
Bruno Haible a6223a6b 2004-07-17T17:05:41 Interpret -- as end of options.
Bruno Haible 2c69a852 2004-03-05T14:00:22 Make DESTDIR work on HP-UX, assuming non-GNU ld.
Bruno Haible 12d862d7 2004-01-22T19:33:40 Make --binary the default.
Bruno Haible 5a1c7fc0 2003-06-24T13:10:41 Avoid installation error when a previous version of libiconv is already installed.
Bruno Haible 11567654 2003-06-11T11:52:29 Improved VMS support.
Bruno Haible 445fbd9d 2003-06-11T11:52:53 Improved VMS support.
Bruno Haible 9b958b9f 2003-05-18T11:28:29 Make it possible to create DLLs with debug information.
Bruno Haible ecfc0f17 2003-05-07T19:50:26 Fix small mistakes.
Bruno Haible 6d4a94d5 2003-05-08T13:07:48 More fixes for Windows build.
Bruno Haible db162ebc 2003-05-08T14:44:48 More tweaks for the Woe32 port.
Bruno Haible 9042f1c1 2003-05-07T19:52:28 Support for VMS.
Bruno Haible 55a2b60d 2003-05-07T19:49:35 Moved to the top level directory.
Bruno Haible d2a22aa6 2003-05-17T14:36:51 Tweaks for Woe32 portability.
Bruno Haible 0d04907b 2003-05-07T19:48:57 Moved to srclib/gettext.h.
Bruno Haible 411b8e57 2003-04-24T10:49:10 Better support for FreeBSD.
Bruno Haible cf930564 2003-04-22T10:35:07 Make it possible to build with libintl on Woe32.
Bruno Haible 2aec7402 2003-04-15T09:41:45 Use standards binary-io code.
Bruno Haible 1be7e00e 2003-04-10T10:32:39 Improved MSVC support.
Bruno Haible 99e22dda 2003-04-14T15:28:52 Support for relocatable installation.
Bruno Haible 1e19a916 2003-02-18T12:57:21 Make "su bin; make install" work.
Bruno Haible 64d5a8b9 2003-03-29T16:35:11 Improved MSVC support.
Bruno Haible 407b7965 2003-01-06T14:29:08 Use mkinstalldirs.
Bruno Haible a70e9df4 2003-01-06T14:29:55 Make DESTDIR work.
Bruno Haible 13b72c98 2002-09-02T13:08:06 Make it compile on mingw32.
Bruno Haible 485041c8 2002-05-29T14:09:04 Tricky "make install", due to dependencies iconv -> libintl -> libiconv.
Bruno Haible 207fbc34 2002-05-23T11:46:13 Hacks for the circular dependency with libintl.
Bruno Haible 53110b18 2002-04-30T14:40:23 Start using gettext.
Bruno Haible 7daa9348 2002-04-30T14:37:08 Infrastructure for using gettext.
Bruno Haible dc5f739c 2002-01-16T12:22:10 New options -c, -s, -l.
Sam Steingold c17cbdd6 2001-11-28T18:59:51 ignore Makefile
Sam Steingold 5eb66df2 2002-01-06T20:27:21 prepend '-' before 'del'
Sam Steingold 49ed4087 2001-12-03T17:15:30 moved common stuff to CVSROOT/cvsignore
Bruno Haible 2d4f4c89 2001-08-08T12:55:08 Make it possible to build with CC=gcc CFLAGS="-x c++".
Bruno Haible c7f1dc92 2001-06-25T22:14:38 Mention $(INCLUDES) before $(CPPFLAGS) and $(CFLAGS), in case one of these contains -I directives.
Bruno Haible 3c597b51 2001-05-07T17:26:44 Use CPPFLAGS and LDFLAGS.