Newer
Older
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
2001-06-03 Bruno Haible <haible@clisp.cons.org>
* lib/loop_unicode.h (unicode_loop_convert): Ignore Unicode 3.1 tag
characters if they cannot be converted.
(unicode_loop_reset): Likewise.
* lib/iso2022_jp2.h (STATE_TAG_NONE, STATE_TAG_LANGUAGE,
STATE_TAG_LANGUAGE_j, STATE_TAG_LANGUAGE_ja, STATE_TAG_LANGUAGE_k,
STATE_TAG_LANGUAGE_ko, STATE_TAG_LANGUAGE_z, STATE_TAG_LANGUAGE_zh):
New macros.
(SPLIT_STATE, COMBINE_STATE): Different differently for wctomb
direction.
(iso2022_jp2_wctomb): Keep track of Unicode 3.1 language tag.
If "ja", prefer conversion to Japanese character sets. If "zh",
prefer conversion to GB2312. If "ko", prefer conversion to KSC5601.
* lib/converters.h (RET_ILUNI): Change value from 0 to -1.
(RET_TOOSMALL): Change value from -1 to -2.
* lib/loop_unicode.h (unicode_transliterate): Allow xxx_wctomb to
return 0 written bytes.
2001-06-06 Bruno Haible <haible@clisp.cons.org>
* lib/encodings.def: Align with IANA character-set registry.
(US-ASCII): Add alias "ANSI_X3.4-1986".
(ISO-8859-14): Add alias "ISO-CELTIC".
(JIS_X0208): Add alias "JIS_C6226-1983".
(BIG5HKSCS): Add alias "BIG5-HKSCS".
* README, man/iconv_open.3: Rename BIG5HKSCS to BIG5-HKSCS.
* tests/Makefile.in (check): Likewise.
* tests/Makefile.os2 (check): Likewise.
* tests/Makefile.msvc (check): Likewise.
* tests/BIG5-HKSCS.TXT: Renamed from BIG5HKSCS.TXT.
* tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Renamed from
BIG5HKSCS.IRREVERSIBLE.TXT.
2001-06-02 Bruno Haible <haible@clisp.cons.org>
* tools/cjk_tab_to_h.c (Encoding): Add fffd field.
(is_charset2uni_large, compact_large_charset2uni): New functions.
(find_charset2uni_pages): Use enc->fffd instead of 0xfffd.
(output_charset2uni): If mapping to more than the Unicode BMP,
use an extra indirection to keep each value in 16 bits.
(invert): Bump limit from U+10000 to U+30000.
(output_uni2charset_dense): Likewise.
(output_uni2charset_sparse): Likewise. If mapping to more than one
CJK plane, use three bytes per value instead of two bytes.
(byte_row_cns11643): Allow more than 3 CJK planes.
(do_cns11643_only_uni2charset): Increase number of rows, to include
plane 15. Remove plane bits hack.
(main): Accept names cns11643_4a,4b,5,6,7,15 as well.
* tools/Makefile (ALL): Add cns11643_4a.h, cns11643_4b.h, cns11643_5.h,
cns11643_6.h, cns11643_7.h, cns11643_15.h.
(cns11643_1.h, cns11643_2.h, cns11643_3.h): Use new Unicode 3.1
derived table.
(cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
cns11643_7.h, cns11643_15.h): New rules.
(cns11643_inv.h): Change title.
* lib/cns11643_1.h: Regenerated from Unicode 3.1 derived table.
* lib/cns11643_3.h: Likewise.
* lib/cns11643_4a.h: New file.
* lib/cns11643_4b.h: New file.
* lib/cns11643_4.h: New file.
* lib/cns11643_5.h: New file.
* lib/cns11643_6.h: New file.
* lib/cns11643_7.h: New file.
* lib/cns11643_15.h: New file.
* lib/cns11643_inv.h: Regenerated from Unicode 3.1 derived table.
(cns11643_inv_wctomb): Return 3 bytes now.
* lib/cns11643.h: Include cns11643_4.h, cns11643_5.h, cns11643_6.h,
cns11643_7.h, cns11643_15.h.
(cns11643_wctomb): Now a simple alias to cns11643_inv_wctomb. Return
plane number starting at 1, not 0.
* lib/dec_hanyu.h (dec_hanyu_wctomb): Update for cns11643_wctomb
change.
* lib/euc_tw.h (euc_tw_mbtowc): Accept CNS11643 planes 4,5,6,7,15 as
well.
(euc_tw_wctomb): Update for cns11643_wctomb change.
* lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
* lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Accept CNS11643 planes
4,5,6,7 as well.
(iso2022_cn_ext_wctomb): Update for cns11643_wctomb change.
Try CNS11643 planes 4,5,6,7 as well.
* tests/EUC-TW.TXT: Many additions, mostly in planes 3,4,5,6,7,15.
* tests/EUC-TW.IRREVERSIBLE.TXT: Reflect additions to CNS11643 plane 1.
Add U+5344.
2001-06-01 Bruno Haible <haible@clisp.cons.org>
* tests/table-from.c (bmp_only): New variable.
(ucs4_decode): If bmp_only, don't return characters outside Unicode
plane 0.
(main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
a conversion line if ucs4_decode returns NULL.
* tests/table-to.c (main): When testing encodings other than UTF-8 and
GB18030, loop upto U+30000 instead of U+10000.
2001-05-24 Bruno Haible <haible@clisp.cons.org>
* lib/converters.h (mbtowc_funcs): Add flushwc member function.
* lib/flushwc.h: New file.
* lib/cp1255.h: Include flushwc.h.
(cp1255_comp_table_data, cp1255_comp_table): New arrays.
(cp1255_mbtowc): Compose base and combining characters.
(cp1255_flushwc): New macro.
* lib/vietcomb.h (viet_comp_table_data, viet_comp_table): New arrays.
* lib/cp1258.h: Include flushwc.h.
(cp1258_mbtowc): Compose base and combining characters.
(cp1258_flushwc): New macro.
* lib/tcvn.h: Include flushwc.h.
(tcvn_mbtowc): Compose base and combining characters.
(tcvn_flushwc): New macro.
* lib/loop_unicode.h: (unicode_transliterate): New function, extracted
from unicode_loop_convert.
(unicode_loop_convert): Use unicode_transliterate.
(unicode_loop_reset): Call xxx_flushwc and output the resulting
character.
* lib/encodings.def: Add xxx_flushwc member.
* lib/encodings_aix.def: Likewise.
* lib/encodings_dos.def: Likewise.
* lib/encodings_local.def: Likewise.
* lib/encodings_osf1.def: Likewise.
* lib/genaliases.c: Add an argument to the DEFENCODING macro.
* lib/genaliases2.c: Likewise.
* lib/genflags.c: Likewise.
* lib/iconv.c: Likewise.
* tests/table-from.c (try): Reset the iconv descriptor before the main
call, and flush it afterwards.
(ucs4_decode): New function.
(main): Allow up to 3 Unicode characters output. Call ucs4_decode.
* tests/CP1255-snippet: New file.
* tests/CP1255-snippet.UTF-8: New file.
* tests/CP1258-snippet: New file.
* tests/CP1258-snippet.UTF-8: New file.
* tests/TCVN-snippet: New file.
* tests/TCVN-snippet.UTF-8: New file.
* tests/Makefile.in (check): Check combining behaviour of CP1255,
CP1258, TCVN.
* tests/Makefile.msvc (check): Likewise.
* tests/Makefile.os2 (check): Likewise.
2001-05-22 Bruno Haible <haible@clisp.cons.org>
* lib/converters.h (RET_ILUNI): New macro.
(RET_ILSEQ): Change value to -1.
(RET_TOOFEW): Change value.
* lib/loop_unicode.h (unicode_loop_convert): Write RET_ILUNI instead
of 0. Update handling of xxx_mbtowc return value.
* lib/genflags.c (emit_encoding): Likewise.
* lib/ascii.h (ascii_wctomb): Use RET_ILUNI instead of RET_ILSEQ.
* lib/armscii_8.h (armscii_8_wctomb): Likewise.
* lib/big5.h (big5_wctomb): Likewise.
* lib/big5hkscs.h (big5hkscs_wctomb): Likewise.
* lib/ces_big5.h (ces_big5_wctomb): Likewise.
* lib/ces_gbk.h (ces_gbk_wctomb): Likewise.
* lib/cns11643.h (cns11643_wctomb): Likewise.
* lib/cns11643_inv.h (cns11643_inv_wctomb): Likewise.
* lib/cp437.h (cp437_wctomb): Likewise.
* lib/cp775.h (cp775_wctomb): Likewise.
* lib/cp850.h (cp850_wctomb): Likewise.
* lib/cp852.h (cp852_wctomb): Likewise.
* lib/cp855.h (cp855_wctomb): Likewise.
* lib/cp856.h (cp856_wctomb): Likewise.
* lib/cp857.h (cp857_wctomb): Likewise.
* lib/cp861.h (cp861_wctomb): Likewise.
* lib/cp862.h (cp862_wctomb): Likewise.
* lib/cp864.h (cp864_wctomb): Likewise.
* lib/cp865.h (cp865_wctomb): Likewise.
* lib/cp866.h (cp866_wctomb): Likewise.
* lib/cp869.h (cp869_wctomb): Likewise.
* lib/cp874.h (cp874_wctomb): Likewise.
* lib/cp922.h (cp922_wctomb): Likewise.
* lib/cp932ext.h (cp932ext_wctomb): Likewise.
* lib/cp932.h (cp932_wctomb): Likewise.
* lib/cp936ext.h (cp936ext_wctomb): Likewise.
* lib/cp949.h (cp949_wctomb): Likewise.
* lib/cp950ext.h (cp950ext_wctomb): Likewise.
* lib/cp950.h (cp950_wctomb): Likewise.
* lib/cp1046.h (cp1046_wctomb): Likewise.
* lib/cp1124.h (cp1124_wctomb): Likewise.
* lib/cp1129.h (cp1129_wctomb): Likewise.
* lib/cp1133.h (cp1133_wctomb): Likewise.
* lib/cp1250.h (cp1250_wctomb): Likewise.
* lib/cp1251.h (cp1251_wctomb): Likewise.
* lib/cp1252.h (cp1252_wctomb): Likewise.
* lib/cp1253.h (cp1253_wctomb): Likewise.
* lib/cp1254.h (cp1254_wctomb): Likewise.
* lib/cp1255.h (cp1255_wctomb): Likewise.
* lib/cp1256.h (cp1256_wctomb): Likewise.
* lib/cp1257.h (cp1257_wctomb): Likewise.
* lib/cp1258.h (cp1258_wctomb): Likewise.
* lib/dec_hanyu.h (dec_hanyu_wctomb): Likewise.
* lib/dec_kanji.h (dec_kanji_wctomb): Likewise.
* lib/euc_cn.h (euc_cn_wctomb): Likewise.
* lib/euc_jp.h (euc_jp_wctomb): Likewise.
* lib/euc_kr.h (euc_kr_wctomb): Likewise.
* lib/euc_tw.h (euc_tw_wctomb): Likewise.
* lib/gb12345ext.h (gb12345ext_wctomb): Likewise.
* lib/gb12345.h (gb12345_wctomb): Likewise.
* lib/gb18030ext.h (gb18030ext_wctomb): Likewise.
* lib/gb18030.h (gb18030_wctomb): Likewise.
* lib/gb18030uni.h (gb18030uni_wctomb): Likewise.
* lib/gb2312.h (gb2312_wctomb): Likewise.
* lib/gbkext_inv.h (gbkext_inv_wctomb): Likewise.
* lib/gbk.h (gbk_wctomb): Likewise.
* lib/georgian_academy.h (georgian_academy_wctomb): Likewise.
* lib/georgian_ps.h (georgian_ps_wctomb): Likewise.
* lib/hkscs.h (hkscs_wctomb): Likewise.
* lib/hp_roman8.h (hp_roman8_wctomb): Likewise.
* lib/hz.h (hz_wctomb): Likewise.
* lib/iso2022_cnext.h (iso2022_cn_ext_wctomb): Likewise.
* lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
* lib/iso2022_jp1.h (iso2022_jp1_wctomb): Likewise.
* lib/iso2022_jp2.h (iso2022_jp2_wctomb): Likewise.
* lib/iso2022_jp.h (iso2022_jp_wctomb): Likewise.
* lib/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
* lib/iso646_cn.h (iso646_cn_wctomb): Likewise.
* lib/iso646_jp.h (iso646_jp_wctomb): Likewise.
* lib/iso8859_1.h (iso8859_1_wctomb): Likewise.
* lib/iso8859_2.h (iso8859_2_wctomb): Likewise.
* lib/iso8859_3.h (iso8859_3_wctomb): Likewise.
* lib/iso8859_4.h (iso8859_4_wctomb): Likewise.
* lib/iso8859_5.h (iso8859_5_wctomb): Likewise.
* lib/iso8859_6.h (iso8859_6_wctomb): Likewise.
* lib/iso8859_7.h (iso8859_7_wctomb): Likewise.
* lib/iso8859_8.h (iso8859_8_wctomb): Likewise.
* lib/iso8859_9.h (iso8859_9_wctomb): Likewise.
* lib/iso8859_10.h (iso8859_10_wctomb): Likewise.
* lib/iso8859_13.h (iso8859_13_wctomb): Likewise.
* lib/iso8859_14.h (iso8859_14_wctomb): Likewise.
* lib/iso8859_15.h (iso8859_15_wctomb): Likewise.
* lib/iso8859_16.h (iso8859_16_wctomb): Likewise.
* lib/isoir165ext.h (isoir165ext_wctomb): Likewise.
* lib/isoir165.h (isoir165_wctomb): Likewise.
* lib/jisx0201.h (jisx0201_wctomb): Likewise.
* lib/jisx0208.h (jisx0208_wctomb): Likewise.
* lib/jisx0212.h (jisx0212_wctomb): Likewise.
* lib/johab.h (johab_wctomb): Likewise.
* lib/johab_hangul.h (johab_hangul_wctomb, johab_hangul_decompose):
Likewise.
* lib/koi8_r.h (koi8_r_wctomb): Likewise.
* lib/koi8_ru.h (koi8_ru_wctomb): Likewise.
* lib/koi8_u.h (koi8_u_wctomb): Likewise.
* lib/ksc5601.h (ksc5601_wctomb): Likewise.
* lib/mac_arabic.h (mac_arabic_wctomb): Likewise.
* lib/mac_centraleurope.h (mac_centraleurope_wctomb): Likewise.
* lib/mac_croatian.h (mac_croatian_wctomb): Likewise.
* lib/mac_cyrillic.h (mac_cyrillic_wctomb): Likewise.
* lib/mac_greek.h (mac_greek_wctomb): Likewise.
* lib/mac_hebrew.h (mac_hebrew_wctomb): Likewise.
* lib/mac_iceland.h (mac_iceland_wctomb): Likewise.
* lib/mac_roman.h (mac_roman_wctomb): Likewise.
* lib/mac_romania.h (mac_romania_wctomb): Likewise.
* lib/mac_thai.h (mac_thai_wctomb): Likewise.
* lib/mac_turkish.h (mac_turkish_wctomb): Likewise.
* lib/mac_ukraine.h (mac_ukraine_wctomb): Likewise.
* lib/mulelao.h (mulelao_wctomb): Likewise.
* lib/nextstep.h (nextstep_wctomb): Likewise.
* lib/sjis.h (sjis_wctomb): Likewise.
* lib/tcvn.h (tcvn_wctomb): Likewise.
* lib/tis620.h (tis620_wctomb): Likewise.
* lib/ucs2be.h (ucs2be_wctomb): Likewise.
* lib/ucs2.h (ucs2_wctomb): Likewise.
* lib/ucs2internal.h (ucs2internal_wctomb): Likewise.
* lib/ucs2le.h (ucs2le_wctomb): Likewise.
* lib/ucs2swapped.h (ucs2swapped_wctomb): Likewise.
* lib/ucs4.h (ucs4_wctomb): Likewise.
* lib/uhc_1.h (uhc_1_wctomb): Likewise.
* lib/uhc_2.h (uhc_2_wctomb): Likewise.
* lib/utf16be.h (utf16be_wctomb): Likewise.
* lib/utf16.h (utf16_wctomb): Likewise.
* lib/utf16le.h (utf16le_wctomb): Likewise.
* lib/utf32be.h (utf32be_wctomb): Likewise.
* lib/utf32.h (utf32_wctomb): Likewise.
* lib/utf32le.h (utf32le_wctomb): Likewise.
* lib/utf7.h (utf7_wctomb): Likewise.
* lib/utf8.h (utf8_wctomb): Likewise.
* lib/viscii.h (viscii_wctomb): Likewise.
* tools/8bit_tab_to_h.c (main): Likewise.
* tools/cjk_tab_to_h.c (output_uni2charset_dense,
output_uni2charset_sparse, do_gb18030uni): Likewise.
2001-05-19 Bruno Haible <haible@clisp.cons.org>
* Makefile.devel (all): Add man/{iconv.1,iconv*.3}.html.
(man/%.html): New rule.
* man/Makefile.in (docdir, htmldir): New variables.
(install, installdirs): Install the HTML formatted man pages in
$(htmldir).
(uninstall): Uninstall them.
2001-05-20 Bruno Haible <haible@clisp.cons.org>
* lib/cp1255.h (cp1255_decomp_table): New array.
(cp1255_comb_table): New array.
(cp1255_wctomb): Decompose Unicode characters.
* tests/CP1255.IRREVERSIBLE.TXT: New file.
2001-05-13 Bruno Haible <haible@clisp.cons.org>
* lib/vietcomb.h: New file.
* lib/cp1258.h: Include it.
(cp1258_comb_table): New array.
(cp1258_wctomb): Decompose Unicode characters.
* lib/tcvn.h: Include it.
(tcvn_comb_table): New array.
(tcvn_wctomb): Decompose Unicode characters.
* tests/CP1258.IRREVERSIBLE.TXT: New file.
* tests/TCVN.IRREVERSIBLE.TXT: New file.
2001-05-06 Bruno Haible <haible@clisp.cons.org>
* lib/Makefile.msvc (config.h): Allow the 'del' command to fail.
(iconv.lib): Likewise.
2001-05-06 Bruno Haible <haible@clisp.cons.org>
* lib/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
(CPP): Remove variable.
(libiconv.la, libiconv_plug_linux.so, libiconv_plug_solaris.so,
libiconv_plug_osf.so): Use LDFLAGS.
(libiconv_plug_linux.so, libiconv_plug_solaris.so,
libiconv_plug_osf.so, iconv.lo): Use CPPFLAGS.
* lib/Makefile.msvc (CPP): Remove variable.
* src/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
(CPP): Remove variable.
(iconv): Use CPPFLAGS and LDFLAGS.
* src/Makefile.msvc (CPP): Remove variable.
* tests/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
(check, table-from, table-to): Use CPPFLAGS and LDFLAGS.
* tests/Makefile.msvc (CPP): Remove variable.
2001-05-06 Bruno Haible <haible@clisp.cons.org>
* lib/Makefile.in (libiconv_plug_solaris.so): Change rule if not using
gcc. Reported by Paananen Mikko <mikkopa@cs.tut.fi>.
2001-04-11 Bruno Haible <haible@clisp.cons.org>
Implement and document UTF-32, UTF-32BE, UTF-32LE.
* src/utf32.h, src/utf32be.h, src/utf32le.h: New files.
* src/converters.h: Include them.
* src/encodings.def (UTF-32, UTF-32BE, UTF32LE): New encodings.
* README, man/iconv_open.3: Add UTF-32, UTF-32BE, UTF32LE.
* tests/Makefile.in (check): Check UTF-32, UTF-32BE, UTF32LE.
* tests/Makefile.os2 (check): Likewise.
* tests/Makefile.msvc (check): Likewise.
* tests/UTF-32*snippet*: New files.
* lib/ucs4.h (ucs4_mbtowc): Fix value of other-endian byte order.
(ucs4_wctomb): Allow any 31-bit codepoint.
2001-04-11 Bruno Haible <haible@clisp.cons.org>
* tests/GB18030.TXT: Add mappings for all of U+0000..U+FFFF, including
unassigned code points.
* tests/table-from.c (main); When dumping GB18030, don't print code
points larger than U+FFFF.
2001-03-30 Bruno Haible <haible@clisp.cons.org>
* tools/Makefile (GB18030uni.TXT): Use a table source which includes
the unassigned Unicode code points.
* lib/gb18030uni.h: Update.
(gb18030uni_ranges): Remove bitmap_offset field.
(gb18030uni_bitmap): Remove array.
(gb18030uni_mbtowc): Omit gb18030uni_bitmap access.
(gb18030uni_wctomb): Likewise.
* lib/gb18030.h (gb18030_mbtowc): Handle Unicode characters >= 0x10000.
(gb18030_wctomb): Likewise.
2001-03-21 Bruno Haible <haible@clisp.cons.org>
* INSTALL.generic (Particular Systems): Add recommendations for AIX 3.
2001-03-21 Bruno Haible <haible@clisp.cons.org>
* src/iconv.c (print_version): Now called GNU libiconv.
2001-03-20 Bruno Haible <haible@clisp.cons.org>
* README: This package is now called GNU libiconv.
* tools/8bit_tab_to_h.c (main): Emit copyright notice to the output
file.
* tools/cjk_tab_to_h.c (output_title): Likewise.
* tools/cjk_variants.c (main): Likewise.
* lib/gentranslit.c (main): Likewise.
2001-03-19 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_CANONICAL_HOST): Always define
ac_config_guess and ac_config_sub. Then ignore requests for
AC_CONFIG_AUX_DIR_DEFAULT or AC_CANONICAL_HOST.
2001-03-10 Bruno Haible <haible@clisp.cons.org>
* INSTALL.generic: New section "Particular Systems".
2001-03-10 Bruno Haible <haible@clisp.cons.org>
* lib/Makefile.in (libiconv.la): Pass flag -no-undefined. Needed on
platforms like BeOS.
* lib/loop_wchar.h (mbstate_t): Don't typedef if already #defined in
config.h.
2001-03-06 Bruno Haible <haible@clisp.cons.org>
* Version 1.6 released.
* include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
Bump version number.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:3:0.
2001-03-05 Bruno Haible <haible@clisp.cons.org>
Provide all encodings used by OSF/1 5.1 locales.
* lib/dec_kanji.h: New file.
* lib/dec_hanyu.h: New file.
* lib/converters.h: Include them if USE_OSF1 is defined.
* lib/encodings_osf1.def: New file.
* lib/genflags.c (main): Include it. Define USE_OSF1.
* lib/genaliases2.c (main): Include it conditionally.
* lib/iconv.c: Define USE_OSF1 on OSF/1.
Include encodings_osf1.def and aliases_osf1.h.
* lib/Makefile.in (iconv.lo): Depend on encodings_osf1.def and
aliases_osf1.h.
* Makefile.devel (lib/aliases_osf1.h): New target.
(all): Depend on lib/aliases_osf1.h.
(lib/flags.h): Depend on lib/encodings_osf1.def.
2001-03-01 Bruno Haible <haible@clisp.cons.org>
* tools/Makefile (cp775.h): New target.
(ALL): Add it.
* lib/cp775.h: New file.
* lib/converters.h: Include it.
* lib/encodings_dos.def (CP775): New encoding.
2001-02-25 Bruno Haible <haible@clisp.cons.org>
* lib/iconv.c (iconv_open): locale_charset() doesn't return NULL any
more.
2001-02-24 Bruno Haible <haible@clisp.cons.org>
* src/iconv.c (convert): Use ICONV_CONST.
* tests/table-from.c: Include config.h.
(try): Use ICONV_CONST.
* tests/table-to.c: Include config.h.
(main): Use ICONV_CONST.
* tests/Makefile.in (INCLUDES): Add -I../lib.
* tests/Makefile.os2 (INCLUDES): Likewise.
* tests/Makefile.msvc (INCLUDES): Add -I..\lib.
2001-02-24 Bruno Haible <haible@clisp.cons.org>
Provide all encodings used by DOS locales.
* tools/Makefile (cp437.h, cp852.h, cp855.h, cp857.h, cp861.h,
cp864.h, cp865.h, cp869.h): New targets.
(ALL): Add them.
* lib/cp437.h: New file.
* lib/cp852.h: New file.
* lib/cp855.h: New file.
* lib/cp857.h: New file.
* lib/cp861.h: New file.
* lib/cp864.h: New file.
* lib/cp865.h: New file.
* lib/cp869.h: New file.
* lib/converters.h: Include them if USE_DOS is defined.
* lib/encodings_dos.def: New file.
* lib/genflags.c (main): Include it. Define USE_DOS.
* lib/genaliases2.c (main): Include it conditionally.
* lib/iconv.c: Define USE_DOS on DJGPP.
Include encodings_dos.def and aliases_dos.h.
* lib/Makefile.in (iconv.lo): Depend on encodings_dos.def and
aliases_dos.h.
* Makefile.devel (lib/aliases_dos.h): New target.
(all): Depend on lib/aliases_dos.h.
(lib/flags.h): Depend on lib/encodings_dos.def.
2001-02-23 Bruno Haible <haible@clisp.cons.org>
* src/iconv.c [DJGPP]: Include <io.h> and <unistd.h>.
(SET_BINARY) [O_BINARY]: New macro.
(usage): Mention --binary if available.
(convert): Use SET_BINARY instead of setmode.
(main): Likewise.
Reported by Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>.
2001-02-25 Bruno Haible <haible@clisp.cons.org>
* autoconf/ltconfig:
sed -e 's/reload object files/produce relocatable object files/'.
2001-02-20 Bruno Haible <haible@clisp.cons.org>
* src/iconv.c (usage, main): Make -f and -t options optional.
* man/iconv.1: Mark them as optional.
2001-02-20 Bruno Haible <haible@clisp.cons.org>
* tools/Makefile (GB18030ext.TXT, GB18030uni.TXT): Generate from
glibc-2.2.2 table.
* lib/gb18030uni.h, lib/gb18030ext.h: Add mapping 0xA989 -> U+303E,
0xFE5E -> U+2E97. Shift the entire four-byte range.
* tests/GB18030.TXT: Regenerated.
2001-02-20 Bruno Haible <haible@clisp.cons.org>
Better support for DOS/Windows platforms.
* autoconf/ltconfig: Upgrade to libtool-1.3.5.
* autoconf/ltmain.sh: Likewise.
* autoconf/aclocal.m4: Likewise.
* autoconf/install-sh: New file.
* configure.in: Call AC_OBJEXT and AC_EXEEXT. Call AC_CONFIG_AUX_DIR.
2001-02-20 Bruno Haible <haible@clisp.cons.org>
* Makefile.in (libdir, includedir, mandir): Use the autoconf
determined value, in order to respect the configure arguments.
* lib/Makefile.in (libdir): Likewise.
* src/Makefile.in (bindir): Likewise.
* man/Makefile.in (mandir): Likewise.
2001-02-04 Bruno Haible <haible@clisp.cons.org>
* lib/translit.def: Add all the neutral transliterations from glibc.
* lib/gentranslit.c (main): Allow UTF-8 replacements which are in
UCS-2 but not in ISO-8859-1. Generate a table of 'unsigned short'.
Avoid accessing data[-1].
* lib/loop_unicode.h (unicode_loop_convert): Change type of pointer
into translit_data.
2001-01-05 Bruno Haible <haible@clisp.cons.org>
Implement and document CP862.
* tools/Makefile (ALL): Add cp862.h.
(cp862.h): New target.
* lib/cp862.h: New file.
* lib/converters.h: Include it.
* lib/encodings.def (CP862): New encoding.
* README, man/iconv_open.3: Add CP862.
* tests/Makefile.in (check): Check CP862.
* tests/Makefile.msvc (check): Likewise.
* tests/Makefile.os2 (check): Likewise.
* tests/CP862.TXT: New file.
2000-12-18 Bruno Haible <haible@clisp.cons.org>
* autoconf/mbstate_t.m4: New file, from textutils-2.0.10.
* Makefile.devel (OTHERMACROS): Add it.
* configure.in: Call AC_MBSTATE_T.
* lib/config.h.in (mbstate_t): New definition.
* lib/loop_wchar.h (mbrtowc): For BeOS, declare and define fallback.
2000-12-12 Bruno Haible <haible@clisp.cons.org>
* Makefile.in: Use $(MAKE) instead of $(MAKE) -r. Needed with Solaris
"make", which doesn't set MAKE as expected by @SET_MAKE@ if -r is
given. Reported by Toshimitsu Fujiwara.
2000-12-08 Bruno Haible <haible@clisp.cons.org>
* Makefile.in (exec_prefix): Use configure's --exec-prefix argument.
* lib/Makefile.in (exec_prefix): Likewise.
* src/Makefile.in (exec_prefix): Likewise.
* man/Makefile.in (exec_prefix): Likewise.
2000-12-02 Bruno Haible <haible@clisp.cons.org>
* Version 1.5 released.
* include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
Bump version number.
* lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:2:0.
2000-12-02 Bruno Haible <haible@clisp.cons.org>
* Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
Remove files installed in lib by libcharset.
* Makefile.msvc (mostlyclean): Likewise.
* Makefile.in (check): Depend on target 'all'.
* Makefile.os2 (check): Likewise.
* Makefile.msvc (check): Depend on target 'force' as well.
* src/iconv.c (usage): Take an exitcode argument.
(print_version): New function.
(main): Recognize --help and --version command line options.
2000-12-02 Bruno Haible <haible@clisp.cons.org>
* Makefile.msvc: Replace STATIC with its opposite flag, DLL.
* lib/Makefile.msvc: Likewise.
* src/Makefile.msvc: Likewise.
* tests/Makefile.msvc: Likewise.
2000-12-01 Bruno Haible <haible@clisp.cons.org>
* src/iconv.c: Include <fcntl.h>. Define fallbacks for setmode, fileno.
(force_binary): New variable.
(convert): If requested, set the input O_BINARY.
(main): Accept --binary option. If requested, set the output O_BINARY.
* tests/check-stateful.bat: Pass --binary to iconv.
* tests/check-stateful.cmd: Likewise.
* tests/check-translit.bat: Likewise.
* tests/check-translit.cmd: Likewise.
2000-12-01 Bruno Haible <haible@clisp.cons.org>
* include/iconv.h.in (_libiconv_version): New declaration.
* lib/iconv.c (_libiconv_version): New variable.
2000-11-30 Bruno Haible <haible@clisp.cons.org>
* Makefile.msvc (all): File now named lib/libcharset.h.
(clean, distclean, maintainer-clean): Likewise.
2000-11-23 Bruno Haible <haible@clisp.cons.org>
* lib/*: Move here all files from src/*.
* src/*: Move all files to lib.
* lib/Makefile.in (distclean): No need to remove config.status,
config.log, config.cache.
* configure.in: Require lib/iconv.c, not src/iconv.c. Create
lib/config.h, not src/config.h. Also create lib/Makefile.
* Makefile.in (all): Install libcharset into lib, not src. Recurse
into lib and src.
(install-lib): Recurse into lib, not src.
(install): Recurse into libcharset, lib and src.
(installdirs, uninstall): Likewise.
(check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
* Makefile.msvc (all): Recurse into lib and src.
(install): Recurse into libcharset, lib and src.
(installdirs, uninstall): Likewise.
(check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
* Makefile.os2 (all): Recurse into lib and src.
(install-lib): Recurse into lib, not src.
(install, uninstall): Recurse into lib and src.
(check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
* Makefile.devel (lib/config.h.msvc): Renamed from src/config.h.msvc.
(lib/aliases.h): Renamed from src/aliases.h.
(lib/aliases.gperf): Renamed from src/aliases.gperf.
(lib/aliases_aix.h): Renamed from src/aliases_aix.h.
(lib/flags.h): Renamed from src/flags.h.
(lib/translit.h): Renamed from src/translit.h.
* src/iconv.c: Moved here from tests/iconv.c.
* src/Makefile.in: New file.
* src/Makefile.msvc: New file.
* src/Makefile.os2: New file.
* tests/Makefile.in (iconv): Remove target.
(../lib/libiconv.la): Renamed from ../src/libiconv.la.
(clean): No need to remove iconv.
* tests/Makefile.msvc (iconv.exe): Remove target.
* tests/Makefile.os2 (iconv.exe): Likewise.
* tests/check-stateful: iconv is in ../src.
* tests/check-stateful.bat: Likewise.
* tests/check-stateful.cmd: Likewise.
* tests/check-translit: iconv is in ../src.
* tests/check-translit.bat: Likewise.
* tests/check-translit.cmd: Likewise.
* man/iconv.1: New file.
* man/Makefile.in (install, installdirs, uninstall): Also install *.1
man pages.
* man/Makefile.os2 (MAN3): Renamed from MAN.
(MAN1): New variable.
(install, uninstall): Also install *.1 man pages.
2000-11-21 Bruno Haible <haible@clisp.cons.org>
* Makefile.msvc (all, check, mostlyclean, clean, distclean,
maintainer-clean): Recurse into libcharset.
(clean, distclean, maintainer-clean): Remove src\libcharset.h.
* src/Makefile.msvc (LIBCHARSET_OBJECTS): New variable.
(iconv.lib): Link with $(LIBCHARSET_OBJECTS).
2000-11-18 Bruno Haible <haible@clisp.cons.org>
* src/cp950.h (cp950_mbtowc, cp950_wctomb): Change implementation
so that it agrees with Microsoft's definition of CP950.
* tests/CP950.TXT: Likewise.
* tests/CP950.IRREVERSIBLE.TXT: Add 0xA244, 0xA2CC, 0xA2CE.
2000-11-18 Bruno Haible <haible@clisp.cons.org>
Add support for locale dependent "char" and "wchar_t" encodings.
* libcharset: New subdirectory.
* src/loop_unicode.h: New file, extracted from src/iconv.c.
* src/loop_wchar.h: New file.
* src/loops.h: New file. Include loop_unicode.h and loop_wchar.h.
* src/encodings_local.def: New file.
* src/genaliases.c: Also create aliases for encodings_local.def.
* src/converters.h (conv_struct): Add lfuncs field.
* src/genflags.c: Add dummy definitions of struct loop_funcs.
* src/iconv.c: Include libcharset.h.
(loop_funcs): New structure.
Treat encodings_local.def like encodings.def.
Include loops.h.
(iconv_open): Move the bulk of the code to loop_unicode.h.
(iconv): Likewise.
(iconvctl): Extend determination of TRIVIALP to wchar_t conversion
descriptors.
* src/Makefile.in (PLUG_SOURCES): Remove variable.
(LIBCHARSET_OBJECTS): New variable.
(libiconv.la): Link in the LIBCHARSET_OBJECTS.
(libiconv_plug_linux.so, libiconv_plug_solaris.so,
libiconv_plug_osf.so): Link in the LIBCHARSET_OBJECTS, using
LIBTOOL_LINK.
(iconv.lo): Depend on encodings_local.def.
* src/Makefile.msvc (iconv.obj): Depend on encodings_local.def.
* src/Makefile.os2 (iconv.obj): Likewise.
* configure.in: Add tests for locale.h, mbrtowc, wcrtomb, setlocale.
Recurse into libcharset.
* src/config.h.in (HAVE_LOCALE_H, HAVE_MBRTOWC, HAVE_WCRTOMB,
HAVE_SETLOCALE): New macros.
* tests/iconv.c: Include config.h and locale.h.
(main): Call setlocale.
* tests/Makefile.in (iconv): Search for config.h in ../src.
* tests/Makefile.os2 (iconv.exe): Likewise.
* tests/Makefile.msvc (iconv.exe): Likewise.
* README, man/iconv_open.3: Document "char" and "wchar_t" encodings.
* Makefile.in: After "cd", use "&&" not ";".
(all, check, mostlyclean, clean, distclean, maintainer-clean):
Recurse into libcharset.
* Makefile.devel (all): Recurse into libcharset.
(src/aliases.gperf): Depend on src/encodings_local.def.
2000-11-18 Bruno Haible <haible@clisp.cons.org>
* src/converters.h (ucs4_t): New type.
(wchar_t): Remove locally defined override.
(mbtowc_funcs, wctomb_funcs): Use ucs4_t instead of wchar_t.
* src/iconv.c (iconv): Likewise.
* src/genflags.c (emit_encoding): Use ucs4_t instead of wchar_t.
* tools/8bit_tab_to_h.c: Use "ucs4_t" instead of "wchar_t".
* tools/cjk_tab_to_h.c: Likewise.
* src/armscii_8.h: Use ucs4_t instead of wchar_t.
* src/ascii.h: Likewise.
* src/big5.h: Likewise.
* src/big5hkscs.h: Likewise.
* src/ces_big5.h: Likewise.
* src/ces_gbk.h: Likewise.
* src/cns11643.h: Likewise.
* src/cns11643_1.h: Likewise.
* src/cns11643_2.h: Likewise.
* src/cns11643_3.h: Likewise.
* src/cns11643_inv.h: Likewise.
* src/cp1046.h: Likewise.
* src/cp1124.h: Likewise.
* src/cp1129.h: Likewise.
* src/cp1133.h: Likewise.
* src/cp1250.h: Likewise.
* src/cp1251.h: Likewise.
* src/cp1252.h: Likewise.
* src/cp1253.h: Likewise.
* src/cp1254.h: Likewise.
* src/cp1255.h: Likewise.
* src/cp1256.h: Likewise.
* src/cp1257.h: Likewise.
* src/cp1258.h: Likewise.
* src/cp850.h: Likewise.
* src/cp856.h: Likewise.
* src/cp866.h: Likewise.
* src/cp874.h: Likewise.
* src/cp922.h: Likewise.
* src/cp932.h: Likewise.
* src/cp932ext.h: Likewise.
* src/cp936ext.h: Likewise.
* src/cp949.h: Likewise.
* src/cp950.h: Likewise.
* src/cp950ext.h: Likewise.
* src/euc_cn.h: Likewise.
* src/euc_jp.h: Likewise.
* src/euc_kr.h: Likewise.
* src/euc_tw.h: Likewise.
* src/gb12345.h: Likewise.
* src/gb12345ext.h: Likewise.
* src/gb18030.h: Likewise.
* src/gb18030ext.h: Likewise.
* src/gb18030uni.h: Likewise.
* src/gb2312.h: Likewise.
* src/gbk.h: Likewise.
* src/gbkext1.h: Likewise.
* src/gbkext2.h: Likewise.
* src/gbkext_inv.h: Likewise.
* src/georgian_academy.h: Likewise.
* src/georgian_ps.h: Likewise.
* src/hkscs.h: Likewise.
* src/hp_roman8.h: Likewise.
* src/hz.h: Likewise.
* src/iso2022_cn.h: Likewise.
* src/iso2022_cnext.h: Likewise.
* src/iso2022_jp.h: Likewise.
* src/iso2022_jp1.h: Likewise.
* src/iso2022_jp2.h: Likewise.
* src/iso2022_kr.h: Likewise.
* src/iso646_cn.h: Likewise.
* src/iso646_jp.h: Likewise.
* src/iso8859_1.h: Likewise.
* src/iso8859_10.h: Likewise.
* src/iso8859_13.h: Likewise.
* src/iso8859_14.h: Likewise.
* src/iso8859_15.h: Likewise.
* src/iso8859_16.h: Likewise.
* src/iso8859_2.h: Likewise.
* src/iso8859_3.h: Likewise.
* src/iso8859_4.h: Likewise.
* src/iso8859_5.h: Likewise.
* src/iso8859_6.h: Likewise.
* src/iso8859_7.h: Likewise.
* src/iso8859_8.h: Likewise.
* src/iso8859_9.h: Likewise.
* src/isoir165.h: Likewise.
* src/isoir165ext.h: Likewise.
* src/java.h: Likewise.
* src/jisx0201.h: Likewise.
* src/jisx0208.h: Likewise.
* src/jisx0212.h: Likewise.
* src/johab.h: Likewise.
* src/johab_hangul.h: Likewise.
* src/koi8_r.h: Likewise.
* src/koi8_ru.h: Likewise.
* src/koi8_u.h: Likewise.
* src/ksc5601.h: Likewise.
* src/mac_arabic.h: Likewise.
* src/mac_centraleurope.h: Likewise.
* src/mac_croatian.h: Likewise.
* src/mac_cyrillic.h: Likewise.
* src/mac_greek.h: Likewise.
* src/mac_hebrew.h: Likewise.
* src/mac_iceland.h: Likewise.
* src/mac_roman.h: Likewise.
* src/mac_romania.h: Likewise.
* src/mac_thai.h: Likewise.
* src/mac_turkish.h: Likewise.
* src/mac_ukraine.h: Likewise.
* src/mulelao.h: Likewise.
* src/nextstep.h: Likewise.
* src/sjis.h: Likewise.
* src/tcvn.h: Likewise.
* src/tis620.h: Likewise.
* src/ucs2.h: Likewise.
* src/ucs2be.h: Likewise.
* src/ucs2internal.h: Likewise.
* src/ucs2le.h: Likewise.
* src/ucs2swapped.h: Likewise.
* src/ucs4.h: Likewise.
* src/ucs4be.h: Likewise.
* src/ucs4internal.h: Likewise.
* src/ucs4le.h: Likewise.
* src/ucs4swapped.h: Likewise.
* src/uhc_1.h: Likewise.
* src/uhc_2.h: Likewise.
* src/utf16.h: Likewise.
* src/utf16be.h: Likewise.
* src/utf16le.h: Likewise.
* src/utf7.h: Likewise.
* src/utf8.h: Likewise.
* src/viscii.h: Likewise.
2000-11-18 Bruno Haible <haible@clisp.cons.org>
Make transliteration optional.
* src/iconv.c (iconv_open): Strip off //TRANSLIT suffix from names.
Set transliteration on if and only if tocode ends in //TRANSLIT.
* README, man/iconv_open.3: Document how to enable transliteration.
* tests/check-translit: Add //TRANSLIT to iconv's 't' argument.
* tests/check-translit.bat: Likewise.
* tests/check-translit.cmd: Likewise.
2000-11-18 Bruno Haible <haible@clisp.cons.org>
* man/iconv.3: Fix typo.
2000-10-31 Bruno Haible <haible@clisp.cons.org>
* README, man/iconv_open.3: Document JOHAB again.
2000-11-15 Bruno Haible <haible@clisp.cons.org>
* Makefile.msvc: Add support for MFLAGS and DEBUG parameters.
(STATIC): Change default from 0 to 1.
* src/Makefile.msvc: Likewise.
* tests/Makefile.msvc: Likewise.
* tests/check-stateless.bat: Call 'sort' with no arguments.
2000-11-12 Bruno Haible <haible@clisp.cons.org>
* autoconf/config.guess, autoconf/config.sub: Upgrade to newest
version from GNU CVS.
2000-10-24 Bruno Haible <haible@clisp.cons.org>
* Version 1.4 released.
* include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
Bump version number.
* src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:1:0.
2000-10-23 Bruno Haible <haible@clisp.cons.org>
Implement and document GB18030 and BIG5HKSCS.
* tools/cjk_tab_to_h.c (row_byte_hkscs, byte_row_hkscs, do_hkscs): New
functions.
(do_gb18030uni): New function.
(main): Accept gb18030ext, gb18030uni, hkscs.
* tools/Makefile (ALL): Add gb18030ext.h, gb18030uni.h, hkscs.h.
(gb18030ext.h, GB18030ext.TXT, gb18030uni.h, GB18030uni.TXT,
hkscs.h): New targets.
* src/gb18030ext.h, src/gb18030uni.h, src/gb18030.h: New files.
* src/hkscs.h, src/big5hkscs.h: New files.
* src/converters.h: Include gb18030.h and big5hkscs.h.
* src/encodings.def (GB18030, BIG5HKSCS): New encodings.
* README, man/iconv_open.3: Add GB18030, BIG5HKSCS.
* tests/Makefile.in (check): Check GB18030, BIG5HKSCS.
* tests/Makefile.msvc (check): Likewise.
* tests/Makefile.os2 (check): Likewise.
* tests/GB18030.TXT: New file.
* tests/BIG5HKSCS.TXT, tests/BIG5HKSCS.IRREVERSIBLE.TXT: New files.
2000-10-23 Bruno Haible <haible@clisp.cons.org>
* tests/table-from.c (try, main): Use UCS-4-INTERNAL instead of
UCS-2-INTERNAL, to avoid problems with UCS-2 surrogate handling.
* tests/table-to.c (main): Likewise.
2000-10-22 Bruno Haible <haible@clisp.cons.org>
* src/gentranslit.c (main): Read the input in UTF-8 encoding.
2000-10-09 Bruno Haible <haible@clisp.cons.org>
CPU recognition on OpenBSD.
* autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __m68k__,
__mc68020__, __MIPSEB__, __MIPSEL__, __m88k__ as CPU indicators.
2000-10-03 Bruno Haible <haible@clisp.cons.org>
* src/gentranslit.c (main): Don't output non-ASCII ISO-8859-1
character literals, use the numeric value instead.
Reported by Shin-Hsien Yeh <shyeh@alcatel.com.tw>.
2000-09-29 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_CANONICAL_HOST): Fix bug in 2000-05-23
change.
2000-09-25 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __i386__
as equivalent to __i386. For OpenBSD.
2000-09-21 Bruno Haible <haible@clisp.cons.org>
* src/utf16.h (utf16_wctomb): Reject single surrogates.
* src/utf16be.h (utf16be_wctomb): Likewise.
* src/utf16le.h (utf16le_wctomb): Likewise.
* src/ucs2.h (ucs2_mbtowc, ucs2_wctomb): Likewise.
* src/ucs2be.h (ucs2be_mbtowc, ucs2be_wctomb): Likewise.
* src/ucs2le.h (ucs2le_mbtowc, ucs2le_wctomb): Likewise.
* src/ucs2internal.h (ucs2internal_mbtowc, ucs2internal_wctomb):
Likewise.
* src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb):
Likewise.
2000-09-15 Bruno Haible <haible@clisp.cons.org>
* Makefile.in (install, installdirs, uninstall): Support DESTDIR.
* src/Makefile.in (install, installdirs, uninstall): Likewise.
* man/Makefile.in (install, installdirs, uninstall): Likewise.
2000-09-11 Bruno Haible <haible@clisp.cons.org>
* src/utf7.h (utf7_mbtowc): Fix combining of UTF-16 surrogates.
2000-08-26 Bruno Haible <haible@clisp.cons.org>
* autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
value, not parens.
2000-07-04 Akira Hatakeyama <akira@sra.co.jp>
Bruno Haible <haible@clisp.cons.org>
* os2/iconv.def, README.os2, Makefile.os2, src/Makefile.os2,
tests/Makefile.os2, man/Makefile.os2, tests/check-stateful.cmd,
tests/check-stateless.cmd, tests/check-translit.cmd: New files.
2000-06-28 Bruno Haible <haible@clisp.cons.org>
* src/ucs2internal.h (ucs2internal_mbtowc): Avoid gcc warning about
cast.
* src/ucs4internal.h (ucs4internal_mbtowc): Likewise.
* src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb): Verify
sizeof(unsigned short).
* src/ucs4swapped.h (ucs4swapped_mbtowc, ucs4swapped_mbtowc): Verify
sizeof(unsigned int).
Reported by François Pinard <pinard@iro.umontreal.ca>.
2000-05-29 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.