Marek Safar [Tue, 18 Mar 2014 12:45:38 +0000 (13:45 +0100)]
Merge pull request #963 from kebby/master
Fix Process.CancelErrorRead
Tammo 'kb' Hinrichs [Tue, 18 Mar 2014 11:46:10 +0000 (12:46 +0100)]
Merge branch 'master' of https://github.com/kebby/mono
Tammo 'kb' Hinrichs [Tue, 18 Mar 2014 11:08:48 +0000 (12:08 +0100)]
Fix Process.CancelErrorRead
Fixed CancelErrorRead throwing an InvalidOperationException because it checked the wrong output stream (probably a cut&paste mistake).
Tammo 'kb' Hinrichs [Tue, 18 Mar 2014 11:15:14 +0000 (12:15 +0100)]
Fix error message in Process.CancelErrorRead
Tammo 'kb' Hinrichs [Tue, 18 Mar 2014 11:08:48 +0000 (12:08 +0100)]
Fix Process.CancelErrorRead
Fixed CancelErrorRead throwing an InvalidOperationException because it checked the wrong output stream (probably a cut&paste mistake).
Sebastien Pouliot [Tue, 18 Mar 2014 01:46:33 +0000 (21:46 -0400)]
[System.ServiceModel.Web] Fix JsonQueryStringConverter.ConvertValueToString to work when running on any culture [#18437]
Jérémie Laval [Mon, 17 Mar 2014 17:38:05 +0000 (13:38 -0400)]
Merge pull request #932 from exony-craigminihan/bugzilla#18182
[Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
Marek Safar [Mon, 17 Mar 2014 14:47:51 +0000 (15:47 +0100)]
[system] Update mobile sources list
Marek Safar [Mon, 17 Mar 2014 14:42:08 +0000 (15:42 +0100)]
Merge pull request #956 from ermshiperete/bug-xamarin-14987
[corlib] Fix localized resource loading bug (#14987)
Marek Safar [Fri, 14 Mar 2014 09:59:28 +0000 (10:59 +0100)]
[mcs] Allow to set any metadata version
Marek Safar [Mon, 17 Mar 2014 07:56:19 +0000 (08:56 +0100)]
Merge pull request #959 from NN---/patch-4
Do not crash if path is specified
Rodrigo Kumpera [Mon, 17 Mar 2014 02:02:42 +0000 (22:02 -0400)]
Merge pull request #937 from exony-craigminihan/bugzilla#18235
[Fix] Bugzilla #18235 - System.Runtime.Caching.MemoryCache doesn't order...
NN [Sun, 16 Mar 2014 21:08:53 +0000 (23:08 +0200)]
Do not crash if path is specified
AssemblyBuilder is not a good class for doing that but simply taking only the file name covers most cases.
The best solution is to rewrite this tool using Mono.Cecil.
FYI AL.exe from .NET is not written in managed because of the SRE limitation
Zoltan Varga [Sun, 16 Mar 2014 17:29:31 +0000 (13:29 -0400)]
[runtime] Fix the msvc build.
Craig Minihan [Sat, 15 Mar 2014 21:05:01 +0000 (14:05 -0700)]
[Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
- removed IsEmpty test from TryPeek() since not needed now
Craig Minihan [Fri, 7 Mar 2014 01:25:31 +0000 (17:25 -0800)]
[Fix] Bugzilla #18235 - System.Runtime.Caching.MemoryCache doesn't order expirable items correctly
- BubbleUp() in MemoryCacheEntryPriorityQueue was not ordering correctly on item insert
- Added a test case
Craig Minihan [Wed, 5 Mar 2014 15:24:14 +0000 (07:24 -0800)]
[Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
- in the previous version the IsEmpty could be false, but by time we get
to head.Next.Value we get an exception since Value is now null
- passes existing test cases, although these are not definitive since
they don't show threading issue
- would need to adapt System.Threading.Tasks.ParallelTestHelper to allow
TryPeek() to be called during Enqueue/Dequeue operations to truly
test this change out
Mark Probst [Fri, 14 Mar 2014 19:33:40 +0000 (12:33 -0700)]
[sgen] Restore hazard pointers in suspend signal handler. Fixes #15695.
Zoltan Varga [Fri, 14 Mar 2014 21:44:00 +0000 (17:44 -0400)]
[runtime] Fix make install when boehm is disabled.
Rodrigo Kumpera [Fri, 14 Mar 2014 18:57:57 +0000 (14:57 -0400)]
Bump mono version.
Stephen McConnel [Wed, 25 Sep 2013 17:23:03 +0000 (12:23 -0500)]
[corlib] Fix localized resource loading bug (#14987)
We shouldn't share non-existent resources between resource
managers since different resources can have different localizations.
Marek Safar [Fri, 14 Mar 2014 07:56:16 +0000 (08:56 +0100)]
Merge pull request #953 from rcook/p-rcook-correct-spelling
Correct spelling DEFAULT_ACCESS_MODIFER -> DEFAULT_ACCESS_MODIFIER
Miguel de Icaza [Fri, 14 Mar 2014 02:53:49 +0000 (22:53 -0400)]
System/PCL: Implement HttpWebRequest.SupportsCookieContainer, WebRequest.CreateHttp; Fixes #18378
Miguel de Icaza [Fri, 14 Mar 2014 02:36:46 +0000 (22:36 -0400)]
WebResponse.cs: Implement SupportsHeaders property
Rodrigo Kumpera [Thu, 13 Mar 2014 22:47:26 +0000 (18:47 -0400)]
[boehm] Fix memory management for toggleref.
Replace GC_free with GC_INTERNAL_FREE. The former might take the GC lock
and deadlock us.
Replace GC_INTERNAL_MALLOC with GC_INTERNAL_MALLOC_IGNORE_OFF_PAGE as
we don't need the rest of the GC messing around with the toggleref array.
Rodrigo Kumpera [Thu, 13 Mar 2014 19:32:26 +0000 (15:32 -0400)]
[thread] Only register a dead letter if the current NSThread is non-null.
This breaks all embedder that don't link with CoreFoundation. In mono's case, monodis.
Richard Cook [Thu, 13 Mar 2014 22:18:48 +0000 (15:18 -0700)]
Correct spelling DEFAULT_ACCESS_MODIFER -> DEFAULT_ACCESS_MODIFIER
Rodrigo Kumpera [Wed, 12 Mar 2014 22:42:05 +0000 (18:42 -0400)]
Fix a race condition in the test suite.
Rodrigo Kumpera [Wed, 12 Mar 2014 21:30:07 +0000 (17:30 -0400)]
[sgen] Fix the merging code.
The right behavior is that the loop move values up to the original size
and them the store after the loop store past it.
Let's see the last 2 iterations:
//i == size - 1 (value = array[size - 2], tmp = array [size - 1])
dyn_array_int_set (array, size, value); //ok
value = tmp; //ok
tmp = dyn_array_int_get (array, i + 1); //tmp has an unknown value, as the last element was never stored to.
//i == size (value = array[size - 1], tmp = array [size])
dyn_array_int_set (array, size, value); //This sets the last element to the right value
value = tmp; //value is undefined, as tmp has
tmp = dyn_array_int_get (array, i + 1); //this is an out-of-bounds read as we're reading 2 elements past the end.
The after the loop store (tmp = array [size + 1]):
dyn_array_int_set (array, size + 1, tmp); //This sets the last element to an unknown value.
With the fix on the last iteration is - 1. The post store will use value, which has
the right value (array [size - 1]).
Zoltan Varga [Thu, 13 Mar 2014 18:28:19 +0000 (14:28 -0400)]
[jit] Add a MONO_IS_CROSS_COMPILE define.
Zoltan Varga [Thu, 13 Mar 2014 17:55:36 +0000 (13:55 -0400)]
[runtime] Update configure after changes to llvm-config in the newest llvm versions.
Aaron Bockover [Thu, 13 Mar 2014 17:12:21 +0000 (13:12 -0400)]
[bxc#18361] mdbrebase: use File.Move instead of FileInfo.MoveTo
Marek Safar [Thu, 13 Mar 2014 09:32:11 +0000 (10:32 +0100)]
[mcs] Ignore import failures for private types used in private structs
Alex Rønne Petersen [Thu, 13 Mar 2014 01:06:30 +0000 (02:06 +0100)]
Add some pointless zero initializations to shut GCC at -O3 up.
Alex Rønne Petersen [Wed, 12 Mar 2014 21:59:47 +0000 (22:59 +0100)]
Convert asserts in sgen-hash-table.c to SGEN_ASSERT ().
Alex Rønne Petersen [Wed, 12 Mar 2014 21:32:05 +0000 (22:32 +0100)]
Add an assert to sgen-hash-table.c!rehash_if_necessary () to make GCC at -O3 shut up.
Alex Rønne Petersen [Wed, 12 Mar 2014 21:05:58 +0000 (22:05 +0100)]
Silence a gcc warning.
Alex Rønne Petersen [Wed, 12 Mar 2014 20:49:12 +0000 (21:49 +0100)]
Add/update some .gitignore files so that a clean build + `make check` results in a clean repo.
Alex Rønne Petersen [Wed, 12 Mar 2014 20:11:49 +0000 (21:11 +0100)]
Remove now-unused dyn_array_ptr_set () function.
Alex Rønne Petersen [Wed, 12 Mar 2014 20:11:09 +0000 (21:11 +0100)]
Add -fwrapv to gcc/clang flags.
We rely on signed overflow in many places (in particular for *detecting*
signed overflow), so we need to tell GCC and Clang to not perform any
optimizations that rely on it being undefined.
Rodrigo Kumpera [Fri, 7 Mar 2014 23:49:33 +0000 (18:49 -0500)]
[sgen] Wrap DynArray into strongly types variants making the code cleaner and safer.
This paves the way for having different number of objects inline.
Rodrigo Kumpera [Tue, 11 Mar 2014 20:54:20 +0000 (16:54 -0400)]
[sgen] Cleanup argument list of dfs1, src is a constant.
Rodrigo Kumpera [Tue, 4 Mar 2014 05:32:08 +0000 (00:32 -0500)]
[sgen] Remove the elem_size field from DynArray - explicitly pass it instead.
This reduces the size of DynArray from 4 to 3 words. Small perf gain.
Rodrigo Kumpera [Mon, 3 Mar 2014 17:25:55 +0000 (12:25 -0500)]
[sgen] Add an optimized variant of qsort using macros. This is 4x faster on sgen-bridge.
The macro produces a custom version of qsort that doesn't use memcpy or a function pointer.
Marek Safar [Wed, 12 Mar 2014 17:24:18 +0000 (18:24 +0100)]
[mcs] Private fields of structs can have type of another private not imported type
Marek Safar [Wed, 12 Mar 2014 17:18:03 +0000 (18:18 +0100)]
[pcl] Complete System.Runtime.InteropServices facade
Zoltan Varga [Tue, 11 Mar 2014 23:11:39 +0000 (19:11 -0400)]
[jit] Fix the passing of vtypes on arm in vararg calls. Fixes MonoTests.System.Reflection.Emit.MethodBuilderTest.CanCallVarargMethods in corlib.
Marek Safar [Tue, 11 Mar 2014 22:01:24 +0000 (23:01 +0100)]
Add missing types and methods
Miguel de Icaza [Tue, 11 Mar 2014 16:32:34 +0000 (12:32 -0400)]
Further doc updates, and schema fixing
Sebastien Pouliot [Tue, 11 Mar 2014 15:25:03 +0000 (11:25 -0400)]
[System] Document the new API for SSL/TLS cipher suites control added in ServicePointManager
Rodrigo Kumpera [Tue, 11 Mar 2014 14:28:54 +0000 (10:28 -0400)]
Merge pull request #938 from exony-craigminihan/bugzilla#18245
[Fix] Bugzilla #18245 - System.Runtime.MemoryCache.GetValues() throws Lo...
Marek Safar [Tue, 11 Mar 2014 13:29:05 +0000 (14:29 +0100)]
[interpreter] Fix a typo
Marek Safar [Tue, 11 Mar 2014 13:13:43 +0000 (14:13 +0100)]
[interpreter] Implement simple quote expression. Fixes #18248
Alex Rønne Petersen [Tue, 11 Mar 2014 09:11:12 +0000 (10:11 +0100)]
Add support/ to the build when cross-compiling.
Zoltan Varga [Tue, 11 Mar 2014 01:06:36 +0000 (21:06 -0400)]
Fix a warning.
Zoltan Varga [Tue, 11 Mar 2014 00:59:11 +0000 (20:59 -0400)]
[runtime] Fix the build with newer clang versions.
Mark Probst [Thu, 6 Mar 2014 04:01:23 +0000 (20:01 -0800)]
[runtime] Simplify unit-tests Makefile.
Mark Probst [Thu, 6 Mar 2014 03:34:36 +0000 (19:34 -0800)]
[runtime] Move unit tests to separate directory.
Mark Probst [Thu, 6 Mar 2014 01:44:24 +0000 (17:44 -0800)]
[runtime] Unit test for lock-free linked list set.
Michael Hutchinson [Mon, 10 Mar 2014 19:34:06 +0000 (15:34 -0400)]
[MSBuild] BXC18246 - GetAssemblyIdentity is not implemented
Zoltan Varga [Mon, 10 Mar 2014 21:17:00 +0000 (17:17 -0400)]
[llvm] Update the LLVM backend to llvm
714a9d742af9ce911a3a46aa6e55041099a04be1.
Rodrigo Kumpera [Mon, 10 Mar 2014 20:52:02 +0000 (16:52 -0400)]
Merge pull request #945 from joelmartinez/master
Documentation Update - 4.5 Profile
Joel Martinez [Mon, 10 Mar 2014 15:55:00 +0000 (11:55 -0400)]
docupdate: System.Numerics documentation update
Joel Martinez [Mon, 10 Mar 2014 15:50:16 +0000 (11:50 -0400)]
docupdate: Microsoft.CSharp documentation update
Joel Martinez [Mon, 10 Mar 2014 15:48:51 +0000 (11:48 -0400)]
docupdate: System.ComponentModel.DataAnnotations documentation update
Joel Martinez [Mon, 10 Mar 2014 15:47:28 +0000 (11:47 -0400)]
docupdate: System.ComponentModel.Composition documentation update
Joel Martinez [Mon, 10 Mar 2014 15:45:29 +0000 (11:45 -0400)]
docupdate: System.Core documentation update
Joel Martinez [Mon, 10 Mar 2014 15:40:05 +0000 (11:40 -0400)]
docupdate: System.IO.Compression documentation update
Joel Martinez [Mon, 10 Mar 2014 15:38:05 +0000 (11:38 -0400)]
docupdate: System.Json documentation update
Joel Martinez [Mon, 10 Mar 2014 14:53:13 +0000 (10:53 -0400)]
docupdate: System.Runtime.Serialization documentation update
Joel Martinez [Mon, 10 Mar 2014 14:50:11 +0000 (10:50 -0400)]
docupdate: System.Security documentation update
Joel Martinez [Fri, 7 Mar 2014 19:30:28 +0000 (14:30 -0500)]
docupdate: System.ServiceModel documentation update
Joel Martinez [Fri, 7 Mar 2014 19:15:04 +0000 (14:15 -0500)]
docupdate: System.Xml.Linq documentation update
Joel Martinez [Fri, 7 Mar 2014 17:01:42 +0000 (12:01 -0500)]
docupdate: System.Xml documentation update
Joel Martinez [Fri, 7 Mar 2014 16:02:04 +0000 (11:02 -0500)]
docupdate: Mono.Options documentation update
Joel Martinez [Fri, 7 Mar 2014 00:10:09 +0000 (19:10 -0500)]
docupdate: updated corlib documentation to the 4.5 profile
Joel Martinez [Fri, 7 Mar 2014 00:04:31 +0000 (19:04 -0500)]
Updated mdoc to remove <AssemblyVersions> tag
Joel Martinez [Thu, 6 Mar 2014 23:50:48 +0000 (18:50 -0500)]
Fixed some reference issues with mdoc.csproj: mono.cecil assembly reference, and some resource files were incorrect
Joel Martinez [Thu, 6 Mar 2014 23:37:19 +0000 (18:37 -0500)]
docupdate: updated System.dll documentation
Joel Martinez [Thu, 6 Mar 2014 21:46:54 +0000 (16:46 -0500)]
Updated makefile for Facades to avoid updating docs in that folder.
Zoltan Varga [Mon, 10 Mar 2014 19:10:26 +0000 (15:10 -0400)]
[jit] Add support for --debug=casts to one cast codepath, factor out common code. Fixes #18280.
Zoltan Varga [Mon, 10 Mar 2014 18:54:35 +0000 (14:54 -0400)]
[jit] Add an optimization to use the optimized delegate invoke trampolines in some special cases, since the corresponding delegate invoke wrappers cannot be AOTed. Fixes part of #17423.
Zoltan Varga [Mon, 10 Mar 2014 18:45:55 +0000 (14:45 -0400)]
[jit] Change the sgen vector allocator il code so it can be AOTed.
Marek Safar [Mon, 10 Mar 2014 15:14:56 +0000 (16:14 +0100)]
[interpreter] Size reduction
Marek Safar [Mon, 10 Mar 2014 10:33:44 +0000 (11:33 +0100)]
[corlib] Update en-au pm/am designators
Marek Safar [Sat, 8 Mar 2014 22:04:20 +0000 (23:04 +0100)]
[corlib] Add .net compatible separators for es culture
Marek Safar [Sat, 8 Mar 2014 22:01:13 +0000 (23:01 +0100)]
Merge pull request #940 from alistair/ilist_xml_serialization
ilist xml serialization
Zoltan Varga [Sat, 8 Mar 2014 21:11:06 +0000 (16:11 -0500)]
[bcl] Work around quadratic behavior in NunitLite's AreEquivalent () methods.
Alistair Bush [Sat, 8 Mar 2014 12:12:06 +0000 (01:12 +1300)]
Add test to ensure using concrete List as readonly property still serializes
This change is released under the MIT license.
Alistair Bush [Sat, 8 Mar 2014 12:05:24 +0000 (01:05 +1300)]
When a read only property and the type is an interface we can't serialize the type.
This change is released under the MIT license.
Rodrigo Kumpera [Fri, 7 Mar 2014 23:00:11 +0000 (18:00 -0500)]
[corlib] Fix the mobile profile.
Rodrigo Kumpera [Fri, 7 Mar 2014 20:16:32 +0000 (15:16 -0500)]
[io-layer] Bionic doesn't have clock_nanosleep.
Zoltan Varga [Fri, 7 Mar 2014 19:23:26 +0000 (14:23 -0500)]
[runtime] Make different kinds of delegate invokes use a different name.
Marek Safar [Fri, 7 Mar 2014 16:55:45 +0000 (17:55 +0100)]
Update CLDR to version 2.4. Fixes #17615
Marek Safar [Fri, 7 Mar 2014 10:18:48 +0000 (11:18 +0100)]
[corlib] Fix culture name constants in CreateSpecificCultureFromNeutral to be all lower case
Rodrigo Kumpera [Fri, 7 Mar 2014 15:25:23 +0000 (10:25 -0500)]
[sgen] Change the bridge interface to include richer type information on classes.
There is an additional axis to bridge processing than just if a type is a bridge or not.
It can be processing transparent or opaque.
We didn't make this distinction before and treated all types as transparent.
Opaque types means that bridge processing should stop at them. An opaque bridge, in
addition to that, means it should be reported in.
This change paves the way for bridge graph pruning.
Craig Minihan [Fri, 7 Mar 2014 12:40:23 +0000 (04:40 -0800)]
[Fix] Bugzilla #18245 - System.Runtime.MemoryCache.GetValues() throws LockRecursionException with expired items
- GetValues() calls MemoryCacheContainer.GetEntry() which now gets an EnterUpgradeableReadLock needed by ExpireIfNeeded()
- Added a test case
Michael Hutchinson [Thu, 6 Mar 2014 21:57:18 +0000 (16:57 -0500)]
Merge pull request #915 from knocte/master
xbuild: include a Microsoft.Portable.Common.targets file (for F#)
Marek Safar [Thu, 6 Mar 2014 21:54:39 +0000 (22:54 +0100)]
[system.net.htt[] Pass CancellationToken in GetAsync. Fixes #13281
Marek Safar [Thu, 6 Mar 2014 18:50:52 +0000 (19:50 +0100)]
[corlib] Improve flow of ExecutionContext (few tests taken from https://github.com/mono/mono/pull/864). Fixes #18121 and similar.