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