2010-03-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / corlib / System / ChangeLog
index 75298163c0c9c984b420de0d1378c45ba322329c..c6bcb278dcc7b15938c1c5640dccdd01afc047c3 100644 (file)
@@ -1,3 +1,128 @@
+2010-03-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: Move the error detection code to a separate method.
+       This way depending on the version we decide what error takes
+       precedence: OverlowException in 2.0, and FormatException in 4.0. This
+       also lets us keep the Execute() code cleaner and easier to understand.
+
+2010-03-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: Put the error info in a single field, to make it easier
+       to preserve the very first error we get while parsing, and discard the
+       next ones. This will help us in a pair of cases where we were
+       overriding the previous error and reporting the wrong exception.
+
+2010-03-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * String.cs: SL4 includes new IsNullOrWhiteSpace and Concat/Join 
+       overloads.
+
+2010-03-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: TimeSpan is actually implementing IFormattable.
+
+2010-03-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * AppDomain.cs: Added MonoTODO for IsCompatibilitySwitchSet.
+
+2010-03-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: In 4.0 the Parse/TryParse methods always try to use its
+       associated CultureInfo.NumberFormat.NumberDecimalSeparator value, as well as
+       providing backwards compatibility by also supporting '.' as the
+       separator.
+
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * AppDomainSetup.cs
+       * Tuple.cs
+       * ChangeLog
+       * Exception.cs
+       * String.cs
+       * Console.cs
+       * Tuples.cs
+       * Activator.cs
+       * AppDomain.cs:
+               Use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
+
+2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * Enum.cs: Added a few 4.0 api to Moonlight.
+
+2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * AppDomain.cs: Added IsCompatibilitySwitchSet for .NET 4.0 and Moonlight.
+
+2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: In 4.0 if the part parsed as days exceeds the allowed
+       range -this is, 23-, then it is processed as days instead - opposed to
+       2.0, where we are throwing an OverflowException.
+
+2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: Make the colon parsing optional -and adjust the name to
+       reflect it-, so we can properly parse the case where we only have the
+       hours and minutes. This subtle bug was hidden before, since a string
+       such "10:12" would be parsed correctly, but "10:12  " (trailing white
+       space) was getting a FormatException.
+
+2010-03-12  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Tuple.cs, Tuples.cs: Add them to NET_2_1 since they are parts
+       of SL4
+
+2010-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: Implement 4.0 overloads of TryParse/Parse.
+
+2010-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: Implement 4.0 ToString overloads.
+
+2010-03-06 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * UIntPtr.cs: Remove some v4 custom attributes that were
+       on Beta2 but aren't there on RC.
+
+2010-03-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * TimeSpan.cs: Implement correctly the TryParse method, instead of
+       using a try/catch block.
+
+2010-03-04 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Type.cs : Fix for bug #574696: don't recurse into base types in GetMember when
+       getting properties.
+       Patch by Eberhard Beilharz <eb1@sil.org>
+
+2010-03-03  Miguel de Icaza  <miguel@novell.com>
+
+       * Decimal.cs: Disable the fast double2decimal code, and go back to
+       string parsing as there is a rounding/precision bug.
+
+               //
+               // We cant use the double2decimal method
+               // because it incorrectly turns the floating point
+               // value 1.23456789E-25F which should be:
+               //    0.0000000000000000000000001235
+               // into the incorrect:
+               //   0.0000000000000000000000001234
+               //
+               //    The code currently parses the double value 0.6 as
+               //    0.600000000000000
+               //
+               // And we have a patch for that called (trim
+
+2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Type.cs (Equals): Better version that does less
+       trips to runtime land.
+
+2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoType.cs: Add v4 security properties.
+
 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * Type.cs: Add v4 security properties.