-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
2633 lines (2146 loc) · 103 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
2004-01-23 Bruno Haible <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* man/iconv.3: Fix description of return value in case of error.
Reported by Jonathan Wakely <[email protected]>.
2003-09-12 Paul Eggert <[email protected]>
* srclib/progreloc.c (get_full_program_name): Define via prototype.
2003-08-15 Bruno Haible <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>.
2003-07-02 Bruno Haible <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* srclib/canonicalize.c (__getcwd) [VMS]: Pass 3 arguments to getcwd.
2003-05-02 Bruno Haible <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>.
2003-06-22 Bruno Haible <[email protected]>
Portability to mingw32.
* lib/relocatable.c [WIN32]: Include <windows.h>.
* srclib/relocatable.c: Likewise.
Reported by Jeff Bonggren <[email protected]>.
2003-06-22 Bruno Haible <[email protected]>
* 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 <[email protected]>.
2003-06-18 Bruno Haible <[email protected]>
* config/install-sh: Update from automake-1.7.5.
2003-06-16 Bruno Haible <[email protected]>
* 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 <[email protected]>.
2003-05-09 Bruno Haible <[email protected]>
* srclib/canonicalize.c: Add #ifdef around versioned_symbol. Avoids an
"extraneous semicolon" warning from Tru64 cc.
2003-06-07 Bruno Haible <[email protected]>
* 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 <[email protected]>.
2003-06-07 Bruno Haible <[email protected]>
Support for relocatable data files even on Woe32.
* lib/Makefile.msvc (PICFLAGS): Also define PIC.
2003-05-22 Bruno Haible <[email protected]>
* Version 1.9.1 released.
2003-05-22 Bruno Haible <[email protected]>
* 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 <[email protected]>
* lib/iconv.c (iconvlist): Test p->name against NULL, not against "".
Reported by Muraoka Taro <[email protected]>.
2003-05-19 Bruno Haible <[email protected]>
* windows/iconv.rc: Include <winver.h>.
Reported by Perry Rapp.
2003-05-18 Bruno Haible <[email protected]>
* Version 1.9 released.
2003-05-18 Bruno Haible <[email protected]>
* lib/Makefile.in (libiconv_plug_osf.so): Avoid using LIBTOOL_LINK.
2003-05-18 Bruno Haible <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* m4/error.m4: Update from gettext.
2003-05-12 Bruno Haible <[email protected]>
* configure.in: Invoke AC_GNU_SOURCE and jm_FUNC_GLIBC_UNLOCKED_IO.
2003-05-12 Bruno Haible <[email protected]>
* lib/Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
CFLAGS to PICFLAGS.
2003-05-09 Bruno Haible <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* README.woe32: Fix instructions for step 1.
* srclib/Makefile.msvc (OBJECTS): Remove strtoul.obj.
(strtoul.obj): Remove rule.
Reported by Perry Rapp.
2003-05-07 Bruno Haible <[email protected]>
* Makefile.vms: New file.
* lib/Makefile.vms: New file.
* srclib/Makefile.vms: New file.
* src/Makefile.vms: New file.
* man/Makefile.vms: New file.
* tests/Makefile.vms: New file.
* Makefile.devel (config.h_vms, lib/config.h_vms, include/iconv.h_vms):
New rules.
(all): Depend on them.
2003-05-07 Bruno Haible <[email protected]>
* srclib/Makefile.msvc (OBJECTS): Remove findprog.obj.
(findprog.obj): Remove rule.
* src/Makefile.msvc (includedir): New variable.
2003-05-06 Bruno Haible <[email protected]>
* lib/translit.def: Upgrade to Unicode 4.0.
2003-05-06 Bruno Haible <[email protected]>
* srclib/Makefile.am (DEFS): Fix spelling of DEPENDS_ON_LIBICONV.
* srclib/Makefile.msvc (CFLAGS): Likewise.
* srclib/Makefile.msvc (INCLUDES): Add -I.. .
Reported by Perry Rapp.
* Makefile.msvc (config.h): New rule.
(all): Depend on it.
(mostlyclean, clean, distclean, maintainer-clean): Erase config.h.
Reported by Perry Rapp.
2003-05-06 Bruno Haible <[email protected]>
* autoconf/config.guess: Update to GNU version 2003-02-22.
* autoconf/config.sub: Likewise.
2003-05-06 Bruno Haible <[email protected]>
* m4/lib-link.m4: Update from GNU gettext.
* autoconf/config.rpath: Update from GNU gettext.
* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.
* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.
* m4/gettext.m4: Update from GNU gettext.
* m4/nls.m4: Update from GNU gettext.
* m4/po.m4: Update from GNU gettext.
* Makefile.devel (aclocal.m4): Depend on m4/nls.m4 and m4/po.m4.
2003-04-12 Bruno Haible <[email protected]>
Support for OpenVMS 7.3.
* lib/iconv.c (USE_OSF1): Define also on VMS.
2003-04-12 Bruno Haible <[email protected]>
Better support for FreeBSD.
* lib/encodings.def (ISO8859-{1,2,3,4,5,6,7,8,9,10,13,14,15,16): New
aliases, for compatibility with earlier FreeBSD iconv implementation
by Konstantin Chuguev.
* lib/iconv.c (iconv_open, iconv, iconv_close) [FreeBSD]: Define as
aliases.
* src/Makefile.in (install) [FreeBSD]: Avoid installation problem.
2003-04-12 Bruno Haible <[email protected]>
* configure.in (mandir): Change default value.
* Makefile.in (datadir): New variable.
(install, installdirs, uninstall): Pass datadir to po and man
directories.
* Makefile.os2 (datadir): New variable.
(mandir): Use it instead of prefix.
(install, uninstall): Pass datadir to man directory.
* Makefile.msvc (mandir, docdir): Use datadir instead of prefix.
* man/Makefile.in (datadir): New variable.
(docdir): Use it instead of prefix.
(install, installdirs): Update.
* man/Makefile.os2 (datadir): New variable.
(mandir): Use it instead of prefix.
* man/Makefile.msvc (datadir): New variable.
(mandir, docdir): Use it instead of prefix.
(install, installdirs): Update.
2003-04-06 Bruno Haible <[email protected]>
Make it possible to build with or without libintl support on Woe32.
* Makefile.devel (config.h.msvc): Remove ENABLE_NLS.
* Makefile.msvc (NO_NLS): New variable.
* srclib/Makefile.msvc (NO_NLS): New variable.
(CFLAGS, INCLUDES): Use them.
* src/Makefile.msvc (NO_NLS): New variable.
(NLSFLAGS, INCINTL, LIBINTL): New variables.
(CFLAGS, INCLUDES, iconv.exe): Use them.
2003-04-12 Bruno Haible <[email protected]>
* lib/loop_unicode.h (unicode_transliterate): When the Hangul or
variants transliteration failed with RET_ILUNI, don't return
RET_TOOSMALL.
Reported by the FreeBSD porters.
2003-04-06 Bruno Haible <[email protected]>
* srclib/binary-io.h: New file, from GNU gettext.
* src/iconv.c: Include it.
(O_BINARY, O_TEXT, SET_BINARY): Remove definitions.
2003-04-05 Bruno Haible <[email protected]>
Support for relocatable installation.
* m4/alloca.m4: New file, from GNU gettext.
* m4/canonicalize.m4: New file, from GNU gettext.
* m4/error.m4: New file, from GNU gettext.
* m4/onceonly.m4: New file, from GNU gettext.
* m4/pathmax.m4: New file, from GNU gettext.
* m4/relocatable.m4: New file, from GNU gettext.
* m4/setenv.m4: New file, from GNU gettext.
* m4/stdbool.m4: New file, from GNU gettext.
* m4/strerror.m4: New file, from GNU gettext.
* m4/xreadlink.m4: New file, from GNU gettext.
* autoconf/config.libpath: New file, from GNU gettext.
* autoconf/install-reloc: New file, from GNU gettext.
* autoconf/reloc-ldflags: New file, from GNU gettext.
* autoconf/missing: New file, from GNU automake 1.7.3.
* lib/relocatable.h: New file, from GNU gettext.
* lib/relocatable.c: New file, from GNU gettext.
* srclib/alloca.c: New file, from GNU gettext.
* srclib/alloca_.h: New file, from GNU gettext.
* srclib/canonicalize.c: New file, from GNU gettext.
* srclib/canonicalize.h: New file, from GNU gettext.
* srclib/error.c: New file, from GNU gettext.
* srclib/error.h: New file, from GNU gettext.
* srclib/exit.h: New file, from GNU gettext.
* srclib/gettext.h: New file, from GNU gettext.
* srclib/memmove.c: New file, from GNU gettext.
* srclib/pathmax.h: New file, from GNU gettext.
* srclib/progname.c: New file, from GNU gettext.
* srclib/progname.h: New file, from GNU gettext.
* srclib/progreloc.c: New file, from GNU gettext.
* srclib/relocatable.c: New file, from GNU gettext.
* srclib/relocatable.h: New file, from GNU gettext.
* srclib/relocwrapper.c: New file, from GNU gettext.
* srclib/setenv.c: New file, from GNU gettext.
* srclib/setenv.h: New file, from GNU gettext.
* srclib/stdbool.h.in: New file, from GNU gettext.
* srclib/strerror.c: New file, from GNU gettext.
* srclib/unsetenv.c: New file, from GNU gettext.
* srclib/xmalloc.c: New file, from GNU gettext.
* srclib/xmalloc.h: New file, from GNU gettext.
* srclib/xreadlink.c: New file, from GNU gettext.
* srclib/xreadlink.h: New file, from GNU gettext.
* srclib/xstrdup.c: New file, from GNU gettext.
* srclib/Makefile.am: New file.
* srclib/Makefile.msvc: New file.
* windows/alloca.h: New file, from GNU gettext.
* windows/stdbool.h: New file, from GNU gettext.
* configure.in (AC_CONFIG_HEADERS): Replace src/config.h with config.h.
Add AC_RELOCATABLE, AC_HEADER_STDC, AC_CHECK_HEADERS(stddef.h stdlib.h
string.h), AC_CHECK_FUNCS(getc_unlocked), AC_REPLACE_FUNCS(memmove),
AM_LANGINFO_CODESET, gl_FUNC_ALLOCA, gl_CANONICALIZE,
gt_FUNC_ERROR_AT_LINE, gl_PATHMAX, gt_FUNC_SETENV, gt_STDBOOL_H,
gl_FUNC_STRERROR, gl_XREADLINK, AC_OUTPUT(srclib/Makefile).
* lib/config.h.in: Add HAVE_GETC_UNLOCKED, HAVE_LANGINFO_CODESET,
HAVE_SETLOCALE, HAVE_STDDEF_H, HAVE_STDLIB_H, HAVE_STRING_H, for
localcharset.c. Add ENABLE_RELOCATABLE, INSTALLPREFIX, for
relocatable.c.
* lib/Makefile.in (DEFS): New variable.
(SOURCES): Add localcharset.c and relocatable.c.
(OBJECTS): Add localcharset.lo and relocatable.lo.
(LIBCHARSET_OBJECTS): Remove variable.
(libiconv_plug_linux.so, libiconv_plug_solaris.so,
libiconv_plug_osf.so): Use $(DEFS). Don't use $(LIBCHARSET_OBJECTS).
(iconv.lo): Use $(DEFS).
(localcharset.lo, relocatable.lo): New rules.
* lib/Makefile.msvc (CFLAGS): Define HAVE_CONFIG_H, BUILDING_DLL,
ENABLE_RELOCATABLE, IN_LIBRARY, INSTALLDIR, NO_XMALLOC,
set_relocation_prefix, relocate. Remove $(PICFLAGS).
(INCLUDES): Simplify.
(SOURCES): Remove variable.
(OBJECTS): Add localcharset.obj and relocatable.obj.
(LIBCHARSET_OBJECTS): Remove variable.
(iconv.obj): Add $(PICFLAGS).
(localcharset.obj, relocatable.obj): New rules.
(iconv.lib): Drop $(LIBCHARSET_OBJECTS).
* include/iconv.h.in (libiconv_set_relocation_prefix): New declaration.
* src/gettext.h: Remove file.
* src/iconv.c: Include progname.h and relocatable.h.
(ICONV_CONST): Define to const if the system has no iconv.
(main): Invoke set_program_name. Relocate LOCALEDIR.
* src/Makefile.in (top_srcdir): New variable.
(INCLUDES): Add .. and ../srclib.
(iconv_no_i18n, iconv): Link with ../srclib/libicrt.a.
(iconv_no_i18n.@OBJEXT@, iconv.@OBJEXT@): Define INSTALLDIR.
(RELOCATABLE_LIBRARY_PATH, RELOCATABLE_SRC_DIR, RELOCATABLE_BUILD_DIR,
RELOCATABLE_CONFIG_H_DIR, @SET_RELOCATABLE@, iconv_LDFLAGS): New
variables.
(iconv): Use $(iconv_LDFLAGS).
(install): Use $(INSTALL_PROGRAM_ENV).
(distclean): Drop removing config.h.
* src/Makefile.msvc (INCLUDES): Add .., simplify.
* tests/Makefile.msvc (INCLUDES): Simplify.
* Makefile.devel (AUTOHEADER, AUTOMAKE): New variables.
(config.h.in, srclib/Makefile.in, config.h.msvc): New rules.
(all): Depend on them.
(aclocal.m4) Depend also on m4/alloca.m4, m4/canonicalize.m4,
m4/error.m4, m4/onceonly.m4, m4/pathmax.m4, m4/relocatable.m4,
m4/setenv.m4, m4/stdbool.m4, m4/strerror.m4, m4/xreadlink.m4.
(lib/config.h.msvc): Additional processing.
* Makefile.in (all, install, installdirs, uninstall, check): Recurse
into srclib.
(mostlyclean, clean, distclean, maintainerclean): Likewise. Remove
lib/localcharset.h.
(distclean, maintainerclean): Remove also config.h and some stamps.
* Makefile.msvc (all, install, installdirs, uninstall, check,
mostlyclean, clean, distclean, maintainerclean): Recurse into srclib.
* INSTALL.generic: Document --enable-relocatable and
--with-libintl-prefix. Remove the recommendation to set CPPFLAGS and
LDFLAGS. The lib-link.m4 macros make this unnecessary.
2003-04-05 Bruno Haible <[email protected]>
* configure.in: Bump version number to 1.9.
* include/iconv.h.in (_LIBICONV_VERSION): Bump.
* windows/iconv.rc: Bump version number.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 4:0:2.
2003-04-05 Bruno Haible <[email protected]>
* Makefile.msvc (PREFIX): New variable.
(prefix): Use it.
(distclean, maintainer-clean): Drop Unix specific removals.
* lib/Makefile.msvc (PREFIX, IIPREFIX): New variables.
(prefix): Use it.
(IIprefix, IIexec_prefix, IIbindir, IIlibdir): New variables.
(clean): Drop Unix specific removal.
* src/Makefile.msvc (PREFIX): New variable.
(prefix): Use it.
(clean): Drop Unix specific removal.
(distclean): Likewise.
* tests/Makefile.msvc (clean): Drop Unix specific removal.
(distclean): Likewise.
2003-04-05 Bruno Haible <[email protected]>
* m4/endian.m4 (CL_WORDS_LITTLEENDIAN): Use 3-argument AC_DEFINE.
2003-04-05 Bruno Haible <[email protected]>
* m4/general.m4 (CL_CONFIG_SUBDIRS, CL_CANONICAL_HOST,
CL_CANONICAL_HOST_CPU, CL_CANONICAL_HOST_CPU_FOR_FFCALL): Remove
macros.
* m4/gettext.m4: Update from GNU gettext.
* m4/iconv.m4: Update from GNU gettext.
* m4/lcmessage.m4: Update from GNU gettext.
* m4/progtest.m4: Update from GNU gettext.
* m4/libtool.m4: Update from GNU gettext.
2003-02-16 Bruno Haible <[email protected]>
Workaround autoconf >= 2.52 breakage.
* libtool.m4 (AC_LIBTOOL_ARG_WITH): New macro.
(_LT_AC_LTCONFIG_HACK, AC_PROG_LD): Use it.
* autoconf/ltmain.sh: Update from GNU gettext.
2003-02-18 Bruno Haible <[email protected]>
Fix the 2002-09-16 fix.
* ltmain.sh (install): If "ln -s -f" fails (this is the case
with /usr/bin/ln on Solaris 2.7), fall back to "rm && ln -s".
2003-04-05 Bruno Haible <[email protected]>
Start using automake.
* configure.in: Add AM_INIT_AUTOMAKE invocation.
(PACKAGE, VERSION): Remove.
Use AC_CANONICAL_HOST instead of CL_CANONICAL_HOST.
Use AC_PROG_LN_S instead of CL_PROG_LN_S.
Use AC_PROG_RANLIB instead of CL_PROG_RANLIB.
Reorder so that AC_CANONICAL_HOST comes early but still after
AC_PROG_CC.
* m4/ranlib.m4: Remove file.
* m4/libtool.m4: Undo AC_ -> CL_ substitutions.
* Makefile.devel (CLISP_DIR): Comment out.
(AUTOCONF_FILES): Change to aclocal.m4.
(aclocal.m4): Renamed from autoconf/aclocal.m4. Update dependencies.
(configure.in): Drop --include option.
2003-03-17 Bruno Haible <[email protected]>
Improved MSVC support.
* Makefile.msvc (prefix): Use less Unixy value.
(local_prefix): Remove variable.
(libdir, includedir, mandir): Use backslashes.
(bindir, datadir, localedir, docdir): New variables.
(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables.
(all): Recurse into po/ and man/.
(install, installdirs, uninstall): Rewritten.
(check, mostlyclean, clean, distclean, maintainer-clean): Recurse
into po/ and man/.
* lib/Makefile.msvc (prefix): Use less Unixy value.
(local_prefix): Remove variable.
(libdir): Use backslashes.
(bindir): New variable.
(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values.
(RESOURCES): Enable iconv.res.
(install, installdirs, uninstall): New rules.
(clean): Remove config.h.
(distclean): Don't remove config.h here.
* src/Makefile.msvc (prefix, exec_prefix, bindir): New variables.
(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables.
(install, installdirs, uninstall): New rules.
* man/Makefile.msvc: New file.
* tests/Makefile.msvc (install, installdirs, uninstall): New rules.
* Makefile.devel (all): Depend on po/Makefile.msvc.
(po/Makefile.msvc): New rule.
* windows/iconv.rc: Update.
* README.woe32: Mention automatic installation command.
Rename libcharset.h to localcharset.h.
* lib/iconv.c: Include localcharset.h, not libcharset.h.
* Makefile.in (lib/localcharset.h): Renamed from lib/libcharset.h.
(all, install): Update dependencies.
(all): Create lib/localcharset.h, not lib/libcharset.h.
(mostlyclean, clean, distclean, maintainer-clean): Remove
lib/localcharset.h, not lib/libcharset.h.
* djgpp/README.in, djgpp/README: Update.
* djgpp/config.bat: Update.
* djgpp/config.sed: Update.
* djgpp/fnchange.in, djgpp/fnchange.lst: Update.
2003-01-31 Bruno Haible <[email protected]>
* src/Makefile.in (all): Don't do the chmod if it has already been
done.
2003-01-31 Bruno Haible <[email protected]>
* lib/loop_unicode.h (unicode_transliterate): Enable recursive
transliteration. Idea from Perry Rapp.
* lib/gentranslit.c (main): Change bound from 0x10000 to 0x110000.
Change element type of translit_data to 'unsigned int'.
* lib/translit.def: Many new transliterations, mostly taken from glibc.
* lib/translit.h: Regenerated.
* tests/Translit1.ISO-8859-1, tests/Translit1.ASCII: New files.
* tests/Makefile.in (check): Add Translit1 check.
* tests/Makefile.msvc (check): Likewise.
* tests/Makefile.os2 (check): Likewise.
* tests/TranslitFail1.ISO-8859-1: Choose a sentence which the new
improved transliteration cannot do.
2003-02-14 Bruno Haible <[email protected]>
* Makefile.devel (AUTOCONF): Switch to autoconf-2.57.
(configure): Update rule.
2003-01-03 Albert Chin <[email protected]>
* autoconf/ltmain.sh: Don't pass -R flags found in a .la's
dependency_libs variable directly down to the linker.
Reported by Tim Mooney <[email protected]>.
2003-01-01 Bruno Haible <[email protected]>
* src/Makefile.in (install): Use libiconv.la in ../lib, not in
$(libdir), so that installing with DESTDIR works.
Reported by Michael Adams <[email protected]>.
2003-01-01 Bruno Haible <[email protected]>
* Makefile.in (mkinstalldirs): New variable.
(install-lib, install, installdirs): Use it instead of mkdir.
* lib/Makefile.in (mkinstalldirs): New variable.
(install-lib, install, installdirs): Use it instead of mkdir.
* man/Makefile.in (mkinstalldirs): New variable.
(install, installdirs): Use it instead of mkdir.
* src/Makefile.in (mkinstalldirs): New variable.
(install, installdirs): Use it instead of mkdir.
2002-09-27 Bruno Haible <[email protected]>
* autoconf/mkinstalldirs: Upgrade to automake-1.7.2 version.
2002-11-07 Bruno Haible <[email protected]>
* m4/libtool.m4: Upgrade to libtool-1.4.3.
* autoconf/ltmain.sh: Upgrade to libtool-1.4.3.
2002-07-14 Bruno Haible <[email protected]>
* m4/libtool.m4 (_LT_AC_LTCONFIG_HACK): Add support for GNU/FreeBSD.
2002-06-12 Bruno Haible <[email protected]>
* configure.in: Use new AC_* names of libtool macros. Invoke
AC_LIBTOOL_WIN32_DLL.
2002-12-19 Bruno Haible <[email protected]>
* lib/Makefile.in (libiconv_plug_solaris.so): Change rule if using gcc.
Reported by Henry Nelson <[email protected]>.
2002-11-07 Bruno Haible <[email protected]>
Make "make install" without prior "make" work.
* Makefile.in (lib/libcharset.h): New rule.
(all, install): Depend on it.
Reported by Martin Mokrejš <[email protected]>.
2002-10-28 Bruno Haible <[email protected]>
* man/Makefile.in (install): Change directory back to the working
directory, so that install-sh (which may be a relative pathname) is
found in the right place.
2002-09-16 Bruno Haible <[email protected]>
* autoconf/ltmain.sh (install): Use "ln -s -f" instead of
"rm -f && ln -s" to make a symlink for a shared library.
Reported by Nelson H. F. Beebe <[email protected]>.
2002-09-02 Bruno Haible <[email protected]>
* src/iconv.c (main): Don't call bindtextdomain if !ENABLE_NLS.
2002-08-16 Bruno Haible <[email protected]>
* src/iconv.c (main): Perform fflush before testing ferror(stdout).
2002-05-29 Bruno Haible <[email protected]>
* Version 1.8 released.
2002-05-26 Bruno Haible <[email protected]>
* lib/c99.h: New file.
* lib/converters.h: Include it.
* lib/encodings.def (C99): New encoding.
* README, man/iconv_open.3: Document C99 encoding.
2002-05-26 Bruno Haible <[email protected]>
* lib/java.h (java_mbtowc): Accept 12-byte sequences for non-BMP
characters.
(java_wctomb): Produce 12-byte sequences for non-BMP characters.
2002-05-29 Bruno Haible <[email protected]>
Fix installation of iconv program when linked with a libintl that was
built against an earlier libiconv.
* src/iconv.c: Conditionally disable NLS.
* src/iconv_no_i18n.c: New file.
* src/Makefile.in (libdir): New variable.
(all): Depend on iconv_no_i18n, iconv.@OBJEXT@ but not iconv. Make
directory writable, so iconv executable can be created during "make
install".
(iconv): Remove rule.
(iconv_no_i18n, iconv_no_i18n.@OBJEXT@): New rules.
(install): Link iconv now, after the new libiconv.so is installed.
(clean): Also remove iconv_no_i18n.
* tests/Makefile.in: (check, check-extra-yes): Depend on iconv_no_i18n,
not iconv.
* tests/check-stateful: Use iconv_no_i18n, not iconv.
* tests/check-translit: LIkewise.
* tests/check-translitfailure: Likewise.
2002-05-29 Bruno Haible <[email protected]>
* configure.in: Call AC_PROG_INSTALL instead of CL_PROG_INSTALL.
* m4/install.m4: Remove file.
* Makefile.devel (autoconf/aclocal.m4): Don't depend on m4/install.m4.
2002-05-24 Bruno Haible <[email protected]>
* lib/jisx0213.h: Use 'inline' only conditionally.
2002-05-18 Bruno Haible <[email protected]>
* configure.in (AC_INIT), include/iconv.h.in (_LIBICONV_VERSION),
README, windows/iconv.rc, djgpp/README, djgpp/fnchange.lst:
Bump version number.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 3:0:1.
2002-02-06 Bruno Haible <[email protected]>
* autoconf/ltmain.sh: Upgrade from libtool-1.4 to libtool-1.4.2.
2002-02-02 Bruno Haible <[email protected]>
* autoconf/ltmain.sh: Add DESTDIR support on ELF systems.
2001-11-03 Bruno Haible <[email protected]>
* autoconf/ltmain.sh: chmod 777 the .libs directory, so that
"make install" succeeds.
2002-05-18 Bruno Haible <[email protected]>
* src/Makefile.in (iconv): Remove the -liconv dependency of -lintl
from the command line. Needed to ensure that the new libiconv version
is used on FreeBSD.
2002-05-14 Bruno Haible <[email protected]>
Implement and document CP853, TDS565, RISCOS-LATIN1.
* tools/Makefile (ALL): Add cp853.h, tds565.h, riscos1.h.
(cp853.h, tds565.h, riscos1.h): New rules.
* lib/cp853.h: New file.
* lib/tds565.h: New file.
* lib/riscos1.h: New file.
* lib/converters.h: Include them.
* lib/encodings_dos.def (CP853): New encoding.
* lib/encodings_extra.def (TDS565, RISCOS-LATIN1): New encodings.
* README, man/iconv_open.3: Add CP853, TDS565, RISCOS-LATIN1.
* tests/Makefile.in (check-extra-yes): Check CP853, TDS565,
RISCOS-LATIN1.
* tests/Makefile.msvc (check): Check CP853.
* tests/CP853.TXT: New file.
* tests/TDS565.TXT: New file.
* tests/RISCOS-LATIN1.TXT: New file.
* lib/cp860.h (cp860_wctomb): Optimize.
2002-05-12 Bruno Haible <[email protected]>
* tools/Makefile (ksc5601.h): Add two extra characters.
* lib/ksc5601.h: Regenerated.
* tests/EUC-KR.TXT: Add EURO SIGN and REGISTERED SIGN.
* tests/CP949.TXT: Likewise.
* tests/JOHAB.TXT: Likewise.
2002-05-12 Bruno Haible <[email protected]>
* README: Mention extra encodings.
* man/iconv_open.3: Likewise. Improve formatting in text and html
output formats.
2002-05-12 Bruno Haible <[email protected]>
* tests/SHIFT_JIS.TXT: Renamed from tests/SHIFT-JIS.TXT.
2002-05-12 Bruno Haible <[email protected]>
* Makefile.devel (AUTOCONF): New variable.
(AUTOCONF_FILES): Remove autoconf/autoconf.m4f.
(configure): Use the AUTOCONF variable.
* autoconf/autoconf: Remove file.
* autoconf/autoconf.m4: Remove file.
* autoconf/autoconf.m4f: Remove file.
2002-05-12 Bruno Haible <[email protected]>
* tools/JISX0213.TXT: New file.
* tools/cjk_tab_to_h.c (do_jisx0213): New function.
(main): Accept "jisx0213".
* tools/Makefile (all): Add jisx0213.h.
(jisx0213.h): New rule.
* lib/jisx0213.h: New file, generated by cjk_tab_to_h.
* lib/euc_jisx0213.h: New file.
* lib/shift_jisx0213.h: New file.
* lib/iso2022_jp3.h: New file.
* lib/converters.h: Include them.
* lib/encodings_extra.def (EUC-JISX0213, SHIFT_JISX0213,
ISO-2022-JP-3): New encodings.
* tests/EUC-JISX0213.TXT: New file.
* tests/SHIFT_JISX0213.TXT: New file.
* tests/ISO-2022-JP-3-snippet: New file.
* tests/ISO-2022-JP-3-snippet.UTF-8: New file.
* tests/Makefile.in (check-extra): Also check EUC-JISX0213,
SHIFT_JISX0213, ISO-2022-JP-3.
* tests/check-stateless: Add support for encodings which contain
precomposed Unicode characters, by eliminating precomposed characters
before the comparison.
* tests/table-from.c (main): Fix usage message.
* tests/table-to.c (main): Make it work for encodings for which the
"to" direction is stateful.
2002-05-09 Bruno Haible <[email protected]>
New configure option --enable-extra-encodings.
* lib/encodings_extra.def: New file.
* lib/converters.h: Handle USE_EXTRA.
* lib/genaliases2.c (main): Handle USE_EXTRA.
* lib/genflags.c: Define USE_EXTRA.
(main): Include encodings_extra.def.
* lib/iconv.c: Handle ENABLE_EXTRA, conditionally set USE_EXTRA.
Handle USE_EXTRA.
* lib/config.h.in (ENABLE_EXTRA): New macro.
* configure.in: Accept option --enable-extra-encodings.
* Makefile.devel (all): Depend on lib/aliases_extra.h.
(lib/aliases_extra.h): New rule.
(lib/flags.h): Depend on lib/encodings_extra.def.
* tests/Makefile.in (check-extra, check-extra-no, check-extra-yes):
New rules.
(check): Invoke check-extra.
* tests/Makefile.msvc (check): Also check the DOS encodings.
Support for testing the AIX encodings.
* tests/CP856.TXT: New file.
* tests/CP922.TXT: New file.
* tests/CP1046.TXT: New file.
* tests/CP1124.TXT: New file.
* tests/CP1129.TXT: New file.
* tests/CP1161.TXT, tests/CP1161.IRREVERSIBLE.TXT: New files.
* tests/CP1162.TXT: New file.
* tests/CP1163.TXT, tests/CP1163.IRREVERSIBLE.TXT: New files.
Support for testing the OSF/1 encodings.
* tests/DEC-KANJI.TXT: New file.
* tests/DEC-HANYU.TXT, tests/DEC-HANYU.IRREVERSIBLE.TXT: New files.
Support for testing the DOS encodings.
* tests/CP437.TXT: New file.
* tests/CP737.TXT: New file.
* tests/CP775.TXT: New file.
* tests/CP852.TXT: New file.
* tests/CP855.TXT: New file.
* tests/CP857.TXT: New file.
* tests/CP858.TXT: New file.
* tests/CP860.TXT: New file.
* tests/CP861.TXT: New file.
* tests/CP863.TXT: New file.
* tests/CP864.TXT: New file.
* tests/CP865.TXT: New file.
* tests/CP869.TXT: New file.
* tests/CP1125.TXT: New file.
2002-05-09 Bruno Haible <[email protected]>
Implement more ASCII compatible DOS encodings.
* tools/Makefile (ALL): Add cp737.h, cp858.h, cp860.h, cp863.h.
(cp737.h, cp858.h, cp860.h, cp863.h): New rules.
* lib/cp737.h: New file.
* lib/cp858.h: New file.
* lib/cp860.h: New file.
* lib/cp863.h: New file.
* lib/converters.h: Include them.
* lib/encodings_dos.def (CP737, CP858, CP860, CP863): New encodings.
2002-05-09 Bruno Haible <[email protected]>
Implement new ASCII compatible encodings from IBM.
* tools/Makefile (ALL): Add cp1161.h, cp1162.h, cp1163.h.
(cp1161.h, cp1162.h, cp1163.h): New rules.
* lib/cp1161.h: New file.
* lib/cp1162.h: New file.
* lib/cp1163.h: New file.
* lib/converters.h: Include them.
* lib/encodings_aix.def (CP1161, CP1162, CP1163): New encodings.
2002-05-09 Bruno Haible <[email protected]>
Implement and document KOI8-T.
* tools/Makefile (ALL): Add koi8_t.h.
(koi8_t.h): New rule.
* lib/koi8_t.h: New file.
* lib/converters.h: Include it.
* lib/encodings.def (KOI8-T): New encoding.
* README, man/iconv_open.3: Add KOI8-T.
* tests/Makefile.in (tests): Check KOI8-T.
* tests/Makefile.os2 (tests): Likewise.
* tests/Makefile.msvc (tests): Likewise.
* tests/KOI8-T.TXT: New file.
2002-05-09 Bruno Haible <[email protected]>
* tools/8bit_tab_to_h.c (main): Update copyright year.
* tools/cjk_variants.c (main): Likewise.
2002-05-08 Bruno Haible <[email protected]>
* README.woe32: Renamed from README.win32.
2002-05-08 Bruno Haible <[email protected]>
* lib/iconv.c: Enable DOS encodings also when compiling for Woe32,
because the Woe32 consoles use them.
2002-05-04 Bruno Haible <[email protected]>
* lib/loop_unicode.h (unicode_loop_convert): When quitting the loop
without writing an output character, restore cd->istate to its value
before the xxx_mbtowc call. Otherwise we lose some characters during
CP1255/CP1258/TCVN to Unicode conversion.
(unicode_loop_reset): Likewise for the xxx_flushwc call.
* tests/CP1255-snippet, tests/CP1255-snippet.UTF-8: Make the test
files large enough to test against the bug.
* tests/CP1258-snippet, tests/CP1258-snippet.UTF-8: Likewise.
* tests/TCVN-snippet, tests/TCVN-snippet.UTF-8: Likewise.
2002-04-28 Bruno Haible <[email protected]>
* tools/Makefile (armscii_8.h): Use table from glibc-2.2.90.
* tests/ARMSCII-8.TXT: Update to glibc-2.2.90 version.
* tests/ARMSCII-8.IRREVERSIBLE.TXT: Remove 0x0027.
* lib/armscii_8.h: Regenerated.
2002-04-28 Bruno Haible <[email protected]>
* src/iconv.c: Include gettext.h.
(_): New macro.
(usage, print_version, convert, main): Internationalize.
(main): Call setlocale, bindtextdomain, textdomain.
* src/gettext.h: New file, from GNU gettext 0.11.2.
* src/config.h.in: New file, needed for ENABLE_NLS.
* src/Makefile.in (datadir, localedir): New variables.
(iconv): Link with @LTLIBINTL@.
(iconv.@OBJEXT@): Define LOCALEDIR.
(distclean): Remove config.h.
* po: New directory.
* Makefile.in (all, install, installdirs, uninstall, check,
mostlyclean, clean, distclean, maintainer-clean): Recurse into the po
directory.
* autoconf/mkinstalldirs: New file, from automake-1.5.
* ABOUT-NLS: New file, from GNU gettext 0.11.2.
* m4/codeset.m4: New file, from GNU gettext 0.11.2.
* m4/gettext.m4: New file, from GNU gettext 0.11.2.
* m4/glibc21.m4: New file, from GNU gettext 0.11.2.
* m4/isc-posix.m4: New file, from GNU gettext 0.11.2.
* m4/lcmessage.m4: New file, from GNU gettext 0.11.2.
* m4/progtest.m4: New file, from GNU gettext 0.11.2.
* configure.in: Require autoconf-2.52, needed for multiple config.h.in
files. Use new form of AC_INIT. Invoke AM_GNU_GETTEXT.
(PACKAGE, VERSION): Define, needed for po/Makefile.in.in.
* lib/config.h.in (HAVE_LOCALE_H, HAVE_SETLOCALE): Remove.
2002-04-28 gettextize <[email protected]>
* configure.in (AC_OUTPUT): Add po/Makefile.in.
2002-04-28 Bruno Haible <[email protected]>
* m4/eilseq.m4: Renamed from autoconf/eilseq.m4.
* m4/mbstate_t.m4: Renamed from autoconf/mbstate_t.m4.