Skip to content

Commit 5039145

Browse files
committed
Update to version 1.16.
1 parent a02d2ec commit 5039145

File tree

243 files changed

+3405
-3016
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+3405
-3016
lines changed

ChangeLog

Lines changed: 219 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,213 @@
1+
2019-04-26 Bruno Haible <bruno@clisp.org>
2+
3+
Update translations.
4+
$ rsync -Lrtvz translationproject.org::tp/latest/libiconv/ po/new
5+
$ cd po/new
6+
$ for f in *.po; do \
7+
msgmerge --update --lang=${f%.po} --previous $f ../libiconv.pot; \
8+
done
9+
$ mv *.po ../
10+
$ cd ..; rm -rf new
11+
12+
2019-04-26 Bruno Haible <bruno@clisp.org>
13+
14+
Update POT file.
15+
$ cd po; make update-po
16+
17+
2019-04-26 Bruno Haible <bruno@clisp.org>
18+
19+
Prepare for version 1.16.
20+
* configure.ac: Bump version number to 1.15.
21+
* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
22+
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 8:1:6.
23+
* src/iconv.c (print_version): Update copyright year.
24+
* windows/iconv.rc: Likewise.
25+
* windows/libiconv.rc: Likewise.
26+
* README: Update download link.
27+
28+
2019-04-26 Bruno Haible <bruno@clisp.org>
29+
30+
Tweak exported symbols when --enable-relocatable is used.
31+
* lib/Makefile.in (DEFS): Map 'relocate2' to a different symbol.
32+
33+
2019-04-01 Bruno Haible <bruno@clisp.org>
34+
35+
build: Separate git operations from build operations.
36+
* gitsub.sh: New file, from gnulib.
37+
* .gitmodules: New file.
38+
* autogen.sh: Remove all git operations. Look at GNULIB_SRCDIR
39+
environment variable. Ignore the GNULIB_TOOL environment variable.
40+
* HACKING: Explain when to use gitsub.sh.
41+
42+
2019-03-07 Bruno Haible <bruno@clisp.org>
43+
44+
Avoid signed integer overflow during shifts.
45+
Reported by Jeffrey Walton <noloader@gmail.com>.
46+
* lib/tcvn.h (tcvn_wctomb): Use unsigned integer type for bit mask
47+
operation.
48+
* lib/viscii.h (viscii_wctomb): Likewise.
49+
50+
2019-03-04 Bruno Haible <bruno@clisp.org>
51+
52+
Add support for --enable-relocatable to libcharset.
53+
* autogen.sh: Copy some more files to libcharset/build-aux/ and
54+
libcharset/m4/.
55+
56+
2019-03-04 Bruno Haible <bruno@clisp.org>
57+
58+
Update --enable-relocatable support after gnulib changed.
59+
* configure.ac: Move the LT_INIT invocation before the gl_RELOCATABLE
60+
invocation. Remove unused argument to gl_RELOCATABLE.
61+
62+
2019-01-27 Bruno Haible <bruno@clisp.org>
63+
64+
Accommodate a shell that is not in /bin/sh.
65+
* Makefile.in (SHELL): Use the value found by configure.
66+
* lib/Makefile.in (SHELL): Likewise.
67+
* man/Makefile.in (SHELL): Likewise.
68+
* src/Makefile.in (SHELL): Likewise.
69+
* tests/Makefile.in (SHELL): Likewise.
70+
(check, check-extra-yes): Use SHELL to run the check-* scripts.
71+
72+
2019-01-27 Bruno Haible <bruno@clisp.org>
73+
74+
Update after gnulib changed.
75+
* Makefile.in (GNULIB_IMPORTED_FILES): Remove build-aux/snippet/*.
76+
77+
2019-01-27 Bruno Haible <bruno@clisp.org>
78+
79+
Update support for building with MSVC. Automake does not install ar-lib.
80+
* autogen.sh: Fetch build-aux/ar-lib here.
81+
* Makefile.devel (srclib/Makefile.in): Don't fetch build-aux/ar-lib
82+
here.
83+
* Makefile.in (AUTOMAKE_IMPORTED_FILES): Remove build-aux/ar-lib.
84+
(IMPORTED_FILES): Add build-aux/ar-lib.
85+
86+
2019-01-06 Bruno Haible <bruno@clisp.org>
87+
88+
Revisit handling of file descriptors closed by the parent process.
89+
* src/iconv.c (main): Add comment.
90+
91+
2018-10-23 Bruno Haible <bruno@clisp.org>
92+
93+
Remove outdated DJGPP build infrastructure.
94+
Approved by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
95+
* djgpp: Remove directory.
96+
* INSTALL.djgpp: Remove file.
97+
* Makefile.in (SOURCE_FILES): Remove them.
98+
99+
2018-10-23 Bruno Haible <bruno@clisp.org>
100+
101+
Update after gnulib changed.
102+
* configure.ac (AC_PREREQ): Bump minimum Autoconf version to 2.63.
103+
104+
2018-09-22 Bruno Haible <bruno@clisp.org>
105+
106+
Avoid some warnings in MSVC build.
107+
* include/export.h: Handle MSVC compiler as well.
108+
109+
2018-09-22 Bruno Haible <bruno@clisp.org>
110+
111+
Update from gnulib. Move mapping tables into the code.
112+
* autogen.sh: Don't create libcharset/m4/relocatable-lib.m4.
113+
* Makefile.in (mostlyclean, clean, distclean, maintainer-clean): Don't
114+
remove lib/charset.alias.
115+
* tests/check-subst: Don't set CHARSETALIASDIR.
116+
117+
2018-05-04 Bruno Haible <bruno@clisp.org>
118+
119+
Drop special instructions for OSF/1.
120+
* INSTALL.generic: Remove the recommendation for OSF/1.
121+
122+
2018-05-04 Bruno Haible <bruno@clisp.org>
123+
124+
Simplify: Remove the ability to install a preloadable library.
125+
* preload/*: Remove directory.
126+
* Makefile.devel: Don't recurse into 'preload'.
127+
* Makefile.in: Likewise.
128+
* configure.ac: Don't declare 'preload' as a subdirectory.
129+
* README, NEWS: Update.
130+
131+
2018-05-04 Bruno Haible <bruno@clisp.org>
132+
133+
Simplify code. Drop support for Borland C++ on Windows.
134+
* lib/iconv.c: Simplify 'defined _WIN32 || defined __WIN32__' to just
135+
'defined _WIN32'.
136+
* lib/iconv_open1.h: Likewise.
137+
138+
2018-05-04 Bruno Haible <bruno@clisp.org>
139+
140+
* lib/relocatable.c: Update from gnulib.
141+
142+
2018-05-04 Bruno Haible <bruno@clisp.org>
143+
144+
Switch to automake 1.16.
145+
* autogen.sh: Update comment.
146+
* Makefile.devel (AUTOMAKE, ACLOCAL): Switch to version 1.16.
147+
* libcharset/Makefile.devel (ACLOCAL): Likewise.
148+
* preload/Makefile.devel (ACLOCAL): Likewise.
149+
150+
2018-03-27 Bruno Haible <bruno@clisp.org>
151+
152+
Doc tweaks.
153+
* README: Don't recommend to use --prefix=/usr/local, as it produces
154+
problems with GCC (since GCC's treatment of /usr/local/include and
155+
/usr/local/lib is inconsistent by default). Don't recommend to use
156+
the iconv.m4 installed by GNU gettext, because it won't work when
157+
GNU automake and GNU gettext are installed with different --prefix
158+
options; instead recommend the 'iconv' module from gnulib.
159+
160+
2018-01-27 Bruno Haible <bruno@clisp.org>
161+
162+
Rename some files.
163+
* INSTALL.windows: Renamed from README.windows.
164+
* INSTALL.djgpp: Renamed from README.djgpp.
165+
* Makefile.in (SOURCE_FILES): Update.
166+
167+
2018-01-03 Bruno Haible <bruno@clisp.org>
168+
169+
Fix installation in 64-bit mode on AIX.
170+
* lib/Makefile.in (AR): New variable.
171+
(install): Use it instead of hardcoding 'ar'.
172+
173+
2017-11-26 Bruno Haible <bruno@clisp.org>
174+
175+
Avoid end-of-lines problem in generated shell scripts on Cygwin.
176+
Patch by Feiyun Wang <feiyunw@yahoo.com>.
177+
* lib/genaliases.c (main): Create canonical.sh and canonical_local.sh
178+
with Unix end-of-line characters, regardless of Cygwin choice of
179+
text mode vs. binary mode.
180+
181+
2017-07-15 Bruno Haible <bruno@clisp.org>
182+
183+
Allow building statically linked binaries, through LDFLAGS="-static".
184+
Apply patch from
185+
<https://lists.gnu.org/archive/html/bug-libtool/2017-07/msg00000.html>.
186+
* build-aux/ltmain.sh (func_mode_help, func_mode_link): In the link
187+
mode, accept option '-static-uninstalled-libs' in place of '-static',
188+
and make '-static' an equivalent of '-all-static'.
189+
190+
2017-07-15 Bruno Haible <bruno@clisp.org>
191+
192+
Don't attempt to build preloadable_libiconv.so when linking statically.
193+
* preload/configure.ac (enable_shared, enable_static): Don't force
194+
shared libraries when LDFLAGS indicates static linking.
195+
(PLUGLIB): Set to empty when is not configured for building shared
196+
libraries.
197+
198+
2017-07-15 Bruno Haible <bruno@clisp.org>
199+
200+
Get rid of autom4te.cache directories, as far as possible.
201+
* Makefile.devel (srclib/Makefile.in, aclocal.m4, configure,
202+
config.h.in): Remove autom4te.cache after invoking aclocal, autoconf,
203+
autoheader, automake.
204+
* preload/Makefile.devel (aclocal, configure): Likewise.
205+
206+
2017-05-18 Bruno Haible <bruno@clisp.org>
207+
208+
* lib/relocatable.h: Update from gnulib.
209+
* lib/relocatable.c: Update from gnulib.
210+
1211
2017-01-30 Bruno Haible <bruno@clisp.org>
2212

3213
Prepare for version 1.15.
@@ -216,7 +426,7 @@
216426
Extend CP1255 mapping.
217427
* lib/cp1255.h (cp1255_2uni, cp1255_page05): Map 0xCA to U+05BA.
218428
* tests/CP1255.TXT: Likewise.
219-
This matches http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/bestfit1255.txt
429+
This matches https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/bestfit1255.txt
220430
and what the native Windows converter does since at least Windows XP.
221431

222432
2016-10-01 Ben Noordhuis <info@bnoordhuis.nl> (tiny change)
@@ -275,14 +485,14 @@
275485
explicitly. Complain if they don't exist.
276486
* Makefile.devel (lib/aliases_*.h): Pass the output filenames as
277487
arguments to genaliases.
278-
Reported at <http://savannah.gnu.org/bugs/?36748>.
488+
Reported at <https://savannah.gnu.org/bugs/?36748>.
279489

280490
Make it possible to run 'genaliases' on native Windows.
281491
* lib/genaliases.c (main): Expect 3 arguments. Open the output files
282492
explicitly. Complain if they don't exist. Improve error checking.
283493
* Makefile.devel (lib/aliases*.h): Pass the output filenames as
284494
arguments to genaliases.
285-
Reported at <http://savannah.gnu.org/bugs/?36748>.
495+
Reported at <https://savannah.gnu.org/bugs/?36748>.
286496

287497
2012-05-13 Bruno Haible <bruno@clisp.org>
288498

@@ -544,7 +754,7 @@
544754
Fix installation on OS/2.
545755
* src/Makefile.in (all, iconv_no_i18n): Add $(EXEEXT) suffix to
546756
iconv_no_i18n. This is the recommended way to use libtool, see
547-
<http://lists.gnu.org/archive/html/bug-libtool/2009-04/msg00013.html>.
757+
<https://lists.gnu.org/archive/html/bug-libtool/2009-04/msg00013.html>.
548758

549759
2011-03-31 Bruno Haible <bruno@clisp.org>
550760

@@ -565,7 +775,7 @@
565775
* lib/iconv.c (iconv_canonicalize): On Cygwin >= 1.7, map
566776
ei_local_wchar_t to ei_utf16le or ei_utf16be, not ei_ucs2internal.
567777
* lib/iconv_open1.h: Likewise.
568-
Rationale: <http://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
778+
Rationale: <https://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
569779

570780
2011-01-29 Bruno Haible <bruno@clisp.org>
571781

@@ -574,7 +784,7 @@
574784
ei_local_wchar_t to ei_utf16le or ei_utf16be, not ei_ucs2internal.
575785
* lib/iconv_open1.h: Likewise.
576786
Reported by Corinna Vinschen <corinna-cygwin@cygwin.com>
577-
in <http://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
787+
in <https://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
578788

579789
2010-11-23 Bruno Haible <bruno@clisp.org>
580790

@@ -931,7 +1141,7 @@
9311141
(test-shiftseq, test-shiftseq.@OBJEXT@): New rules.
9321142
(clean): Remove test-shiftseq executable.
9331143
Reported by Roman Rybalko <roman_rybalko@users.sourceforge.net>
934-
at <http://savannah.gnu.org/bugs/?24216>.
1144+
at <https://savannah.gnu.org/bugs/?24216>.
9351145

9361146
2008-09-07 Bruno Haible <bruno@clisp.org>
9371147

@@ -953,7 +1163,7 @@
9531163

9541164
* lib/gbk.h (gbk_wctomb): Fix an out-of-bounds write.
9551165
Reported by Roman Rybalko <roman_rybalko@users.sourceforge.net>
956-
at <http://savannah.gnu.org/bugs/?24214>.
1166+
at <https://savannah.gnu.org/bugs/?24214>.
9571167

9581168
2008-06-30 Bruno Haible <bruno@clisp.org>
9591169

@@ -1188,7 +1398,7 @@
11881398
2007-06-30 Bruno Haible <bruno@clisp.org>
11891399

11901400
* src/iconv.c (print_version): Use the standard --version output, see
1191-
<http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00302.html>.
1401+
<https://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00302.html>.
11921402

11931403
2007-06-30 Bruno Haible <bruno@clisp.org>
11941404

README.libiconv

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Installation
9090

9191
As usual for GNU packages:
9292

93-
$ ./configure --prefix=/usr/local
93+
$ ./configure --prefix=[[PREFIX]] where [[PREFIX]] is e.g. $HOME/local
9494
$ make
9595
$ make install
9696

@@ -109,39 +109,22 @@ or (on systems supporting shared libraries, excluding AIX)
109109
Recall that before building a package for the second time, you need to erase
110110
the traces of the first build by running "make distclean".
111111

112-
This library can be built and installed in two variants:
112+
This library installs:
113+
- a library 'libiconv.so',
114+
- a header file '<iconv.h>'.
113115

114-
- The library mode. This works on all systems, and uses a library
115-
'libiconv.so' and a header file '<iconv.h>'. (Both are installed
116-
through "make install".)
116+
To use it, simply #include <iconv.h> and use the functions.
117117

118-
To use it, simply #include <iconv.h> and use the functions.
119-
120-
To use it in an autoconfiguring package:
121-
- If you don't use automake, append m4/iconv.m4 to your aclocal.m4
122-
file.
123-
- If you do use automake, add m4/iconv.m4 to your m4 macro repository.
124-
- Add to the link command line of libraries and executables that use
125-
the functions the placeholder @LIBICONV@ (or, if using libtool for
126-
the link, @LTLIBICONV@). If you use automake, the right place for
127-
these additions are the *_LDADD variables.
128-
Note that 'iconv.m4' is also part of the GNU gettext package, which
129-
installs it in /usr/local/share/aclocal/iconv.m4.
130-
131-
- The libc plug/override mode. This works on GNU/Linux, Solaris and OSF/1
132-
systems only. It is a way to get good iconv support without having
133-
glibc-2.1.
134-
It installs a library 'preloadable_libiconv.so'. This library can be used
135-
with LD_PRELOAD, to override the iconv* functions present in the C library.
136-
137-
On GNU/Linux and Solaris:
138-
$ export LD_PRELOAD=/usr/local/lib/preloadable_libiconv.so
139-
140-
On OSF/1:
141-
$ export _RLD_LIST=/usr/local/lib/preloadable_libiconv.so:DEFAULT
142-
143-
A program's source need not be modified, the program need not even be
144-
recompiled. Just set the LD_PRELOAD environment variable, that's it!
118+
To use it in an autoconfiguring package:
119+
- If you don't use automake, append m4/iconv.m4 to your aclocal.m4
120+
file.
121+
- If you do use automake, add m4/iconv.m4 to your m4 macro repository.
122+
- Add to the link command line of libraries and executables that use
123+
the functions the placeholder @LIBICONV@ (or, if using libtool for
124+
the link, @LTLIBICONV@). If you use automake, the right place for
125+
these additions are the *_LDADD variables.
126+
Note that 'iconv.m4' is also part of GNU gnulib, available through
127+
the gnulib module 'iconv'.
145128

146129

147130
Copyright
@@ -156,12 +139,12 @@ The iconv _program_ and the documentation are under GPL, see file COPYING.
156139
Download
157140
--------
158141

159-
http://ftp.gnu.org/gnu/libiconv/libiconv-1.15.tar.gz
142+
https://ftp.gnu.org/gnu/libiconv/libiconv-1.16.tar.gz
160143

161144
Homepage
162145
--------
163146

164-
http://www.gnu.org/software/libiconv/
147+
https://www.gnu.org/software/libiconv/
165148

166149
Bug reports to
167150
--------------

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
libiconv Windows build with Visual Studio.
44

5-
This version is libiconv-1.15.
5+
This version is libiconv-1.16.
66

77
See win-build-info for general information about the
88
win-build effort.

0 commit comments

Comments
 (0)