[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / corlib / System.Text / ChangeLog
index 24a8bc0ab6cf7a7d571d4022619c02bca0a484fd..c1b2012bb8a0d05b159ffe465d4b9155085c4c93 100644 (file)
@@ -1,3 +1,214 @@
+2010-06-18  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * StringBuilder.cs: Moonlight needs Clear too.
+
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * StringBuilder.cs, Encoding.cs: use MOONLIGHT symbol to
+       disambiguate MonoTouch and Moonlight code.
+
+2010-02-02  Jb Evain  <jbevain@novell.com>
+
+       * ASCIIEncoding.cs, Latin1Encoding.cs: remove duplicated code.
+
+2009-12-09  Chris Toshok  <toshok@ximian.com>
+
+       * Encoding.cs (get_Default): moonlight defaults to UTF8, not
+       UTF8Unmarked.
+       
+2009-11-24  Marek Safar  <marek.safar@gmail.com>
+
+       * UTF8Encoding.cs (GetPreamble): Let compiler optimize it.
+
+2009-11-02  Miguel de Icaza  <miguel@novell.com>
+
+       * Jumbo patch to drop support for pre-NET_2_0 code:
+
+       Remove NET_2_0 defines assuming the value is true.
+
+2009-10-22  Miguel de Icaza  <miguel@novell.com>
+
+       * StringBuilder.cs (Text): Add new 4.0 method.
+
+2009-10-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Encoding.cs: Remove normalization methods for Moonlight
+
+2009-09-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Encoding.cs: Add back UTF32 since it's useful for smcs
+
+2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Encoding.cs: Remove UTF32, Latin1 and custom (loaded code)
+       encodings for NET_2_1
+
+2009-07-28  Miguel de Icaza  <miguel@novell.com>
+
+       * UTF8Encoding.cs: Small optimization, reuse the static
+       EncoderFallback and DecoderFallback instead of creating new ones. 
+
+       * UTF8Encoding.cs: Use Equals to compare the objects as the
+       fallback objects do not overload operator ==.    The comparison
+       was previously failing.
+
+2009-07-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * StringBuilder.cs: don't throw on null values in ctor(string, int).
+       Unify another ctor into the main one to account for MaxCapacity.
+
+2009-07-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * StringBuilder.cs: small fixes dealing with _maxCapacity.
+
+2009-02-05  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * UTF32Encoding.cs: Added missing argument check in GetByteCount 
+       (char*, int) overload.
+
+2009-02-04  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF32Encoding.cs : fixed wrong range in GetByteCount(). Patch by
+         David Michell.
+
+2009-01-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF8Encoding.cs : surrogate characters are handled in 
+         InternalGetChars() but not in InternalGetCharCount().
+         Fixed bug #415628.
+
+2009-01-13  Jb Evain  <jbevain@novell.com>
+
+       * Encoding.cs: when creating a ForwardingEncoder or a
+       ForwardingDecoder, don't crash if the Encoding doesn't
+       provide an EncoderFallback or a DecoderFallback.
+
+Mon Oct 6 09:46:09 CEST 2008 Paolo Molaro <lupus@ximian.com>
+
+       * UTF8Encoding.cs: rewritten InternalGetByteCount () and
+       InternalGetBytes (): among other things this versions are
+       10% to 60% faster, depending on input type and size.
+
+2008-09-28  Juraj Skripsky  <js@hotfeet.ch>
+
+       * StringBuilder.cs (Replace): Return early when no oldValue was 
+       found. Avoid extra string allocations.
+
+2008-07-03  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * UTF8Encoding.cs: Fix parameter names, Remove unfounded TODO
+
+2008-07-03  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * UTF8Encoding.cs:
+       * UTF7Encoding.cs:
+       * UTF32Encoding.cs:
+       * EncodingInfo.cs:
+       * Encoding.cs:
+       * Encoder.cs:
+       * ASCIIEncoding.cs: Fix parameter names
+
+2008-06-01  Juraj Skripsky  <js@hotfeet.ch>
+
+       * StringBuilder.cs (ToString): Use String.SubstringUnchecked instead
+       of String.Substring, as the former is guaranteed to create a new
+       string object. Fixes bug #395904.
+
+2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * StringBuilder.cs: Resubmit uncritical parts of String cleanup patch
+
+2008-04-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UTF7Encoding.cs :
+         Fixed misplaced leftOverSize reset in InternalGetCharCount().
+         Fixed base64 value for '+' (the value is actually unused though).
+
+2008-03-27  Kornél Pál  <kornelpal@gmail.com>
+
+       * Encoding.cs: Fix possible integer overflow in argument validation.
+
+2008-02-10  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DecoderExceptionFallback.cs: Use 'is' instead of 'as' and a null
+       check. Found using Gendarme new UseIsOperator rule.
+       * EncoderExceptionFallback.cs: Use 'is' instead of 'as' and a null
+       check. Found using Gendarme new UseIsOperator rule.
+
+2007-12-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DecoderFallback.cs, EncoderFallback.cs, Encoding.cs :
+         the same "\uFFFD" fix for encoder fallback.
+         Reduced extra instantiation of those fallbacks.
+
+2007-10-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoding.cs : fixed UTF8UnmarkedUnsafe for 1.1; should not be null.
+
+2007-10-26  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Encoding.cs : added UTF8UnmarkedUnsafe, for old empty replacement
+         UTF8.
+
+2007-10-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UnicodeEncoding.cs : fix build.
+
+2007-10-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DecoderReplacementFallbackBuffer.cs : Reset() should also reset the
+         input buffer. When fallback is not assigned, just return '\0'.
+       * UnicodeEncoding.cs : handle throwOnInvalid .ctor argument.
+         Default replacement fallback buffer is now "\uFFFD".
+       * UTF8Encoding.cs : couple of replacement buffer size fixes.
+         Default replacement fallback buffer is now "\uFFFD".
+       * UTF32Encoding.cs : Default replacement is "\uFFFD" too here.
+         See http://support.microsoft.com/kb/940521/ for this change.
+
+2007-08-15  Jb Evain  <jbveain@novell.com>
+
+       * StringBuilder: hide non 2.1 AppendFormat on 2.1 so that
+       the compile picks up the adequate method when AppendFormat
+       is used in 2.1 platform code.
+
+2007-07-28  Miguel de Icaza  <miguel@novell.com>
+
+       * StringBuilder.cs (Text): Check for null, from Jesse Jones.
+
+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.