merge -r 53370:58178
[mono.git] / mcs / class / corlib / System.Text / ChangeLog
old mode 100755 (executable)
new mode 100644 (file)
index 6a93f6f..fc05c49
@@ -1,3 +1,102 @@
+2005-11-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ASCIIEncoding.cs, Latin1Encoding.cs : added EncoderFallback support.
+       * Encoding.cs : changed default fallback selection. Seems like only
+         ASCII and GB18030 uses '?' for replacement.
+       * UTF8Encoding.cs : now that Fallback is read only by default, we
+         need special setter.
+
+2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF8Encoding.cs : safer UTF8Decoder ctor.
+
+2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Decoder.cs : added FallbackBuffer property.
+       * UTF8Encoding.cs : In NET_2_0, use DecoderFallbackBuffer instead of
+         "throwOnInvalid".
+
+2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DecoderReplacementFallbackBuffer.cs : it does not have to preserve
+         byte buffer.
+       * EncoderReplacementFallbackBuffer.cs : implemented.
+       * DecoderReplacementFallback.cs, EncoderReplacementFallback.cs :
+         Removed MonoTODO.
+
+2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DecoderFallbackBuffer.cs : Reset() does nothing here.
+       * DecoderReplacementFallbackBuffer.cs : implemented, but no idea how
+         bytesUnknown is used.
+
+2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoding.cs : added ICloneable, Clone() and new GetEncoding().
+
+2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoding.cs : Added IsReadOnly, DecoderFallback and EncoderFallback.
+       * Encoder.cs : Added Fallback property.
+       * Decoder.cs : Added Fallback property.
+
+2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EncoderFallbackBuffer.cs, EncoderFallback.cs,
+         EncoderExceptionFallbackBuffer.cs,
+         EncoderReplacementFallbackBuffer.cs,
+         EncoderFallbackException.cs,
+         EncoderExceptionFallback.cs,
+         EncoderReplacementFallback.cs : new files (not actually used yet).
+       * DecoderExceptionFallback.cs, DecoderFallbackException.cs,
+         DecoderReplacementFallback.cs : [Serializable] and sealed.
+       * DecoderReplacementFallbackBuffer.cs : Reset() was missing.
+
+2005-11-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DecoderFallbackBuffer.cs, DecoderFallback.cs,
+         DecoderExceptionFallbackBuffer.cs,
+         DecoderReplacementFallbackBuffer.cs,
+         DecoderFallbackException.cs,
+         DecoderExceptionFallback.cs,
+         DecoderReplacementFallback.cs : new files (not actually used yet).
+
+2005-11-14  Miguel de Icaza  <miguel@novell.com>
+
+       * ASCIIEncoding.cs, Encoding: Another snack, just a few methods
+       missing.  
+
+       Also add some checks that were missing.
+
+2005-11-11  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StringBuilder.cs: Fix ISerializable.GetObjectData (remoting tests 
+       were failing under 2.0) and two possible integer overflow in CopyTo.
+
+2005-11-11  Miguel de Icaza  <miguel@novell.com>
+
+       * Encoding.cs, UnicodeEncoding.cs: A few 2.x methods. 
+
+       * StringBuilder.cs (Text): Added serialization support in 2.x. 
+
+2005-10-22  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * UTF8Encoding.cs (InternalGetChars/InternalGetCharCount): Fix lead byte
+         check logic for 6 octet sequences.  ((ch & 0xFC) == 0xFC) is always true 
+         for 0xFF, even though 0xFF isn't a valid lead byte.  It should be 
+         ((ch & 0xFE) == 0xFC).
+
+2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF8Encoding.cs : (InternalGetChars/InternalGetCharCount):
+         Don't exclude FEFF in the resulting text.
+
+2005-06-21  Ben Maurer  <bmaurer@ximian.com>
+
+       * StringBuilder.cs (Replace): Do the correct thing when we replace
+       with a longer string. Thanks to Alexander Beznozdrev
+       <abeznozdrev@croc.ru>
+
 2005-05-26  Ben Maurer  <bmaurer@ximian.com>
 
        * Encoding.cs: Use static object for locking. `volatile' to