Newer
Older
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
* m4/stdbool.m4: Update from GNU gettext.
* m4/stdint_h.m4: New file, from GNU gettext.
* m4/strerror.m4: Update from GNU gettext.
* m4/strerror_r.m4: Update from GNU gettext.
* m4/unlocked-io.m4: Update from GNU gettext.
* m4/wchar_t.m4: Update from GNU gettext.
* m4/wint_t.m4: Update from GNU gettext.
* m4/xreadlink.m4: Update from GNU gettext.
* Makefile.devel (aclocal.m4): Depend on m4/inttypes_h.m4 and
m4/stdint_h.m4 as well.
* configure.in: Invoke AC_TYPE_MBSTATE_T instead of AC_MBSTATE_T.
Invoke gl_FUNC_GLIBC_UNLOCKED_IO instead of jm_FUNC_GLIBC_UNLOCKED_IO.
Invoke gl_ERROR instead of gt_FUNC_ERROR_AT_LINE.
Don't invoke AC_AIX and AC_MINIX, done by gl_USE_SYSTEM_EXTENSIONS.
Temporarily redefine AC_LIBOBJ and AC_REPLACE_FUNCS, so as to fill
SRCLIBOBJS instead of LIBOBJS.
* srclib/alloca_.h: Update from GNU gettext.
* srclib/allocsa.h: Update from GNU gettext.
* srclib/canonicalize.c: Update from GNU gettext.
* srclib/error.h: Update from GNU gettext.
* srclib/error.c: Update from GNU gettext.
* srclib/gettext.h: Update from GNU gettext.
* srclib/memmove.c: Update from GNU gettext.
* srclib/progname.h: Update from GNU gettext.
* srclib/progname.c: Update from GNU gettext.
* srclib/progreloc.c: Update from GNU gettext.
* srclib/readlink.c: Update from GNU gettext.
* srclib/relocatable.c: Update from GNU gettext.
* srclib/relocwrapper.c: Update from GNU gettext.
* srclib/setenv.h: Update from GNU gettext.
* srclib/setenv.c: Update from GNU gettext.
* srclib/stdbool_.h: Update from GNU gettext.
* srclib/stdint_.h: Update from gnulib.
* srclib/strerror.c: Update from GNU gettext.
* srclib/unlocked-io.h: Update from GNU gettext.
* srclib/unsetenv.c: Update from GNU gettext.
* srclib/xalloc.h: Update from GNU gettext.
* srclib/xmalloc.c: Update from GNU gettext.
* srclib/xreadlink.c: Update from GNU gettext.
* srclib/xstrdup.c: Update from GNU gettext.
* srclib/Makefile.am (DEFS): Also define EXEEXT.
(libicrt_a_LIBADD): Use SRCLIBOBJS instead of LIBOBJS.
(libicrt_a_DEPENDENCIES): New variable.
* src/Makefile.in (EXEEXT): New variable.
* build-aux/install-reloc: Update from GNU gettext.
* build-aux/reloc-ldflags: Update from GNU gettext.
* build-aux/config.rpath: Update from GNU gettext.
2005-12-29 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update, based on libtool-1.5.22.
* build-aux/ltmain.sh: Update, based on libtool-1.5.22.
2005-12-24 Bruno Haible <bruno@clisp.org>
Check the whole range of GB18030.
* tests/GB18030-BMP.TXT: Renamed from tests/GB18030.TXT.
* tests/gengb18030z.c: New file.
* tests/table-from.c (main): For GB18030, don't stop at U+10000.
* tests/table-to.c (main): Likewise.
* tests/Makefile.in (check): Generate GB18030.TXT on the fly from
GB18030-BMP.TXT.
(clean): Remove also gengb18030z and GB18030.TXT.
* tests/Makefile.msvc (check): Generate GB18030.TXT on the fly from
GB18030-BMP.TXT.
(clean): Remove also GB18030Z.TXT, GB18030TMP.TXT, GB18030.TXT.
* tests/Makefile.os2 (check): Depend on gengb18030z.exe. Generate
GB18030.TXT on the fly from GB18030-BMP.TXT.
(clean): Remove also GB18030Z.TXT, GB18030TMP.TXT, GB18030.TXT.
2005-12-20 Bruno Haible <bruno@clisp.org>
* tests/table-to.c (main): Test the mappings up to U+10FFFF, not only
up to U+2FFFF. Tolerate that Unicode language tags are silently mapped
to nothing.
2005-12-22 Bruno Haible <bruno@clisp.org>
Extend GB18030 converter to cover the entire Unicode PUA.
* lib/gb18030.h: Update comments, based on second printing.
(gb18030_mbtowc): Add mapping for range U+E000..U+E765.
(gb18030_pua2charset): New array.
(gb18030_wctomb): Add mapping for range U+E000..U+E765 and the two-byte
part of range U+E766..U+E864.
* lib/gb18030ext.h (gb18030ext_2uni_pagefe): Add mappings to private
area.
(gb18030ext_mbtowc): Add mapping for the two-byte part of range
U+E766..U+E864.
* lib/gb18030uni.h (gb18030uni_charset2uni_ranges,
gb18030uni_uni2charset_ranges, gb18030uni_ranges): Add 12 more
intervals.
(gb18030uni_mbtowc, gb18030uni_wctomb): Update.
* tests/GB18030.TXT: Complete mappings to private area.
2005-12-22 Bruno Haible <bruno@clisp.org>
* lib/gbk.h: Update comments.
2005-12-20 Bruno Haible <bruno@clisp.org>
Add private area mappings to CP949.
* lib/cp949.h (cp949_mbtowc, cp949_wctomb): Map U+E000..U+E0BB like
many others do it.
* tests/CP949.TXT: Add mappings for U+E000..U+E0BB.
2005-12-15 Bruno Haible <bruno@clisp.org>
Add private area mappings to CP950.
* lib/cp950.h (cp950_mbtowc, cp950_wctomb): Map U+E000..U+F6B0 like
most others do it.
* tests/CP950.TXT: Add mappings for U+E000..U+F6B0.
2005-12-15 Bruno Haible <bruno@clisp.org>
Make CP936 follow what Microsoft does.
In http://www.microsoft.com/globaldev/reference/dbcs/936.mspx they
added a 0x80 - U+20AC mapping to the code chart, but not to the
tooltips and not to the list of mappings.
* lib/cp936.h: New file.
* lib/gbk.h: Update comments.
* lib/ces_gbk.h: Update comments.
* lib/converters.h: Include cp936.h.
* lib/encodings.def (CP936): New encoding.
(GBK): Remove CP936 aliases.
* README, man/iconv_open.3: Add CP936.
* tests/Makefile.in (check): Check CP936.
* tests/Makefile.msvc (check): Likewise.
* tests/Makefile.os2 (check): Likewise.
* tests/CP936.TXT: New file.
2005-12-14 Bruno Haible <bruno@clisp.org>
* lib/cp932.h (cp932_wctomb): Map U+FF5E, U+2225, U+FF0D, U+FFE0,
U+FFE1 like Microsoft does it.
* lib/CP932.IRREVERSIBLE.TXT: Add these mappings.
Reported by Lei Wang <lwang@qilinsoft.com>.
2005-12-14 Bruno Haible <bruno@clisp.org>
Follow Euro sign addition done in 1999 in
http://www.microsoft.com/globaldev/reference/dbcs/950/950_A3.mspx
* lib/cp950.h (cp950_mbtowc, cp950_wctomb): Add mapping for 0xA3E1.
* tests/CP950.TXT: Add mapping for 0xA3E1.
2005-11-11 Bruno Haible <bruno@clisp.org>
* lib/euc_jp.h (euc_jp_wctomb): When writing a 3-bytes byte sequence
and only two bytes are available in the output buffer, return
RET_TOOSMALL instead of overrunning the output buffer.
* lib/isoir165.h (isoir165_wctomb): When only one byte is available
in the output buffer, don't overrun the output buffer.
Reported by William Bardwell <bardwell@curl.com>.
2005-09-18 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update, based on libtool-1.5.20.
* build-aux/ltmain.sh: Update, based on libtool-1.5.20.
2005-08-12 Bruno Haible <bruno@clisp.org>
* lib/big5_2003.h: Map 0xF9FA..0xF9FD differently.
* tests/BIG5-2003.TXT: Likewise.
* tests/BIG5-2003.IRREVERSIBLE.TXT: New file.
Reported by Ping Yeh <ping@pingyeh.net>.
2005-07-24 Bruno Haible <bruno@clisp.org>
Tidy up exported symbols.
* m4/visibility.m4: New file.
* include/export.h: New file.
* configure.in: Invoke gl_VISIBILITY. Use AC_CONFIG_FILES. Arrange to
create also include/iconv.h.inst.
* Makefile.devel (all): Depend on include/iconv.h.build.in.
(aclocal.m4): Depend on m4/visibility.m4.
(include/iconv.h.build.in): New rule.
* Makefile.in (install-lib, install): Install include/iconv.h.inst,
not the include/iconv.h that was used for building.
(distclean, maintainer-clean): Remove also include/iconv.h.inst.
* lib/Makefile.in (CFLAGS): Add @CFLAG_VISIBILITY@.
(DEFS): Also define BUILDING_LIBICONV and BUILDING_DLL.
* lib/config.h.in (HAVE_VISIBILITY): New macro.
* lib/relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
Define to the gcc visibility attribute.
* srclib/relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
Likewise.
2005-07-25 Bruno Haible <bruno@clisp.org>
2003-08-24 Bruno Haible <bruno@clisp.org>
* lib/relocatable.h: Make this file includable in C++ mode: add extern
"C".
2005-07-08 Bruno Haible <bruno@clisp.org>
* Version 1.10 released.
2005-07-08 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL
executable after installing it.
2005-07-08 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:0:3.
2005-07-05 Bruno Haible <bruno@clisp.org>
* Makefile.devel (ACLOCAL): New variable.
(aclocal.m4): Use it.
2005-07-05 Bruno Haible <bruno@clisp.org>
* m4/relocatable.m4 (AC_RELOCATABLE): On mingw, simply set
SET_RELOCATABLE to a trivial value.
2004-08-08 Bruno Haible <bruno@clisp.org>
* srclib/progreloc.c (xstrdup): Define as strdup if no xmalloc should
be used.
2004-04-28 Bruno Haible <bruno@clisp.org>
* srclib/progreloc.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN):
Treat Cygwin like Windows, since it now accepts Windows pathnames.
2005-06-09 Bruno Haible <bruno@clisp.org>
* Makefile.in (mkinstalldirs): Use build-aux/ instead of autoconf/.
* lib/Makefile.in (mkinstalldirs): Likewise.
* src/Makefile.in (mkinstalldirs): Likewise.
* man/Makefile.in (mkinstalldirs): Likewise.
2005-06-08 Bruno Haible <bruno@clisp.org>
* srclib/canonicalize.c (__realpath): Avoid gcc warnings on platforms
that don't support symbolic links.
2005-06-08 Bruno Haible <bruno@clisp.org>
* srclib/binary-io.h (fileno): Undefine before defining it. Avoids a
gcc warning on mingw.
2005-05-22 Bruno Haible <bruno@clisp.org>
Implement and document BIG5-2003.
* lib/big5_2003.h: New file.
* lib/converters.h: Include it.
* lib/encodings_extra.def (BIG5-2003): New encoding.
* README, man/iconv_open.3: Add BIG5-2003.
* tests/Makefile.in (check-extra-yes): Check BIG5-2003.
* tests/BIG5-2003.TXT: New file.
2005-05-21 Bruno Haible <bruno@clisp.org>
Add EURO SIGN to EUC-TW converter.
* lib/cns11643_1.h (cns11643_1_2uni_page42): Add entry for 0x14242.
(cns11643_1_mbtowc): Update.
* lib/cns11643_inv.h (cns11643_inv_2charset): Add entry for 0x20AC.
(cns11643_inv_uni2indx_page*): Update.
* lib/dec_hanyu.h (dec_hanyu_mbtowc, dec_hanyu_wctomb): Consider only
part of row 42.
* tests/EUC-TW.TXT: Add entry for 0x20AC.
* tests/EUC-TW.IRREVERSIBLE.TXT: Likewise.
2005-05-03 Bruno Haible <bruno@clisp.org>
* tools/Makefile (ALL): Add pt154.h.
(pt154.h): New rule.
* lib/encodings.def: Add PT154.
* lib/pt154.h: New file.
* lib/converters.h: Include it.
* README, man/iconv_open.3: Add PT154.
* NOTES: Mention PT154.
* tests/PT154.TXT: New file.
* tests/Makefile.in (check): Also test PT154.
* tests/Makefile.msvc (check): Likewise.
* tests/Makefile.os2 (check): Likewise.
2005-03-29 Bruno Haible <bruno@clisp.org>
Rename libiconv_plug.so to preloadable_libiconv.so.
* configure.in (PLUGLIB): Set to preloadable_libiconv.so instead of
libiconv_plug.so.
* lib/Makefile.in (preloadable_libiconv.so): Renamed from
libiconv_plug.so.
(preloadable_libiconv_linux.so): Renamed from libiconv_plug_linux.so.
(preloadable_libiconv_solaris.so): Renamed from
libiconv_plug_solaris.so.
(preloadable_libiconv_osf.so): Renamed from libiconv_plug_osf.so.
(clean): Update.
* README: Update.
2005-03-29 Bruno Haible <bruno@clisp.org>
Implement and document ATARIST.
* tools/Makefile (ALL): Add atarist.h.
(atarist.h): New rule.
* lib/atarist.h: New file.
* lib/converters.h: Include it.
* lib/encodings_extra.def (ATARIST): New encoding.
* README, man/iconv_open.3: Add ATARIST.
* tests/Makefile.in (check-extra-yes): Check ATARIST.
* tests/ATARIST.TXT: New file.
2005-03-22 Bruno Haible <bruno@clisp.org>
* build-aux: New directory, renamed from autoconf.
* configure.in (AC_CONFIG_AUX_DIR): Use build-aux.
2005-03-16 Bruno Haible <bruno@clisp.org>
* m4/stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
HAVE_LONGLONG_64BIT.
* srclib/stdint_.h: Use HAVE_LONG_LONG_64BIT instead of
HAVE_LONGLONG_64BIT.
* srclib/Makefile.am (stdint.h): Likewise.
2005-03-14 Bruno Haible <bruno@clisp.org>
* Makefile.devel (aclocal.m4): Depend also on allocsa.m4, eealloc.m4,
extensions.m4, intmax.m4, inttypes.m4, longdouble.m4, longlong.m4,
printf-posix.m4, readlink.m4, signed.m4, ssize_t.m4, stdint.m4,
wchar_t.m4, wint_t.m4.
2005-03-13 Bruno Haible <bruno@clisp.org>
Make stdout error checking reliable, also when writing to a NFS file.
* src/iconv.c (main): Check the return value of fclose(stdout).
* lib/genaliases.c (main): Likewise.
* lib/genaliases2.c (main): Likewise.
* lib/genflags.c (main): Likewise.
* lib/gentranslit.c (main): Likewise.
* tests/genutf8.c (main): Likewise.
* tests/table-from.c (main): Likewise.
* tests/table-to.c (main): Likewise.
2005-03-13 Bruno Haible <bruno@clisp.org>
* src/iconv.c (convert): Before outputting an error message, flush
stdout and output a newline if suitable.
2005-03-13 Bruno Haible <bruno@clisp.org>
Improved error messages.
* srclib/width.c: New file, from GNU clisp.
* srclib/uniwidth.h: New file, from GNU clisp with modifications.
* srclib/unitypes.h: New file, from GNU clisp with modifications.
* srclib/cjk.h: New file, from GNU clisp.
* srclib/streq.h: New file, from GNU clisp.
* srclib/stdint_.h: New file, from gnulib.
* m4/stdint.m4: New file, from gnulib.
* m4/inttypes.m4: New file, from gnulib.
* srclib/Makefile.am: Add gnulib module 'stdint' snippet.
(BUILT_SOURCES): New variable.
(libicrt_a_SOURCES): Add width.c, uniwidth.h, unitypes.h, cjk.h,
streq.h.
* configure.in: Invoke gl_STDINT_H.
* src/iconv.c: Include cjk.h, uniwidth.h.
(line, column, cjkcode): New variables.
(update_line_column): New function.
(convert): Initialize line and column. In all error message, show also
the line and column number.
(main): Initialize cjkcode. Set up hooks to call update_line_column.
2005-03-13 Bruno Haible <bruno@clisp.org>
* include/iconv.h.in (iconv_canonicalize): New declaration.
* lib/genaliases.c (emit_encoding): Take two output streams as
arguments. To the second stream, emit a shell command for extracting
offsets into the gperf generated string pool.
(main): Write the shell commands into file descriptors 3 and 4.
* lib/genaliases2.c (emit_encoding): Take two output streams as
arguments. To the second stream, emit an expression for the offset
into the string pool.
(main): Write the offsets into file descriptor 3.
* Makefile.devel (lib/aliases.gperf): Remove target.
(lib/aliases.h): Generate lib/aliases.gperf temporarily. Generate also
lib/canonical.h and lib/canonical_local.h.
(lib/aliases_aix.h): Generate also lib/canonical_aix.h.
(lib/aliases_osf1.h): Generate also lib/canonical_osf1.h.
(lib/aliases_dos.h): Generate also lib/canonical_dos.h.
(lib/aliases_extra.h): Generate also lib/canonical_extra.h.
* lib/iconv.c (stringpool2): Provide default definition when it doesn't
exist.
(all_canonical): New array.
(iconv_canonicalize): New function.
2005-03-13 Bruno Haible <bruno@clisp.org>
* include/iconv.h.in (iconv_unicode_char_hook, iconv_wide_char_hook,
iconv_hooks): New types.
(ICONV_SET_HOOKS): New macro.
* lib/converters.h (struct conv_struct): Add field 'hooks'.
* lib/iconv.c (iconv_open): Initialize hooks to NULL.
(iconvctl): Handle ICONV_SET_HOOKS.
* lib/loop_unicode.h (unicode_loop_convert, unicode_loop_reset): After
conversion of a character, call the uc_hook.
* lib/loop_wchar.h (wchar_id_loop_convert): After every character, call
the wc_hook.
* lib/genflags.c (iconv_hooks): Provide a dummy definition.
2005-02-05 Bruno Haible <bruno@clisp.org>
* src/iconv.c (main): In case of unsupported encodings, show a hint
towards "iconv -l".
2005-01-06 Bruno Haible <bruno@clisp.org>
* lib/Makefile.msvc (CFLAGS): Define also INSTALLPREFIX.
* lib/Makefile.vms (DEFS): Likewise.
Reported by Troels Walsted Hansen <Troels.W.Hansen@fast.no>.
2005-01-05 Bruno Haible <bruno@clisp.org>
* autoconf/config.rpath: Update from GNU gettext.
2005-01-05 Bruno Haible <bruno@clisp.org>
Assume automake-1.9.
* Makefile.devel (AUTOMAKE): Assume automake-1.9.
2005-01-05 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.10.
* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.10.
2004-11-11 Bruno Haible <bruno@clisp.org>
* lib/iconv.c (iconv_open): Accept the suffixes //TRANSLIT and //IGNORE
in arbitrary order.
Reported by Lukas Gebauer <gebauerl@mlp.cz>.
2004-09-21 Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>
* djgpp/config.bat: Update.
* djgpp/config.sed: Update.
* djgpp/config.site: Update.
* djgpp/edtest.bat: Update.
* djgpp/fnchange.in: Update.
* djgpp/Makefile.maint: Update.
* djgpp/makefile.sed: Update.
* djgpp/README.in: Update.
* djgpp/sources.sed: Update.
* djgpp/translit-check.sed: Update.
2004-08-25 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.6.
* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.6.
2004-07-31 Bruno Haible <bruno@clisp.org>
Update to JISX 0213 plane 1 to 2004 version (ISO-IR-233).
* tools/Makefile (jisx0213.h): Bump version number.
* tools/JISX0213.TXT: Change mappings U+2015 -> U+2014,
U+2299 -> U+29BF, and add 10 new characters.
* tools/cjk_tab_to_h.c (output_title): Bump year.
(do_jisx0213): Update comments. Emit a conditional 'inline'.
* lib/jisx0213.h: Regenerated.
* lib/iso2022_jp3.h (iso2022_jp3_mbtowc): Accept escape sequence
ESC $ ( Q as a synonym of ESC $ ( O.
(iso2022_jp3_wctomb): Emit ESC $ ( Q instead of ESC $ ( O.
* tests/EUC-JISX0213.TXT: Change mappings U+2015 -> U+2014,
U+2299 -> U+29BF, and add 10 new characters.
* tests/SHIFT_JISX0213.TXT: Likewise.
* tests/ISO-2022-JP-3-snippet: Update.
* tests/ISO-2022-JP-3-snippet.UTF-8: Update.
2004-07-22 Bruno Haible <bruno@clisp.org>
* lib/encodings.def (ISO-8859-7): Add alias ISO_8859-7:2003.
* tools/Makefile (iso8859_7.h): Use conversion table from 2003.
* lib/iso8859_7.h: Add mappings for 0xa4, 0xa5, 0xaa.
* tests/ISO-8859-7.TXT: Update to ISO_8859-7:2003.
2004-07-22 Bruno Haible <bruno@clisp.org>
* tools/Makefile (ALL): Add iso8859_11.h.
(iso8859_11.h): New rule.
* lib/encodings.def: Add ISO-8859-11.
* lib/iso8859_11.h: New file.
* lib/converters.h: Include it.
* tests/ISO-8859-11.TXT: New file.
* tests/Makefile.in (check): Also test ISO-8859-11.
* tests/Makefile.msvc (check): Likewise.
* tests/Makefile.os2 (check): Likewise.
2004-07-17 Bruno Haible <bruno@clisp.org>
* src/iconv.c (main): Terminate option parsing when option -- is seen.
Reported by Len Lattanzi <zardoz@users.sourceforge.net>.
2004-03-05 Bruno Haible <bruno@clisp.org>
* src/Makefile.in (install): Make DESTDIR work on HP-UX.
Reported by Bob Proulx <box@proulx.com>.
2004-02-19 Bruno Haible <bruno@clisp.org>
* lib/vietcomb.h (viet_comp_table_data): Un-uncomment 0x00D5, 0x00F5,
0x0168, 0x0169. Needed for TCVN-5712 but not for CP1258.
(viet_comp_table0301_len): Increment by 4.
* lib/cp1255.h (cp1255_mbtowc): Don't delay the handling of characters
which are not entries in cp1255_comp_table_data.
* lib/cp1258.h (cp1258_comp_bases): New array.
(cp1258_mbtowc): Don't delay the handling of characters which are not
relevant entries in viet_comp_table_data.
* lib/tcvn.h (tcvn_comp_bases): New array.
(tcvn_mbtowc): Don't delay the handling of characters which are not
relevant entries in viet_comp_table_data.
Reported by Alain Bench <veronatif@free.fr>.
2004-02-02 Perry Rapp <lifelines_3_0_18@hotmail.com>
Bruno Haible <bruno@clisp.org>
* man/iconvctl.3: New file.
* man/iconv.3: Refer to it in "See also".
* man/iconv_open.3: Likewise.
2004-01-24 Bruno Haible <bruno@clisp.org>
* srclib/progreloc.c (xstrdup): Define as strdup if no xmalloc should
be used.
2004-01-20 Bruno Haible <bruno@clisp.org>
Upgrade from gettext-0.14.
* configure.in: Call gl_USE_SYSTEM_EXTENSIONS. Call AM_STDBOOL_H
instead of gt_STDBOOL_H. Provide a definition for DLL_VARIABLE.
* srclib/Makefile.am (libicrt_a_SOURCES): Add allocsa.h, allocsa.c,
xalloc.h. Remove xmalloc.h.
(libicrt_a_LIBADD): Remove @ALLOCA@.
* srclib/Makefile.msvc (OBJECTS): Add allocsa.obj.
(allocsa.obj): New rule.
* srclib/Makefile.vms (OBJECTS): Add allocsa.obj.
(allocsa.obj): New rule.
* Makefile.devel (config.h_vms): Set MALLOC_0_IS_NONNULL to 0.
(config.h.msvc): Set MALLOC_0_IS_NONNULL to 1.
lib/:
2003-10-09 Bruno Haible <bruno@clisp.org>
* lib/relocatable.c: Include xalloc.h instead of xmalloc.h.
2003-08-01 Bruno Haible <bruno@clisp.org>
* lib/relocatable.c (find_shared_library_fullname): Disable the code on
Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
2003-06-22 Bruno Haible <bruno@clisp.org>
* lib/relocatable.c (compute_curr_prefix): Comment out this function in
the case when it is not used.
Reported by Pavel Roskin <proski@gnu.org>.
m4/:
* m4/gettext.m4: Upgrade from GNU gettext. Many changes.
* m4/po.m4: Likewise.
* m4/readlink.m4: New file, from GNU gettext.
2003-11-30 Bruno Haible <bruno@clisp.org>
* m4/allocsa.m4: New file.
* m4/eealloc.m4: New file.
* m4/setenv.m4 (gl_PREREQ_SETENV): Require gl_ALLOCSA instead of
AC_FUNC_ALLOCA.
2003-10-21 Bruno Haible <bruno@clisp.org>
* m4/canonicalize.m4 (gl_PREREQ_CANONICALIZE): Also test for
readlink().
2003-08-24 Bruno Haible <bruno@clisp.org>
* m4/relocatable.m4 (AC_RELOCATABLE): Use $(host) instead of @host@,
since the substitution of @host@ may occur before the substitution of
@SET_RELOCATABLE@.
2003-08-23 Bruno Haible <bruno@clisp.org>
* stdbool.m4: Replace with the version from gnulib, without
AC_HEADER_STDBOOL.
2003-08-08 Paul Eggert <eggert@twinsun.com>
* m4/extensions.m4: New file.
* m4/unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2003-07-01 Bruno Haible <bruno@clisp.org>
* m4/ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>.
<sys/types.h> should be sufficient.
Reported by Paul Eggert.
2003-07-01 Bruno Haible <bruno@clisp.org>
* m4/lib-prefix.m4 (AC_LIB_ARG_WITH): Avoid "duplicated macro" error
from aclocal-1.4-p4.
Reported by Luke Schierer <lschiere@rackspace.com> and
Michael C. Toren <mct@toren.net>.
2003-07-01 Paul Eggert <eggert@twinsun.com>
* m4/xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
xreadlink.c now includes it unconditionally.
2003-06-17 Paul Eggert <eggert@twinsun.com>
* m4/lib-ld.m4 (AC_LIB_PROG_LD_GNU, AC_LIB_PROG_LD): Don't use egrep,
for portability to POSIX 1003.1-2001. Backported from libtool-1.5.
2003-05-28 Paul Eggert <eggert@twinsun.com>
* m4/pathmax.m4 (gl_PATHMAX): Don't check for limits.h.
* m4/xreadlink.m4 (gl_XREADLINK): Likewise.
2002-12-24 Bruno Haible <bruno@clisp.org>
* m4/setenv.m4 (gt_FUNC_SETENV): New macro.
(gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
when invoked twice.
(gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
gt_FUNC_SETENV.
srclib/:
2003-11-30 Bruno Haible <bruno@clisp.org>
* srclib/alloca.c: Remove file.
2003-11-30 Bruno Haible <bruno@clisp.org>
Safer stack allocation.
* srclib/allocsa.h: New file.
* srclib/allocsa.c: New file.
* canonicalize.c: Include allocsa.h.
(__realpath): Use allocsa instead of alloca. Don't clobber errno right
before returning NULL.
* srclib/relocwrapper.c: Indirectly depends on allocsa.
* srclib/setenv.c: Include allocsa.h.
(alloca): Remove fallback definition.
(freea): Remove macro.
(__add_to_environ) [!_LIBC]: Use allocsa instead of alloca. Use freesa
instead of freea.
2003-11-17 Bruno Haible <bruno@clisp.org>
* srclib/canonicalize.c: #undef realpath after <config.h> but before
the system includes, so as to avoid a prototype clash on Solaris 2.5.1.
Reported by Warren L. Dodge <warrend@mdhost.cse.tek.com>.
2003-10-21 Bruno Haible <bruno@clisp.org>
* srclib/canonicalize.c (lstat): Define as an alias to 'stat' on
systems without symbolic links.
2003-10-17 Bruno Haible <bruno@clisp.org>
* srclib/binary-io.h: Avoid warnings on Cygwin.
2003-10-09 Bruno Haible <bruno@clisp.org>
* srclib/xalloc.h: Renamed from xmalloc.h.
* srclib/progreloc.c: Include xalloc.h instead of xmalloc.h.
* srclib/relocatable.c: Likewise.
* srclib/xmalloc.c: Likewise.
* srclib/xreadlink.c: Likewise.
* srclib/xstrdup.c: Likewise.
2003-09-12 Paul Eggert <eggert@twinsun.com>
* srclib/progreloc.c (get_full_program_name): Define via prototype.
2003-09-12 Paul Eggert <eggert@twinsun.com>
* srclib/setenv.c (clearenv): Define via prototype.
2003-09-10 Bruno Haible <bruno@clisp.org>
* srclib/setenv.c: Include <stdlib.h> and <string.h> unconditionally.
* srclib/unsetenv.c: Likewise.
2003-08-28 Bruno Haible <bruno@clisp.org>
* srclib/binary-io.h: Undefine O_BINARY before defining it. This avoids
a warning on QNX, which defines O_BINARY to 000000.
2003-08-24 Bruno Haible <bruno@clisp.org>
* srclib/binary-io.h: Include <stdio.h>, to avoid a compilation error
when MSVC7 <stdio.h> is included later.
2003-08-24 Bruno Haible <bruno@clisp.org>
* srclib/error.h: Use ANSI C "..." declarations when compiling with
MSVC, even though it doesn't define __STDC__ by default.
* srclib/error.c: Use <stdarg.h> when compiling with MSVC, even though
it doesn't define __STDC__ by default.
2003-08-24 Bruno Haible <bruno@clisp.org>
Support for building DLLs on Windows.
* srclib/error.h (error_print_progname, error_message_count,
error_one_per_line): Add DLL_VARIABLE attribute.
* srclib/progname.h (program_name): Likewise.
2003-08-24 Bruno Haible <bruno@clisp.org>
* srclib/progname.h: Make this file includable in C++ mode: add extern
"C".
* srclib/relocatable.h: Likewise.
* srclib/xmalloc.h: Likewise.
2003-08-22 Bruno Haible <bruno@clisp.org>
* srclib/progname.h (error_with_progname, maybe_print_progname): Remove
declarations.
* srclib/progname.c (error_with_progname): Remove variable.
(maybe_print_progname): Remove function.
2003-08-01 Bruno Haible <bruno@clisp.org>
* srclib/relocatable.c (find_shared_library_fullname): Disable the code
on Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
2003-07-01 Paul Eggert <eggert@twinsun.com>
* srclib/xreadlink.c: Include <sys/types.h> unconditionally, instead of
having it depend on HAVE_SYS_TYPES_H.
2003-06-23 Bruno Haible <bruno@clisp.org>
Avoid compilation units that are empty after preprocessing.
* srclib/canonicalize.c: Add dummy declaration.
* srclib/strerror.c: Likewise.
* srclib/error.c: Include <stdio.h> even if there's nothing to be
compiled.
2003-06-22 Bruno Haible <bruno@clisp.org>
* srclib/relocatable.c (compute_curr_prefix): Comment out this function
in the case when it is not used.
Reported by Pavel Roskin <proski@gnu.org>.
2003-05-28 Paul Eggert <eggert@twinsun.com>
* srclib/pathmax.h: Include <limits.h> without checking for
HAVE_LIMITS_H.
* srclib/xreadlink.c: Likewise.
2004-01-20 Bruno Haible <bruno@clisp.org>
Assume automake-1.8.
* Makefile.devel (AUTOCONF, AUTOHEADER): Assume autoconf-2.59.
(AUTOMAKE): Assume automake-1.8.
* Makefile.in (am--refresh): New target.
2004-01-23 Bruno Haible <bruno@clisp.org>
* Version 1.9.2 released.
2004-01-23 Bruno Haible <bruno@clisp.org>
* tests/table-from.c: Include binary-io.h.
(main): Switch stdout to binary mode.
* tests/table-to.c: Include binary-io.h.
(main): Switch stdout to binary mode.
* tests/genutf8.c: Include binary-io.h.
(main): Switch stdout to binary mode.
* tests/Makefile.in (INCLUDES): Also look in srclib.
(check): Pass INCLUDES when compiling genutf8.c.
* tests/Makefile.os2 (INCLUDES): Also look in srclib.
(genutf8.exe): Pass INCLUDES when compiling genutf8.c.
* tests/Makefile.msvc (INCLUDES): Also look in srclib.
(check): Pass INCLUDES when compiling genutf8.c.
2004-01-21 Bruno Haible <bruno@clisp.org>
* src/iconv.c (force_binary): Remove variable.
(usage): Don't document --binary any more.
(convert, main): Always switch to binary mode.
* tests/check-stateful.bat: Remove --binary option.
* tests/check-translit.bat: Likewise.
* tests/check-stateful.cmd: Likewise.
* tests/check-translit.cmd: Likewise.
* djgpp/stateful-check.sed: Remove MODE variable.
* djgpp/translit-check.sed: Likewise.
2004-01-21 Bruno Haible <bruno@clisp.org>
* man/iconv.3: Fix description of return value in case of error.
Reported by Jonathan Wakely <redi@users.sf.net>.
2003-09-12 Paul Eggert <eggert@twinsun.com>
* srclib/progreloc.c (get_full_program_name): Define via prototype.
2003-08-15 Bruno Haible <bruno@clisp.org>
* Makefile.devel (lib/translit.h): Add ulimit command so that the
gentranslit program gets the stack it needs. Many Linux distributions
allow only 8 MB of stack by default.
2003-08-01 Bruno Haible <bruno@clisp.org>
* lib/relocatable.c (find_shared_library_fullname): Disable the code on
Linux/libc5.
* srclib/relocatable.c (find_shared_library_fullname): Likewise.
Reported by Alain Guibert <derogaton+bgli@oreka.com>.
2003-07-02 Bruno Haible <bruno@clisp.org>
* m4/lib-ld.m4: Update from GNU gettext.
* m4/lib-prefix.m4: Update from GNU gettext.
* m4/gettext.m4: Update from GNU gettext.
* m4/intmax.m4: New file, from GNU gettext.
* m4/longdouble.m4: New file, from GNU gettext.
* m4/longlong.m4: New file, from GNU gettext.
* m4/printf-posix.m4: New file, from GNU gettext.
* m4/signed.m4: New file, from GNU gettext.
* m4/wchar_t.m4: New file, from GNU gettext.
* m4/wint_t.m4: New file, from GNU gettext.
* m4/pathmax.m4: Update from GNU gettext and gnulib.
* m4/ssize_t.m4: Update from GNU gettext and gnulib.
* m4/xreadlink.m4: Update from GNU gettext and gnulib.
* m4/readlink.m4: New file, from gnulib.
* autoconf/install-reloc: Update from GNU gettext.
* srclib/stdbool_.h: Renamed from srclib/stdbool.h.in.
* srclib/readlink.c: New file, from GNU gettext and gnulib.
* srclib/Makefile.am (LIBADD_SOURCE): Add readlink.c.
(EXTRA_DIST, stdbool.h): Use stdbool_.h instead of stdbool.h.in.
* configure.in: Invoke gl_FUNC_READLINK.
2003-06-22 Bruno Haible <bruno@clisp.org>
* src/Makefile.in (install): Link with the already installed library.
This fixes a link error on Solaris.
Reported by Paul Eggert.
2003-06-08 Bruno Haible <bruno@clisp.org>
* srclib/canonicalize.c (__getcwd) [VMS]: Pass 3 arguments to getcwd.
2003-05-02 Bruno Haible <bruno@clisp.org>
Support for libtool-1.5.
* srclib/progname.c (set_program_name): Remove a leading
"<dirname>/.libs/lt-" or "<dirname>/.libs/", not only "lt-".
2003-06-23 Bruno Haible <bruno@clisp.org>
Avoid compilation units that are empty after preprocessing.
* srclib/canonicalize.c: Add dummy declaration.
* srclib/strerror.c: Likewise.
* srclib/error.c: Include <stdio.h> even if there's nothing to be
compiled.
2003-06-22 Bruno Haible <bruno@clisp.org>
Portability to mingw32.
* m4/ssize_t.m4: New file, from GNU gettext.
* m4/xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
Reported by Jeff Bonggren <jbon@cfl.rr.com>.
2003-06-22 Bruno Haible <bruno@clisp.org>
Portability to mingw32.
* lib/relocatable.c [WIN32]: Include <windows.h>.
* srclib/relocatable.c: Likewise.
Reported by Jeff Bonggren <jbon@cfl.rr.com>.
2003-06-22 Bruno Haible <bruno@clisp.org>
* lib/relocatable.c (compute_curr_prefix): Comment out this function in
the case when it is not used.
* srclib/relocatable.c (compute_curr_prefix): Likewise.
Reported by Pavel Roskin <proski@gnu.org>.
2003-06-18 Bruno Haible <bruno@clisp.org>
* config/install-sh: Update from automake-1.7.5.
2003-06-16 Bruno Haible <bruno@clisp.org>
* lib/encodings.def (ISO-8859-15): Add alias LATIN-9.
(ISO-8859-16): Add aliases ISO_8859-16:2001, LATIN10, L10. Remove alias
ISO_8859-16:2000.
(GBK): Add aliases MS936, WINDOWS-936.
Reported by Guido Flohr <guido@imperia.net>.
2003-05-09 Bruno Haible <bruno@clisp.org>
* srclib/canonicalize.c: Add #ifdef around versioned_symbol. Avoids an
"extraneous semicolon" warning from Tru64 cc.
2003-06-07 Bruno Haible <bruno@clisp.org>
* Makefile.devel (config.h_vms): Don't define HAVE_ENVIRON_DECL.
* Makefile.vms (config.h): New rule.
(all, install): Depend on it.
(all, install, installdirs, uninstall, check): Fix typo.
(mostlyclean, clean, distclean, maintainer-clean): Likewise. Remove
config.h.
* lib/Makefile.vms (DEFS): Fix value of INSTALLDIR.
(OBJECTS): Use libiconv.obj instead of iconv.obj.
(libiconv.obj): Renamed from iconv.obj.
* srclib/Makefile.vms (INCLUDES): Add parent directory.
(OBJECTS): Remove strtoul.obj, setenv.obj, unsetenv.obj.
(strtoul.obj, setenv.obj, unsetenv.obj): Remove rules.
(alloca.h): New rule.
(canonicalize.obj): Depend on it.
(clean): Remove alloca.h.
* src/Makefile.vms (datadir, localedir): New variables.
(DEFS): Also define LOCALEDIR.
(iconv.obj): Add flags for relocatability,
(iconv.exe): Link with libicrt. Use link_options.
* vms/link_options.opt: New file.
Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
2003-06-07 Bruno Haible <bruno@clisp.org>
Support for relocatable data files even on Woe32.
* lib/Makefile.msvc (PICFLAGS): Also define PIC.
2003-05-22 Bruno Haible <bruno@clisp.org>
* Version 1.9.1 released.
2003-05-22 Bruno Haible <bruno@clisp.org>
* lib/genaliases.c (main): Emit %pic instead of %null-strings.
Change type of 'name' field to 'int'.
* lib/genaliases2.c (emit_encoding): Add a 'tag' argument. Emit an
invocation of macro S(), including the tag and a counter.
(main): Use the command-line argument as tag.
* Makefile.devel (lib/aliases_aix.h, lib/aliases_osf1.h,
lib/aliases_dos.h, lib/aliases_extra.h): Pass a tag to the program.
* lib/iconv.c (stringpool2_t): New type.
(stringpool2_contents): New data table.
(stringpool2): New macro.
(sysdep_aliases): Make position-independent. Move #includes out to
aliases2.h.
(aliases2_lookup): Update.
(nalias): New type.
(compare_by_index): Use 'struct nalias' instead of 'struct alias'.
(iconvlist): Convert 'struct alias' to 'struct nalias' while copying.
* lib/aliases2.h: New file, extracted from lib/iconv.c.
2003-05-20 Bruno Haible <bruno@clisp.org>
* lib/iconv.c (iconvlist): Test p->name against NULL, not against "".
Reported by Muraoka Taro <koron@tka.att.ne.jp>.
2003-05-19 Bruno Haible <bruno@clisp.org>
* windows/iconv.rc: Include <winver.h>.
Reported by Perry Rapp.
2003-05-18 Bruno Haible <bruno@clisp.org>
* Version 1.9 released.
2003-05-18 Bruno Haible <bruno@clisp.org>
* lib/Makefile.in (libiconv_plug_osf.so): Avoid using LIBTOOL_LINK.
2003-05-18 Bruno Haible <bruno@clisp.org>
* lib/Makefile.msvc (DEBUGFLAGS): New variable.
(iconv.lib): Use it.
* src/Makefile.msvc (DEBUGFLAGS): New variable.
* tests/Makefile.msvc (DEBUGFLAGS): New variable.
2003-05-17 Bruno Haible <bruno@clisp.org>
* src/Makefile.msvc (libdir, datadir, localedir): New variables.
(IIlibdir, IIdatadir, IIlocaledir): New variables.
(CFLAGS): Define LOCALEDIR.
(iconv_no_i18n.exe): New rule.
(all): Depend on it.
* tests/check-stateful.bat: Invoke iconv_no_i18n instead of iconv.
* tests/check-translit.bat: Likewise.
2003-05-16 Bruno Haible <bruno@clisp.org>
* lib/genaliases.c (main): Emit declarations for gperf-3.0.
* Makefile.devel (lib/aliases.h): Remove gperf command line options;
add new option "-m 10" for gperf-3.0.
2003-05-12 Bruno Haible <bruno@clisp.org>
* m4/error.m4: Update from gettext.
2003-05-12 Bruno Haible <bruno@clisp.org>
* configure.in: Invoke AC_GNU_SOURCE and jm_FUNC_GLIBC_UNLOCKED_IO.
2003-05-12 Bruno Haible <bruno@clisp.org>
* lib/Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
CFLAGS to PICFLAGS.
2003-05-09 Bruno Haible <bruno@clisp.org>
* srclib/error.c: Update from gnulib with modifications.
* srclib/unlocked-io.h: New file, from gnulib.
* m4/strerror_r.m4: New file, from gnulib.
* m4/unlocked-io.m4: New file, from gnulib.
* Makefile.devel (aclocal.m4): Depend on them.
2003-05-08 Bruno Haible <bruno@clisp.org>
* Makefile.msvc (IIPREFIX): New variable.
* srclib/Makefile.msvc (INCLUDES): Add -I..\windows.
* src/Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir,
IIincludedir): New variables.
(INCLUDES): Add -I..\windows.
(iconv.exe): Define INSTALLPREFIX and INSTALLDIR. Link with
../srclib/icrt.lib.
Patches by Perry Rapp.
2003-05-07 Bruno Haible <bruno@clisp.org>
* README.woe32: Fix instructions for step 1.
* srclib/Makefile.msvc (OBJECTS): Remove strtoul.obj.