Zoltan Varga [Thu, 6 Mar 2014 00:15:40 +0000 (19:15 -0500)]
Really fix the build.
Zoltan Varga [Wed, 5 Mar 2014 22:29:58 +0000 (17:29 -0500)]
[runtime] Move some counters to the mono-counters infrastructure, to break dependencies between utils/ and metadata/.
Marek Safar [Wed, 5 Mar 2014 22:25:25 +0000 (23:25 +0100)]
[corlib] Parse datetime string using culture calendar. Fixes #18052
Zoltan Varga [Wed, 5 Mar 2014 22:01:48 +0000 (17:01 -0500)]
[runtime] Fix a memory leak.
Zoltan Varga [Wed, 5 Mar 2014 21:41:56 +0000 (16:41 -0500)]
[runtime] Fix a memory leak.
Zoltan Varga [Wed, 5 Mar 2014 21:40:50 +0000 (16:40 -0500)]
[runtime] Fix a memory leak.
Zoltan Varga [Wed, 5 Mar 2014 20:49:49 +0000 (15:49 -0500)]
[runtime] Implement wapi_process_get_path () on non osx platforms by falling back to get_process_name_from_proc ().
Zoltan Varga [Wed, 5 Mar 2014 19:41:15 +0000 (14:41 -0500)]
[sdb] Add some debug output to help track down #18100.
Zoltan Varga [Wed, 5 Mar 2014 19:33:09 +0000 (14:33 -0500)]
Fix the build.
Marek Safar [Wed, 5 Mar 2014 18:44:04 +0000 (19:44 +0100)]
[corlib] Implement CultureInfo.ClearCachedData. Fixes #18162
Zoltan Varga [Wed, 5 Mar 2014 18:12:38 +0000 (13:12 -0500)]
[mdoc] Fix the tests.
Marek Safar [Wed, 5 Mar 2014 14:19:27 +0000 (15:19 +0100)]
Merge pull request #931 from exony-craigminihan/bugzilla#18097
Correctly set Count after call to ConcurrentStack.PushRange()
Craig Minihan [Wed, 5 Mar 2014 12:33:54 +0000 (04:33 -0800)]
Correctly set Count after call to ConcurrentStack.PushRange()
Marek Safar [Wed, 5 Mar 2014 07:22:02 +0000 (08:22 +0100)]
Merge pull request #930 from theraot/master
New cast to double and float for BigInteger
Alex Rønne Petersen [Wed, 5 Mar 2014 06:42:45 +0000 (07:42 +0100)]
Add a MONO_CONSERVATIVE_HWCAP environment variable.
Also a bit of cleanup in the hwcap code.
Alex Rønne Petersen [Wed, 5 Mar 2014 00:55:45 +0000 (01:55 +0100)]
Add a MONO_DEBUG=suspend-on-exception option.
Zoltan Varga [Wed, 5 Mar 2014 03:05:33 +0000 (22:05 -0500)]
[runtime] Launch managed exe's using the current runtime executable if possible. Fixes #17820.
Zoltan Varga [Tue, 4 Mar 2014 23:41:18 +0000 (18:41 -0500)]
Revert parts of
6769a30f4, it disabled the hand-specialized sort methods in the non-aot case instead of the aot case.
theraot [Tue, 4 Mar 2014 21:19:19 +0000 (16:19 -0500)]
[Fix] BigInteger: reimplemented cast to single (float)
- The new implementation casts to double and then to float.
theraot [Tue, 4 Mar 2014 18:59:11 +0000 (13:59 -0500)]
[Fix] BigInteger: improved cast to double
- Added overloads for PopulationCount and LeadingZeroCount that take ulong.
- Added helper method BuildDouble that constructs a double by sign, mantissa
and exponent. This method truncates the mantissa, thus may differ in
rounding to Math.Pow.
- The new implementation avoids Math.Pow by using BuildDouble.
- Passing all recently added tests.
theraot [Tue, 4 Mar 2014 18:43:58 +0000 (13:43 -0500)]
BigInteger: more test cases for cast to double
Marek Safar [Tue, 4 Mar 2014 18:40:25 +0000 (19:40 +0100)]
[interpreter] Size reduction
Marek Safar [Tue, 4 Mar 2014 17:33:02 +0000 (18:33 +0100)]
[mcs] Emit correct code for lifted nullable bool logical operators where left operand is not pre cached.
theraot [Tue, 4 Mar 2014 16:28:34 +0000 (11:28 -0500)]
BigInteger: added tests for double conversion
theraot [Tue, 4 Mar 2014 16:14:01 +0000 (11:14 -0500)]
[Performance] BigInteger: cast to double and float
- The new implementation converts directly to double or float.
theraot [Tue, 4 Mar 2014 16:12:41 +0000 (11:12 -0500)]
BigIngeter: new LeadingZeroCount helper method
- The new helper method LeadingZeroCount returns the number of bits
that are set to 0 at the start of an uint.
Sebastien Pouliot [Tue, 4 Mar 2014 14:00:19 +0000 (09:00 -0500)]
[System.ServiceModel.Web] Fix regression when converting strings using some (like German) cultures [#18131] and add unit test
Marek Safar [Tue, 4 Mar 2014 09:17:01 +0000 (10:17 +0100)]
[corlib] Seal InternalThread
Zoltan Varga [Tue, 4 Mar 2014 05:05:42 +0000 (00:05 -0500)]
[runtime] Fix the cross-compiler build.
Zoltan Varga [Tue, 4 Mar 2014 03:26:16 +0000 (22:26 -0500)]
[runtime] Fix a memory leak.
Zoltan Varga [Tue, 4 Mar 2014 01:32:35 +0000 (20:32 -0500)]
[llvm] Create separate MonoLLVMModule and an LLVM execution engine for each appdomain so they can be freed when the appdomain is unloaded. Part of the fix for #18083.
Zoltan Varga [Mon, 3 Mar 2014 21:22:02 +0000 (16:22 -0500)]
Fix the build.
Zoltan Varga [Mon, 3 Mar 2014 20:04:52 +0000 (15:04 -0500)]
[llvm] Remove some debug spew.
Zoltan Varga [Mon, 3 Mar 2014 19:53:54 +0000 (14:53 -0500)]
[llvm] Make the 'llvm_types' hashtable per-domain to fix memory leaks.
Zoltan Varga [Mon, 3 Mar 2014 19:53:28 +0000 (14:53 -0500)]
[jit] Add support for the new DUMMY_ opcodes to the arm backend.
Zoltan Varga [Mon, 3 Mar 2014 18:58:00 +0000 (13:58 -0500)]
[llvm] Fix more memory leaks.
Zoltan Varga [Mon, 3 Mar 2014 17:58:22 +0000 (12:58 -0500)]
[llvm] Fix a memory leak.
Zoltan Varga [Mon, 3 Mar 2014 17:50:36 +0000 (12:50 -0500)]
[llvm] Fix a memory leak.
Marek Safar [Mon, 3 Mar 2014 17:09:15 +0000 (18:09 +0100)]
[mcs] Mark switch statement block scope statements as reachable. Fixes #18092
Martin Baulig [Mon, 3 Mar 2014 16:34:21 +0000 (17:34 +0100)]
This is a .NET 4.5 test.
Zoltan Varga [Sun, 2 Mar 2014 22:16:16 +0000 (17:16 -0500)]
[jit] Add LLVM support for the new OP_DUMMY_ opcodes.
Zoltan Varga [Sun, 2 Mar 2014 22:06:14 +0000 (17:06 -0500)]
[jit] Avoid forcing initlocals to TRUE when the 'unsafe' optimization flag is set. Fixes #18068.
Jeffrey Stedfast [Sun, 2 Mar 2014 01:53:37 +0000 (20:53 -0500)]
Merge pull request #929 from edbprx/master
Data corruption using SslStream (Xamarin bug 15293)
Zoltan Varga [Sat, 1 Mar 2014 01:06:13 +0000 (20:06 -0500)]
[jit] Allow inlining of calls to method with the AggressiveInlining attribute in aot mode.
Zoltan Varga [Sat, 1 Mar 2014 00:52:39 +0000 (19:52 -0500)]
[jit] Fix an uninitialized memory problem in the soft-float code.
Zoltan Varga [Sat, 1 Mar 2014 00:01:07 +0000 (19:01 -0500)]
[jit] Implement proper tail call support on arm. Fixes #17654.
Ed Boren [Fri, 28 Feb 2014 22:08:15 +0000 (17:08 -0500)]
Data corruption using SslStream (Xamarin bug 15293)
When reading and writing data at the same time over an
System.Net.Security.SslStream, an exception will be thrown often.
Usually the exception is: Mono.Security.Protocol.Tls.TlsException “Bad
record MAC”
The issue is that the single TlsCipherSuite instance used for both
reading and writing does not synchronize access to the “header” member.
If the contents get corrupted the MAC calculation returned by
ComputServerRecordMAC or ComputeClientRecordMAC is incorrect.
See https://bugzilla.xamarin.com/show_bug.cgi?id=15293. Reproduced in
OS X, iOS and Windows.
Alex Rønne Petersen [Fri, 28 Feb 2014 21:43:03 +0000 (22:43 +0100)]
Fix a warning introduced by the boehm toggleref code.
Alex Rønne Petersen [Fri, 28 Feb 2014 21:29:51 +0000 (22:29 +0100)]
Merge pull request #927 from ermshiperete/novell-bug-708856
[MWF] Fix finding of X11 shared library on Ubuntu (#708856)
Alex Rønne Petersen [Fri, 28 Feb 2014 21:18:58 +0000 (22:18 +0100)]
Properly fix the iowait_ticks / strtoull () warning in mono-proclib.
Zoltan Varga [Fri, 28 Feb 2014 18:36:59 +0000 (13:36 -0500)]
[llvm] Fix --enable-loadedllvm on osx/amd64.
Eberhard Beilharz [Thu, 28 Jul 2011 10:00:46 +0000 (12:00 +0200)]
[MWF] Fix finding of X11 shared library on Ubuntu (#708856)
When libX11-dev is not installed on an end-user's machine MWF apps
will crash in XCreateFontSet. This change uses dynamic search path
when building instead of hard coded directories when
searching for libX11.so.*. This fixes bug 708856
(https://bugzilla.novell.com/show_bug.cgi?id=708856).
Zoltan Varga [Fri, 28 Feb 2014 16:31:38 +0000 (11:31 -0500)]
[runtime] Fix memory leaks and usage of freed memory in ves_icall_System_Net_Dns_GetHostByName_internal. Fixes #18063.
Martin Baulig [Fri, 28 Feb 2014 16:26:44 +0000 (17:26 +0100)]
Fix this again.
Marek Safar [Fri, 28 Feb 2014 12:29:47 +0000 (13:29 +0100)]
[corlib] Method signature fixes
Zoltan Varga [Fri, 28 Feb 2014 00:14:22 +0000 (19:14 -0500)]
[corlib] Disable an OOM test which shouldn't fail on 64 bit machines.
Mark Probst [Thu, 27 Feb 2014 22:41:29 +0000 (14:41 -0800)]
[sgen] Fix cardtable for huge (>4gb) objects on 64bit.
We use an overlapping card table on 64 bits, meaning that the address
space wraps around our card table (every 4gb). We had assumed in a few
places that an object could wrap around the end of the card table at most
once, but with objects larger than 4gb that is not the case.
Fixes the corlib test suite crash on OSX/64bit
(in SortedListTest.TestCapacity4).
Martin Baulig [Thu, 27 Feb 2014 19:38:59 +0000 (20:38 +0100)]
NUnitLite does not know Assert.IsInstanceOfType().
Zoltan Varga [Thu, 27 Feb 2014 19:33:23 +0000 (14:33 -0500)]
[runtime] Fix an assertion which is hit if thread_cleanup () is called for a thread after it has been finalized during shutdown.
Marek Safar [Thu, 27 Feb 2014 19:21:37 +0000 (20:21 +0100)]
[corlib] Add missing api
Zoltan Varga [Thu, 27 Feb 2014 18:32:42 +0000 (13:32 -0500)]
[runtime] Switch the order of LLVM_LIBS and LLVM_LDFLAGS on the linker command line. Hopefully fixes #17931.
Zoltan Varga [Thu, 27 Feb 2014 17:36:02 +0000 (12:36 -0500)]
Revert "[runtime] Add support for jagged array ctors which create an array of arrays. Fixes #17944."
This reverts commit
2136f8f0bcc04fd6ad818509f1db0230014f6187.
Revert this as it breaks make check PROFILE=net_2_0 in corlib.
Marek Safar [Thu, 27 Feb 2014 15:41:04 +0000 (16:41 +0100)]
Merge pull request #922 from ermshiperete/novell-bug-599689
Fix Novell bug 599689
Marek Safar [Thu, 27 Feb 2014 15:40:11 +0000 (16:40 +0100)]
Merge pull request #921 from ermshiperete/novell-bug-594490
Allow qualified names in XmlAttribute serialization
Eberhard Beilharz [Thu, 27 Feb 2014 15:30:43 +0000 (16:30 +0100)]
[Sys.Xml] Fix Novell bug #599689
This change fixes #599689
(https://bugzilla.novell.com/show_bug.cgi?id=599689) by making the
output of XmlSchemaException.ToString() match the output under .NET.
Martin Baulig [Thu, 27 Feb 2014 15:15:06 +0000 (16:15 +0100)]
Fix the mobile build.
On the mobile profile, System.Xml.Linq is signed with the winfx key, not
with the ecma one, so we need a different [assembly: InternalsVisibleTo].
Eberhard Beilharz [Thu, 27 Feb 2014 15:28:08 +0000 (16:28 +0100)]
[Sys.Xml] Add unit test for Novell bug #599689
The unit test demonstrates a difference between Mono and .NET
(https://bugzilla.novell.com/show_bug.cgi?id=599689).
Neil Mayhew [Thu, 26 May 2011 21:53:59 +0000 (15:53 -0600)]
[Sys.Xml] Allow qualified names in XmlAttribute serialization
This fixes Mono bug #594490
(https://bugzilla.novell.com/show_bug.cgi?id=594490).
Eberhard Beilharz [Thu, 27 Feb 2014 14:57:57 +0000 (15:57 +0100)]
[Sys.Xml] Add unit test for Novell bug #594490
The unit test demonstrates the problem of serializing the
xml:lang attribute.
Miguel de Icaza [Thu, 27 Feb 2014 04:09:19 +0000 (23:09 -0500)]
Merge pull request #912 from Treer/patch-1
[FIX] mono-xmltool can't write to a file when prettyprinting, and corrupts the input file.
Rodrigo Kumpera [Wed, 26 Feb 2014 17:19:02 +0000 (12:19 -0500)]
[boehm] Integrate toggleref support into the runtime.
Rodrigo Kumpera [Wed, 26 Feb 2014 17:14:39 +0000 (12:14 -0500)]
[boehm] Add toggleref support for boehm. This is line by line port of the sgen code, so keep them in sync.
Zoltan Varga [Wed, 26 Feb 2014 21:16:34 +0000 (16:16 -0500)]
[runtime] Add support for jagged array ctors which create an array of arrays. Fixes #17944.
Zoltan Varga [Wed, 26 Feb 2014 20:55:11 +0000 (15:55 -0500)]
[jit] Move a debug message to a larger verbosity level.
Zoltan Varga [Wed, 26 Feb 2014 20:39:27 +0000 (21:39 +0100)]
[runtime] Fix the --enable-loadedllvm build on linux.
Zoltan Varga [Wed, 26 Feb 2014 20:14:39 +0000 (15:14 -0500)]
[bcl] Allow Marshal.SizeOf () to work on pointer types. Fixes #17587.
Zoltan Varga [Wed, 26 Feb 2014 19:53:47 +0000 (14:53 -0500)]
[runtime] Add a FIXME.
Mark Probst [Wed, 26 Feb 2014 18:40:28 +0000 (10:40 -0800)]
[runtime] Fix a thread join race condition. Fixes #18026.
Zoltan Varga [Wed, 26 Feb 2014 18:41:49 +0000 (13:41 -0500)]
[runtime] Fix an assert if a thread cannot be created. Fixes #18000.
Rodrigo Kumpera [Wed, 26 Feb 2014 17:19:12 +0000 (12:19 -0500)]
[sgen] Ensure togglerefs are only cleared after we proccess finalizers and CWT.
Clearing TRs before finalizers and CWT means user driver resurrection would fail
badly.
Zoltan Varga [Wed, 26 Feb 2014 17:00:48 +0000 (12:00 -0500)]
[bcl] Fix System tests.
Martin Baulig [Wed, 26 Feb 2014 14:47:17 +0000 (15:47 +0100)]
HttpWebRequest: Only add "Content-Length" if we have a body; fixes #17736.
Marek Safar [Wed, 26 Feb 2014 09:54:29 +0000 (10:54 +0100)]
[System] Add NetworkCredential 4.0 construtors. Fixes #18005
Marek Safar [Wed, 26 Feb 2014 09:44:51 +0000 (10:44 +0100)]
[dlr] Add interpreter increment emit
Michael Hutchinson [Wed, 26 Feb 2014 00:28:41 +0000 (19:28 -0500)]
[gacutil] Create correct relative package symlinks
BXC17951 - broken softlinks in mono/xbuild/12.0/bin
Zoltan Varga [Wed, 26 Feb 2014 00:03:51 +0000 (19:03 -0500)]
[runtime] Remove the usage of pthread_cleanup_push/pop functions from io-layer code.
Zoltan Varga [Tue, 25 Feb 2014 22:55:09 +0000 (17:55 -0500)]
Merge pull request #914 from eiz/master
Fix memory leak.
Mackenzie Straight [Tue, 25 Feb 2014 09:05:04 +0000 (04:05 -0500)]
Fix memory leak.
Introduced in
b322a6e41038f7bf35f8a433b34c3b18e4a6d169. variance_used
was not being set before use, resulting in leaked trampolines when
calling methods on variant interfaces.
Miguel de Icaza [Tue, 25 Feb 2014 02:16:29 +0000 (21:16 -0500)]
[System.Runtime.Serialization] Fix from Brendan Zagaeski for bug #17663
Miguel de Icaza [Tue, 25 Feb 2014 02:13:49 +0000 (21:13 -0500)]
[runtime] some inline api docs
Rodrigo Kumpera [Mon, 24 Feb 2014 23:34:57 +0000 (18:34 -0500)]
[sgen] Ensure minor_collection_allowance is always initialized. This avoid a spurious GC on startup.
Rodrigo Kumpera [Mon, 24 Feb 2014 23:34:20 +0000 (18:34 -0500)]
[sgen] Add regression test for toggleref transient marking bug.
Rodrigo Kumpera [Mon, 24 Feb 2014 23:25:04 +0000 (18:25 -0500)]
[sgen] Split mark/clean phase of sgen-toggle processing to account for transitive liveness.
Given two TG objects A and B. A is strong, B is weak, A points to B. B should remain registered
for TG processing since it's reachable thru A.
This means we have to split processing in multiple steps. Phase one marks all strong refs that should
happen before finalizer processing and phase two that happens after finalizers that cleanup those
that turned unreachable.
Rodrigo Kumpera [Mon, 24 Feb 2014 22:54:43 +0000 (17:54 -0500)]
[sgen] We must do bridge processing with all sgen locks taken.
Rodrigo Kumpera [Mon, 24 Feb 2014 21:54:00 +0000 (16:54 -0500)]
[sgen] Add internal test helper for sgen-toggleref.
Zoltan Varga [Mon, 24 Feb 2014 22:25:28 +0000 (17:25 -0500)]
[runtime] Fix reading invalid memory during some checks for remoting types.
Zoltan Varga [Mon, 24 Feb 2014 22:23:17 +0000 (17:23 -0500)]
[runtime] Fix a memory leak.
Marek Safar [Mon, 24 Feb 2014 22:07:26 +0000 (23:07 +0100)]
[mcs] Don't report internal error for unresolved catch type. Fixes #17975
Zoltan Varga [Mon, 24 Feb 2014 21:30:42 +0000 (16:30 -0500)]
[runtime] Fix the order of how we fix types during appdomain unload. Fixes #17977.
Marek Safar [Mon, 24 Feb 2014 20:58:06 +0000 (21:58 +0100)]
[corlib] Simplify ambiguous chinese legacy name check