527dd3098eee5cd15ce4e14a762d6dee5f2959c4
[mono.git] / mcs / class / I18N / CJK / ChangeLog
1 2009-10-09  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * ISO2022JP.cs : simply output wrong escape sequence bytes to the
4           output (like .NET does).
5
6 2009-04-15  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * jis.table : regenerated. Fixed bug #491799.
9
10 2008-06-09  Atsushi Enomoto  <atsushi@ximian.com>
11
12         * ISO2022JP.cs : handle ESC-J sequence which is obsoleted in
13           JIS X 0213. Fixed bug #398273.
14
15 2008-05-16  Atsushi Enomoto  <atsushi@ximian.com>
16
17         * Makefile: I didn't know the syntax ;-)
18
19 2008-05-16  Atsushi Enomoto  <atsushi@ximian.com>
20
21         * Makefile: added Test/texts/*.txt to EXTRA_DISTFILES.
22
23 2006-01-30  Atsushi Enomoto  <atsushi@ximian.com>
24
25         * DbcsEncoding.cs ISO2022JP.cs GB18030Encoding.cs CP51932.cs
26           CP949.cs : Fixed windows code page and some minor properties.
27
28 2006-01-23  Atsushi Enomoto  <atsushi@ximian.com>
29
30         * DbcsConvert.cs ISO2022JP.cs CP950.cs CP932.cs: author lines.
31           Monoized CP932.cs which is too deeply indented to read (and
32           anyways no one other than myself is taking care of it).
33
34 2006-01-23  Atsushi Enomoto  <atsushi@ximian.com>
35
36         * KSConvert.cs Big5Convert.cs Gb2312Convert.cs: removed. They could
37           just be DbcsConvert instances.
38         * I18N.CJK.dll.sources : removed above.
39         * DbcsConvert.cs : added static fields: Big5 and KS.
40         * CP949.cs CP950.cs : use DbcsConvert class directly.
41
42 2006-01-23  Atsushi Enomoto  <atsushi@ximian.com>
43
44         * CP936.cs, CP949.cs, CP950.cs :
45           Added GetByteCountImpl() (there weren't GetByteCount() override
46           in those classes, so they also save extra byte[] allocation).
47         * CP932.cs, CP51932.cs, GB18030Encoding.cs, ISO2022JP.cs :
48           GetByteCount() -> GetByteCountImpl().
49           Fixed ISO2022JPEncoder/Decoder to hold different "shifted_in" flags
50           for GetByteCountImpl() and GetBytesImpl().
51
52 2006-01-23  Atsushi Enomoto  <atsushi@ximian.com>
53
54         * ISO2022JP.cs GB18030Encoding.cs CP936.cs CP51932.cs:
55           fix warnings.
56
57 2006-01-23  Atsushi Enomoto  <atsushi@ximian.com>
58
59         * CP950.cs :
60           This was the last one encoding which needed incomplete byte
61           handling.
62         * DbcsEncoding.cs, GB18030Encoding.cs, CP950.cs, CP932.cs,
63           CP936.cs, CP51932.cs, CP949.cs (all):
64           Made GetCharCount() and GetChars() in DbcsDecoder as different
65           internal CheckRange() methods (it is bad design to have those
66           methods as base methods). Use CheckRange() everywhere.
67
68 2006-01-23  Atsushi Enomoto  <atsushi@ximian.com>
69
70         * CP949.cs :
71           handle incomplete byte (thus conversion implementation went into
72           CP949Decoder like other DBCS encodings).
73
74 2006-01-23  Atsushi Enomoto  <atsushi@ximian.com>
75
76         * CP936.cs :
77           handle incomplete byte (thus conversion implementation went into
78           CP936Decoder like other DBCS encodings).
79
80 2006-01-20  Atsushi Enomoto  <atsushi@ximian.com>
81
82         * CP51932.cs :
83           Encoding.GetChars() does not handle incomplete bytes but
84           Decoder.GetChars() should do it (which was has vanished
85           when I fixed CP51932 4 days ago). Now it uses Decoder which
86           preserves incomplete byte like CP932 and CP54936.
87
88 2006-01-20  Atsushi Enomoto  <atsushi@ximian.com>
89
90         * CP932.cs :
91           Implemented Decoder to handle incomplete bytes correctly. Hold
92           different incomplete bytes for GetChars() and GetCharCount().
93           "reflesh" parameter in 2.0 is now handled correctly.
94           Now GetChars()/GetCharCount() in Encoding are implemented
95           correctly to use Decoder.
96
97 2006-01-20  Atsushi Enomoto  <atsushi@ximian.com>
98
99         Fixed bug #77307.
100         * GB18030Encoding.cs : GetEncoder() and GetDecoder() should be
101           overriden. in the Encoder, refresh parameter should handle
102           incomplete field at its end of processing. Also it should
103           differentiate GetByteCount() and GetChars() for its internal
104           state.
105         * GB18030Source.cs : handle end index of GB18030Map as inclusive,
106           not exclusive. Reject out-of-range GBX conversion.
107
108 2006-01-20  Atsushi Enomoto  <atsushi@ximian.com>
109
110         * GB18030Encoding.cs : GetChars() ditto. Fixed bug #77306.
111
112 2006-01-20  Atsushi Enomoto  <atsushi@ximian.com>
113
114         * CP949.cs : GetChars() exactly the same fix as CP950.
115           Fixed bug #77298.
116
117 2006-01-20  Atsushi Enomoto  <atsushi@ximian.com>
118
119         * CP950.cs : GetChars() should filter out invalid index to internal
120           conversion array. Fixed bug #77274.
121
122 2006-01-17  Atsushi Enomoto  <atsushi@ximian.com>
123
124         * DbcsEncoding.cs CP950.cs CP932.cs CP936.cs CP51932.cs CP949.cs :
125           Made all as really serializable. Removed references to DbcsConvert
126           and added GetConvert() methods instead.
127
128 2006-01-17  Atsushi Enomoto  <atsushi@ximian.com>
129
130         * DbcsEncoding.cs ISO2022JP.cs GB18030Encoding.cs CP950.cs
131           CP932.cs CP936.cs CP51932.cs CP949.cs (All) :
132           Marked as [Serializable].
133
134 2006-01-16  Atsushi Enomoto  <atsushi@ximian.com>
135
136         * CP936.cs :
137           Implement GetCharCount(); it is too costy to use GetChars()
138           in GetCharCount(). Removed extra code in GetChars(). Check table
139           index range before accessing it by index.
140
141 2006-01-16  Atsushi Enomoto  <atsushi@ximian.com>
142
143         * CP51932.cs :
144           In GetChars(), insufficient byte is not preserved.
145           Under 1.x profile it is just discarded.
146           Under 2.0 profile it is converted to \u30FB.
147           Fixed GetCharCount() to match GetChars().
148
149 2006-01-13  Atsushi Enomoto  <atsushi@ximian.com>
150
151         * CP932.cs : GetByteCount() returned insufficient count at PrivateUse
152           area. Fixed bug #77724.
153
154           (Additionally, reduced extraneous indentation in switch-cases).
155
156 2006-01-12  Atsushi Enomoto  <atsushi@ximian.com>
157
158         * CP51932.cs : oops, another extra debugging code was remaining.
159           Fixed bug #77223.
160
161 2005-12-06  Atsushi Enomoto  <atsushi@ximian.com>
162
163         Now I can rename new CP936_2.cs file to CP936.cs without svn diff mess.
164
165 2005-12-06  Atsushi Enomoto  <atsushi@ximian.com>
166
167         * DbcsConvert.cs : added static Gb2312 field for common use.
168         * dbcs-table-generator.cs :
169           Added shortcut options for BIG5 and GB2312. Compressed data a bit.
170         * CP936.cs, CP936_2.cs : GB2312.TXT does not exist anymore on
171           unicode.org and it does not work like MS Codepage 936, so added
172           fresh implementation which is almost the same as CP950.cs.
173           CP936.cs is therefore removed.
174         * GB18030Encoding.cs :
175           switched implementation from Gb2312Convert to (base) DbcsConvert
176           as well as CP936.
177         * gb2312-build.sh : added note that we don't use it anymore.
178         * gb2312.table :
179           with it CP936 can handles CP936-only codepoints as well.
180         * big5.table : compressed a bit.
181         * I18N.CJK.dll.sources : in the meantime, use CP936_2.cs
182
183 2005-12-06  Atsushi Enomoto  <atsushi@ximian.com>
184
185         * renamed from big5-table-generator.cs to dbcs-table-generator.cs.
186
187 2005-12-06  Atsushi Enomoto  <atsushi@ximian.com>
188
189         * big5-table-generator.cs : made it to work for GB2312 table
190           generation purpose (different format than gb2312.table.)
191
192 2005-12-06  Atsushi Enomoto  <atsushi@ximian.com>
193
194         * CP936.cs,
195           GB18030Encoding.cs,
196           GB18030Source.cs : conversion from Encoding to MonoEncoding and
197           added fallback support in GEtBytes(Impl), as well as others.
198
199 2005-12-05  Atsushi Enomoto  <atsushi@ximian.com>
200
201         * big5-table-generator.cs : new file to generate "big5.table".
202         * CP950.cs : added fallback support. switched to GetBytesImpl().
203         * DbcsEncoding.cs : switched to MonoEncoding (should have been
204           committed when CP949.cs was committed).
205         * big5.table : updated to match MS CP950.
206
207 2005-12-05  Atsushi Enomoto  <atsushi@ximian.com>
208
209         * CP949.cs : migration from GetBytes (of Encoding) to GetBytesImpl
210           (of MonoEncoding). Added fallback support.
211
212 2005-12-05  Atsushi Enomoto  <atsushi@ximian.com>
213
214         * I18N.CJK_test.dll.sources : new file for NUnit test.
215         * Makefile : removed NO_TEST.
216
217 2005-12-03  Atsushi Enomoto  <atsushi@ximian.com>
218
219         * CP51932.cs :
220           GetCharCount() was returning excessive size. Now it is also based
221           on MonoEncoding, with fallback support.
222
223 2005-12-03  Atsushi Enomoto  <atsushi@ximian.com>
224
225         * CP932.cs : oops, wrong range.
226
227 2005-12-03  Atsushi Enomoto  <atsushi@ximian.com>
228
229         * CP932.cs :
230           in GetBytes() \uFF01-\uFF60 are incorrectly mapped to ASCII
231           characters (they should be mapped to full-width characters).
232           Base type is now MonoEncoding, without adding fallback support.
233
234 2005-12-02  Atsushi Enomoto  <atsushi@ximian.com>
235
236         * ISO2022JP.cs :
237           Base type is now MonoEncoding (fallbacks are not handled yet).
238           Largely rewritten to handle SI/SO flag (CP50222)
239           and mode transition (all) correctly.
240
241 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
242
243         * CP949.cs : UHC level 2 base number is wrong.
244           Fixed bug #76760 Patch by Hye-Shik Chang.
245
246 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
247
248         * GB18030Encoding.cs : check GB2312 first, and then check GB18030.
249           Fixed GB18030 part of bug #76722.
250
251 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
252
253         * GB2312Convert.cs , CP936.cs, GB18030Encoding.cs : don't handle
254           single byte characters in UcsToGbk. Fixed GB2312 part of #76722.
255
256 2005-11-01  Atsushi Enomoto  <atsushi@ximian.com>
257
258         * CP949.cs : Now it contains both CP949 (UHC) and CP51949 (EUC) for
259           Korean encoding. This should fix bug #76588.
260
261 2005-09-25  Atsushi Enomoto  <atsushi@ximian.com>
262
263         * I18N.CJK.dll.sources : needs fix as well.
264
265 2005-09-25  Atsushi Enomoto  <atsushi@ximian.com>
266
267         * CP50221.cs,
268           ISO2022JP.cs :
269           So, now "CP50221.cs" is improper, since it contains all 50220-50222.
270
271 2005-09-25  Atsushi Enomoto  <atsushi@ximian.com>
272
273         * CP50221.cs : actually 50220 and 50222 are also iso-2022-jp encodings.
274           Fixed bug #76139. This file is likely to be renamed.
275
276 2005-09-18  Atsushi Enomoto  <atsushi@ximian.com>
277
278         * CP50221.cs, GB18030Encoding.cs : because of silly design
279           Common/Manager expects fixed class names CPxxxxx. Fixed bug #76139.
280
281 2005-08-22  Raja R Harinath  <rharinath@novell.com>
282
283         * Makefile (EXTRA_DISTFILES): Add README.gb18030 and gb18030.table.
284
285 2005-08-19  Atsushi Enomoto  <atsushi@ximian.com>
286
287         why didn't we have it? ;-)
288
289         * README.gb18030,
290           gb18030.table,
291           GB18030Encoding.cs,
292           GB18030Source.cs,
293           Makefile,
294           I18N.CJK.dll.sources : added support for GB18030 encoding.
295         * Gb2312Convert.cs : added utility conversion methods.