Michael Hutchinson [Tue, 1 Apr 2014 21:21:51 +0000 (17:21 -0400)]
[xbuild] Include PCL common targets in tarball
BXC18690 - Microsoft.Portable.Common.targets is missing in mono 3.4.0 tarball
Zoltan Varga [Tue, 1 Apr 2014 19:32:38 +0000 (15:32 -0400)]
[arm] Remove some unused code.
Zoltan Varga [Tue, 1 Apr 2014 18:39:05 +0000 (18:39 +0000)]
[jit] Implement support for atomic intrinsics on arm.
Zoltan Varga [Tue, 1 Apr 2014 18:32:19 +0000 (18:32 +0000)]
[runtime] Fix a crash if the thread name is set before the thread is started.
Marek Safar [Tue, 1 Apr 2014 18:10:50 +0000 (11:10 -0700)]
[corlib] Fixes CancellationTokenSource dispose race
Marek Safar [Mon, 31 Mar 2014 23:37:24 +0000 (16:37 -0700)]
[corlib] Update test with failure info
Marek Safar [Mon, 31 Mar 2014 18:12:44 +0000 (11:12 -0700)]
[corlib] Make invariant NumberFormatter thread static too as it has internal static state. Fixes #18599
Marek Safar [Mon, 31 Mar 2014 17:07:48 +0000 (10:07 -0700)]
[corlib] Filter out any right-to-left sign characters. Fixes #18522
Rolf Bjarne Kvinge [Mon, 31 Mar 2014 14:49:08 +0000 (16:49 +0200)]
Fix monotouch's repl support to build Mono.CSharp (and its dependencies) as well.
Zoltan Varga [Mon, 31 Mar 2014 08:17:24 +0000 (04:17 -0400)]
Merge pull request #973 from methane/fix-build-on-mac
Add mono_threads_core_set_name() on Mac.
INADA Naoki [Mon, 31 Mar 2014 07:19:04 +0000 (16:19 +0900)]
Add mono_threads_core_set_name() on Mac.
Alex Rønne Petersen [Sun, 30 Mar 2014 05:31:31 +0000 (07:31 +0200)]
Zoltan Varga [Sun, 30 Mar 2014 03:16:56 +0000 (23:16 -0400)]
[aot] Add ReadOnlyCollection to the list of types supported by gsharedvt.
Zoltan Varga [Sat, 29 Mar 2014 23:45:01 +0000 (00:45 +0100)]
[runtime] Add support for setting the native thread name on linux.
Miguel de Icaza [Sat, 29 Mar 2014 00:56:02 +0000 (20:56 -0400)]
Remove profanity
Zoltan Varga [Fri, 28 Mar 2014 15:06:41 +0000 (11:06 -0400)]
Fix ikdasm submodule repository path.
Alex Rønne Petersen [Fri, 28 Mar 2014 06:59:58 +0000 (07:59 +0100)]
Merge pull request #972 from madewokherd/win32service
System.ServiceProcess: Implement ServiceBase.Run for Win32 services.
Vincent Povirk [Thu, 27 Mar 2014 22:54:22 +0000 (17:54 -0500)]
System.ServiceProcess: Implement ServiceBase.Run for Win32 services.
This commit licensed as MIT/X11.
Zoltan Varga [Thu, 27 Mar 2014 20:02:07 +0000 (16:02 -0400)]
[aot] Add a 'log-instances=filename' aot option to dump a list of method instances generated to a file for statistical purposes.
Zoltan Varga [Wed, 26 Mar 2014 22:00:05 +0000 (18:00 -0400)]
[aot] Refactor the code a bit.
Zoltan Varga [Wed, 26 Mar 2014 21:56:31 +0000 (17:56 -0400)]
[aot] Add more stats to the AOT compiler output.
Zoltan Varga [Tue, 25 Mar 2014 18:35:44 +0000 (14:35 -0400)]
Distribute the ikdasm managed disassembler written by Jeroen Frijters.
Zoltan Varga [Tue, 25 Mar 2014 18:26:50 +0000 (14:26 -0400)]
Bump external/ikdasm to master.
Zoltan Varga [Tue, 25 Mar 2014 18:07:30 +0000 (14:07 -0400)]
Add the mono/ikdasm repository as a submodule.
Zoltan Varga [Tue, 25 Mar 2014 16:02:06 +0000 (12:02 -0400)]
Revert "[llvm] Fix the build."
This reverts commit
d9139d3f77e098972a2a70373cce623b08021c35.
Revert this as it doesn't work with the currently used mono llvm version.
Rodrigo Kumpera [Tue, 25 Mar 2014 14:34:43 +0000 (10:34 -0400)]
Fix the build.
Zoltan Varga [Tue, 25 Mar 2014 14:24:29 +0000 (10:24 -0400)]
[runtime] Fix mono_sem_timedwait.
Zoltan Varga [Tue, 25 Mar 2014 14:21:23 +0000 (10:21 -0400)]
[runtime] Reduce timeouts in a test to speed it up.
Rodrigo Kumpera [Tue, 25 Mar 2014 13:58:25 +0000 (09:58 -0400)]
Merge pull request #970 from Therzok/fixTypo
[BigInteger] Fix some tests typos.
Rolf Bjarne Kvinge [Tue, 25 Mar 2014 12:47:42 +0000 (08:47 -0400)]
[System.Xml.Linq] Fix XNamespace.GetName locking to not be racy. Fixes #18564.
Marius Ungureanu [Tue, 25 Mar 2014 11:29:50 +0000 (13:29 +0200)]
[Mono.Posix] Remove profanity from tests.
Marius Ungureanu [Tue, 25 Mar 2014 11:12:40 +0000 (13:12 +0200)]
[BigInteger] Fix some tests typos.
Zoltan Varga [Tue, 25 Mar 2014 02:14:08 +0000 (22:14 -0400)]
[sdb] Implement a SetIP () method in ThreadMirror which can be used to implement the 'Set Next Statement' functionality in the VS debugger.
Zoltan Varga [Mon, 24 Mar 2014 20:32:07 +0000 (16:32 -0400)]
Fix a warning.
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.
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.