2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / corlib / System.Text / ChangeLog
old mode 100755 (executable)
new mode 100644 (file)
index b9b84fc..498c9a7
@@ -1,3 +1,162 @@
+2005-11-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoding.cs : added UTF32.
+
+2005-11-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF32Encoding.cs : surrogate pairs vanished in GetBytes() when the 
+         endianness is big.
+
+2005-11-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF32Encoding.cs : new file.
+
+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
+       prevent double checked locking error.
+
+       * StringBuilder.cs: Remove = null inits on fields, saves a few
+       instructions. When we compare _cached_str == _str, we are only
+       interested in pointer based equality, so just do that.
+
+2005-05-06  Ben Maurer  <bmaurer@ximian.com>
+
+       * StringBuilder.cs (InternalEnsureCapacity): It is possible that
+       the size we attempt to grow to is more than the max capacity, but
+       that a smaller size will do. In this case, don't throw an
+       exception. Fixes #72244
+
+2005-04-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * NormalizationForm.cs : new file.
+
+2005-03-20  Ben Maurer  <bmaurer@ximian.com>
+
+       * StringBuilder.cs (set_Length): If we set the length, we must
+       clobber the cached string.
+
+2005-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * UnicodeEncoding.cs: same fix (\uFEFF) but for Unicode. Patch by
+       Svetlana Zholkovsky.
+
+2005-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * UTF7Encoding.cs: fix for characters encoded as a shifted sequence
+       whose length is greater than 3. Patch by Svetlana Zholkovsky.
+
+2005-01-31  Ben Maurer  <bmaurer@ximian.com>
+
+       * StringBuilder.cs (Remove): We need to do the check that the
+       string isnt being cached *before* we munge it.
+
+2005-01-21  Ben Maurer  <bmaurer@ximian.com>
+
+       * StringBuilder.cs: Don't allocate memory on the .ctor, do it
+       lazily. This saves us lots of memory if you only use the
+       stringbuilder once. Also, we can allocate on the second Append,
+       which might reduce the number of buffers allocated.
+
 2005-01-14 Lluis Sanches Gual  <lluis@novell.com>
 
        * StringBuilder.cs: Improved parameter check.