Eberhard Beilharz [Wed, 12 Mar 2014 17:58:24 +0000 (18:58 +0100)]
Properly convert COM error codes to C# exceptions
Also use additional information provided by IErrorInfo to fill in
exception details.
To make use of IErrorInfo on Linux a suitable implementation has to be
provided, e.g. by including libcom plus adding a mapping from
oleauth32.dll to the shared library that provides the implementation.
This completes mono bug 496138
(https://bugzilla.novell.com/show_bug.cgi?id=496138)
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.
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.
Rodrigo Kumpera [Thu, 6 Mar 2014 16:18:31 +0000 (11:18 -0500)]
Merge pull request #936 from adahn/master
[runtime] Fixed flags for VirtualAlloc in mono_valloc (Windows)
Marek Safar [Thu, 6 Mar 2014 16:07:27 +0000 (17:07 +0100)]
Merge pull request #866 from linquize/content-type-encoding
(master) If HTTP charset header is empty, do not append content encoding to Content-Type header
Adam Rzepka [Thu, 6 Mar 2014 13:00:31 +0000 (14:00 +0100)]
[runtime] Fixed flags for VirtualAlloc in mono_valloc (Windows)
Rodrigo Kumpera [Thu, 6 Mar 2014 13:40:47 +0000 (08:40 -0500)]
Merge pull request #934 from exony-craigminihan/bugzilla#17897-B
[Fix] Bugzilla #17897 - MemoryCacheEntryPriorityQueue throws out of boun...
Craig Minihan [Thu, 6 Mar 2014 10:46:49 +0000 (02:46 -0800)]
[Fix] Bugzilla #17897 - MemoryCacheEntryPriorityQueue throws out of bounds after shrink
- when MemoryCacheEntryPriorityQueue grows the timed items after a shrink
the value of the member variable heapSize is wrong allowing an out-of-
bounds exception which would normally be prevented by bounds tests
- A test case was added for the out-of-bounds exception
Zoltan Varga [Thu, 6 Mar 2014 02:23:09 +0000 (21:23 -0500)]
Disable the test-messages test on win32, its not needed.
Zoltan Varga [Thu, 6 Mar 2014 02:13:45 +0000 (21:13 -0500)]
[runtime] Fix loaded llvm support.
Zoltan Varga [Thu, 6 Mar 2014 02:12:36 +0000 (21:12 -0500)]
[runtime] Disable MONO_XEN_OPT on windows.
Zoltan Varga [Thu, 6 Mar 2014 02:11:49 +0000 (21:11 -0500)]
[jit] Implement the push/pop LMF code in IR on windows too.
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.