Newer
Older
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
* m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
to ${CONFIG_SHELL}.
* m4/ltoptions.m4: New file, from libtool-2.2.2.
* m4/ltsugar.m4: New file, from libtool-2.2.2.
* m4/ltversion.m4: New file, from libtool-2.2.2.
* m4/lt~obsolete.m4: New file, from libtool-2.2.2.
* build-aux/ltmain.sh: New file, from libtool-2.2.2.
* configure.ac: Use LT_INIT instead of AC_PROG_LIBTOOL.
* preload/configure.ac: Likewise.
2008-04-06 Bruno Haible <bruno@clisp.org>
More portable way of building the preloadable library.
* preload/Makefile.devel: New file.
* preload/Makefile.in: New file, based on lib/Makefile.in.
* preload/configure.ac: New file, based on configure.ac.
* Makefile.devel (all): Recurse into preload directory.
* Makefile.in (all, install, installdirs, uninstall, check,
mostlyclean, clean, distclean, maintainer-clean): Recurse into preload
directory.
* configure.ac: Likewise.
(OS, GCC, PLUGLIB): Remove definitions.
* lib/Makefile.in (all): Don't depend on PLUGLIB.
(preloadable_libiconv.so, preloadable_libiconv_linux.so,
preloadable_libiconv_solaris.so, preloadable_libiconv_osf.so): Remove
rules.
(install, uninstall, clean): Don't handle the preloadable library here.
2008-04-06 Bruno Haible <bruno@clisp.org>
Avoid a gcc warning.
* lib/loop_unicode.h (unicode_loop_convert): Add a cast.
2008-04-06 Bruno Haible <bruno@clisp.org>
* src/iconv.c (print_version): Bump year.
2008-04-06 Bruno Haible <bruno@clisp.org>
Support all possible nl_langinfo(CODESET) results on the respective
platforms, according to libcharset/lib/config.charset.
* lib/encodings.def: Add DEFALIAS statements, conditional on
USE_AIX_ALIASES, USE_HPUX_ALIASES, USE_OSF1_ALIASES,
USE_SOLARIS_ALIASES.
* lib/encodings_aix.def: Add DEFALIAS statements, conditional on
USE_AIX_ALIASES.
* lib/encodings_osf1.def: Add DEFALIAS statements, conditional on
USE_OSF1_ALIASES.
* lib/genaliases.c (emit_alias): New function, extracted from
emit_encoding.
(emit_encoding): Use it.
(main): Define DEFALIAS.
* lib/genaliases2.c (counter): New variable, extracted from
emit_encoding.
(emit_alias): New function, extracted from emit_encoding.
(emit_encoding): Use it.
(main): Define DEFALIAS.
* lib/genflags.c (main): Define DEFALIAS.
* lib/iconv.c (all_encodings): Define DEFALIAS.
Include the system dependent variant of aliases.h on the appropriate
systems.
(all_canonical): Include the system dependent variant of canonical.h,
canonical_aix.h, canonical_osf1.h, canonical_local.h on the appropriate
systems.
* lib/aliases2.h: Include the system dependent variant of
aliases_aix.h or aliases_osf1.h on the appropriate systems.
* lib/Makefile.in (iconv.lo): Depend on aliases_sysaix.h,
aliases_syshpux.h, aliases_sysosf1.h, aliases_syssolaris.h,
aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h, and also
aliases_extra.h, translit.h.
* Makefile.devel (all): Depend on lib/aliases_sysaix.h,
lib/aliases_syshpux.h, lib/aliases_sysosf1.h, lib/aliases_syssolaris.h,
lib/aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h.
(lib/aliases_sysaix.h, lib/aliases_syshpux.h, lib/aliases_sysosf1.h,
lib/aliases_syssolaris.h): New rules.
(lib/aliases_aix_sysaix.h): New rule.
(lib/aliases_osf1_sysosf1.h): New rule.
* autogen.sh: Also remove lib/aliases_sysaix.h, lib/aliases_syshpux.h,
lib/aliases_sysosf1.h, lib/aliases_syssolaris.h,
lib/aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h.
2008-04-06 Bruno Haible <bruno@clisp.org>
* build-aux/config.libpath: Remove file, brought in by gnulib-tool.
* build-aux/config.rpath: Remove file, brought in by gnulib-tool.
2007-11-11 Bruno Haible <bruno@clisp.org>
* Version 1.12 released.
2007-11-11 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOCONF, AUTOHEADER): Require version 2.61.
(AUTOMAKE, ACLOCAL): Require version 1.10.
(srclib/Makefile.in): Avoid error from automake.
2007-10-26 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update, based on libtool-1.5.24.
* build-aux/ltmain.sh: Update, based on libtool-1.5.24.
2007-10-23 Bruno Haible <bruno@clisp.org>
* build-aux/config.guess: Update to GNU version 2007-07-22.
* build-aux/config.sub: Likewise.
2007-10-23 Bruno Haible <bruno@clisp.org>
* configure.ac: Bump version number to 1.12.
* README: Likewise.
2007-10-23 Bruno Haible <bruno@clisp.org>
Move relocatability infrastructure to gnulib.
* gnulib-local/lib/relocatable.h: Remove file.
* gnulib-local/lib/relocatable.c: Remove file.
2007-10-23 Bruno Haible <bruno@clisp.org>
Update from GNU gettext.
2006-11-26 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/xalloc.h (xmemdup): Add a typesafe C++
template variant.
Based on a patch from Paul Eggert in gnulib.
2006-11-06 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/xalloc.h (xcharalloc): New macro.
(xmemdup): New declaration.
* gnulib-local/lib/xstrdup.c (xmemdup): New function.
2006-11-03 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC,
XCALLOC): New macros.
(xnboundedmalloc): New inline function.
* gnulib-local/lib/xstrdup.c (xstrdup): Use XNMALLOC instead of
xmalloc.
2006-11-02 Bruno Haible <bruno@clisp.org>
* lib/xalloc.h (xnmalloc): New declaration. From gnulib
xalloc.h.
* lib/xmalloc.c (fixup_null_alloc): Write NULL, not 0.
(xnmalloc): New function.
2007-10-23 Bruno Haible <bruno@clisp.org>
Moved module xreadlink to gnulib.
* gnulib-local/modules/xreadlink: Remove file.
* gnulib-local/lib/xreadlink.h: Remove file.
* gnulib-local/lib/xreadlink.c: Remove file.
* gnulib-local/m4/xreadlink.m4: Remove file.
2007-10-07 Bruno Haible <bruno@clisp.org>
Update program license to GPLv3.
* COPYING: Replace with GPL 3.
* windows/iconv.rc (Comments): Update.
2007-10-07 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/alloca.in.h: Renamed from gnulib-local/lib/alloca_.h.
2007-03-30 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/alloca_.h: Change prefix of double-inclusion guard
macro to _GL_.
2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
* gnulib-local/lib/alloca_.h (alloca) [defined alloca]: Don't define or
declare.
2007-09-29 Bruno Haible <bruno@clisp.org>
* autogen.sh (GNULIB_CVS_ROOT): Change to read-only git mirror
valid since 2007-09-19.
2007-07-07 Bruno Haible <bruno@clisp.org>
* autogen.sh: Add an option --skip-gnulib.
2007-07-07 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/uniwidth.h: Remove file, moved to gnulib.
* gnulib-local/lib/width.c: Remove file, moved to gnulib.
* gnulib-local/lib/cjk.h: Remove file, moved to gnulib.
* gnulib-local/modules/uniwidth: Remove file.
* Makefile.devel (GNULIB_MODULES): Remove uniwidth, add uniwidth/width.
* src/iconv.c: Include uniwidth/cjk.h instead of cjk.h.
2007-06-30 Bruno Haible <bruno@clisp.org>
* src/iconv.c (print_version): Use the standard --version output, see
<http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00302.html>.
2007-06-30 Bruno Haible <bruno@clisp.org>
* autogen.sh: New file.
* DEPENDENCIES: New file.
* HACKING: New file.
2007-06-30 Bruno Haible <bruno@clisp.org>
* src/iconv.c: Provide translator comments for many messages.
(conversion_error_EILSEQ, conversion_error_EINVAL,
conversion_error_other): New functions, extracted from convert.
(convert): Use them.
Reported by Tim Van Holder <tim.van.holder@telenet.be>.
2007-06-09 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/relocwrapper.c: Remove file.
2007-05-27 Bruno Haible <bruno@clisp.org>
* windows/libiconv.rc: New file.
* windows/iconv.rc: New file.
* windows/windres-options: New file.
* configure.ac (WOE32): New variable.
(WINDRES) [WOE32]: New variable.
* lib/Makefile.in (WINDRES): New variable.
(PACKAGE_VERSION): New variable.
(OBJECTS_EXP_yes): Renamed from OBJECTS_yes.
(OBJECTS_EXP_no): Renamed from OBJECTS_no.
(OBJECTS_RES_yes, OBJECTS_RES_no): New variables.
(OBJECTS): Add one of them.
(libiconv.res): New rule.
(clean): Remove also libiconv.res.
* src/Makefile.in (WINDRES): New variable.
(PACKAGE_VERSION): New variable.
(OBJECTS_RES_yes, OBJECTS_RES_no): New variables.
(all, iconv_no_i18n, install): Use them.
(iconv.res): New rule.
(clean): Remove also iconv.res.
Suggested and inspired by work by Perry Rapp.
2007-05-27 Bruno Haible <bruno@clisp.org>
Follow broken iconv() prototype in POSIX.
* configure.ac (ICONV_CONST): Set to empty if the system has no iconv.
* lib/config.h.in (ICONV_CONST): Change default value to an empty
comment.
* src/iconv.c (ICONV_CONST): Change default value to empty.
Reported by Andreas Krennmair <ak@synflood.at>.
2007-05-25 Bruno Haible <bruno@clisp.org>
* tools/Makefile (ALL): Add rk1048.h.
(rk1048.h): New rule.
* lib/encodings.def: Add RK1048.
* lib/rk1048.h: New file.
* lib/converters.h: Include it.
* README, man/iconv_open.3: Add RK1048.
* NOTES: Mention RK1048.
* tests/RK1048.TXT: New file.
* tests/Makefile.in (check): Also test RK1048.
Suggested by Timur Birsh <team9@host.kz>.
2007-04-24 Bruno Haible <bruno@clisp.org>
* man/iconv_open.3: Tweak explanation of TRANSLIT.
Reported by Perry Rapp.
2007-04-23 Bruno Haible <bruno@clisp.org>
* tests/check-subst: Use the output of 'printf' only if it didn't
crash. Needed to work around a buffer overflow in Solaris /bin/printf.
Reported by Arto C. Nirkko <anirkko@insel.ch>.
2007-04-23 Bruno Haible <bruno@clisp.org>
* lib/iconv.c (iconv_open, iconv_canonicalize): Treat native Woe32
systems like those which define __STDC_ISO_10646__.
Reported by Keith Marshall <keithmarshall@users.sourceforge.net>.
2007-03-31 Bruno Haible <bruno@clisp.org>
* man/iconv.1: Use HYPHEN-MINUS signs instead of HYPHENs where
appropriate.
* man/iconv_open.3: Likewise.
* man/iconv.3: Likewise.
* man/iconv_close.3: Likewise.
* man/iconvctl.3: Likewise.
2007-03-31 Bruno Haible <bruno@clisp.org>
* man/iconv.1: Mark as POSIX compliant.
* man/iconv_open.3: Likewise.
* man/iconv.3: Likewise.
* man/iconv_close.3: Likewise.
* man/*.[13]: Syntactic simplifications.
2007-03-19 Bruno Haible <bruno@clisp.org>
Assume that mkinstalldirs also creates the necessary parent directories.
* Makefile.in (install, installdirs): Don't explicitly create the
parent directories.
* lib/Makefile.in (install, installdirs): Likewise.
* src/Makefile.in (install, installdirs): Likewise.
* man/Makefile.in (install, installdirs): Likewise.
Reported by Thomas Klausner <tk@giga.or.at>.
2007-03-04 Bruno Haible <bruno@clisp.org>
* Makefile.devel (GNULIB_MODULES): Add relocatable-prog. Remove
relocatable, relocwrapper.
* configure.ac: Invoke gl_RELOCATABLE instead of AC_RELOCATABLE.
* gnulib-local/modules/progreloc: Remove file.
* gnulib-local/modules/relocatable: Remove file.
* gnulib-local/modules/relocwrapper: Remove file.
* gnulib-local/m4/relocatable.m4: Remove file.
* gnulib-local/lib/strerror.c.diff: Remove file.
* src/Makefile.in: Remove SET_RELOCATABLE invocation. Instead get
RELOCATABLE_LDFLAGS and INSTALL_PROGRAM_ENV.
2007-02-19 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/xmalloc.c: Don't include exit.h.
* src/iconv.c: Likewise.
2007-02-16 Juan Manuel Guerrero <juan.guerrero@gmx.de>
* djgpp/*: Update.
2007-02-03 Bruno Haible <bruno@clisp.org>
* tools/Makefile (ksc5601.h): Add one extra character.
* lib/ksc5601.h: Regenerated.
* lib/cp949.h (cp949_mbtowc, cp949_wctomb): Exclude the new character.
* tests/EUC-KR.TXT: Add CIRCLED HANGUL IEUNG U.
* tests/JOHAB.TXT: Likewise.
Reported by Jungshik Shin (신정식, 申政湜) <jungshik@google.com>.
* lib/euc_kr.h: Update comments.
* lib/johab.h: Likewise.
2007-02-03 Bruno Haible <bruno@clisp.org>
* tools/cjk_tab_to_h.c (output_title): Bump copyright year.
2007-01-26 Bruno Haible <bruno@clisp.org>
Moved streq.h to gnulib.
* gnulib-local/lib/streq.h: Remove file.
* gnulib-local/modules/uniwidth (Files): Remove lib/streq.h.
(Depends-on): Add streq.
(lib_SOURCES): Remove streq.h.
2007-01-26 Bruno Haible <bruno@clisp.org>
Moved unitypes.h to gnulib.
* gnulib-local/lib/unitypes.h: Remove file.
* gnulib-local/modules/uniwidth (Files): Remove lib/unitypes.h.
(Depends-on): Add unitypes.
(lib_SOURCES): Remove unitypes.h.
2007-01-26 Bruno Haible <bruno@clisp.org>
Moved canonicalize to gnulib.
* gnulib-local/modules/canonicalize: Remove file.
* gnulib-local/lib/canonicalize.h: Remove file.
* gnulib-local/lib/canonicalize.c: Remove file.
* gnulib-local/m4/canonicalize.m4: Remove file.
* gnulib-local/modules/progreloc (Depends-on): Replace 'canonicalize'
with 'canonicalize-lgpl'.
2006-12-20 Bruno Haible <bruno@clisp.org>
* lib/Makefile.in (install): On AIX, add the contents of
/lib/libiconv.a to libiconv.a.
2006-12-20 Bruno Haible <bruno@clisp.org>
* Makefile.devel (all): Depend on srclib/Makefile.gnulib, not
srclib/Makefile.am.
(aclocal.m4): Likewise. Touch the resulting file, since aclocal not
always does it.
(srclib/Makefile.gnulib): Renamed from srclib/Makefile.am. Pass
option --makefile-name.
(srclib/Makefile.in): Depend on srclib/Makefile.gnulib too.
* srclib/Makefile.am: New file that includes srclib/Makefile.gnulib.
2006-10-31 Bruno Haible <bruno@clisp.org>
Update from GNU gettext.
2006-10-29 Bruno Haible <bruno@clisp.org>
Make it compile in C++ mode.
* gnulib-local/lib/xalloc.h (xrealloc): Define as template
with appropriate return type.
* gnulib-local/lib/xstrdup.c (xstrdup): Cast xmalloc result.
2006-10-26 Bruno Haible <bruno@clisp.org>
* gnulib-local/modules/canonicalize (Makefile.am): Remove
EXTRA_DIST. Now done by gnulib-tool.
* gnulib-local/modules/relocatable (Makefile.am): Likewise.
* gnulib-local/modules/relocwrapper (Makefile.am): Likewise.
2006-10-25 Bruno Haible <bruno@clisp.org>
* gnulib-local/m4/relocatable.m4 (AC_RELOCATABLE_BODY):
Renamed from AC_RELOCATABLE, without the AC_LIBOBJ invocation.
(AC_RELOCATABLE): New macro. Invoke AC_LIBOBJ here.
* gnulib-local/modules/relocwrapper (configure.ac): Invoke
AC_RELOCATABLE instead of requiring it.
2006-10-12 Bruno Haible <bruno@clisp.org>
* gnulib-local/modules/canonicalize (Makefile.am): Distribute
all files in lib/ through EXTRA_DIST.
* gnulib-local/modules/relocatable (Makefile.am): Likewise.
2006-09-14 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/canonicalize.c: Include <config.h>
unconditionally.
* gnulib-local/lib/relocatable.c: Likewise.
* lib/relocatable.c: Likewise.
* gnulib-local/lib/relocwrapper.c: Likewise.
* gnulib-local/lib/xmalloc.c: Likewise.
* gnulib-local/lib/xreadlink.c: Likewise.
* gnulib-local/lib/xstrdup.c: Likewise.
2006-08-02 Bruno Haible <bruno@clisp.org>
* gnulib-local/modules/canonicalize: Put under LGPL.
* gnulib-local/modules/relocatable: Likewise.
2006-07-18 Bruno Haible <bruno@clisp.org>
* gnulib-local/xalloc.h (xzalloc): New declaration.
* gnulib-local/xmalloc.c (xzalloc): New function.
2006-10-24 Bruno Haible <bruno@clisp.org>
* man/Makefile.in (PACKAGE): New variable. Needed for docdir.
Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
2006-10-14 Bruno Haible <bruno@clisp.org>
* COPYING: New file.
* README: Clarify copyright of the iconv program.
Reported by Charles Wilson <cwilson@fastmail.fm>.
2006-08-08 Bruno Haible <bruno@clisp.org>
* INSTALL.generic: Add a recommendation for Tru64.
Reported by Gary V. Vaughan <gary@gnu.org>.
2006-07-29 Bruno Haible <bruno@clisp.org>
* tests/check-subst: Set CHARSETALIASDIR.
Needed so that "make check" works before "make install" on systems
such as NetBSD.
2006-07-29 Bruno Haible <bruno@clisp.org>
* Makefile.devel (aclocal.m4): Depend on srclib/Makefile.am.
(AUTOCONF_FILES): Add the existing *.m4 files.
2006-07-29 Bruno Haible <bruno@clisp.org>
* gnulib-local/lib/xreadlink.c: Assume <stdlib.h> exists.
* src/iconv.c: Assume <locale.h> exists.
* configure.ac: Remove tests for <locale.h>, <stddef.h>, <stdlib.h>,
<string.h>.
2006-07-29 Bruno Haible <bruno@clisp.org>
* configure.ac: Remove obsolete calls AC_PROG_GCC_TRADITIONAL,
AC_ISC_POSIX, AC_HEADER_STDC.
2006-07-29 Bruno Haible <bruno@clisp.org>
* configure.ac: Remove macro invocations that are redundant through
gl_EARLY and gl_INIT.
2006-07-29 Bruno Haible <bruno@clisp.org>
* gnulib-local/m4/alloca.m4 (gl_PREREQ_ALLOCA): Add a dummy statement.
Avoids a sh syntax error.
2006-07-29 Bruno Haible <bruno@clisp.org>
* gnulib-local/m4/relocatable.m4: Add comments.
2006-07-29 Bruno Haible <bruno@clisp.org>
* gnulib-local/modules/libiconv-misc: New file.
* Makefile.devel (GNULIB_MODULES): Add libiconv-misc.
* Makefile.devel (srclib/Makefile.am): Pass --no-libtool.
2006-07-29 Bruno Haible <bruno@clisp.org>
Note: gnulib macros no longer invoke AC_TYPE_SIZE_T nor
AC_CHECK_TYPE([ptrdiff_t], , [AC_DEFINE([ptrdiff_t], [long], ...)])
because we now assume that the system defines size_t and ptrdiff_t.
2006-07-29 Bruno Haible <bruno@clisp.org>
Switch to using gnulib.
* configure.ac (AC_PREREQ): Require autoconf-2.60.
Invoke gl_EARLY and gl_INIT.
* Makefile.devel (all): Depend on srclib/Makefile.am.
(aclocal.m4): Pass -I srcm4 to aclocal. Simplify dependencies, assuming
GNU make.
(GNULIB_MODULES): New variable.
(srclib/Makefile.am): New rule.
* gnulib-local: New directory.
* gnulib-local/m4/alloca.m4: Moved here from m4/alloca.m4.
* gnulib-local/m4/canonicalize.m4: Moved here from m4/canonicalize.m4.
* gnulib-local/m4/relocatable.m4: Moved here from m4/relocatable.m4.
* gnulib-local/m4/xreadlink.m4: Moved here from m4/xreadlink.m4.
* gnulib-local/lib/alloca_.h: Moved here from srclib/alloca_.h.
* gnulib-local/lib/canonicalize.h: Moved here from srclib/canonicalize.h.
* gnulib-local/lib/canonicalize.c: Moved here from srclib/canonicalize.c.
* gnulib-local/lib/cjk.h: Moved here from srclib/cjk.h.
* gnulib-local/lib/error.h.diff: New file.
* gnulib-local/lib/progname.h.diff: New file.
* gnulib-local/lib/relocatable.h: Moved here from srclib/relocatable.h.
* gnulib-local/lib/relocatable.c: Moved here from srclib/relocatable.c.
* gnulib-local/lib/relocwrapper.c: Moved here from srclib/relocwrapper.c.
* gnulib-local/lib/streq.h: Moved here from srclib/streq.h.
* gnulib-local/lib/strerror.c.diff: New file.
* gnulib-local/lib/unitypes.h: Moved here from srclib/unitypes.h.
* gnulib-local/lib/uniwidth.h: Moved here from srclib/uniwidth.h.
* gnulib-local/lib/width.c: Moved here from srclib/width.c.
* gnulib-local/lib/xalloc.h: Moved here from srclib/xalloc.h.
* gnulib-local/lib/xmalloc.c: Moved here from srclib/xmalloc.c.
* gnulib-local/lib/xstrdup.c: Moved here from srclib/xstrdup.c.
* gnulib-local/lib/xreadlink.h: Moved here from srclib/xreadlink.h.
* gnulib-local/lib/xreadlink.c: Moved here from srclib/xreadlink.c.
* gnulib-local/modules/canonicalize: New file.
* gnulib-local/modules/progreloc: New file.
* gnulib-local/modules/relocatable: New file.
* gnulib-local/modules/relocwrapper: New file.
* gnulib-local/modules/uniwidth: New file.
* gnulib-local/modules/xalloc: New file.
* gnulib-local/modules/xreadlink: New file.
* m4/allocsa.m4: Remove file. Now taken from gnulib.
* m4/codeset.m4: Likewise.
* m4/eealloc.m4: Likewise.
* m4/error.m4: Likewise.
* m4/extensions.m4: Likewise.
* m4/full-header-path.m4: Likewise.
* m4/gettext.m4: Likewise.
* m4/glibc21.m4: Likewise.
* m4/iconv.m4: Likewise.
* m4/intmax.m4: Likewise.
* m4/inttypes-h.m4: Likewise.
* m4/inttypes_h.m4: Likewise.
* m4/isc-posix.m4: Likewise.
* m4/lcmessage.m4: Likewise.
* m4/lib-ld.m4: Likewise.
* m4/lib-link.m4: Likewise.
* m4/lib-prefix.m4: Likewise.
* m4/longdouble.m4: Likewise.
* m4/longlong.m4: Likewise.
* m4/mbstate_t.m4: Likewise.
* m4/nls.m4: Likewise.
* m4/onceonly.m4: Likewise.
* m4/pathmax.m4: Likewise.
* m4/po.m4: Likewise.
* m4/printf-posix.m4: Likewise.
* m4/progtest.m4: Likewise.
* m4/readlink.m4: Likewise.
* m4/setenv.m4: Likewise.
* m4/signed.m4: Likewise.
* m4/size_max.m4: Likewise.
* m4/ssize_t.m4: Likewise.
* m4/stdbool.m4: Likewise.
* m4/stdint.m4: Likewise.
* m4/stdint_h.m4: Likewise.
* m4/strerror.m4: Likewise.
* m4/strerror_r.m4: Likewise.
* m4/unistd_h.m4: Likewise.
* m4/unlocked-io.m4: Likewise.
* m4/visibility.m4: Likewise.
* m4/wchar_t.m4: Likewise.
* m4/wint_t.m4: Likewise.
* srclib/allocsa.h: Remove file. Now taken from gnulib.
* srclib/allocsa.c: Likewise.
* srclib/binary-io.h: Likewise.
* srclib/error.h: Likewise.
* srclib/error.c: Likewise.
* srclib/exit.h: Likewise.
* srclib/gettext.h: Likewise.
* srclib/memmove.c: Likewise.
* srclib/pathmax.h: Likewise.
* srclib/progname.h: Likewise.
* srclib/progname.c: Likewise.
* srclib/progreloc.c: Likewise.
* srclib/readlink.c: Likewise.
* srclib/setenv.h: Likewise.
* srclib/setenv.c: Likewise.
* srclib/stdbool_.h: Likewise.
* srclib/stdint_.h: Likewise.
* srclib/strerror.c: Likewise.
* srclib/unlocked-io.h: Likewise.
* srclib/unsetenv.c: Likewise.
* srclib/Makefile.am: Remove file.
2006-07-27 Bruno Haible <bruno@clisp.org>
Remove OS/2 build support that doesn't assume GNU make and GNU bash.
* README.os2: Remove file.
* Makefile.os2: Remove file.
* lib/Makefile.os2: Remove file.
* src/Makefile.os2: Remove file.
* man/Makefile.os2: Remove file.
* tests/Makefile.os2: Remove file.
* tests/check-stateful.cmd: Remove file.
* tests/check-stateless.cmd: Remove file.
* tests/check-translit.cmd: Remove file.
2006-07-25 Bruno Haible <bruno@clisp.org>
Remove MSVC/nmake build support.
* windows: Remove directory.
* Makefile.msvc: Remove file.
* lib/Makefile.msvc: Remove file.
* srclib/Makefile.msvc: Remove file.
* src/Makefile.msvc: Remove file.
* tests/Makefile.msvc: Remove file.
* man/Makefile.msvc: Remove file.
* po/Rules-msvc: Remove file.
* po/Makefile.msvc.sh: Remove file.
* Makefile.devel (config.h.msvc, lib/config.h.msvc): Remove rules.
(include/iconv.h.msvc-static, include/iconv.h.msvc-shared): Remove
rules.
(po/Makefile.msvc): Remove rule.
(all): Update.
2006-07-25 Bruno Haible <bruno@clisp.org>
Remove VMS support.
* vms: Remove directory.
* Makefile.vms: Remove file.
* lib/Makefile.vms: Remove file.
* srclib/Makefile.vms: Remove file.
* src/Makefile.vms: Remove file.
* tests/Makefile.vms: Remove file.
* man/Makefile.vms: Remove file.
* Makefile.devel (config.h_vms, lib/config.h_vms): Remove rules.
(include/iconv.h_vms): Remove rule.
(all): Update.
2006-07-23 Bruno Haible <bruno@clisp.org>
* lib/Makefile.in (libiconv.la): Use the CFLAGS during linking.
* src/Makefile.in (iconv_no_i18n): Likewise.
(install): Likewise.
* tests/Makefile.in (table-from, table-to): Likewise.
Needed because the CFLAGS can e.g. trigger profiling.
Reported by Russell Aspinwall <russell.aspinwall@flomerics.co.uk>.
2006-07-19 Bruno Haible <bruno@clisp.org>
* Version 1.11 released.
2006-07-19 Bruno Haible <bruno@clisp.org>
* srclib/Makefile.am (libicrt_a_SOURCES): Remove error.h, error.c.
(LIBADD_SOURCE): Add them here.
2006-07-19 Bruno Haible <bruno@clisp.org>
* build-aux/config.guess: Update to GNU version 2006-07-02.
* build-aux/config.sub: Likewise.
2006-07-14 Bruno Haible <bruno@clisp.org>
* lib/Makefile.in (clean): Remove also *.stackdump.
* src/Makefile.in (clean): Likewise.
* tests/Makefile.in (clean): Likewise.
2006-07-14 Bruno Haible <bruno@clisp.org>
* src/Makefile.in (clean): Remove also iconv_no_i18n. Needed for
cygwin or mingw.
* tests/Makefile.in (clean): Remove also the programs, without
EXEEXT. Needed for cygwin or mingw.
* Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
Remove also bin directory. Needed for cygwin and mingw.
2006-07-03 Bruno Haible <bruno@clisp.org>
* src/iconv.c (check_subst_formatstring): Use ngettext.
(subst_wc_to_mb_fallback, subst_mb_to_mb_fallback): Fix error messages
after 2006-01-22 change.
* configure.ac: Require a gettext version with ngettext.
2006-06-28 Bruno Haible <bruno@clisp.org>
* m4/gettext.m4: Update from GNU gettext.
* m4/po.m4: Update from GNU gettext.
2006-06-27 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOCONF, AUTOHEADER): Use autoconf-2.60.
* Makefile.in (datarootdir): New variable.
(install, installdirs, uninstall): Also pass datarootdir.
* configure.ac (mandir): Remove customization.
* man/Makefile.in (datarootdir): New variable.
(docdir, htmldir): Use autoconf-substituted value.
* src/Makefile.in (datarootdir): New variable.
(localedir): Use autoconf-substituted value.
2006-06-27 Bruno Haible <bruno@clisp.org>
* m4/stdint.m4: Update from gnulib.
* srclib/stdint_.h: Update from gnulib.
* srclib/Makefile.am: Update.
2006-06-17 Bruno Haible <bruno@clisp.org>
* srclib/unsetenv.c: Update from GNU gettext.
* srclib/xreadlink.c: Likewise.
2006-06-16 Bruno Haible <bruno@clisp.org>
* m4/full-header-path.m4: New file, from gnulib.
* m4/size_max.m4: New file, from gnulib.
* m4/stdint.m4: Update from gnulib.
* srclib/stdint_.h: Update from gnulib.
* srclib/Makefile.am (stdint.h): Likewise.
* Makefile.devel (aclocal.m4): Update dependencies.
2006-06-16 Bruno Haible <bruno@clisp.org>
* m4/ssize_t.m4: Update from GNU gettext.
2006-06-12 Bruno Haible <bruno@clisp.org>
* m4/gettext.m4: Update from GNU gettext.
* m4/inttypes-h.m4: New file, from GNU gettext.
* m4/inttypes.m4: Remove file.
* m4/stdint.m4 (gl_STDINT_H): Update.
* Makefile.devel (aclocal.m4): Update dependencies.
2006-06-10 Bruno Haible <bruno@clisp.org>
* src/iconv.c (error) [NO_I18N]: Define here instead of including
error.h. Fixes link failure introduced on 2006-01-22.
2006-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: Avoid warning when
"parsing" /etc/ld.so.conf and empty /etc/ld.so.conf.d.
2006-05-20 Bruno Haible <bruno@clisp.org>
* tests/BIG5-HKSCS-1999-snippet: New file.
* tests/BIG5-HKSCS-1999-snippet.UTF-8: New file.
* tests/BIG5-HKSCS-2001-snippet: New file.
* tests/BIG5-HKSCS-2001-snippet.UTF-8: New file.
* tests/BIG5-HKSCS-2004-snippet: New file.
* tests/BIG5-HKSCS-2004-snippet.UTF-8: New file.
* tests/Makefile.in (check): Test also the stateful parts of
BIG5-HKSCS:1999, BIG5-HKSCS:2001, BIG5-HKSCS:2004.
2006-05-17 Bruno Haible <bruno@clisp.org>
Implement newer releases of BIG5-HKSCS.
* tools/Makefile (ALL): Remove hkscs.h, add hkscs1999.h, hkscs2001.h,
hkscs2004.h.
(hkscs.h): Remove rule.
(hkscs1999.h, hkscs2001.h, hkscs2004.h): New rules.
* tools/cjk_tab_to_h.c (output_title): Update year.
(main): Recognize hkscs1999, hkscs2001, hkscs2004.
* lib/encodings.def: Rename BIG5-HKSCS to BIG5-HKSCS:1999. Add
BIG5-HKSCS:2001, BIG5-HKSCS:2004. Make all three stateful.
* lib/hkscs.h: Remove file.
* lib/hkscs1999.h: New file.
* lib/hkscs2001.h: New file.
* lib/hkscs2004.h: New file.
* lib/big5hkscs.h: Remove file.
* lib/big5hkscs1999.h: New file.
* lib/big5hkscs2001.h: New file.
* lib/big5hkscs2004.h: New file.
* lib/converters.h: Include the new files.
* README, man/iconv_open.3: Add BIG5-HKSCS:1999, BIG5-HKSCS:2001.
* tests/BIG5-HKSCS.TXT: Remove file.
* tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Remove file.
* tests/BIG5-HKSCS-1999.TXT: New file.
* tests/BIG5-HKSCS-1999.IRREVERSIBLE.TXT: New file.
* tests/BIG5-HKSCS-2001.TXT: New file.
* tests/BIG5-HKSCS-2001.IRREVERSIBLE.TXT: New file.
* tests/BIG5-HKSCS-2004.TXT: New file.
* tests/BIG5-HKSCS-2004.IRREVERSIBLE.TXT: New file.
* tests/check-stateless: Convert colon in the charset name to a dash in
the file name.
* tests/Makefile.in (check): Check BIG5-HKSCS:1999, BIG5-HKSCS:2001,
BIG5-HKSCS:2004 instead of just BIG5-HKSCS.
* tests/Makefile.msvc (check): Don't check BIG5-HKSCS.
* tests/Makefile.os2 (check): Likewise.
2006-05-17 Bruno Haible <bruno@clisp.org>
* srclib/progreloc.c: Update from GNU gettext.
2006-05-16 Bruno Haible <bruno@clisp.org>
* src/Makefile.in (clean): Use EXEEXT.
* tests/Makefile.in (check, clean): Likewise.
2006-05-15 Bruno Haible <bruno@clisp.org>
* configure.ac: Move some checks before AC_RELOCATABLE.
2006-05-15 Bruno Haible <bruno@clisp.org>
Support for building shared libraries on mingw and Cygwin.
* configure.ac (WOE32DLL, DLL_VARIABLE): New variables.
* include/iconv.h.in (_libiconv_version): Mark as DLL_VARIABLE.
* woe32dll/export.h: New file, from GNU gettext.
* woe32dll/iconv-exports.h: New file.
* Makefile.devel (include/iconv.h_vms, include/iconv.h.msvc-static,
include/iconv.h.msvc-shared): Remove the DLL_VARIABLE annotation.
* lib/Makefile.in (INCLUDES): Add -I for parent directory.
(LDFLAGS): Add WOE32DLL dependent flags.
(LDFLAGS_yes, LDFLAGS_no): New variables.
(OBJECTS): Add WOE32DLL dependent objects.
(OBJECTS_yes, OBJECTS_no): New variables.
(iconv-exports.lo): New rule.
2006-05-15 Bruno Haible <bruno@clisp.org>
* srclib/gettext.h: Update from GNU gettext.
* srclib/pathmax.h: Update from GNU gettext.
* srclib/progreloc.c: Update from GNU gettext.
* srclib/unsetenv.c: Update from GNU gettext.
* srclib/Makefile.am: Add snippet for creation of unistd.h.
* m4/extensions.m4: Update from GNU gettext.
* m4/gettext.m4: Update from GNU gettext.
* m4/lib-ld.m4: Update from GNU gettext.
* m4/lib-link.m4: Update from GNU gettext.
* m4/lib-prefix.m4: Update from GNU gettext.
* m4/longdouble.m4: Update from GNU gettext.
* m4/nls.m4: Update from GNU gettext.
* m4/onceonly.m4: Update from GNU gettext.
* m4/po.m4: Update from GNU gettext.
* m4/relocatable.m4: Update from GNU gettext.
* m4/unistd_h.m4: New file, from GNU gettext.
* Makefile.devel (aclocal.m4): Depend on it.
* configure.ac: Invoke gl_HEADER_UNISTD.
2006-05-14 Bruno Haible <bruno@clisp.org>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/libtool.m4 [ linux ] (AC_LIBTOOL_LANG_CXX_CONFIG)
(AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_PROG_COMPILER_PIC)
(AC_LIBTOOL_PROG_LD_SHLIBS): Add support for Sun C 5.9,
Sun C++ 5.9, and Sun Fortran 8.3 on Linux.
2006-05-06 Charles Wilson <cygwin@cwilson.fastmail.fm>
* m4/libtool.m4: On Cygwin, like on mingw, define DLL_EXPORT when
compiling a shared library object.
2006-05-15 Bruno Haible <bruno@clisp.org>
* build-aux/config.rpath: Add support for Sun C 5.9 on Linux.
2006-03-31 Juan Manuel Guerrero <juan.guerrero@gmx.de>
* djgpp/*: Update.
2006-01-23 Bruno Haible <bruno@clisp.org>
* configure.ac: Invoke gl_ALLOCSA.
* Makefile.devel (aclocal.m4): Depend on $(CONFIGURES_IN).
2006-01-22 Bruno Haible <bruno@clisp.org>
* src/iconv.c (xmalloc, xalloc_die) [NO_I18N]: Define to avoid using
gettext().
2006-01-22 Bruno Haible <bruno@clisp.org>
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 6:0:4.
2006-01-22 Bruno Haible <bruno@clisp.org>
* src/iconv.c: Include error.h, exit.h.
(print_version): Use EXIT_SUCCESS.
(check_subst_formatstring, subst_mb_to_uc_fallback,
subst_uc_to_mb_fallback, subst_mb_to_wc_fallback,
subst_wc_to_mb_fallback, subst_mb_to_mb_fallback, convert, main): Use
error() instead of fprintf to stderr.
2006-01-22 Bruno Haible <bruno@clisp.org>
New feature: character-dependent substitutions.
* include/iconv.h.in (iconv_unicode_mb_to_uc_fallback,
iconv_unicode_uc_to_mb_fallback, iconv_wchar_mb_to_wc_fallback,
iconv_wchar_wc_to_mb_fallback): New types.
(struct iconv_fallbacks): New structure type.
(ICONV_SET_FALLBACKS): New macro.
* configure.ac: Invoke gt_TYPE_WCHAR_T and substitute HAVE_WCHAR_T.
* Makefile.os2 (all): Also substitute @HAVE_WCHAR_T@ in build/iconv.h.
* Makefile.devel (include/iconv.h_vms, include/iconv.h.msvc-static,
include/iconv.h.msvc-shared): Also substitute @HAVE_WCHAR_T@.
* lib/converters.h (struct conv_struct): Add field 'fallbacks'.
* lib/loop_unicode.h (struct uc_to_mb_fallback_locals): New type.
(uc_to_mb_write_replacement): New function.
(struct mb_to_uc_fallback_locals): New type.
(mb_to_uc_write_replacement): New function.
(unicode_loop_convert): Call mb_to_uc_fallback and uc_to_mb_fallback.
(unicode_loop_reset): Call uc_to_mb_fallback.
* lib/loop_wchar.h (struct wc_to_mb_fallback_locals): New type.
(wc_to_mb_write_replacement): New function.
(wchar_from_loop_convert): Call wc_to_mb_fallback.
(struct mb_to_wc_fallback_locals): New type.
(mb_to_wc_write_replacement): New function.
(wchar_to_loop_convert): Call mb_to_wc_fallback.
* lib/iconv.c (iconv_open): Initialize the 'fallbacks' field.
(iconvctl): Handle ICONV_SET_FALLBACKS.
* lib/genflags.c (struct iconv_fallbacks): New dummy definition.
* src/iconv.c: Include limits.h.
(isdigit, c_isprint): New macros.
(usage): Document long options and new options.
(check_subst_formatstring): New function.
(ilseq_byte_subst, ilseq_wchar_subst, ilseq_unicode_subst): New
variables.
(ilseq_byte_subst_size, ilseq_wchar_subst_size,
ilseq_unicode_subst_size): New variables.
(ilseq_byte_subst_buffer, ilseq_wchar_subst_buffer,
ilseq_unicode_subst_buffer): New variables.
(subst_mb_to_uc_cd, subst_mb_to_uc_temp_buffer): New variables.
(subst_mb_to_uc_fallback): New function.
(subst_uc_to_mb_cd, subst_uc_to_mb_temp_buffer): New variables.
(subst_uc_to_mb_fallback): New function.
(subst_mb_to_wc_cd, subst_mb_to_wc_temp_buffer): New variables.
(subst_mb_to_wc_fallback): New function.
(subst_wc_to_mb_cd, subst_wc_to_mb_temp_buffer): New variables.
(subst_wc_to_mb_fallback): New function.
(subst_mb_to_mb_cd, subst_mb_to_mb_temp_buffer): New variables.
(subst_mb_to_mb_fallback): New function.
(convert): Enlarge the outbuf when the conversion failed with E2BIG.
(main): Handle new options --byte-subst, --widechar-subst,
--unicode-subst.
* man/iconv.1: Document --unicode-subst, --byte-subst, --widechar-subst
options.
* tests/check-subst: New file.
* tests/Makefile.in (check): Also invoke check-subst.
Suggested by James Taylor <james@oakseed.demon.co.uk>.
2006-01-21 Bruno Haible <bruno@clisp.org>
* src/iconv.c (print_version): Bump copyright year.
(main): Accept long options --from-code, --to-code, --list, --silent.
Accept abbreviated long options, like getopt() does.
* man/iconv.1: Document long options.
2005-12-29 Bruno Haible <bruno@clisp.org>
* src/iconv.c (print_version): Update copyright year.
2005-12-29 Bruno Haible <bruno@clisp.org>
* configure.ac: Renamed from configure.in.
* Makefile.devel (CONFIGURES_IN, configure, config.h.in): Update.
2005-12-29 Bruno Haible <bruno@clisp.org>
* configure.in: Bump version number.
* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
* windows/iconv.rc: Likewise.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 5:1:3.
2005-12-29 Bruno Haible <bruno@clisp.org>
* build-aux/config.guess: Update to GNU version 2005-12-23.
* build-aux/config.sub: Likewise.
* build-aux/config.libpath: Update from GNU gettext.
* build-aux/install-sh: Upgrade to automake-1.9.5.
* build-aux/missing: Upgrade to automake-1.9.5.
* build-aux/mkinstalldirs: Upgrade to automake-1.9.5.
2005-12-29 Bruno Haible <bruno@clisp.org>
* m4/alloca.m4: Update from GNU gettext.
* m4/allocsa.m4: Update from GNU gettext.
* m4/canonicalize.m4: Update from GNU gettext.
* m4/codeset.m4: Update from GNU gettext.
* m4/eealloc.m4: Update from GNU gettext.
* m4/error.m4: Update from GNU gettext.
* m4/extensions.m4: Update from GNU gettext.
* m4/gettext.m4: Update from GNU gettext.
* m4/glibc21.m4: Update from GNU gettext.
* m4/iconv.m4: Update from GNU gettext.
* m4/intmax.m4: Update from GNU gettext.
* m4/inttypes_h.m4: New file, from GNU gettext.
* m4/isc-posix.m4: Update from GNU gettext.
* m4/lcmessage.m4: Update from GNU gettext.
* m4/longdouble.m4: Update from GNU gettext.
* m4/longlong.m4: Update from GNU gettext.
* m4/mbstate_t.m4: Update from GNU gettext.
* m4/nls.m4: Update from GNU gettext.
* m4/onceonly.m4: Update from GNU gettext.
* m4/pathmax.m4: Update from GNU gettext.
* m4/po.m4: Update from GNU gettext.
* m4/printf-posix.m4: Update from GNU gettext.
* m4/progtest.m4: Update from GNU gettext.
* m4/readlink.m4: Update from GNU gettext.
* m4/relocatable.m4: Update from GNU gettext.
* m4/setenv.m4: Update from GNU gettext.
* m4/signed.m4: Update from GNU gettext.
* m4/ssize_t.m4: Update from GNU gettext.