2007-05-11 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / class / corlib / System.Text / ChangeLog
index 85786f3f70ee6f6c4f7921b0f88838e934b3c39f..41f8289adb4a0545597ce20ceda02000dce3768a 100644 (file)
@@ -1,3 +1,190 @@
+2007-05-03  Dick Porter  <dick@ximian.com>
+
+       * Encoding.cs: 
+       * UnicodeEncoding.cs: 
+       * UTF7Encoding.cs: Update to 2.0 profile
+
+2007-02-01  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Encoding.cs: Enabled ArgumentException in GetEncoding (string) again.
+       In Encoding.Default, catch both ArgumentException and NotSupportException.
+
+2007-02-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoding.cs : the change broke the build, so reverted part of it.
+
+2007-01-31  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Encoding.cs: Also set ParamName of the ArgumentException.
+
+2007-01-31  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Encoding.cs: In GetEncoding (int) do not allow codepage value below zero
+       and above 0xffff. Modified NotSupportedException to ArgumentException in
+       GetEncoding (string).
+
+2006-12-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EncoderFallbackBuffer.cs : implement Reset().
+
+2006-10-25  Ben Maurer  <bmaurer@andrew.cmu.edu>
+
+       * Encoding.cs: Make the GetByteCcount method used fixed pointers
+       removes quite a few allocations from Banshee.
+
+2006-09-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * StringBuilder.cs (.ctor): Add a comment.
+
+2006-08-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoding.cs :
+         Consider DecoderFallback and EncoderFallback in 2.0 Equals()
+         and GetHashCode().
+       * UTF32Encoding.cs, UTF7Encoding.cs :
+         Fixed GetHashCode() and Equals() as well.
+         Added several missing overrides in 2.0.
+
+2006-08-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoding.cs : implemented IsAlwaysNormalized().
+       * Latin1Encoding.cs : IsAlwaysNormalized() does not return false
+         for FormC.
+
+2006-07-18  Kornél Pál  <kornelpal@gmail.com>
+
+       * ASCIIEncoding.cs: Fixed GetString () methods to use ASCII rather
+         than new string (sbyte*, int, int) that uses Encoding.Default.
+       * Latin1Encoding.cs: Fixed GetString () methods to use Latin 1 rather
+         than new string (sbyte*, int, int) that uses Encoding.Default.
+
+2006-07-11  Kornél Pál  <kornelpal@gmail.com>
+
+       * StringBuilder.cs: Pad the string with NULL characters when setting
+       Length. This is now documented:
+       http://msdn2.microsoft.com/en-us/library/system.text.stringbuilder.length.aspx
+
+2006-07-06  Kornél Pál  <kornelpal@gmail.com>
+
+       * CodePageEncoding.cs: Corrected comments.
+       * MLangCodePageEncoding.cs: Corrected comments. Removed unnesessary
+         ArgumentExceptions in private constructors.
+       * SurrogateEncoder.cs: Corrected comments.
+
+2006-07-05  Kornél Pál  <kornelpal@gmail.com>
+
+       * CodePageEncoding.cs: Return the same real object in subsequent
+         calls to GetRealObject ().
+       * MLangCodePageEncoding.cs: Return the same real object in
+         subsequent calls to GetRealObject (). Rename Encoder and Decoder
+         MLangEncoder and MLangDecoder. These classes are not serializable
+         in 1.x although MS.NET 2.0 can deserialize them.
+       * SurrogateEncoder.cs: Return the same real object in subsequent
+         calls to GetRealObject ().
+
+2006-07-04  Kornél Pál  <kornelpal@gmail.com>
+
+       * CodePageEncoding.cs: Added comment on usage.
+       * MLangCodePageEncoding.cs: Added comment on usage.
+       * SurrogateEncoder.cs: Added comment on usage.
+
+2006-07-03  Kornél Pál  <kornelpal@gmail.com>
+
+       * CodePageEncoding.cs: Added.
+       * MLangCodePageEncoding.cs: Added.
+       * SurrogateEncoder.cs: Added.
+
+2006-06-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EncodingInfo.cs : EncodingName is WebName, not EncodingName.
+
+2006-06-24  Kornél Pál  <kornelpal@gmail.com>
+
+       * UnicodeEncoding.cs: Don't detect byte order. Only readers like
+         StreamReader should detect byte order marks.
+
+2006-06-21  Kornél Pál  <kornelpal@gmail.com>
+
+       * Encoding.cs: Return big-endian UTF-32 in GetEncodings () and
+         GetEncoding (int)
+
+2006-06-06  Kornél Pál  <kornelpal@gmail.com>
+
+       * UnicodeEncoding.cs: Override GetString (byte [], int, int) in
+         profile 1.x as well because performance improvement is worth the
+         signature difference. (Fix regression of r61250.)
+
+2006-05-30  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ASCIIEncoding.cs: Marked class ComVisible (true) on 2.0 profile.
+       Marked 2.0-only members as ComVisible (false).
+       * Decoder.cs: Marked class ComVisible (true) on 2.0 profile. Marked
+       2.0-only members as ComVisible (false).
+       * Encoder.cs: Marked class ComVisible (true) on 2.0 profile. Marked
+       2.0-only members as ComVisible (false).
+       * Encoding.cs: Marked class ComVisible (true) on 2.0 profile. Marked
+       2.0-only members as ComVisible (false).
+       * NormalizationForm.cs: Marked ComVisible (true).
+       * StringBuilder.cs: Marked class ComVisible (true) on 2.0 profile. 
+       Marked 2.0-only methods as ComVisible (false).
+       * UnicodeEncoding.cs: GetString (byte[], int, int) is only available
+       in 2.0 profile. Marked 2.0-only methods ComVisible (false). Added
+       missing ctor in 2.0 profile, and marked in MonoTODO.
+       * UTF7Encoding.cs: Marked class ComVisible (true) on 2.0 profile.
+       * UTF8Encoding.cs: Marked 2.0-only methods as ComVisible (false).
+
+2006-05-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EncodingInfo.cs, Encoding.cs :
+         Implemented Encoding.GetEncodings(). It's so hacky!
+
+2006-04-13  Kornél Pál  <kornelpal@gmail.com>
+
+       * Encoding.cs: GetString (byte []): Wrap GetString (byte [], int, int)
+         as MS.NET does. This is a more reasonable high level wrapper
+         implementation.
+       * UnicodeEncoding.cs: GetBytes (string): Implement as a wrapper
+         instead of using GetBytesInternal to be MS.NET compatible.
+         Override GetString (byte [], int, int) to speed up string creation.
+
+2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ASCIIEncoding.cs : 2.0 decoder fallback support was missing.
+
+2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoder.cs, Decoder.cs : implemented Convert(). Also added argument
+         check in some methods.
+
+2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ASCIIEncoding.cs : added overriden methods in NET_2_0 (maybe
+         there are optimizations, but for now we need something just works).
+
+2006-03-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF8Encoding.cs : made internal implementation as pointer-based,
+         and added pointer-based converter method overloads.
+
+2006-03-21  Kornél Pál  <kornelpal@gmail.com>
+
+       * UnicodeEncoding.cs: Use unsafe code for copying characters to speed
+         up conversion.
+
+2006-03-09  Zoltan Varga  <vargaz@gmail.com>
+
+       * Encoding.cs: Add stub for net 2.0 GetEncodings () method.
+
+2006-02-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF8Encoding.cs : Fallback was indicating incorrect index.
+         Fixed bug #77550.
+
+2006-02-10  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ASCIIEncoding.cs : (GetChars) reduced either one store or one jump
+         in IL. 10% performance improvement.
+
 2006-02-03  Atsushi Enomoto  <atsushi@ximian.com>
 
        * UTF8Encoding.cs : avoid possible overflow.