Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2017-01-30 Bruno Haible <bruno@clisp.org>
Prepare for version 1.15.
* src/iconv.c (print_version): Update copyright year.
* windows/iconv.rc: Likewise.
* windows/libiconv.rc: Likewise.
2016-12-29 Bruno Haible <bruno@clisp.org>
Make Makefile.devel consistent with .gitignore.
* Makefile.devel (srclib/Makefile.in): Depend on aclocal.m4.
(totally-clean): Remove also aclocal.m4.
2016-12-25 Bruno Haible <bruno@clisp.org>
Tweak autogen.sh.
* autogen.sh: Emit a "done" diagnostic when autogen.sh completed
successfully.
2016-12-25 Bruno Haible <bruno@clisp.org>
Reorder Makefile.devel.
* Makefile.devel: Reorder: put gnulib targets before autotools targets.
2016-12-14 Bruno Haible <bruno@clisp.org>
Cleanup useless removals.
* lib/Makefile.in (distclean): No need to remove 'libtool'.
2016-12-04 Bruno Haible <bruno@clisp.org>
Update comments.
* Makefile.devel: Update comments about release process.
2016-12-04 Bruno Haible <bruno@clisp.org>
Create tarballs through an Automake-like "make dist" command.
* Makefile.in (SOURCE_FILES, LIBTOOL_IMPORTED_FILES,
AUTOMAKE_OLD_IMPORTED_FILES, AUTOMAKE_IMPORTED_FILES, IMPORTED_FILES,
GENERATED_FILES, DISTRIBUTED_BUILT_FILES, DISTFILES): New macros.
(distdir): New target.
(PACKAGE, VERSION, TAR, GZIP): New macros.
(dist): New target.
* lib/Makefile.in (SOURCE_FILES, IMPORTED_FILES, GENERATED_FILES,
DISTRIBUTED_BUILT_FILES, DISTFILES): New macros.
(distdir): New target.
* man/Makefile.in (SOURCE_FILES, IMPORTED_FILES, GENERATED_FILES,
DISTRIBUTED_BUILT_FILES, DISTFILES): New macros.
(distdir): New target.
* preload/Makefile.in (SOURCE_FILES, IMPORTED_FILES, GENERATED_FILES,
DISTRIBUTED_BUILT_FILES, DISTFILES): New macros.
(distdir): New target.
* src/Makefile.in (SOURCE_FILES, IMPORTED_FILES, GENERATED_FILES,
DISTRIBUTED_BUILT_FILES, DISTFILES): New macros.
(distdir): New target.
* tests/Makefile.in (SOURCE_FILES, IMPORTED_FILES, GENERATED_FILES,
DISTRIBUTED_BUILT_FILES, DISTFILES): New macros.
(distdir): New target.
2016-12-04 Bruno Haible <bruno@clisp.org>
Remove duplicates of imported files from version control.
* autogen.sh: Copy imported files to libcharset.
2016-12-04 Bruno Haible <bruno@clisp.org>
Always use the newest released copies of files brought in from Automake.
* Makefile.devel (srclib/Makefile.in): Make sure to get new versions of
files brought in by automake.
* build-aux/install-sh: Remove from version control.
* build-aux/missing: Likewise.
2016-12-04 Bruno Haible <bruno@clisp.org>
Always use the newest copies of config.guess, config.sub.
* Makefile.devel (gnulib-imported-files): New target.
* autogen.sh: Invoke it.
* build-aux/config.guess: Remove from version control.
* build-aux/config.sub: Likewise.
2016-12-04 Bruno Haible <bruno@clisp.org>
Always use the newest copy of fcntl-o.m4.
* m4/fcntl-o.m4: Remove file. Rely on srcm4/fcntl-o.m4 instead.
2016-12-04 Bruno Haible <bruno@clisp.org>
Remove obsolete documentation.
* PORTS: Remove file.
2016-12-03 Bruno Haible <bruno@clisp.org>
Make Makefile.devel more useful for the users of the released tarball.
* Makefile.devel (srclib/Makefile.gnulib): Don't force this target.
(gnulib-clean): New target.
(totally-clean): New target. Do the removals from autogen.sh. Also,
remove lib/aliases*.gperf, lib/canonical*.h, man/iconvctl.3.html,
man/iconv_open_into.3.html.
* autogen.sh: Invoke target gnulib-clean before srclib/Makefile.gnulib.
Invoke target totally-clean before all.
* preload/Makefile.devel (totally-clean): New target.
2016-12-03 Bruno Haible <bruno@clisp.org>
Modernize configure.ac.
* configure.ac: Use 2-argument AC_INIT. Avoid an AM_INIT_AUTOMAKE
warning.
* preload/configure.ac: Use 2-argument AC_INIT. Use AC_CONFIG_SRCDIR.
2016-12-03 Bruno Haible <bruno@clisp.org>
Towards reproducible builds.
* Makefile.devel (man/%.html): Remove the CreationDate comment line
from the output.
2016-12-04 Bruno Haible <bruno@clisp.org>
Update to gettext-0.19.8.1.
* ABOUT-NLS: Update through 'gettextize'.
2016-12-03 Bruno Haible <bruno@clisp.org>
Update documentation.
* HACKING: Refer to the Git repository.
2016-12-03 Bruno Haible <bruno@clisp.org>
Avoid compilation warnings in 'genflags' program.
* lib/genflags.c: Avoid warnings from GCC's -Wunused-function option.
2016-12-02 Bruno Haible <bruno@clisp.org>
* relocatable.c: Update from gnulib.
2016-11-25 Bruno Haible <bruno@clisp.org>
Prepare for version 1.15.
* configure.ac: Bump version number to 1.15.
* README: Likewise.
* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
* windows/iconv.rc: Update.
* windows/libiconv.rc: Update.
* Makefile.devel: Update comments.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 8:0:6.
* src/iconv.c (print_version): Update copyright year.
2016-11-23 Bruno Haible <bruno@clisp.org>
Update installation instructions for Windows.
* README.windows: Assume a 64-bit Windows. Explain both 32-bit and
64-bit builds. Add instructions for the MS Visual C/C++ tool chain.
Revamp instructions for Cygwin.
2016-11-23 Bruno Haible <bruno@clisp.org>
Drop the nickname "woe32".
* README.windows: Renamed from README.woe32.
2016-11-22 Bruno Haible <bruno@clisp.org>
Update support for building with MSVC.
* Makefile.devel (srclib/Makefile.in): Import 'ar-lib' and 'compile'
from gnulib.
* lib/Makefile.in (install-lib, install): Install the .la file with
$(INSTALL), not $(INSTALL_DATA). Otherwise the native Windows DLL gets
installed without execution permissions, and programs linked to it fail:
in a Cygwin shell with exit code 127, or from a cmd.exe window with a
dialog "The application was unable to start correctly (0xc0000022)."
2016-11-19 Bruno Haible <bruno@clisp.org>
Fix link error when compiling with gcc -O0.
* lib/iconv.c (aliases2_lookup): Make static.
Reported by Chung-Lin Tang <chunglin.tang@gmail.com>
at https://savannah.gnu.org/bugs/?47953 .
2016-11-17 Bruno Haible <bruno@clisp.org>
UTF-8: Reject surrogates and out-of-range code points.
* lib/utf8.h (utf8_mbtowc, utf8_wctomb): Reject code points in the
range 0xD800..0xDFFF and >= 0x110000.
* tests/genutf8.c (main): Don't emit mappings for 0xD800..0xDFFF.
2016-10-22 Bruno Haible <bruno@clisp.org>
Switch to libtool 2.4.6.
* m4/libtool.m4: Update from libtool-2.4.6, with modifications:
2008-04-06 Bruno Haible <bruno@clisp.org>
* 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: Likewise.
* m4/ltversion.m4: Likewise.
* build-aux/ltmain.sh: Likewise.
2016-10-14 Bruno Haible <bruno@clisp.org>
Use 'size_t', not 'int', for the length of a string.
* lib/iconv.c: Include <limits.h>.
* lib/genflags.c: Likewise.
* lib/converters.h (struct mbtowc_funcs, struct wctomb_funcs): Change
'int n' parameter to 'size_t n'.
(RET_COUNT_MAX): New macro.
* lib/*.h: Use 'size_t n' instead of 'int n'.
* lib/ucs2.h (ucs2_mbtowc): Make sure 'count' does not cause an 'int'
overflow.
* lib/ucs4.h (ucs4_mbtowc): Likewise.
* lib/utf16.h (utf16_mbtowc): Likewise.
* lib/utf32.h (utf32_mbtowc): Likewise.
* tools/8bit_tab_to_h.c: Generate function signatures with 'size_t n'.
* tools/cjk_tab_to_h.c: Likewise.
* NEWS: Mention the change.
2016-10-04 Bruno Haible <bruno@clisp.org>
Extend CP1255 mapping.
* lib/cp1255.h (cp1255_2uni, cp1255_page05): Map 0xCA to U+05BA.
* tests/CP1255.TXT: Likewise.
This matches http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/bestfit1255.txt
and what the native Windows converter does since at least Windows XP.
2016-10-01 Ben Noordhuis <info@bnoordhuis.nl> (tiny change)
Bruno Haible <bruno@clisp.org>
Remove large stack requirement from gentranslit.
* lib/gentranslit.c (main): Heap-allocate large arrays.
* Makefile.devel (lib/translit.h): Remove 'ulimit -s unlimited' command.
2015-12-10 Ben Noordhuis <info@bnoordhuis.nl> (tiny change)
Remove unused array from gentranslit.
* lib/gentranslit.c (main): Remove unused array.
* Makefile.devel (CC): Add -Wall option.
Reported in https://savannah.gnu.org/bugs/?46663 .
2016-10-01 Bruno Haible <bruno@clisp.org>
Fix bug #41187.
* src/iconv.c (main): Increment i after parsing the --silent option.
Reported in https://savannah.gnu.org/bugs/?41187 .
2016-10-01 Bruno Haible <bruno@clisp.org>
Update to current gnulib.
* Makefile.devel (GNULIB_MODULES): Remove memmove.
* tests/Makefile.in (INCLUDES): Make sure to include the top-level
"config.h". Needed for the 'binary-io' module.
2016-10-01 Bruno Haible <bruno@clisp.org>
Switch to automake 1.15.
* autogen.sh: Update comment.
* Makefile.devel (AUTOMAKE, ACLOCAL): Switch to version 1.15.
(srclib/Makefile.in): Don't remove auxiliary files brought in by
automake.
* preload/Makefile.devel (ACLOCAL): Switch to version 1.15.
* srclib/Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects.
* build-aux/missing: Update from automake-1.15.
2016-10-01 Bruno Haible <bruno@clisp.org>
Remove autogenerated doc files from version control.
* man/iconvctl.3.html: Remove file.
* man/iconv_open_into.3.html: Remove file.
2012-12-06 Bruno Haible <bruno@clisp.org>
Change copyright holder of man pages.
* man/*.[13]: Replace myself with FSF.
2012-06-30 Bruno Haible <bruno@clisp.org>
Make it possible to run 'genaliases2' on native Windows.
* lib/genaliases2.c (main): Expect 3 arguments. Open the output files
explicitly. Complain if they don't exist.
* Makefile.devel (lib/aliases_*.h): Pass the output filenames as
arguments to genaliases.
Reported at <http://savannah.gnu.org/bugs/?36748>.
Make it possible to run 'genaliases' on native Windows.
* lib/genaliases.c (main): Expect 3 arguments. Open the output files
explicitly. Complain if they don't exist. Improve error checking.
* Makefile.devel (lib/aliases*.h): Pass the output filenames as
arguments to genaliases.
Reported at <http://savannah.gnu.org/bugs/?36748>.
2012-05-13 Bruno Haible <bruno@clisp.org>
Tweak the GB18030 converter to map 0x8135F437 to U+E7C7.
* lib/gb18030.h (gb18030_pua2charset, gb18030_wctomb): Remove mapping
from U+E7C7 to 0xA8BC.
* lib/gb18030uni.h (gb18030uni_mbtowc): Treat 0x8135F437 as a special
case.
(gb18030uni_wctomb): Treat U+E7C7 as a special case.
* tests/GB18030-BMP.TXT: Map 0x8135F437 to U+E7C7, not U+1E3F.
* tests/GB18030.IRREVERSIBLE.TXT: Remove irreversible mappings for
0x8135F437 and U+E7C7.
2012-04-28 Bruno Haible <bruno@clisp.org>
Switch to autoconf 2.69 and automake 1.12.
* autogen.sh: Update comment.
* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.69.
(AUTOMAKE, ACLOCAL): Switch to version 1.12.
* preload/Makefile.devel (AUTOCONF): Switch to version 2.69.
(ACLOCAL): Switch to version 1.12.
2012-03-24 Bruno Haible <bruno@clisp.org>
Avoid a GCC warning.
* lib/isoir165.h (isoir165_mbtowc): Don't shadow the 'ret' variable.
2012-01-26 Bruno Haible <bruno@clisp.org>
Modernize quoting.
* README: Quote 'like this', not `like this', as per the recent change
to the GNU coding standards.
* NOTES: Likewise.
* gnulib-local/lib/xmalloc.c: Likewise.
* lib/config.h.in: Likewise.
* src/iconv.c (usage): Likewise.
* tests/uniq-u.c: Likewise.
* tools/cjk_tab_to_h.c (output_uni2charset_sparse, do_jisx0213):
Likewise.
* lib/big5.h: Update accordingly.
* lib/cns11643_inv.h: Likewise.
* lib/cp932ext.h: Likewise.
* lib/cp950ext.h: Likewise.
* lib/gb12345ext.h: Likewise.
* lib/gb2312.h: Likewise.
* lib/gbkext_inv.h: Likewise.
* lib/hkscs1999.h: Likewise.
* lib/hkscs2001.h: Likewise.
* lib/hkscs2004.h: Likewise.
* lib/hkscs2008.h: Likewise.
* lib/isoir165ext.h: Likewise.
* lib/jisx0208.h: Likewise.
* lib/jisx0212.h: Likewise.
* lib/jisx0213.h: Likewise.
* lib/ksc5601.h: Likewise.
* lib/uhc_1.h: Likewise.
* lib/uhc_2.h: Likewise.
2012-01-15 Bruno Haible <bruno@clisp.org>
Support for MSVC 9.
* lib/config.h.in (inline, mode_t, ssize_t): Copy snippets from top
config.h.in.
* tests/genutf8.c: Include config.h.
* tests/gengb18030z.c: Likewise.
* woe32dll/export.h (VARIABLE): Define to empty if not using GCC.
2011-01-28 Bruno Haible <bruno@clisp.org>
Add a comment.
* woe32dll/export.h: Add a reference to the woe32dll writeup.
2012-01-06 Bruno Haible <bruno@clisp.org>
Update after gnulib changed.
* gnulib-local/lib/error.h.diff: Update.
2012-01-06 Bruno Haible <bruno@clisp.org>
Talk about "native Windows API", not "Woe32".
* lib/relocatable.c: Update comments to mention native Windows.
2012-01-04 Bruno Haible <bruno@clisp.org>
Talk about "native Windows API", not "Win32".
* lib/relocatable.c: Update comments to mention native Windows.
(WINDOWS_NATIVE): Renamed from WIN32_NATIVE.
2011-10-27 Bruno Haible <bruno@clisp.org>
Fix bug with error handling in UCS-2, UCS-4, UTF-32 decoders.
* lib/ucs2.h (ucs2_mbtowc): Increment count only after validating wc.
* lib/ucs4.h (ucs4_mbtowc): Likewise.
* lib/utf32.h (utf32_mbtowc): Likewise.
Reported at <https://savannah.gnu.org/bugs/?34916>.
2012-06-30 Bruno Haible <bruno@clisp.org>
Improve ISO-2022-CP-MS versus CP932.
* lib/iso2022_jpms.h (iso2022_jpms_mbtowc): Recognize characters from
the rows 0x79..0x7C as rows from CP932.
* tests/ISO-2022-JP-MS-snippet.alt: New file, renamed from
tests/ISO-2022-JP-MS-snippet.
* tests/ISO-2022-JP-MS-snippet.UTF-8: Update the rows that correspond
to ESC $ B 0x79..0x7C.
* tests/ISO-2022-JP-MS-snippet: Likewise.
* tests/check-stateful: Also test the *-snippet.alt file if it exists.
* tests/check-stateful.bat: Likewise.
2012-06-30 Bruno Haible <bruno@clisp.org>
Improve ISO-2022-CP-MS versus CP932.
* lib/cp50221_0208_ext.h (cp50221_0208_ext_page30): Map U+301D like
U+301E.
* lib/iso2022_jpms.h (iso2022_jpms_wctomb): Map U+663B to JISX0208
0x7A 0x36, U+FFE2 to 0x7C 0x7B, U+FFE4 to 0x7C 0x7C.
Reported by Jeff Diehl <diehl.jeff@gmail.com>.
2011-10-23 Bruno Haible <bruno@clisp.org>
New encoding ISO-2022-CP-MS.
* NOTES: Mention ISO-2022-JP-MS.
* tools/CP50221-0208-EXT.TXT: New file.
* tools/CP50221-0212-EXT.TXT: New file.
* tools/8bit_tab_to_h.c: Add comments about how to generate
cp50221_0208_ext.h, cp50221_0212_ext.h.
* tools/Makefile: Add rules for generating cp50221_0208_ext.h,
cp50221_0212_ext.h.
* lib/cp50221_0208_ext.h: New file, mostly generated.
* lib/cp50221_0212_ext.h: New file, mostly generated.
* lib/iso2022_jpms.h: New file.
* lib/converters.h: Include it.
* lib/encodings.def: Add ISO-2022-JP-MS.
* README, man/iconv_open.3: Add ISO-2022-JP-MS.
* tests/ISO-2022-JP-MS-snippet: New file.
* tests/ISO-2022-JP-MS-snippet.UTF-8: New file.
* tests/Makefile.in (check): Also test ISO-2022-JP-MS.
Reported by Jeff Diehl <diehl.jeff@gmail.com>.
2011-10-23 Bruno Haible <bruno@clisp.org>
* lib/encodings.def: Add comments about Windows names of encodings.
2011-10-18 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update from libtool-2.4.2, with modifications:
2008-04-06 Bruno Haible <bruno@clisp.org>
* 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: Likewise.
* m4/ltversion.m4: Likewise.
* build-aux/ltmain.sh: Likewise.
2011-10-03 Bruno Haible <bruno@clisp.org>
* lib/relocatable.c: Update from gnulib.
2011-09-02 Bruno Haible <bruno@clisp.org>
Fix "make check" failure when $(srcdir) != $(builddir).
* tests/Makefile.in (check): When $(srcdir) != ., temporarily copy
GB18030.IRREVERSIBLE.TXT into the build directory.
Reported by Christian Weisgerber <naddy@mips.inka.de>.
2011-08-07 Bruno Haible <bruno@clisp.org>
Ensure all HTML-formatted man pages are up-to-date.
* Makefile.devel (all): Depend on man/iconvctl.3.html and
man/iconv_open_into.3.html.
2011-08-07 Bruno Haible <bruno@clisp.org>
* Version 1.14 released.
2011-08-07 Bruno Haible <bruno@clisp.org>
* configure.ac: Bump version number to 1.14.
* README: Likewise.
* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
* windows/iconv.rc: Update.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 7:1:5.
* src/iconv.c (print_version): Update copyright year.
2011-08-07 Bruno Haible <bruno@clisp.org>
Avoid a test failure on Solaris 2.6 and HP-UX 11.00.
* tests/test-to-wchar.c (main): Skip the test if conversion to wchar_t
is not supported.
2011-08-07 Bruno Haible <bruno@clisp.org>
* tests/check-subst: Add comments about OSF/1.
2011-08-07 Bruno Haible <bruno@clisp.org>
* lib/relocatable.c: Update from gnulib.
2011-08-06 Bruno Haible <bruno@clisp.org>
Upgrade the GB18030 converter to the version from 2005.
* lib/gb18030ext.h (gb18030ext_2uni_pagefe): Change element type to
'unsigned int'. Change values for 0xFE51..0xFE53, 0xFE59, 0xFE61,
0xFE66, 0xFE67, 0xFE6C, 0xFE6D, 0xFE76, 0xFE7E, 0xFE90, 0xFE91, 0xFEA0.
(gb18030ext_mbtowc): Change type of wc to 'unsigned int'. Change values
for 0xA6D9..0xA6DF, 0xA6EC..0xA6ED, 0xA6F3, 0xA8BC.
(gb18030ext_page9f, gb18030ext_pagefe): New constant arrays.
(gb18030ext_wctomb): Change values for U+1E3F, U+9FB4..U+9FBB,
U+FE10..U+FE19, U+20087, U+20089, U+200CC, U+215D7, U+2298F, U+241FE.
* tests/GB18030-BMP.TXT: Change values for 0xA6D9..0xA6DF,
0xA6EC..0xA6ED, 0xA6F3, 0xA8BC, 0xFE51..0xFE53, 0xFE59, 0xFE61, 0xFE66,
0xFE67, 0xFE6C, 0xFE6D, 0xFE76, 0xFE7E, 0xFE90, 0xFE91, 0xFEA0, to map
to now-assigned Unicode codepoints.
* tests/GB18030.IRREVERSIBLE.TXT: New file.
2011-08-06 Bruno Haible <bruno@clisp.org>
Fix conversion bug in CP1258 converter.
* lib/vietcomb.h (viet_comp_table_data): Remove entry for
U+00A5 U+0301. Fix entry for U+00A8 U+0301.
(viet_decomp_table): Fix entry for U+0385.
* tests/CP1258.IRREVERSIBLE.TXT: Update.
Reported by Gertjan Halkes <gertjan@ghalkes.nl>.
2011-07-03 Bruno Haible <bruno@clisp.org>
Improve interactive behaviour of iconv program.
* src/iconv.c (convert): Flush the output before starting a possibly
blocking safe_read call.
2011-07-03 Bruno Haible <bruno@clisp.org>
Fix interactive behaviour of iconv program.
* Makefile.devel (GNULIB_MODULES): Add safe-read.
* src/iconv.c: Include safe-read.h.
(convert): Take the infile as a file descriptor, not as a FILE stream.
Use safe_read() instead of fread().
(main): Update.
Reported by Xavier Pucel <xpucel@hotmail.com>.
2011-05-02 Bruno Haible <bruno@clisp.org>
Update after gnulib changed.
* autogen.sh (GNULIB_MODULES): Remove exit, add stdlib.
2011-06-02 Bruno Haible <bruno@clisp.org>
Update after gnulib changed.
* gnulib-local/m4/alloca.m4 (gl_FUNC_ALLOCA): Update.
2011-06-04 Bruno Haible <bruno@clisp.org>
Work around <wchar.h> bug on OSF/1 5.1.
* lib/loop_wchar.h: Before including <wchar.h>, include <stdio.h> and
some other includes.
2011-03-27 KO Myung-Hun <komh@chollian.net>
Fix installation on OS/2.
* src/Makefile.in (all, iconv_no_i18n): Add $(EXEEXT) suffix to
iconv_no_i18n. This is the recommended way to use libtool, see
<http://lists.gnu.org/archive/html/bug-libtool/2009-04/msg00013.html>.
2011-03-31 Bruno Haible <bruno@clisp.org>
gentranslit: Fix buffer overrun.
* lib/gentranslit.c (main): Allocate more room for the suffix strings
of the translit pages.
Reported by Ben Noordhuis <info@bnoordhuis.nl>.
2011-02-28 Bruno Haible <bruno@clisp.org>
* lib/relocatable.h: Update from gnulib.
* lib/relocatable.c: Likewise.
2011-01-29 Corinna Vinschen <corinna-cygwin@cygwin.com>
Bruno Haible <bruno@clisp.org>
Simplify "wchar_t" handling on Cygwin 1.7.x.
* lib/iconv.c (iconv_canonicalize): On Cygwin >= 1.7, map
ei_local_wchar_t to ei_utf16le or ei_utf16be, not ei_ucs2internal.
* lib/iconv_open1.h: Likewise.
Rationale: <http://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
2011-01-29 Bruno Haible <bruno@clisp.org>
Adjust the meaning of "wchar_t" on native Windows systems.
* lib/iconv.c (iconv_canonicalize): On native Windows, map
ei_local_wchar_t to ei_utf16le or ei_utf16be, not ei_ucs2internal.
* lib/iconv_open1.h: Likewise.
Reported by Corinna Vinschen <corinna-cygwin@cygwin.com>
in <http://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
2010-11-23 Bruno Haible <bruno@clisp.org>
Implement newer release of BIG5-HKSCS.
* tools/Makefile (ALL): Add hkscs2008.h.
(hkscs2008.h): New rule.
* tools/cjk_tab_to_h.c (main): Recognize hkscs2008.
* lib/encodings.def: Add BIG5-HKSCS:2008. Change BIG5-HKSCS alias to be
equivalent to BIG5-HKSCS:2008.
* lib/hkscs2008.h: New file, autogenerated.
* lib/big5hkscs2008.h: New file, based on lib/big5hkscs2004.h.
* lib/converters.h: Include the new file.
* README, man/iconv_open.3: Add BIG5-HKSCS:2004.
* tests/BIG5-HKSCS-2008.TXT: New file, based on
tests/BIG5-HKSCS-2004.TXT.
* tests/BIG5-HKSCS-2008.IRREVERSIBLE.TXT: New file, copied from
tests/BIG5-HKSCS-2004.IRREVERSIBLE.TXT
* tests/BIG5-HKSCS-2008-snippet: New file, based on
tests/BIG5-HKSCS-2004-snippet.
* tests/BIG5-HKSCS-2008-snippet.UTF-8: New file, based on
tests/BIG5-HKSCS-2004-snippet.UTF-8.
* tests/Makefile.in (check): Check also BIG5-HKSCS:2008.
Reported by oCameLo <camel322@gmail.com>.
2010-11-23 Bruno Haible <bruno@clisp.org>
Make cjk_tab_to_h 64-bit clean.
* tools/cjk_tab_to_h.c (do_jisx0213): Add a cast from size_t to int.
(output_title): Update copyright year.
2010-09-23 Bruno Haible <bruno@clisp.org>
Switch to autoconf 2.68.
* autogen.sh: Update comment.
* configure.ac: Fix AC_COMPILE_IFELSE invocation.
* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.68.
* preload/Makefile.devel (AUTOCONF): Likewise.
2010-09-23 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update from libtool-2.4, with modifications:
2008-04-06 Bruno Haible <bruno@clisp.org>
* 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/ltversion.m4: Update from libtool-2.4.
* build-aux/ltmain.sh: Likewise.
2010-09-23 Bruno Haible <bruno@clisp.org>
Simplify use of gnulib-tool now that gnulib-tool --import works better.
* autogen.sh: Don't remove gnulib-cache.m4 before running gnulib-tool.
* Makefile.devel (srclib/Makefile.gnulib): Depend on 'force'.
2010-07-31 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.67.
* preload/Makefile.devel (AUTOCONF): Likewise.
2010-07-03 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.66.
* preload/Makefile.devel (AUTOCONF): Likewise.
2010-06-04 Bruno Haible <bruno@clisp.org>
Addendum to 2009-10-18 commit.
* m4/fcntl-o.m4: New file, from gnulib.
* configure.ac: Invoke gl_FCNTL_O_FLAGS.
* lib/config.h.in (HAVE_WORKING_O_NOFOLLOW): New macro.
2010-06-04 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update from libtool-2.2.8, with modifications:
2008-04-06 Bruno Haible <bruno@clisp.org>
* 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: Update from libtool-2.2.8.
* m4/ltversion.m4: Likewise.
* m4/lt~obsolete.m4: Likewise.
* build-aux/ltmain.sh: Likewise.
2010-04-06 Bruno Haible <bruno@clisp.org>
Avoid a compilation error of gnulib's test-iconv-h-c++.cc on mingw.
* include/iconv.h.in: Restrict the extern "C" { ... } scope so that it
doesn't contains #include directives.
2010-03-30 Bruno Haible <bruno@clisp.org>
* README.woe32: Update for Cygwin 1.7.x.
2009-12-26 Bruno Haible <bruno@clisp.org>
* windows/libiconv.rc: Update.
* windows/iconv.rc: Update.
2009-12-11 Bruno Haible <bruno@clisp.org>
* include/iconv.h.in: Untabify.
* gnulib-local/lib/xalloc.h: Untabify.
* woe32dll/export.h: Untabify.
* tests/uniq-u.c: Untabify.
2009-12-11 Bruno Haible <bruno@clisp.org>
* srclib/Makefile.am (MOSTLYCLEANDIRS): New macro.
2009-12-11 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.65.
* preload/Makefile.devel (AUTOCONF): Likewise.
2009-11-22 Bruno Haible <bruno@clisp.org>
* tests/check-subst: Add reference to the Solaris printf bug.
Reported by Dagobert Michelsen <dagobert@familie-michelsen.de>.
2009-09-01 Bruno Haible <bruno@clisp.org>
* README.woe32: Put the -mno-cygwin option into CC and CXX.
Recommended by Paolo Bonzini and Eric Blake.
2009-08-15 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.64.
* preload/Makefile.devel (AUTOCONF): Likewise.
2009-08-15 Bruno Haible <bruno@clisp.org>
Use .git/info/exclude, not .gitignore, for imported or generated files.
* Makefile.devel (srclib/Makefile.gnulib): Pass option --no-vc-files to
gnulib-tool.
2009-07-07 Bruno Haible <bruno@clisp.org>
Fix an endless loop.
* lib/loop_wchar.h (wchar_to_loop_convert): Handle the case of
incomplete input correctly.
* tests/test-to-wchar.c: New file.
* tests/Makefile.in (tests-to-wchar, tests-to-wchar.o): New rules.
(check): Depend on and run tests-to-wchar.
(clean): Add tests-to-wchar.
Reported by Tristan Gingold <gingold@adacore.com>.
2009-06-30 Bruno Haible <bruno@clisp.org>
* Version 1.13.1 released.
2009-06-30 Bruno Haible <bruno@clisp.org>
* configure.ac: Bump version number to 1.13.1.
* README: Likewise.
2009-06-04 Bruno Haible <bruno@clisp.org>
* preload/Makefile.devel (AUTOCONF): Switch to version 2.63.
(ACLOCAL): Switch to version 1.11.
2009-05-19 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOMAKE, ACLOCAL): Switch to version 1.11.
* autogen.sh: Update comments.
2009-04-24 Bruno Haible <bruno@clisp.org>
Fix a compilation error on HP-UX 11.00, introduced on 2008-09-16.
* src/iconv_open2.h: Don't initialize nonexistent field if
!(HAVE_WCRTOMB || HAVE_MBRTOWC).
Patch by Joel Brobecker <brobecker@adacore.com>.
2009-04-15 Bruno Haible <bruno@clisp.org>
* src/Makefile.in (install, uninstall): Append the $(EXEEXT) suffix
explicitly. Needed on Cygwin.
2009-04-11 Bruno Haible <bruno@clisp.org>
* configure.ac: Move the statements for WOE32 and WINDRES.
2009-03-26 Bruno Haible <bruno@clisp.org>
* Version 1.13 released.
2009-03-26 Bruno Haible <bruno@clisp.org>
* src/iconv.c: Update copyright header to GPLv3+.
(print_version): Update license info.
2009-03-26 Bruno Haible <bruno@clisp.org>
* src/iconv.c (print_version): Bump year.
2009-03-25 Bruno Haible <bruno@clisp.org>
* build-aux/config.guess: Update to GNU version 2009-02-03.
* build-aux/config.sub: Likewise.
2009-03-25 Bruno Haible <bruno@clisp.org>
* configure.ac: Bump version number to 1.13.
* README: Likewise.
* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
* windows/iconv.rc: Update.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 7:0:5.
2009-03-25 Bruno Haible <bruno@clisp.org>
Fix the handling of Windows resources in shared libraries.
* configure.ac: Invoke LT_LANG for 'Windows Resource'.
* lib/Makefile.in (RC): New variable.
(WINDRES): Remove variable.
(OBJECTS_RES_yes): Add .lo suffix.
(libiconv.res.lo): Renamed from libiconv.res. Use libtool --tag=RC.
(clean): Simplify.
Based on a patch by Roumen Petrov <bugtrack@roumenpetrov.info>.
2009-03-14 Bruno Haible <bruno@clisp.org>
* autogen.sh: Checkout gnulib using 'git' instead of 'cvs'.
2009-01-24 Bruno Haible <bruno@clisp.org>
* tools/Makefile (ALL): Add cp1131.h.
(cp1131.h): New rule.
* lib/encodings.def: Add CP1131.
* lib/cp1131.h: New file.
* lib/converters.h: Include it.
* README, man/iconv_open.3: Add CP1131.
* NOTES: Mention CP1131.
* tests/CP1131.TXT: New file.
* tests/Makefile.in (check): Also test CP1131.
2009-01-17 Bruno Haible <bruno@clisp.org>
Add support for "make install-strip".
* configure.ac: Search for 'strip'. Invoke AM_PROG_INSTALL_STRIP.
* Makefile.in (install-strip): New rule.
* src/Makefile.in (STRIP, INSTALL_STRIP_PROGRAM, install_sh): New
variables.
(install-strip): New rule.
* lib/Makefile.in (install-strip): New target.
* preload/Makefile.in (install-strip): Likewise.
* man/Makefile.in (install-strip): Likewise.
Reported by Alon Bar-Lev <alon.barlev@gmail.com>.
2009-01-17 Bruno Haible <bruno@clisp.org>
Update after gnulib changed.
* src/Makefile.in (RELOCATABLE_STRIP): New variable.
2009-01-17 Bruno Haible <bruno@clisp.org>
Make --enable-relocatable work on glibc systems.
* src/Makefile.in (host): New variable.
2009-01-17 Bruno Haible <bruno@clisp.org>
* lib/genflags.c: Include <string.h>.
2009-01-14 Bruno Haible <bruno@clisp.org>
* configure.ac: More consistent m4 quoting.
* preload/configure.ac: Likewise.
2008-09-28 Bruno Haible <bruno@clisp.org>
* build-aux/ltmain.sh (func_emit_cwrapperexe_src): On mingw,
preprocess the argument vector through prepare_spawn.
2008-09-27 Bruno Haible <bruno@clisp.org>
* build-aux/config.guess: Update to GNU version 2008-09-08.
* build-aux/config.sub: Likewise.
2008-09-26 Bruno Haible <bruno@clisp.org>
* tests/test-shiftseq.c (main1, main2): Use ICONV_CONST.
2008-09-26 Bruno Haible <bruno@clisp.org>
* Makefile.devel (GNULIB_MODULES): Add sigpipe, stdio.
* tests/Makefile.in (check, table-from, table-to, test-shiftseq): Link
all programs against libicrt.a. Needed for the stdio function
replacements on mingw.
2008-09-21 Tadamasa Teranishi <yw3t-trns@asahi-net.or.jp>
* lib/encodings_extra.def: Add aliases for EUC-JISX0213, SHIFT_JISX0213,
ISO-2022-JP-3, found on <http://x0213.org/codetable/index.en.html>.
2008-09-20 Bruno Haible <bruno@clisp.org>
* man/iconv_open_into.3: New file.
2008-09-16 Bruno Haible <bruno@clisp.org>
New function iconv_open_into.
* include/iconv.h.in: Include <wchar.h> and its prerequisites.
(iconv_allocation_t): New type.
(iconv_open_into): New declaration.
* lib/iconv_open1.h: New file, extracted from lib/iconv.c.
* lib/iconv_open2.h: New file, extracted from lib/iconv.c.
* lib/iconv.c (iconv_open): Include iconv_open1.h and iconv_open2.h.
Verify size of iconv_allocation_t.
(iconv_open_into): New function.
* lib/loop_wchar.h (struct wchar_conv_struct): Don't define a state
field if !(HAVE_WCRTOMB || HAVE_MBRTOWC).
* configure.ac: Set and substitute USE_MBSTATE_T, BROKEN_WCHAR_H.
Reported by Roman Rybalko <romanr@romanr.info>.
2008-09-16 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.63.
2008-09-16 Bruno Haible <bruno@clisp.org>
* include/iconv.h.in: Use Unicode single-quotes in comments.
2008-09-14 Bruno Haible <bruno@clisp.org>
* Makefile.devel (GNULIB_MODULES): Add strerror.
2008-09-07 Bruno Haible <bruno@clisp.org>
Make behaviour when encountering invalid input after a shift sequence
more consistent.
* lib/converters.h (RET_SHIFT_ILSEQ): New macro.
(RET_ILSEQ): Define in terms of RET_SHIFT_ILSEQ.
(RET_TOOFEW): Change to avoid collisions with RET_SHIFT_ILSEQ.
(DECODE_SHIFT_ILSEQ, DECODE_TOOFEW): New macros.
* lib/loop_unicode.h (unicode_loop_convert): Take into account the
shift count contained in the negative return values.
* lib/hz.h (hz_mbtowc): When encountering invalid input, store the
modified state and return RET_SHIFT_ILSEQ.
* lib/iso2022_cn.h (iso2022_cn_mbtowc): Likewise.
* lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Likewise.
* lib/iso2022_jp.h (iso2022_jp_mbtowc): Likewise.
* lib/iso2022_jp1.h (iso2022_jp1_mbtowc): Likewise.
* lib/iso2022_jp2.h (iso2022_jp2_mbtowc): Likewise.
* lib/iso2022_jp3.h (iso2022_jp3_mbtowc): Likewise.
* lib/iso2022_kr.h (iso2022_kr_mbtowc): Likewise.
* lib/ucs2.h (ucs2_mbtowc): Likewise.
* lib/ucs4.h (ucs4_mbtowc): Likewise.
* lib/utf16.h (utf16_mbtowc): Likewise.
* lib/utf32.h (utf32_mbtowc): Likewise.
* lib/utf7.h (utf7_mbtowc): Likewise.
* lib/utf16be.h (utf16be_mbtowcutf16be_mbtowc): When encountering
invalid input, return RET_SHIFT_ILSEQ.
* lib/utf16le.h (utf16le_mbtowc): Likewise.
* tests/test-shiftseq.c: New file.
* tests/Makefile.in (check): Run test-shiftseq.
(test-shiftseq, test-shiftseq.@OBJEXT@): New rules.
(clean): Remove test-shiftseq executable.
Reported by Roman Rybalko <roman_rybalko@users.sourceforge.net>
at <http://savannah.gnu.org/bugs/?24216>.
2008-09-07 Bruno Haible <bruno@clisp.org>
* man/iconv.3: Clarify the processing of shift-sequences.
2008-09-07 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update from libtool-2.2.6, with modifications:
2008-04-06 Bruno Haible <bruno@clisp.org>
* 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: Update from libtool-2.2.6.
* m4/ltsugar.m4: Likewise.
* m4/ltversion.m4: Likewise.
* build-aux/ltmain.sh: Likewise.
2008-09-06 Bruno Haible <bruno@clisp.org>
* lib/gbk.h (gbk_wctomb): Fix an out-of-bounds write.
Reported by Roman Rybalko <roman_rybalko@users.sourceforge.net>
at <http://savannah.gnu.org/bugs/?24214>.
2008-06-30 Bruno Haible <bruno@clisp.org>
Fix sed expressions to work with the old sed-3.02 on MSYS.
* windows/windres-options (sed_extract_major, sed_extract_minor,
sed_extract_subminor): Put a semicolon before the closing brace. Use
an i\ command instead of an a\ command.
Reported by Sunil Negi <sunil.negi@morningstar.com>
in <http://article.gmane.org/gmane.comp.gnu.mingw.msys/4410>
via Keith Marshall <keithmarshall@users.sourceforge.net>.
2008-05-22 Bruno Haible <bruno@clisp.org>
* README.woe32: Update with info from GNU gettext's README.woe32.
2008-05-18 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update from libtool-2.2.4, with modifications:
2008-04-06 Bruno Haible <bruno@clisp.org>
* 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: Update from libtool-2.2.4.
* m4/ltversion.m4: Likewise.
* m4/lt~obsolete.m4: Likewise.
* build-aux/ltmain.sh: Likewise.
2008-04-14 Bruno Haible <bruno@clisp.org>
* tests/Makefile.in (check): Remove *.dSYM directories left over by gcc
on MacOS X 10.5.
2008-04-14 Bruno Haible <bruno@clisp.org>
* preload/configure.ac: Invoke AC_USE_SYSTEM_EXTENSIONS instead of
AC_AIX and AC_MINIX.
* Makefile.devel (AUTOCONF, AUTOHEADER): Require autoconf-2.62.
* preload/Makefile.devel (AUTOCONF): Likewise.
* autogen.sh: Likewise.
2008-04-06 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4: Update from libtool-2.2.2, with modifications:
2008-04-06 Bruno Haible <bruno@clisp.org>