-
Notifications
You must be signed in to change notification settings - Fork 22
/
ChangeLog
5838 lines (4611 loc) · 216 KB
/
ChangeLog
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
2022-05-15 Bruno Haible <[email protected]>
Switch to libtool 2.4.7.
* m4/libtool.m4: Update from libtool-2.4.7, with modifications:
2008-04-06 Bruno Haible <[email protected]>
* 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/ltsugar.m4: Likewise.
* m4/ltversion.m4: Likewise.
* m4/lt~obsolete.m4: Likewise.
* build-aux/ltmain.sh: Update from libtool-2.4.7, with modifications:
2017-07-15 Bruno Haible <[email protected]>
Allow building statically linked binaries, through
LDFLAGS="-static". Apply patch from
<https://lists.gnu.org/archive/html/bug-libtool/2017-07/msg00000.html>.
* build-aux/ltmain.sh (func_mode_help, func_mode_link): In the
link mode, accept option '-static-uninstalled-libs' in place of
'-static', and make '-static' an equivalent of '-all-static'.
2022-04-13 Bruno Haible <[email protected]>
Fix undefined behaviour.
* tests/test-shiftseq.c (main2): Make input array larger.
2022-02-12 Bruno Haible <[email protected]>
Update translations.
* po/ro.po: Update Romanian translations.
* po/wa.po: Update Walloon translations.
2022-02-12 Bruno Haible <[email protected]>
Prepare for version 1.17.
* configure.ac: Bump version number to 1.17.
* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 9:0:7.
* src/iconv.c (print_version): Update copyright year.
* windows/iconv.rc: Likewise.
* windows/libiconv.rc: Likewise.
* README: Update download link.
2022-02-12 Bruno Haible <[email protected]>
Update source file list (regression 2022-01-23).
* lib/Makefile.in (SOURCE_FILES): Add encodings_zos.def, ebcdic*.h.
(GENERATED_FILES): Add aliases_zos.h, canonical_zos.h.
* tests/Makefile.in (SOURCE_FILES): Add IBM-*.TXT.
2022-01-23 Bruno Haible <[email protected]>
Update NEWS.
* NEWS: Mention the EBCDIC encodings.
2022-01-23 Bruno Haible <[email protected]>
Optimize the EBCDIC table sizes.
* lib/converters.h (DEDUPLICATE_TABLES): New macro.
* lib/ebcdic1025.h: Deduplicate tables with ebcdic880.h.
* lib/ebcdic1123.h: Deduplicate tables with ebcdic1025.h.
* lib/ebcdic1132.h: Deduplicate tables with ebcdic838.h.
* lib/ebcdic1153.h: Deduplicate tables with ebcdic870.h.
* lib/ebcdic1154.h: Deduplicate tables with ebcdic880.h.
* lib/ebcdic1155.h: Deduplicate tables with ebcdic1026.h.
* lib/ebcdic1156.h: Deduplicate tables with ebcdic1112.h.
* lib/ebcdic1157.h: Deduplicate tables with ebcdic1122.h.
* lib/ebcdic1158.h: Deduplicate tables with ebcdic1154.h, ebcdic1123.h.
* lib/ebcdic1160.h: Deduplicate tables with ebcdic838.h.
* lib/ebcdic1164.h: Deduplicate tables with ebcdic1130.h.
* lib/ebcdic1165.h: Deduplicate tables with ebcdic870.h.
* lib/ebcdic1166.h: Deduplicate tables with ebcdic1154.h.
* lib/ebcdic4971.h: Deduplicate tables with ebcdic875.h.
* lib/ebcdic12712.h: Deduplicate tables with ebcdic424.h.
2022-01-23 Bruno Haible <[email protected]>
New EBCDIC encodings.
Reported by Ulrich Schwab and Calvin Buckley via Jack Woehr.
* NOTES: Mention how to enable EBCDIC encodings.
* tests/IBM-*.TXT: New files.
* tools/8bit_tab_to_h.c (main): Emit copyright header with year 2022.
* tools/Makefile: Add rules for generating ebcdic*.h.
* lib/ebcdic*.h: New files, automatically generated by tools/Makefile.
* lib/ebcdic838.h: Tweak reverse mapping manually.
* lib/ebcdic1160.h: Likewise.
* lib/converters.h: Include all ebcdic*.h.
* lib/encodings_zos.def: New file.
* lib/genaliases2.c: Include encodings_zos.def.
* lib/genflags.c: Likewise.
* Makefile.devel (lib/aliases_zos.h lib/canonical_zos.h): New rule.
(lib/flags.h, totally-clean): Update.
* lib/aliases2.h: Include aliases_zos.h.
* lib/iconv.c (USE_ZOS): New macro.
Include encodings_zos.def, canonical_zos.h.
* README, man/iconv_open.3: Document the IBM-* encodings.
* tests/Makefile.in (check-extra-yes): Also test the EBCDIC encodings.
2022-01-04 Bruno Haible <[email protected]>
Update after gnulib changed.
* gnulib-local/m4/alloca.m4 (gl_FUNC_ALLOCA): Set GL_GENERATE_ALLOCA_H
instead of ALLOCA_H. Drop AC_SUBST and AM_CONDITIONAL invocations.
2021-09-19 Bruno Haible <[email protected]>
tests: Avoid check-subst failures in QEMU user-mode environments.
* Makefile.devel (GNULIB_MODULES): Add stdbool.
(gnulib-imported-files): Copy also tests/qemu.h.
* tests/is-native.c: New file.
* tests/Makefile.in (is-native, is-native.@OBJEXT@): New targets.
(clean): Remove the 'is-native' program.
(SOURCE_FILES): Add is-native.c.
(IMPORTED_FILES): Add qemu.h.
* tests/check-subst: Invoke 'locale charmap' only in native
environments.
2021-06-27 Bruno Haible <[email protected]>
README: Update.
Reported at <https://savannah.gnu.org/bugs/?60837>.
* README: Overhaul the paragraph that mentions iconv.m4.
2021-06-06 Bruno Haible <[email protected]>
gnulib-local: Put real license notice into the source files.
* gnulib-local/lib/alloca.in.h: Use an LGPLv2+ notice.
2021-02-28 Bruno Haible <[email protected]>
Update DEPENDENCIES.
* DEPENDENCIES: List the normal dependencies of a package with an
Autoconf-generated configure file.
2021-02-07 Bruno Haible <[email protected]>
Support creating shared libraries on MidnightBSD.
Patch from <https://savannah.gnu.org/patch/?10007>.
* m4/libtool.m4: Treat MidnightBSD like FreeBSD.
* build-aux/ltmain.sh: Likewise.
2021-01-31 Bruno Haible <[email protected]>
Update after gnulib changed on 2020-08-26.
* configure.ac: Test $iconv_arg1, not $am_cv_proto_iconv_arg1.
2021-01-31 Bruno Haible <[email protected]>
Switch to autoconf 2.71.
* autogen.sh: Update comment.
* configure.ac: Use AS_HELP_STRING instead of AC_HELP_STRING. Invoke
AC_C_BIGENDIAN instead of CL_WORDS_LITTLEENDIAN.
* m4/eilseq.m4: Require Autoconf >= 2.61.
(AC_EILSEQ): Improve quoting. Use AC_COMPUTE_INT instead of
_AC_COMPUTE_INT.
* m4/endian.m4: Remove file.
* Makefile.in (SOURCE_FILES): Remove it.
2020-12-08 Bruno Haible <[email protected]>
Switch to autoconf 2.70.
* Makefile.devel (AUTOCONF, AUTOHEADER): Remove '-2.69' suffix.
* HACKING: Remove sentence about symbolic links.
* autogen.sh: Update comment.
2020-08-31 Bruno Haible <[email protected]>
Fix some -Wcast-qual warning, reported by clang.
* lib/iconv.c (compare_by_name): Add more 'const'.
(iconv_canonicalize): Cast value to 'unsigned char', not pointer to 'unsigned char *'.
* lib/iconv_open1.h: Likewise.
2020-08-30 Bruno Haible <[email protected]>
Make sure that build-aux/compile is in the tarball.
* autogen.sh: Fetch also 'build-aux/compile' through gnulib-tool.
* Makefile.devel (srclib/Makefile.in): Don't fetch nor delete
'build-aux/compile'.
* Makefile.in (AUTOMAKE_IMPORTED_FILES): Remove build-aux/compile.
(IMPORTED_FILES): Add build-aux/compile.
2020-08-29 Bruno Haible <[email protected]>
Update after gnulib changed.
* configure.ac (AC_PREREQ): Bump minimum Autoconf version to 2.64.
2020-08-06 Bruno Haible <[email protected]>
Avoid a GCC warning with GCC >= 7.
Reported by Reini Urban <[email protected]>
in <https://savannah.gnu.org/bugs/?58903>.
* lib/gentranslit.c (main): Reset i to 0 each time p gets a new value.
Add assertion about i's possible values.
2020-04-05 Bruno Haible <[email protected]>
Fix an autogen.sh failure (regression from 2016-12-04).
Reported by Petr Ovtchenkov <[email protected]> in
<https://lists.gnu.org/archive/html/bug-gnu-libiconv/2020-04/msg00003.html>.
* autogen.sh: Invoke also the Makefile target srclib/Makefile.in, so as
to get build-aux/install-sh. Finish the "copy files" phase before recursing
through the subpackages tree through Makefile.devel.
* Makefile.devel: Reorder targets.
2020-04-04 Bruno Haible <[email protected]>
Don't use LGPLv3.
* gnulib-local/modules/mbstate (License): Set to LGPLv2+.
2020-04-04 Bruno Haible <[email protected]>
Change the license of the library from LGPL 2.0 to LGPL 2.1.
* COPYING.LIB: Upgrade to LGPL 2.1.
2019-12-23 Bruno Haible <[email protected]>
Do export the symbol 'locale_charset' (needed by GNU bash).
* lib/Makefile.in (DEFS): Define also BUILDING_LIBCHARSET.
2019-09-01 Bruno Haible <[email protected]>
build: Add support for shallow-cloning of subdirectories.
* gitsub.sh (func_usage): Document allowed git options with 'git pull'.
(func_pull): Accept GIT_OPTIONS argument.
(pull): Parse git options before complaining about too many arguments.
Pass the git options to func_pull.
2019-07-05 Bruno Haible <[email protected]>
Don't export the symbol 'aliases_lookup' on non-ELF platforms.
* Makefile.devel (lib/aliases.h, lib/aliases_sysaix.h,
lib/aliases_syshpux.h, lib/aliases_sysosf1.h, lib/aliases_syssolaris.h):
Add a 'static' keyword in front of the declaration of aliases_lookup.
2019-07-02 Bruno Haible <[email protected]>
Update to current gnulib.
* Makefile.devel (GNULIB_MODULES): Add lib-symbol-visibility.
(srclib/Makefile.gnulib): Copy codeset.m4.
* srclib/Makefile.am (AM_CFLAGS): Initialize.
2019-07-02 Bruno Haible <[email protected]>
Drop unused macro gl_GLIBC21.
* autogen.sh: Don't copy glibc21.m4.
2019-05-22 Bruno Haible <[email protected]>
Fix comment.
Reported by Paul Hardy <[email protected]>.
* lib/jisx0213.h: Fix comment about the underlying standard version.
2019-05-11 Bruno Haible <[email protected]>
Update bug reporting instructions.
* README: Tell users to report bugs in the bug tracker or by email.
* src/iconv.c (usage): Likewise.
(print_version): Move URL out of translatable string.
2019-04-26 Bruno Haible <[email protected]>
Update translations.
$ rsync -Lrtvz translationproject.org::tp/latest/libiconv/ po/new
$ cd po/new
$ for f in *.po; do \
msgmerge --update --lang=${f%.po} --previous $f ../libiconv.pot; \
done
$ mv *.po ../
$ cd ..; rm -rf new
2019-04-26 Bruno Haible <[email protected]>
Update POT file.
$ cd po; make update-po
2019-04-26 Bruno Haible <[email protected]>
Prepare for version 1.16.
* configure.ac: Bump version number to 1.16.
* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 8:1:6.
* src/iconv.c (print_version): Update copyright year.
* windows/iconv.rc: Likewise.
* windows/libiconv.rc: Likewise.
* README: Update download link.
2019-04-26 Bruno Haible <[email protected]>
Tweak exported symbols when --enable-relocatable is used.
* lib/Makefile.in (DEFS): Map 'relocate2' to a different symbol.
2019-04-01 Bruno Haible <[email protected]>
build: Separate git operations from build operations.
* gitsub.sh: New file, from gnulib.
* .gitmodules: New file.
* autogen.sh: Remove all git operations. Look at GNULIB_SRCDIR
environment variable. Ignore the GNULIB_TOOL environment variable.
* HACKING: Explain when to use gitsub.sh.
2019-03-07 Bruno Haible <[email protected]>
Avoid signed integer overflow during shifts.
Reported by Jeffrey Walton <[email protected]>.
* lib/tcvn.h (tcvn_wctomb): Use unsigned integer type for bit mask
operation.
* lib/viscii.h (viscii_wctomb): Likewise.
2019-03-04 Bruno Haible <[email protected]>
Add support for --enable-relocatable to libcharset.
* autogen.sh: Copy some more files to libcharset/build-aux/ and
libcharset/m4/.
2019-03-04 Bruno Haible <[email protected]>
Update --enable-relocatable support after gnulib changed.
* configure.ac: Move the LT_INIT invocation before the gl_RELOCATABLE
invocation. Remove unused argument to gl_RELOCATABLE.
2019-01-27 Bruno Haible <[email protected]>
Accommodate a shell that is not in /bin/sh.
* Makefile.in (SHELL): Use the value found by configure.
* lib/Makefile.in (SHELL): Likewise.
* man/Makefile.in (SHELL): Likewise.
* src/Makefile.in (SHELL): Likewise.
* tests/Makefile.in (SHELL): Likewise.
(check, check-extra-yes): Use SHELL to run the check-* scripts.
2019-01-27 Bruno Haible <[email protected]>
Update after gnulib changed.
* Makefile.in (GNULIB_IMPORTED_FILES): Remove build-aux/snippet/*.
2019-01-27 Bruno Haible <[email protected]>
Update support for building with MSVC. Automake does not install ar-lib.
* autogen.sh: Fetch build-aux/ar-lib here.
* Makefile.devel (srclib/Makefile.in): Don't fetch build-aux/ar-lib
here.
* Makefile.in (AUTOMAKE_IMPORTED_FILES): Remove build-aux/ar-lib.
(IMPORTED_FILES): Add build-aux/ar-lib.
2019-01-06 Bruno Haible <[email protected]>
Revisit handling of file descriptors closed by the parent process.
* src/iconv.c (main): Add comment.
2018-10-23 Bruno Haible <[email protected]>
Remove outdated DJGPP build infrastructure.
Approved by Juan Manuel Guerrero <[email protected]>.
* djgpp: Remove directory.
* INSTALL.djgpp: Remove file.
* Makefile.in (SOURCE_FILES): Remove them.
2018-10-23 Bruno Haible <[email protected]>
Update after gnulib changed.
* configure.ac (AC_PREREQ): Bump minimum Autoconf version to 2.63.
2018-09-22 Bruno Haible <[email protected]>
Avoid some warnings in MSVC build.
* include/export.h: Handle MSVC compiler as well.
2018-09-22 Bruno Haible <[email protected]>
Update from gnulib. Move mapping tables into the code.
* autogen.sh: Don't create libcharset/m4/relocatable-lib.m4.
* Makefile.in (mostlyclean, clean, distclean, maintainer-clean): Don't
remove lib/charset.alias.
* tests/check-subst: Don't set CHARSETALIASDIR.
2018-05-04 Bruno Haible <[email protected]>
Drop special instructions for OSF/1.
* INSTALL.generic: Remove the recommendation for OSF/1.
2018-05-04 Bruno Haible <[email protected]>
Simplify: Remove the ability to install a preloadable library.
* preload/*: Remove directory.
* Makefile.devel: Don't recurse into 'preload'.
* Makefile.in: Likewise.
* configure.ac: Don't declare 'preload' as a subdirectory.
* README, NEWS: Update.
2018-05-04 Bruno Haible <[email protected]>
Simplify code. Drop support for Borland C++ on Windows.
* lib/iconv.c: Simplify 'defined _WIN32 || defined __WIN32__' to just
'defined _WIN32'.
* lib/iconv_open1.h: Likewise.
2018-05-04 Bruno Haible <[email protected]>
* lib/relocatable.c: Update from gnulib.
2018-05-04 Bruno Haible <[email protected]>
Switch to automake 1.16.
* autogen.sh: Update comment.
* Makefile.devel (AUTOMAKE, ACLOCAL): Switch to version 1.16.
* libcharset/Makefile.devel (ACLOCAL): Likewise.
* preload/Makefile.devel (ACLOCAL): Likewise.
2018-03-27 Bruno Haible <[email protected]>
Doc tweaks.
* README: Don't recommend to use --prefix=/usr/local, as it produces
problems with GCC (since GCC's treatment of /usr/local/include and
/usr/local/lib is inconsistent by default). Don't recommend to use
the iconv.m4 installed by GNU gettext, because it won't work when
GNU automake and GNU gettext are installed with different --prefix
options; instead recommend the 'iconv' module from gnulib.
2018-01-27 Bruno Haible <[email protected]>
Rename some files.
* INSTALL.windows: Renamed from README.windows.
* INSTALL.djgpp: Renamed from README.djgpp.
* Makefile.in (SOURCE_FILES): Update.
2018-01-03 Bruno Haible <[email protected]>
Fix installation in 64-bit mode on AIX.
* lib/Makefile.in (AR): New variable.
(install): Use it instead of hardcoding 'ar'.
2017-11-26 Bruno Haible <[email protected]>
Avoid end-of-lines problem in generated shell scripts on Cygwin.
Patch by Feiyun Wang <[email protected]>.
* lib/genaliases.c (main): Create canonical.sh and canonical_local.sh
with Unix end-of-line characters, regardless of Cygwin choice of
text mode vs. binary mode.
2017-07-15 Bruno Haible <[email protected]>
Allow building statically linked binaries, through LDFLAGS="-static".
Apply patch from
<https://lists.gnu.org/archive/html/bug-libtool/2017-07/msg00000.html>.
* build-aux/ltmain.sh (func_mode_help, func_mode_link): In the link
mode, accept option '-static-uninstalled-libs' in place of '-static',
and make '-static' an equivalent of '-all-static'.
2017-07-15 Bruno Haible <[email protected]>
Don't attempt to build preloadable_libiconv.so when linking statically.
* preload/configure.ac (enable_shared, enable_static): Don't force
shared libraries when LDFLAGS indicates static linking.
(PLUGLIB): Set to empty when is not configured for building shared
libraries.
2017-07-15 Bruno Haible <[email protected]>
Get rid of autom4te.cache directories, as far as possible.
* Makefile.devel (srclib/Makefile.in, aclocal.m4, configure,
config.h.in): Remove autom4te.cache after invoking aclocal, autoconf,
autoheader, automake.
* preload/Makefile.devel (aclocal, configure): Likewise.
2017-05-18 Bruno Haible <[email protected]>
* lib/relocatable.h: Update from gnulib.
* lib/relocatable.c: Update from gnulib.
2017-01-30 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>
Tweak autogen.sh.
* autogen.sh: Emit a "done" diagnostic when autogen.sh completed
successfully.
2016-12-25 Bruno Haible <[email protected]>
Reorder Makefile.devel.
* Makefile.devel: Reorder: put gnulib targets before autotools targets.
2016-12-14 Bruno Haible <[email protected]>
Cleanup useless removals.
* lib/Makefile.in (distclean): No need to remove 'libtool'.
2016-12-04 Bruno Haible <[email protected]>
Update comments.
* Makefile.devel: Update comments about release process.
2016-12-04 Bruno Haible <[email protected]>
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 <[email protected]>
Remove duplicates of imported files from version control.
* autogen.sh: Copy imported files to libcharset.
2016-12-04 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Remove obsolete documentation.
* PORTS: Remove file.
2016-12-03 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>
Towards reproducible builds.
* Makefile.devel (man/%.html): Remove the CreationDate comment line
from the output.
2016-12-04 Bruno Haible <[email protected]>
Update to gettext-0.19.8.1.
* ABOUT-NLS: Update through 'gettextize'.
2016-12-03 Bruno Haible <[email protected]>
Update documentation.
* HACKING: Refer to the Git repository.
2016-12-03 Bruno Haible <[email protected]>
Avoid compilation warnings in 'genflags' program.
* lib/genflags.c: Avoid warnings from GCC's -Wunused-function option.
2016-12-02 Bruno Haible <[email protected]>
* relocatable.c: Update from gnulib.
2016-11-25 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>
Drop the nickname "woe32".
* README.windows: Renamed from README.woe32.
2016-11-22 Bruno Haible <[email protected]>
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 <[email protected]>
Fix link error when compiling with gcc -O0.
* lib/iconv.c (aliases2_lookup): Make static.
Reported by Chung-Lin Tang <[email protected]>
at https://savannah.gnu.org/bugs/?47953 .
2016-11-17 Bruno Haible <[email protected]>
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 <[email protected]>
Switch to libtool 2.4.6.
* m4/libtool.m4: Update from libtool-2.4.6, with modifications:
2008-04-06 Bruno Haible <[email protected]>
* 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 <[email protected]>
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 <[email protected]>
Extend CP1255 mapping.
* lib/cp1255.h (cp1255_2uni, cp1255_page05): Map 0xCA to U+05BA.
* tests/CP1255.TXT: Likewise.
This matches https://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 <[email protected]> (tiny change)
Bruno Haible <[email protected]>
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 <[email protected]> (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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Change copyright holder of man pages.
* man/*.[13]: Replace myself with FSF.
2012-06-30 Bruno Haible <[email protected]>
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 <https://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 <https://savannah.gnu.org/bugs/?36748>.
2012-05-13 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>
Avoid a GCC warning.
* lib/isoir165.h (isoir165_mbtowc): Don't shadow the 'ret' variable.
2012-01-26 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>
Add a comment.
* woe32dll/export.h: Add a reference to the woe32dll writeup.
2012-01-06 Bruno Haible <[email protected]>
Update after gnulib changed.
* gnulib-local/lib/error.h.diff: Update.
2012-01-06 Bruno Haible <[email protected]>
Talk about "native Windows API", not "Woe32".
* lib/relocatable.c: Update comments to mention native Windows.
2012-01-04 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>.
2011-10-23 Bruno Haible <[email protected]>
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 <[email protected]>.
2011-10-23 Bruno Haible <[email protected]>
* lib/encodings.def: Add comments about Windows names of encodings.
2011-10-18 Bruno Haible <[email protected]>
* m4/libtool.m4: Update from libtool-2.4.2, with modifications:
2008-04-06 Bruno Haible <[email protected]>
* 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 <[email protected]>
* lib/relocatable.c: Update from gnulib.
2011-09-02 Bruno Haible <[email protected]>
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 <[email protected]>.
2011-08-07 Bruno Haible <[email protected]>
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 <[email protected]>
* Version 1.14 released.
2011-08-07 Bruno Haible <[email protected]>
* 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 <[email protected]>
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 <[email protected]>
* tests/check-subst: Add comments about OSF/1.
2011-08-07 Bruno Haible <[email protected]>
* lib/relocatable.c: Update from gnulib.
2011-08-06 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>.
2011-07-03 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>.
2011-05-02 Bruno Haible <[email protected]>
Update after gnulib changed.
* autogen.sh (GNULIB_MODULES): Remove exit, add stdlib.
2011-06-02 Bruno Haible <[email protected]>