Zoltan Varga [Mon, 24 Mar 2014 13:13:46 +0000 (09:13 -0400)]
[llvm] Fix the build.
Marek Safar [Sun, 23 Mar 2014 19:54:56 +0000 (20:54 +0100)]
Merge pull request #969 from eburgos/fix-wrong-cs0177-squashed
[mcs] Fix wrong case for error CS0177 (squashed)
Eduardo Burgos [Sat, 22 Mar 2014 04:42:25 +0000 (00:42 -0400)]
Adding fix for case of error CS0177
Zoltan Varga [Sat, 22 Mar 2014 00:41:40 +0000 (20:41 -0400)]
[jit] Fix rethrowing of exceptions in thumb mode. Fixes #18448.
Zoltan Varga [Sat, 22 Mar 2014 00:37:15 +0000 (20:37 -0400)]
[jit] Add a few more constraints to the UnsafeMov intrinsic.
Zoltan Varga [Fri, 21 Mar 2014 22:15:55 +0000 (18:15 -0400)]
Zoltan Varga [Fri, 21 Mar 2014 20:35:56 +0000 (16:35 -0400)]
[runtime] Fix a warning.
Zoltan Varga [Fri, 21 Mar 2014 19:41:58 +0000 (15:41 -0400)]
[jit] Disallow mixing structs/non-structs in the UnsafeMov intrinsic, the JIT can't handle it.
Zoltan Varga [Fri, 21 Mar 2014 03:24:44 +0000 (23:24 -0400)]
[aot] Reorganize emit_and_reloc_code () a bit.
Marek Safar [Fri, 21 Mar 2014 15:05:02 +0000 (16:05 +0100)]
Merge pull request #965 from PiotrZierhoffer/patch-1
Fix typo in exception message
Piotr Zierhoffer [Fri, 21 Mar 2014 15:00:45 +0000 (16:00 +0100)]
Fix typo in exception message
Zoltan Varga [Fri, 21 Mar 2014 01:09:21 +0000 (21:09 -0400)]
[runtime] Add a 'debug-domain-unload' MONO_DEBUG option to make the DEBUG_DOMAIN_UNLOAD define runtime configurable.
Marek Safar [Thu, 20 Mar 2014 21:20:10 +0000 (22:20 +0100)]
[System] CookieParser optimization tweaks
Zoltan Varga [Thu, 20 Mar 2014 19:40:43 +0000 (15:40 -0400)]
[sdb] Add an Evaluate method to MethodMirror which can evaluate simple methods like property accessors on the client side without invoking methods in the debuggee.
Marek Safar [Thu, 20 Mar 2014 17:55:23 +0000 (18:55 +0100)]
[System.Net.Http] Incomplete byte ranges parsing. Fixes #18494
Zoltan Varga [Thu, 20 Mar 2014 01:03:58 +0000 (21:03 -0400)]
[jit] Add a 'check-pinvoke-callconv' MONO_DEBUG option to check for cdecl/stdcall mismatches.
Zoltan Varga [Wed, 19 Mar 2014 23:16:40 +0000 (19:16 -0400)]
[sdb] Implement support for fields in MethodBodyMirror.
Marek Safar [Wed, 19 Mar 2014 22:11:00 +0000 (23:11 +0100)]
[corlib] Optimize EqualityComparer for common value types. Fixes #18400
Rodrigo Kumpera [Wed, 19 Mar 2014 19:40:53 +0000 (15:40 -0400)]
[jit] New Array.UnsafeMov intrinsic for overcomming our JIT lack of store-forwarding and type-aware opts.
Marek Safar [Wed, 19 Mar 2014 16:22:50 +0000 (17:22 +0100)]
[mcs] Better heuristics for error parsing of interrogation point.
Zoltan Varga [Tue, 18 Mar 2014 23:58:23 +0000 (19:58 -0400)]
Fix the cross-compiler build.
Marek Safar [Tue, 18 Mar 2014 17:38:59 +0000 (18:38 +0100)]
[mcs] Flow analysis of nested binary expressions inside anonymous methods was missing on left/right reset. Fixes #18417
Marek Safar [Tue, 18 Mar 2014 17:38:25 +0000 (18:38 +0100)]
[pcl] Update facades
Marek Safar [Tue, 18 Mar 2014 15:41:18 +0000 (16:41 +0100)]
[mcs] Emit field initializer with expression tree in all user constructors. Fixes #18308
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.
Stephen McConnel [Thu, 21 Feb 2013 21:56:35 +0000 (15:56 -0600)]
[MWF] Fix crash from null control in ContainerControl (#10537)
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