Merge pull request #656 from LogosBible/collection_lock
[mono.git] / mcs / class / corlib / System / ChangeLog
index 3bb1fee247feb74060e975ad3d0e74fb5200c1a7..be02e0743ab07038577df7229d90569ba40cd378 100644 (file)
@@ -1,3 +1,76 @@
+2010-07-21  Miguel de Icaza  <miguel@novell.com>
+
+       * Array.cs: Fixes a couple of other cases where we were missing
+       the handling for null values, fixes a broken case of null
+       handling. 
+
+2010-07-21  Jb Evain  <jbevain@novell.com>
+
+       * AppDomain.cs: add IsFullyTrusted stub.
+
+2010-07-20  Miguel de Icaza  <miguel@novell.com>
+
+       * Array.cs: fast path for the case where the pivot is null;
+       Fixes the crash on the build.
+
+2010-07-17  Miguel de Icaza  <miguel@novell.com>
+
+       * Array.cs: Fix for bug #622101, this reverts portions of the
+       broken patch that was introduced as part of the fix for #351638
+       which was mostly a set of optimizations, but some were just
+       wrong. 
+
+2010-07-14  Miguel de Icaza  <miguel@novell.com>
+
+       * DateTime.cs: This is the Retina Display of DateTime structs.
+       Unlike our previous Chubby DateTime that took 16 bytes of memory,
+       this slim version of DateTime only uses 8 bytes.
+
+       This fixes a couple of bugs 592221 and 622127.   Additionally, it
+       turns out that the original Microsoft documentation did not spell
+       this out, but newer versions of the docs state that SetConstant on
+       a FieldBuilder should be capable of serializing DateTimes (which
+       is where this issue came from).
+
+       This is necessary to fix two crashers exposed by the CLR test
+       suite. 
+
+2010-07-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * DateTime.cs: allow between 1 and 7 digits after the dot.
+       Fixes bug #594559.
+
+2010-07-05 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * TimeSpan.cs: two consecutive colons produce an error now.
+       Fixes bug #598467.
+
+2010-06-29  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Attribute.cs: Fix GetHashCode to match MS behavior (needed for
+       Moonlight)
+
+2010-06-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * Array.cs (SortImpl): Fix the 'fast path' which used 'as' to cast objects so
+       it never sorted the items array if it was not a object[]. Fixes #616416.
+
+2010-06-22  Jb Evain  <jbevain@novell.com>
+
+       * Guid.cs: properly throw if the parsed guid has more data after
+       parsing a correct guid. Fixes #616050.
+
+2010-06-21 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Environment.cs: bump up corlib version.
+
+2010-06-21 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Type.cs (StructLayoutAttribute): This raises on v4.
+
+       * MonoType.cs (StructLayoutAttribute): Implement this
+       under v4.
+
 2010-06-21  Jb Evain  <jbevain@novell.com>
 
        * TimeSpan.cs: add the net_4_0 parsing code in Moonlight.
          - "A..".Split (new String[] { "." }, 2, StringSplitOptions.RemoveEmptyEntries) == new[]{"A"}
          - Remove duplicative array handling code by using List<String>.
 
+2010-06-04  Damien Diederen  <dd@crosstwine.com>
+
+       * Char.cs (GetUnicodeCategory): Handle astral planes
+       in (string,int) overload.
+
+       If the string element at index starts a surrogate pair, we decode
+       the full codepoint and "query" the higher planes of the database.
+
+       This commit fixes bug 480178.
+
+       CAUTION: This commit depends on the following runtime change:
+
+         System.Char icall: New Unicode category tables compatible with
+         MS .NET.
+
+       Without it, Mono will suffer a low-level (internal call) crash
+       when initializing System.Char.
+
+       COMPATIBILITY
+
+       The updated Mono runtime as been verified to produce the same
+       results as Microsoft's; here are the MD5 sums of their Unicode
+       category database dumps (generated via create-category-table
+       --dump, compiled and executed under the relevant runtime):
+
+           eba45e00acdc82f9a08873465110aef4  v2.0.50727.dump
+           eba45e00acdc82f9a08873465110aef4  v3.5.21022.dump
+           56fd5c828fbb9083693835680667fd2c  v4.0.30319.dump
+
+           eba45e00acdc82f9a08873465110aef4  gmcs.dump
+           56fd5c828fbb9083693835680667fd2c  dmcs.dump
+
+       These results will naturally differ if support for .NET v4 or
+       astral planes is disabled when building the runtime.  Note, also,
+       that these are different from the results produced by Mono prior
+       to the introduction of these changes, even for the BMP.
+
+       Other versions of the internal database can be easily generated
+       using create-category-table(.cs), but this currently requires a
+       rebuild.
+
+       PERFORMANCE
+
+       Direct array indexing is mandatory for code points in the
+       U+0000..U+FFFF range; as pointed out by Andreas Nahr, performing
+       bi-level lookups in the Char.Is*(char) predicates cause the JIT to
+       stop inlining them and results in an important performance drop.
+
+       The simple data access pattern used for higher planes, suggested
+       by Paolo Molaro, is fairly efficient but currenly only used by
+       this non-optimized method.
+
 2010-06-04  Jb Evain  <jbevain@novell.com>
 
        * Exception.cs: add stub for SerializeObjectState.