1 2003-09-01 Miguel de Icaza <miguel@ximian.com>
3 * Encoding.cs (UTF8Unmarked): make it also not error out on
4 invalid input, that is what the Microsoft default is for the
5 StreamReader and BinaryReader expect (our main consumers).
7 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
10 (AppendFormat) Use FormatHelper in System.String to avoid
11 allocating an extra StringBuilder.
12 (Append string, int, int), (Append char, int): Both were
13 allocating extra strings.
15 2003-06-05 Nick Drochak <ndrochak@gol.com>
17 * UTF8Encoding.cs: Cleanups according to class status page
19 2003-05-10 Miguel de Icaza <miguel@ximian.com>
21 * Encoding.cs (GetEncoding): Add all the aliases documented in the
22 framework. We were missing a few.
24 Reorganize the table. Also, convert the input name into the
25 lower-case - to _ before we compare against our table.
27 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
29 * StringBuilder.cs: fixed bug #41397.
31 2003-04-12 Miguel de Icaza <miguel@ximian.com>
33 * Encoding.cs: Enabled the code paths that we did have commented
34 out, they seem to work now.
36 Fri Apr 11 08:29:50 CEST 2003 Paolo Molaro <lupus@ximian.com>
38 * StringBuilder.cs: cache the result from ToString().
40 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
42 * UnicodeEncoding.cs: changed WebName from unicodeFFFE to utf-16be.
43 (unicodeFFFE is MS compliant, but isn't valid IANA encoding name.)
45 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
47 * ASCIIEncoding.cs: fixed bug #38984.
49 2003-03-05 Aleksey Demakov <avd@openlinksw.com>
52 * Latin1Encoding.cs: fix GetString (byte[]) and
53 GetString (byte[], int, int) for zero-length case.
55 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
57 * Latin1Encoding.cs: added Serializable attribute.
59 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61 * Encoding.cs: removed UnixConsoleEncoding.
63 2003-01-30 Zoltan Varga <vargaz@freemail.hu>
65 * StringBuilder.cs: fix the constructor: 'value' can be NULL,
66 'capacity' must be >=0, use defaultCapacity only if capacity equals 0.
67 This fixes the StringBuilder unit tests.
69 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
71 * StringBuilder.cs: fixed typo in set_Length.
73 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
75 * Encoding.cs: g_get_encoding () returns "ASCII". In Default, when the
76 encoding is not found, default to UTF8Unmarked. Removed comment in
77 UnixConsoleEncoding, because it's now Default, which gets the
78 encoding internally using g_get_encoding ().
80 2002-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
82 * StringBuilder.cs: fixed constructor. Thanks to marcusU for reporting.
84 Tue Nov 19 13:03:27 CET 2002 Paolo Molaro <lupus@ximian.com>
86 * UTF8Encoding.cs: fix GetByteCount (), too.
88 2002-11-19 Miguel de Icaza <miguel@ximian.com>
90 * UnicodeEncoding.cs: the bytemark should only be used to return
91 information in GetPreamble, not to actually encode the information
92 on the stream. That is taken care of by the Stream classes.
94 * UTF8Encoding.cs: ditto.
96 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98 * StringBuilder.cs: only move the remaining chars in Remove.
100 2002-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 * Encoding.cs: unixConsoleEncoding is now the same as Default. Avoid
103 locking whenever possible.
105 2002-10-30 Miguel de Icaza <miguel@ximian.com>
107 * Encoding.cs (UTF8Unmarked): New static property, used to return
108 a no-markers UTf8 encoder, used in a few places in the class library.
110 2002-09-06 Miguel de Icaza <miguel@ximian.com>
112 * Encoding.cs (UTF8, Unicode): Create with a preamble, that is
113 what the Microsoft version does.
115 (UnixConsoleEncoding): New internal method, used to get the
116 encoding, in the future, this should pull the locale, map to
117 charset and then code page.
119 Wed Sep 4 14:01:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
121 * Encoding.cs: use icall to get default codepage.
122 * DefaultEncoding.cs: remove useless class.
124 Mon Aug 26 16:44:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
126 * *.cs: change to conform to mono coding style.
128 2002-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
136 * UnicodeEncoding.cs: added Serializable attribute.
138 2002-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
140 * StringBuilder.cs: improved performace by using String.InternalCopyTo
141 instead of using ToCharArray all over the place (more that 50% of
142 speed improvement when using Append).
144 Wed Aug 21 20:02:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
146 * *.cs: imported the code donated by Rhys Weatherley
147 <rweather@southern-storm.com.au>.
149 2002-08-18 Dick Porter <dick@ximian.com>
151 * Encoding.cs: Make GetString() return a useful representation of
152 the bytes, rather than "System.Char[]"
154 2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
156 * StringBuilder.cs: added IndexerName to indexer.
158 2002-08-01 Jason Diamond <jason@injektilo.org>
160 * Encoding.cs: Use GetByteCount instead of GetMaxByteCount when
161 converting chars to bytes.
163 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
165 * StringBuilder.cs: updated comments. MaxCapacity always returns
168 2002-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170 * StringBuilder.cs: implemented AppendFormat methods using
171 String.Format. Thanks Paolo!
173 This makes xsp generate correct C# output in linux :-). I still need
174 to do more testing, though.
176 Mon Jun 3 12:58:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
178 * ASCIIEncoding.cs: fixed handling of 0 bytecount.
180 2002-05-19 Martin Baulig <martin@gnome.org>
182 * Encoder.cs (IConvEncoder.GetByteCount, IConvEncoder.GetBytes):
183 Added exception handling.
185 * Decoder.cs (IConvDecoder.GetCharCount, IConvDecoder.GetChars):
186 Added exception handling.
188 2002/04/02 Nick Drochak <ndrochak@gol.com>
190 * StringBuilder.cs (Append): Removed obsolete overload.
192 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
194 * ASCIIEncoding.cs : Fix off by one error in Get(Char|Byte)Count.
196 Thu Mar 21 17:38:19 CET 2002 Paolo Molaro <lupus@ximian.com>
198 * StringBuilder.cs: no need to intern the string returned by ToString().
200 2002-03-17 Mike Kestner <mkestner@speakeasy.net>
202 * ASCIIEncoding.cs: Implement all the overridden methods. No longer
203 dependent on iconv icalls.
204 * Encoding.cs: Fix count bugs in GetBytes and GetChars. Add virtual
207 Wed Mar 13 00:26:29 CET 2002 Paolo Molaro <lupus@ximian.com>
209 * StringBuilder.cs: make ToString() return a interned string, this
210 seems to be required to make switch on string work.
212 Fri Mar 8 17:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
214 * StringBuilder.cs: make Append(char) do the smart thing.
216 2002-01-05 Ravi Pratap <ravi@ximian.com>
218 * ASCIIEncoding.cs, Encoding.cs, UTF7Encoding.cs,
219 UnicodeEncoding.cs: MonoTODO attribute marking.
221 * StringBuilder.cs : Ditto.
223 Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <lupus@ximian.com>
225 * Encoding.cs: renamed some fields.
226 * StringBuilder.cs: CLSCompliant updates.
228 2001-10-29 Nick Drochak <ndrochak@gol.com>
230 * StringBuilder.cs: Throw exceptions when constructor paramter(s) are
231 invalid. Just like MS does (as best as I can tell).
233 Tests for these exceptions are now added to the unit tests as well.
235 2001-10-25 Nick Drochak <ndrochak@gol.com>
237 * StringBuilder.cs: Throw exception if they try to make a StringBuilder
238 whose capacity is greater than the MaxCapacity.
240 I added some tests for the constructors and the above exception. More
243 2001-10-23 Nick Drochak <ndrochak@gol.com>
245 * StringBuilder.cs: Refactored constructor code into just one
246 constructor. All the other construtors call it. Also supplied missing
247 constructors so the class has all those in the spec.
249 Added the MaxCapacity property as well, however this needs to be
250 completed to return a value is related to the available system memory.
252 2001-10-07 Miguel de Icaza <miguel@ximian.com>
254 * Encoding.cs, UTF8Encoding.cs, UTF7Encoding.cs, ASCIIEncoding.cs,
255 UnicodeEncoding.cs: Corrected API.
257 * UTF8Encoding.cs: Checked in changes from Rafael.
259 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
261 * UTF8Encoding.cs: impl. clumsy GetBytes
263 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
265 * StringBuilder.cs (Text): Fixed.
267 * StringBuilderTest.cs: Implement Test suite.
269 2001-07-12 Marcin Szczepanski <marcins@zipworld.com.au>
271 * StringBuilder.cs: Implemented.
273 The only methods left unimplemented are the AppendFormat( ... )
274 ones just because it's probably better to wait until some of the
275 Format related classes are implemented. I've put that as a TODO
276 comment at the top and created the methods with a "nop" body.
278 2001-06-26 Sean MacIsaac <macisaac@ximian.com>
280 * UnicodeEncoding.cs: Members added so that a clean compile is
283 * ASCIIEncoding.cs: Members added so that a clean compile is
286 * UTF7Encoding.cs: Members added so that a clean compile is
289 * UTF8Encoding.cs: Members added so that a clean compile is
292 * Encoding.cs: All public members included. Most members