1 2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
3 * DbcsEncoding.cs ISO2022JP.cs GB18030Encoding.cs CP51932.cs
4 CP949.cs : Fixed windows code page and some minor properties.
6 2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
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).
12 2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
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.
20 2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
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().
30 2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
32 * ISO2022JP.cs GB18030Encoding.cs CP936.cs CP51932.cs:
35 2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
38 This was the last one encoding which needed incomplete byte
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.
46 2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
49 handle incomplete byte (thus conversion implementation went into
50 CP949Decoder like other DBCS encodings).
52 2006-01-23 Atsushi Enomoto <atsushi@ximian.com>
55 handle incomplete byte (thus conversion implementation went into
56 CP936Decoder like other DBCS encodings).
58 2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
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.
66 2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
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.
75 2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
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
83 * GB18030Source.cs : handle end index of GB18030Map as inclusive,
84 not exclusive. Reject out-of-range GBX conversion.
86 2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
88 * GB18030Encoding.cs : GetChars() ditto. Fixed bug #77306.
90 2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
92 * CP949.cs : GetChars() exactly the same fix as CP950.
95 2006-01-20 Atsushi Enomoto <atsushi@ximian.com>
97 * CP950.cs : GetChars() should filter out invalid index to internal
98 conversion array. Fixed bug #77274.
100 2006-01-17 Atsushi Enomoto <atsushi@ximian.com>
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.
106 2006-01-17 Atsushi Enomoto <atsushi@ximian.com>
108 * DbcsEncoding.cs ISO2022JP.cs GB18030Encoding.cs CP950.cs
109 CP932.cs CP936.cs CP51932.cs CP949.cs (All) :
110 Marked as [Serializable].
112 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
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.
119 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
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().
127 2006-01-13 Atsushi Enomoto <atsushi@ximian.com>
129 * CP932.cs : GetByteCount() returned insufficient count at PrivateUse
130 area. Fixed bug #77724.
132 (Additionally, reduced extraneous indentation in switch-cases).
134 2006-01-12 Atsushi Enomoto <atsushi@ximian.com>
136 * CP51932.cs : oops, another extra debugging code was remaining.
139 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
141 Now I can rename new CP936_2.cs file to CP936.cs without svn diff mess.
143 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
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
155 * gb2312-build.sh : added note that we don't use it anymore.
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
161 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
163 * renamed from big5-table-generator.cs to dbcs-table-generator.cs.
165 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
167 * big5-table-generator.cs : made it to work for GB2312 table
168 generation purpose (different format than gb2312.table.)
170 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
174 GB18030Source.cs : conversion from Encoding to MonoEncoding and
175 added fallback support in GEtBytes(Impl), as well as others.
177 2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
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.
185 2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
187 * CP949.cs : migration from GetBytes (of Encoding) to GetBytesImpl
188 (of MonoEncoding). Added fallback support.
190 2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
192 * I18N.CJK_test.dll.sources : new file for NUnit test.
193 * Makefile : removed NO_TEST.
195 2005-12-03 Atsushi Enomoto <atsushi@ximian.com>
198 GetCharCount() was returning excessive size. Now it is also based
199 on MonoEncoding, with fallback support.
201 2005-12-03 Atsushi Enomoto <atsushi@ximian.com>
203 * CP932.cs : oops, wrong range.
205 2005-12-03 Atsushi Enomoto <atsushi@ximian.com>
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.
212 2005-12-02 Atsushi Enomoto <atsushi@ximian.com>
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.
219 2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
221 * CP949.cs : UHC level 2 base number is wrong.
222 Fixed bug #76760 Patch by Hye-Shik Chang.
224 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
226 * GB18030Encoding.cs : check GB2312 first, and then check GB18030.
227 Fixed GB18030 part of bug #76722.
229 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
231 * GB2312Convert.cs , CP936.cs, GB18030Encoding.cs : don't handle
232 single byte characters in UcsToGbk. Fixed GB2312 part of #76722.
234 2005-11-01 Atsushi Enomoto <atsushi@ximian.com>
236 * CP949.cs : Now it contains both CP949 (UHC) and CP51949 (EUC) for
237 Korean encoding. This should fix bug #76588.
239 2005-09-25 Atsushi Enomoto <atsushi@ximian.com>
241 * I18N.CJK.dll.sources : needs fix as well.
243 2005-09-25 Atsushi Enomoto <atsushi@ximian.com>
247 So, now "CP50221.cs" is improper, since it contains all 50220-50222.
249 2005-09-25 Atsushi Enomoto <atsushi@ximian.com>
251 * CP50221.cs : actually 50220 and 50222 are also iso-2022-jp encodings.
252 Fixed bug #76139. This file is likely to be renamed.
254 2005-09-18 Atsushi Enomoto <atsushi@ximian.com>
256 * CP50221.cs, GB18030Encoding.cs : because of silly design
257 Common/Manager expects fixed class names CPxxxxx. Fixed bug #76139.
259 2005-08-22 Raja R Harinath <rharinath@novell.com>
261 * Makefile (EXTRA_DISTFILES): Add README.gb18030 and gb18030.table.
263 2005-08-19 Atsushi Enomoto <atsushi@ximian.com>
265 why didn't we have it? ;-)
272 I18N.CJK.dll.sources : added support for GB18030 encoding.
273 * Gb2312Convert.cs : added utility conversion methods.