Neale [Wed, 17 Apr 2013 02:32:39 +0000 (22:32 -0400)]
Merge branch 'master' of https://github.com/mono/mono
Neale [Wed, 17 Apr 2013 02:27:47 +0000 (22:27 -0400)]
When .NET serializes it will use the TypeForwardedFrom information when
writing Assembly information but Mono does not. This means that
serialized objects created on one platform are not able to be
deserialized on the other, thus preventing interoperability between .NET
and mono applications. Fixes the ObservableCollection part of bugzilla
11294.
Zoltan Varga [Mon, 15 Apr 2013 20:24:22 +0000 (22:24 +0200)]
Fix the win64 build.
Zoltan Varga [Sat, 13 Apr 2013 20:07:37 +0000 (22:07 +0200)]
Clear the domain on thread exit after the profile thread end hook, since it might need it to be set.
Zoltan Varga [Thu, 11 Apr 2013 15:25:33 +0000 (17:25 +0200)]
Fix a test.
Zoltan Varga [Thu, 11 Apr 2013 14:56:18 +0000 (16:56 +0200)]
Disable some System.Data tests which are expected to fail in the mobile profile.
Zoltan Varga [Thu, 11 Apr 2013 14:37:02 +0000 (16:37 +0200)]
Disable some System tests which are expected to fail in the mobile profile.
Marek Safar [Thu, 11 Apr 2013 09:25:16 +0000 (11:25 +0200)]
Fix cascading errors for invalid out arguments
Marek Safar [Thu, 11 Apr 2013 07:59:51 +0000 (09:59 +0200)]
Check interface implementation using all base types members. Fixes #11694
Duncan Mak [Wed, 10 Apr 2013 17:22:34 +0000 (13:22 -0400)]
Bump version to 3.0.10
Marek Safar [Wed, 10 Apr 2013 16:45:11 +0000 (18:45 +0200)]
Don't emit symbol file entry for partial method declarations. Fixes #11704
Marek Safar [Wed, 10 Apr 2013 07:49:51 +0000 (09:49 +0200)]
Remove System.Net.Http from MT mobile build
Marek Safar [Wed, 10 Apr 2013 07:47:19 +0000 (09:47 +0200)]
Fix duplicate metadata override entry.
Marek Safar [Tue, 9 Apr 2013 16:45:07 +0000 (18:45 +0200)]
Add missing prepare phase to eval
Zoltan Varga [Wed, 10 Apr 2013 07:27:52 +0000 (09:27 +0200)]
Revert "Parallelize the compression in mkbundle."
This reverts commit
d168c95182f2619670428ccc78674d1235fb9cc9.
Revert this as it breaks mtouch.
Rodrigo Kumpera [Tue, 9 Apr 2013 23:20:44 +0000 (19:20 -0400)]
Revert "Remove System.Net.Http from MT mobile build"
This reverts commit
a00ab04a6445a3c540ec2fd924f3f9e2d2e3d51c.
Zoltan Varga [Tue, 9 Apr 2013 22:46:19 +0000 (00:46 +0200)]
Move some boehm specific code in gc.c to boehm-gc.c.
Zoltan Varga [Tue, 9 Apr 2013 20:36:35 +0000 (22:36 +0200)]
Don't abort the process using g_abort () when a breakpoint cannot be inserted.
Zoltan Varga [Tue, 9 Apr 2013 15:34:11 +0000 (17:34 +0200)]
Clear the domain TLS variable earlier in start_wrapper_internal () so async signal handlers don't run concurrently with thread cleanup. Hopefully fixes #11102.
Zoltan Varga [Tue, 9 Apr 2013 15:30:44 +0000 (17:30 +0200)]
Don't leave the thread suspended in mono_threads_core_suspend () if thread_state_init_from_handle () fails.
Zoltan Varga [Tue, 9 Apr 2013 12:25:56 +0000 (14:25 +0200)]
Fix alignment of unbox trampolines when using LLVM+thumb on ARM. Fixes #11594.
Marek Safar [Tue, 9 Apr 2013 12:13:33 +0000 (14:13 +0200)]
Remove System.Net.Http from MT mobile build
Marek Safar [Mon, 8 Apr 2013 09:39:46 +0000 (11:39 +0200)]
Try to recover expressions aftern named argument
Alex Rønne Petersen [Fri, 29 Mar 2013 20:17:37 +0000 (21:17 +0100)]
Support disabling of the security subsystem (CAS/CoreCLR).
This could still use some future work. For example, we could get
rid of lots of security code in the class libs. There are also some
functions in the runtime that don't get removed because we don't
use the stub macro approach for all public security functions.
Based on Sebastien's patch.
Zoltan Varga [Tue, 9 Apr 2013 07:26:05 +0000 (09:26 +0200)]
Hopefully fix the windows build.
Duncan Mak [Mon, 8 Apr 2013 21:14:32 +0000 (17:14 -0400)]
Bump version number to 3.0.9
Rodrigo Kumpera [Mon, 8 Apr 2013 19:25:21 +0000 (15:25 -0400)]
Fix llvm loading when calling through a symlink.
mini-llvm.h: When trying to load mono from ./.libs or ../lib we did not
resolve the current binary for symlinks. This failed on OSX since
everyone calls /usr/bin/mono while libmono-llvm was on
/Library/Frameworks/Mono.framework/Versions/Current/lib.
This make mono --llvm work on release mono.
Rodrigo Kumpera [Fri, 5 Apr 2013 18:28:57 +0000 (14:28 -0400)]
Guard against another possible crash that has been seen on wrench.
Marek Safar [Mon, 8 Apr 2013 10:00:28 +0000 (03:00 -0700)]
Merge pull request #601 from knocte/sock_improvements
[System.Net.Sockets] Specify 'timeout' in the exception msg of the Receive(buf) overload
Andres G. Aragoneses [Mon, 8 Apr 2013 09:43:38 +0000 (10:43 +0100)]
[io-layer] add URLs for some ximian bug numbers in sockets.cs
Not everybody knows that a ximian bug 123 can be accessed this way:
https://bugzilla.novell.com/show_bug.cgi?id=MONO123
Andres G. Aragoneses [Mon, 8 Apr 2013 09:42:42 +0000 (10:42 +0100)]
[Socket] Improve exception message when timing out in Socket.cs
This uses now the same exception message as MS.NET.
Andres G. Aragoneses [Mon, 8 Apr 2013 09:41:56 +0000 (10:41 +0100)]
[Socket] Refactor Socket to make Receive(_) call Receive(_,_)
After previous commit, two Receive() overloads are basically the same, so
we can remove some duplicated code here by making one call the other one.
Andres G. Aragoneses [Mon, 8 Apr 2013 09:41:18 +0000 (10:41 +0100)]
[Socket] Specify 'timeout' in the exception msg of Receive(buf)
In the same way the overload Receive (buf, flags) already does, mention
"time out" in the exception message when the socketError is WOULDBLOCK and
the socket is not non-blocking (otherwise it would throw with the reason
"Operation on non-blocking socket would block", which doesn't make sense
for a socket that is not non-blocking).
Elijah Taylor [Thu, 31 Jan 2013 22:00:58 +0000 (14:00 -0800)]
NaCl ARM work, first pass
Elijah Taylor [Thu, 31 Jan 2013 20:04:20 +0000 (12:04 -0800)]
NaCl runtime fixes
- fix compile/runtime issues caused by upstream changes
- add NaCl glibc support
- various changes to support running tests in NaCl glibc
from 'make check'
Marek Safar [Sun, 7 Apr 2013 07:39:14 +0000 (09:39 +0200)]
Implement partial generic methods
Zoltan Varga [Sat, 6 Apr 2013 08:05:28 +0000 (10:05 +0200)]
Implement the calculation of stack bounds on windows. Fixes #11624.
Zoltan Varga [Sat, 6 Apr 2013 08:04:27 +0000 (10:04 +0200)]
Fix the windows build.
Zoltan Varga [Fri, 5 Apr 2013 16:32:46 +0000 (18:32 +0200)]
Fix support for custom attribute classes in CustomAttributeDataMirror which indirectly inherit from Attribute. Fixes #11564.
Martin Baulig [Thu, 4 Apr 2013 17:24:26 +0000 (19:24 +0200)]
[xbuild]: Support <PropertyGroup/ItemGroup> inside <Target>.
Marek Safar [Fri, 5 Apr 2013 09:14:30 +0000 (11:14 +0200)]
Redirect more duplicate security types to Mono.Security
Atsushi Eno [Thu, 4 Apr 2013 15:02:29 +0000 (00:02 +0900)]
rx: Add -d:HAS_AWAIT options to 4.5 and 2.1 builds.
Jeffrey Stedfast [Wed, 3 Apr 2013 21:23:16 +0000 (17:23 -0400)]
[Mono.Debugger.Soft] Make CommandException public
Mark Probst [Wed, 3 Apr 2013 19:29:05 +0000 (12:29 -0700)]
Merge remote-tracking branch 'origin/fix-los-cardtable-overlap'
Mark Probst [Wed, 3 Apr 2013 19:25:58 +0000 (12:25 -0700)]
[sgen] Use unified cardtable-update code in M&S, too.
The bug where objects crossed the cardtable overlap boundary cannot
happen with M&S because blocks are naturally aligned. It can't hurt
to use the same code for updating them, too, though.
Mark Probst [Wed, 3 Apr 2013 19:01:51 +0000 (12:01 -0700)]
[sgen] Fix 64-bit bug occurring when LOS object crosses cardtable overlap boundary.
Marek Safar [Wed, 3 Apr 2013 16:59:47 +0000 (18:59 +0200)]
Fix arguments location
Marek Safar [Tue, 2 Apr 2013 08:08:38 +0000 (10:08 +0200)]
Add new test
Marek Safar [Mon, 1 Apr 2013 08:13:23 +0000 (10:13 +0200)]
Fix reported warning location
Marek Safar [Sun, 31 Mar 2013 17:00:25 +0000 (19:00 +0200)]
Error reporting improvements
Marek Safar [Sun, 31 Mar 2013 07:59:45 +0000 (09:59 +0200)]
Report missing type definition dependency only once per type.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:50:11 +0000 (22:50 +0200)]
Fix another cast warning in sgen-debug.c.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:40:42 +0000 (22:40 +0200)]
Fix an `#if` in System.Delegate.IsTransparentProxy () to use DISABLE_REMOTING.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:01:24 +0000 (22:01 +0200)]
`#ifndef` some variables out to silence warnings in builds with COM/remoting disabled.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:00:55 +0000 (22:00 +0200)]
Remove an unneeded inner `#ifndef DISABLE_COM`.
Alex Rønne Petersen [Tue, 2 Apr 2013 20:00:28 +0000 (22:00 +0200)]
Only define get_local_interface_id () on Apple platforms.
Alex Rønne Petersen [Tue, 2 Apr 2013 19:59:48 +0000 (21:59 +0200)]
Explicitly ignore some return values with a G_GNUC_UNUSED variable.
Alex Rønne Petersen [Tue, 2 Apr 2013 19:59:22 +0000 (21:59 +0200)]
Fix the tramp_names table when remoting is disabled.
Alex Rønne Petersen [Tue, 2 Apr 2013 19:59:09 +0000 (21:59 +0200)]
Silence a couple of unused variable warnings with G_GNUC_UNUSED.
Alex Rønne Petersen [Tue, 2 Apr 2013 19:57:59 +0000 (21:57 +0200)]
Fix some warnings caused by casts.
Alex Rønne Petersen [Tue, 2 Apr 2013 18:39:31 +0000 (20:39 +0200)]
Unbreak the build when Boehm is enabled and remoting is disabled.
Mark Probst [Tue, 2 Apr 2013 19:32:52 +0000 (12:32 -0700)]
Merge remote-tracking branch 'origin/fix-concurrent-wbarrier'
Mark Probst [Tue, 2 Apr 2013 19:31:33 +0000 (12:31 -0700)]
[sgen] Fix binary protocol concurrent crashes.
Mark Probst [Tue, 2 Apr 2013 17:36:05 +0000 (10:36 -0700)]
[sgen] Mark major->major references in unmanaged wbarrier, too.
Mark Probst [Tue, 2 Apr 2013 17:34:48 +0000 (10:34 -0700)]
[sgen] Update mod-union with regular, not shadow cardtable.
Mark Probst [Tue, 2 Apr 2013 17:33:26 +0000 (10:33 -0700)]
[sgen] Mod-union consistency check MONO_GC_DEBUG option.
Mark Probst [Tue, 2 Apr 2013 17:13:03 +0000 (10:13 -0700)]
[sgen] Cmdline option to print all entries in sgen-grep-binprot.
Mark Probst [Tue, 2 Apr 2013 17:11:36 +0000 (10:11 -0700)]
[sgen] Binary protocol entry for user-forced GCs.
Miguel de Icaza [Tue, 2 Apr 2013 01:28:03 +0000 (18:28 -0700)]
Merge pull request #606 from sesef/master
Fix .NET incompatibility in UpDownBase
Jeffrey Stedfast [Mon, 1 Apr 2013 20:34:01 +0000 (16:34 -0400)]
[Mono.Debugger.Soft] fixed the build
Jeffrey Stedfast [Mon, 1 Apr 2013 20:31:23 +0000 (16:31 -0400)]
[Mono.Debugger.Soft] Throw AbsentInformationException, not ArgumentException which makes no sense
Zoltan Varga [Sun, 31 Mar 2013 11:42:08 +0000 (13:42 +0200)]
Don't disable sharing for open generic async methods, since the JIT can't compile these without sharing.
Marek Safar [Sat, 30 Mar 2013 09:44:49 +0000 (10:44 +0100)]
Set async block flag also for partial methods
Marek Safar [Fri, 29 Mar 2013 17:35:17 +0000 (18:35 +0100)]
Make table name comparison dataset locale specific. Fixes #7899
Zoltan Varga [Fri, 29 Mar 2013 05:56:19 +0000 (06:56 +0100)]
Hopefully fix the windows build.
Zoltan Varga [Fri, 29 Mar 2013 03:24:16 +0000 (04:24 +0100)]
Hopefully fix the windows build.
Sebastien Pouliot [Thu, 28 Mar 2013 21:07:15 +0000 (17:07 -0400)]
Have the linker skip mixed-mode assemblies since it won't be able to save them later
Zoltan Varga [Thu, 28 Mar 2013 09:48:03 +0000 (10:48 +0100)]
Remove some debug printfs.
Zoltan Varga [Thu, 28 Mar 2013 09:46:58 +0000 (10:46 +0100)]
Fix the build.
Zoltan Varga [Thu, 28 Mar 2013 05:23:55 +0000 (06:23 +0100)]
Fix the build.
Jonathan Pryor [Thu, 28 Mar 2013 03:28:56 +0000 (23:28 -0400)]
Fix build break.
5329fab3 requires <sys/uio.h>, which wasn't being included.
Zoltan Varga [Thu, 28 Mar 2013 03:08:13 +0000 (04:08 +0100)]
Move atomic.h/atomic.h to utils/.
Zoltan Varga [Thu, 28 Mar 2013 02:44:57 +0000 (03:44 +0100)]
Add implementations of atomic functions using gcc atomic ops. Not yet used.
Jonathan Pryor [Wed, 27 Mar 2013 22:12:07 +0000 (18:12 -0400)]
[mkbundle] Remove Mono.Posix, ICSharpCode.SharpZipLib deps
I want to make execution of mkbundle possible under .NET, and as such
I want to remove unnecessary dependencies.
Mono.Posix is only used for UnixMarshal heap methods; there's NO need
to use these when Marshal can be used.
That leaves DeflaterOutputStream, and it's possible to configure zlib
to accept deflate streams, allowing us to use GZipStream:
http://stackoverflow.com/a/
1838702/83444
Update template_z.c accordingly so that the compressed data works.
Two side results of this:
1. Increased compression; my (really stupid) test app went from a
compression ration of 31.39% to 32%
2. This MAY make things WORSE when running on .NET < 4.5. This is
fixed in .NET 4.5:
http://msdn.microsoft.com/en-us/library/system.io.compression.deflatestream.aspx
Starting with the .NET Framework 4.5, the DeflateStream class
uses the zlib library. As a result, it provides a better
compression algorithm and, in most cases, a smaller compressed
file than it provides in earlier versions of the .NET
Framework.
Jonathan Pryor [Wed, 27 Mar 2013 13:38:11 +0000 (06:38 -0700)]
Merge pull request #609 from steffen-kiess/stat-st_atim
Add nanosecond resolution times to struct Stat
Steffen Kieß [Wed, 27 Mar 2013 12:45:50 +0000 (13:45 +0100)]
Add nanosecond resolution times to struct Stat
Zoltan Varga [Wed, 27 Mar 2013 01:00:11 +0000 (02:00 +0100)]
Fix sdb asserts when seq-points are not found for a method because its assembly was AOTed without the 'soft-debug' option. Fixes #11435.
Jonathan Pryor [Tue, 26 Mar 2013 21:42:30 +0000 (14:42 -0700)]
Merge pull request #221 from steffen-kiess/master
Add various methods and flags to Syscall
Steffen Kieß [Tue, 26 Mar 2013 20:26:09 +0000 (21:26 +0100)]
Add various methods and flags to Syscall
* Add OpenFlags.O_CLOEXEC and OpenFlags.O_PATH
* Add AtFlags for AT_* values
* Add fdopendir, mkdtemp, futimens
* Add readv, writev, preadv, pwritev
* Add *at methods: openat, renameat, fchmodat, fstatat, utimensat,
mkdirat, mknodat, mkfifoat, faccessat, fchownat, linkat, readlinkat,
symlinkat, unlinkat
* Add constants AT_FDCWD, UTIME_NOW, UTIME_OMIT
Zoltan Varga [Tue, 26 Mar 2013 19:15:06 +0000 (20:15 +0100)]
Export a few more symbols for LLVM.
Miguel de Icaza [Tue, 26 Mar 2013 19:04:53 +0000 (15:04 -0400)]
[corlib] Marshal: fine-tune the pointer Read/Write operations.
This patch reworks the Marshal's Read and Write pointer operations
to avoid performing a modulo operation to choose the fast path, as
in some platforms the modulo operation is implemented as a C subroutine.
Instead we use bit operations which always run in constant time.
It also avoids the IntPtr.XXX method calls, factors out "unsafe", only
ever performs one IntPtr->pointer conversion, and makes the source
code uniform.
Zoltan Varga [Tue, 26 Mar 2013 19:01:41 +0000 (20:01 +0100)]
Remove a redundant null check.
Zoltan Varga [Tue, 26 Mar 2013 18:58:55 +0000 (19:58 +0100)]
Return null when null was passed to Marshal.PtrToStructure () instead of throwing an exception. Fixes #11417.
Steffen Kieß [Tue, 26 Mar 2013 18:53:00 +0000 (19:53 +0100)]
Set errno to 0 before calling readdir in Syscall.readdir().
This will allow the caller to distinguish between errors and end-of-directory.
Marek Safar [Tue, 26 Mar 2013 18:17:10 +0000 (19:17 +0100)]
Update number separators for mexican and similar locales. Fixes #8084
Marek Safar [Tue, 26 Mar 2013 16:23:18 +0000 (17:23 +0100)]
Set invariant DateTimeFormatInfo for all invariant format specifiers. Fixes #11364
Marek Safar [Tue, 26 Mar 2013 15:38:53 +0000 (16:38 +0100)]
Populate AbbreviatedMonthNames values. Fixes #11361
Atsushi Eno [Tue, 26 Mar 2013 16:56:13 +0000 (01:56 +0900)]
update cecil rev.
We cannot fully update cecil to the latest master which seems to break
some existing code, so use specific branch so far.
Paolo Molaro [Tue, 26 Mar 2013 15:35:28 +0000 (16:35 +0100)]
Export a few functions needed by llvm.
Marek Safar [Tue, 26 Mar 2013 10:35:55 +0000 (11:35 +0100)]
Fix quoting of some date time patters. Fixes #11363