2010-03-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / corlib / System / ChangeLog
index b2c326eb421d62f65207400c528bc371edc893a4..c6bcb278dcc7b15938c1c5640dccdd01afc047c3 100644 (file)
@@ -1,3 +1,72 @@
+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