mono.git
8 years agoMerge pull request #1871 from saper/EADDRINUSE
Zoltan Varga [Fri, 12 Jun 2015 23:12:11 +0000 (19:12 -0400)]
Merge pull request #1871 from saper/EADDRINUSE

[tests] Avoid "Address already in use"

8 years ago[tests] Avoid "Address already in use"
Marcin Cieslak [Fri, 12 Jun 2015 09:27:03 +0000 (09:27 +0000)]
[tests] Avoid "Address already in use"

Few tests using networking seem to fail due to
"Address already in use"
error that may be caused by opening listening
port too fast - because of some tests running
in parallel or because 2MSL TIME_WAIT period.

8 years ago[Linux] Set permission for gdb to attach
Marek Habersack [Fri, 12 Jun 2015 21:51:12 +0000 (23:51 +0200)]
[Linux] Set permission for gdb to attach

Most modern Linux distributions limit the ptrace scope to allow
attaching only to the direct child processes for security reasons. The
user on such machine has to modify sysctl in order to allow non-root
processes to attach to arbitrary processes, which opens up a potential
security issue. The alternative is what's implemented here - when we
crash and ask gdb to dump the stack we can bless the gdb process and allow
it to attach to our process using prctl(2)

8 years ago[arm] Increase the number of stack args to 10 in the dyn call code. Fixes #31060.
Zoltan Varga [Fri, 12 Jun 2015 17:31:23 +0000 (13:31 -0400)]
[arm] Increase the number of stack args to 10 in the dyn call code. Fixes #31060.

8 years agoMerge pull request #1868 from BillSeurer/ppc-floats
Alex Rønne Petersen [Thu, 11 Jun 2015 21:24:26 +0000 (23:24 +0200)]
Merge pull request #1868 from BillSeurer/ppc-floats

[ppc] Basic powerpc64 little endian enablement

8 years ago[eglib] Ensures that home and user name always have a non-null value.
Rodrigo Kumpera [Thu, 11 Jun 2015 20:25:55 +0000 (16:25 -0400)]
[eglib] Ensures that home and user name always have a non-null value.

8 years ago[System.IO.Compression] Implement support for custom entry name encoding when writing...
João Matos [Thu, 11 Jun 2015 17:18:15 +0000 (18:18 +0100)]
[System.IO.Compression] Implement support for custom entry name encoding when writing Zip files.

When you write to archive files and entryNameEncoding is set to a value other than null, the specified entryNameEncoding is used to encode the entry names into bytes. The language encoding flag (in the general-purpose bit flag of the local file header) is set only when the specified encoding is a UTF-8 encoding.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=30972.

8 years ago[SharpCompress] Add support for custom entry text encoding in Zip writer.
João Matos [Thu, 11 Jun 2015 17:16:26 +0000 (18:16 +0100)]
[SharpCompress] Add support for custom entry text encoding in Zip writer.

8 years ago[Lucene] Replace the large 66M dependency to a 4M dependency with the subset that...
Miguel de Icaza [Thu, 11 Jun 2015 16:47:41 +0000 (09:47 -0700)]
[Lucene] Replace the large 66M dependency to a 4M dependency with the subset that we use

8 years ago[ppc] Some additional basic ppc64 enablement
Bill Seurer [Thu, 4 Jun 2015 16:40:27 +0000 (11:40 -0500)]
[ppc] Some additional basic ppc64 enablement

8 years ago[ppc] Fix chkfinite for little endian
Bill Seurer [Wed, 3 Jun 2015 14:37:12 +0000 (09:37 -0500)]
[ppc] Fix chkfinite for little endian

8 years ago[ppc] Fix floating point issue for little endian.
Bill Seurer [Wed, 3 Jun 2015 14:26:28 +0000 (09:26 -0500)]
[ppc] Fix floating point issue for little endian.

8 years agoMerge pull request #1867 from saper/ucontext_x86
João Matos [Thu, 11 Jun 2015 12:57:38 +0000 (13:57 +0100)]
Merge pull request #1867 from saper/ucontext_x86

Missing <ucontext.h> for x86

8 years agoMissing <ucontext.h> for x86
Marcin Cieslak [Thu, 11 Jun 2015 12:53:21 +0000 (12:53 +0000)]
Missing <ucontext.h> for x86

Obtained from: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198404

8 years agoMerge pull request #1866 from saper/libc7
João Matos [Thu, 11 Jun 2015 12:45:07 +0000 (13:45 +0100)]
Merge pull request #1866 from saper/libc7

Use libc.so.7 for FreeBSD

8 years agoMerge pull request #1865 from saper/shellredir
João Matos [Thu, 11 Jun 2015 12:29:48 +0000 (13:29 +0100)]
Merge pull request #1865 from saper/shellredir

Use Bourne shell redirect 2>&1

8 years agoUse libc.so.7 for FreeBSD
Romain Tartière [Sun, 7 Jun 2015 22:31:36 +0000 (22:31 +0000)]
Use libc.so.7 for FreeBSD

/usr/lib/libc.so is now an ld script
and to a symbolic link to the
libc.so.7 library.

Obtained from: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179899

8 years agoUse Bourne shell redirect 2>&1
Romain Tartière [Sun, 7 Jun 2015 22:38:07 +0000 (22:38 +0000)]
Use Bourne shell redirect 2>&1

Do not assume our shell is C-shell
compatible.

Obtained from: https://svnweb.freebsd.org/ports?view=revision&revision=324730

8 years agoMerge pull request #1864 from saper/procbyid
João Matos [Thu, 11 Jun 2015 12:20:36 +0000 (13:20 +0100)]
Merge pull request #1864 from saper/procbyid

FreeBSD: sysctl() to get process information

8 years agoFreeBSD: sysctl() to get process information
Marcin Cieslak [Thu, 11 Jun 2015 12:11:43 +0000 (12:11 +0000)]
FreeBSD: sysctl() to get process information

Use normal sysctl(3) interface (just like
Mac OS X), the OpenBSD way does not seem to work.

8 years agoMerge pull request #1863 from saper/sysctlfreebsd
João Matos [Thu, 11 Jun 2015 11:37:48 +0000 (12:37 +0100)]
Merge pull request #1863 from saper/sysctlfreebsd

Use sysctl and <link.h> interface for FreeBSD

8 years ago[system] Clear content length when redirecting to get request. Fixes #30604
Marek Safar [Thu, 11 Jun 2015 09:27:43 +0000 (11:27 +0200)]
[system] Clear content length when redirecting to get request. Fixes #30604

8 years agoUse sysctl and <link.h> interface for FreeBSD
Marcin Cieslak [Thu, 11 Jun 2015 07:52:18 +0000 (07:52 +0000)]
Use sysctl and <link.h> interface for FreeBSD

8 years ago[aot] Remove some dead code.
Zoltan Varga [Thu, 11 Jun 2015 01:13:53 +0000 (21:13 -0400)]
[aot] Remove some dead code.

8 years ago[aot] Refactor the initialization of aot methods into a separate function.
Zoltan Varga [Thu, 11 Jun 2015 01:12:04 +0000 (21:12 -0400)]
[aot] Refactor the initialization of aot methods into a separate function.

8 years ago[aot] Remove unused MONO_OPT_SHARED support.
Zoltan Varga [Thu, 11 Jun 2015 00:44:37 +0000 (20:44 -0400)]
[aot] Remove unused MONO_OPT_SHARED support.

8 years ago[runtime] Work around an ios9 problem where dlopen() cant' find system libraries...
Zoltan Varga [Wed, 10 Jun 2015 20:29:51 +0000 (16:29 -0400)]
[runtime] Work around an ios9 problem where dlopen() cant' find system libraries specified without paths.

8 years ago[system.net.http] Add special handling for authentication with content (requires...
Marek Safar [Wed, 10 Jun 2015 19:21:57 +0000 (21:21 +0200)]
[system.net.http] Add special handling for authentication with content (requires content resend) and disabled buffering. Fixes #30869

This is not supported by public HttpWebRequest but HttpClient is running in this mode.

8 years ago[arm] Fix crashes on ios9 by using 16kb trampoline pages.
Zoltan Varga [Wed, 10 Jun 2015 15:23:09 +0000 (11:23 -0400)]
[arm] Fix crashes on ios9 by using 16kb trampoline pages.

8 years ago[system.xaml] Add ValueSerializerAttribute type forwarder
Marek Safar [Tue, 9 Jun 2015 19:51:35 +0000 (21:51 +0200)]
[system.xaml] Add ValueSerializerAttribute type forwarder

8 years ago[runtime] Print out some information before asserting when a loader error is not...
Zoltan Varga [Tue, 9 Jun 2015 19:47:48 +0000 (15:47 -0400)]
[runtime] Print out some information before asserting when a loader error is not handled.

8 years ago[jit] Avoid using class init trampolines in AOT mode, the overhead of plt entries...
Zoltan Varga [Tue, 9 Jun 2015 18:11:18 +0000 (14:11 -0400)]
[jit] Avoid using class init trampolines in AOT mode, the overhead of plt entries is comparable to the overhead of the inline implementation.

8 years agoMerge pull request #1812 from masterofjellyfish/mvc5-missingmethods
Marek Habersack [Tue, 9 Jun 2015 13:58:23 +0000 (15:58 +0200)]
Merge pull request #1812 from masterofjellyfish/mvc5-missingmethods

[System.Web] Added missing methods for default VS2013 MVC template

8 years ago[System.Web] ASP.Net MVC5 missing methods fixed
Matthias Bogad [Sun, 17 May 2015 17:54:05 +0000 (19:54 +0200)]
[System.Web] ASP.Net MVC5 missing methods fixed

I have added System.HttpApplication.RegisterModule(), the missing two properties of the System.Web.Routing.RouteCollection as well as the corresponding property in the HttpRuntimeSection to completely turn this off. Microsofts MIT-Licensed counterparts of the official System.Web assembly from github [0] were used as a reference. It is kind-of bolted on, but should be good enough until the whole open-sourced System.Web is incorporated. It should at least get the default MVC5 Template from Visual Studio 2013 up and running, once the async pipeline for the owin stuff is fixed.

[0]: http://github.com/Microsoft/referencesource/

Additionally, the MissingMethodException "get_InClientBuildManager" in System.Web.Hosting.HostingEnvironment was fixed.
In this commit, the following bugs were fixed:
https://bugzilla.xamarin.com/show_bug.cgi?id=21810
https://bugzilla.xamarin.com/show_bug.cgi?id=16475

8 years ago[jit] Implement full-aot support for virtual delegate invokes on x86.
Zoltan Varga [Mon, 8 Jun 2015 19:25:34 +0000 (15:25 -0400)]
[jit] Implement full-aot support for virtual delegate invokes on x86.

8 years ago[aot] Avoid aot-ing partially sharable icalls.
Zoltan Varga [Mon, 8 Jun 2015 17:41:02 +0000 (13:41 -0400)]
[aot] Avoid aot-ing partially sharable icalls.

8 years ago[aot] Fix full-aot support for Comparer instances instantiated with enums.
Zoltan Varga [Mon, 8 Jun 2015 17:31:38 +0000 (13:31 -0400)]
[aot] Fix full-aot support for Comparer instances instantiated with enums.

8 years ago[jit] Implement support for UnsafeMov in gshared code.
Zoltan Varga [Mon, 8 Jun 2015 17:22:20 +0000 (13:22 -0400)]
[jit] Implement support for UnsafeMov in gshared code.

8 years ago[aot] Add partial shared instances called by partial shared instances.
Zoltan Varga [Mon, 8 Jun 2015 17:17:59 +0000 (13:17 -0400)]
[aot] Add partial shared instances called by partial shared instances.

8 years ago[jit] Represent fully-shared method instances the same way as partially shared instan...
Zoltan Varga [Mon, 8 Jun 2015 17:16:09 +0000 (13:16 -0400)]
[jit] Represent fully-shared method instances the same way as partially shared instances instead of representing them using the generic method declaration.

8 years ago[aot] Use normal methods instead of their remoting-invoke-with-check wrappers in...
Zoltan Varga [Mon, 8 Jun 2015 15:18:39 +0000 (11:18 -0400)]
[aot] Use normal methods instead of their remoting-invoke-with-check wrappers in full-aot mode.

8 years ago[jit] Implement full-aot support for virtual delegate invokes on amd64.
Zoltan Varga [Sun, 7 Jun 2015 23:48:44 +0000 (19:48 -0400)]
[jit] Implement full-aot support for virtual delegate invokes on amd64.

8 years ago[system.net.http] Apply custom to string formating to parsed values. Fixes #30897
Marek Safar [Mon, 8 Jun 2015 15:38:49 +0000 (17:38 +0200)]
[system.net.http] Apply custom to string formating to parsed values. Fixes #30897

8 years agoAdd support for -fPIE on s390x
Neale Ferguson [Mon, 8 Jun 2015 15:25:53 +0000 (11:25 -0400)]
Add support for -fPIE on s390x

8 years ago[runtime] Prefer eglib's g_snprintf as snprintf does not work under all platforms.
João Matos [Mon, 8 Jun 2015 15:05:10 +0000 (16:05 +0100)]
[runtime] Prefer eglib's g_snprintf as snprintf does not work under all platforms.

Fixes the MSVC build.

8 years ago[windowsbase] Add ValueSerializerAttribute type forwarder. Fixes #30448
Marek Safar [Mon, 8 Jun 2015 12:22:07 +0000 (14:22 +0200)]
[windowsbase] Add ValueSerializerAttribute type forwarder. Fixes #30448

8 years agoMerge pull request #1861 from saper/home-override
Rodrigo Kumpera [Mon, 8 Jun 2015 11:57:43 +0000 (06:57 -0500)]
Merge pull request #1861 from saper/home-override

Override Environment.SpecialFolder.Personal with $HOME

8 years ago[system] Don't dispose exposed redirected streams. Fixes #30868
Marek Safar [Mon, 8 Jun 2015 11:27:36 +0000 (13:27 +0200)]
[system] Don't dispose exposed redirected streams. Fixes #30868

8 years agoMerge pull request #1859 from saper/unit-tests-static
Alex Rønne Petersen [Mon, 8 Jun 2015 00:42:13 +0000 (02:42 +0200)]
Merge pull request #1859 from saper/unit-tests-static

[runtime] Use libtool convenience library for unit tests. Fixes #21520.

8 years agoOverride Environment.SpecialFolder.Personal with $HOME
Jan Beich [Sun, 7 Jun 2015 22:07:52 +0000 (22:07 +0000)]
Override Environment.SpecialFolder.Personal with $HOME

Any port that writes to Environment.SpecialFolder.Personal during build
or when running tests may end up with files outside of stage area that
aren't cleaned up by the ports framework. The issue lies with Mono
looking in /etc/passwd first and only if no entry found there in HOME.

Patch based on discussion in

https://github.com/mono/mono/pull/371

Obtained from: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193426

8 years ago[runtime] Use libtool convenience library for unit tests. Fixes #21520.
Marcin Cieslak [Sun, 7 Jun 2015 21:34:14 +0000 (21:34 +0000)]
[runtime] Use libtool convenience library for unit tests. Fixes #21520.

In order to resolve interdependencies between
static libraries we should create a temporary
throw-away ("convenience") library via libtool.

Should unbreak unit tests on Linux

8 years ago[runtime] Fix mono_method_get_name () so it prints out type variables using their...
Zoltan Varga [Sat, 6 Jun 2015 15:44:23 +0000 (11:44 -0400)]
[runtime] Fix mono_method_get_name () so it prints out type variables using their name when used inside the runtime.

8 years ago[aot] Add a corresponding instance of EnumEqualityComparer for EqualityComparer insta...
Zoltan Varga [Sat, 6 Jun 2015 15:09:56 +0000 (11:09 -0400)]
[aot] Add a corresponding instance of EnumEqualityComparer for EqualityComparer instances instantiated with enums.

8 years agoDisable a test which can allocate and commit 4gb of memory on 64 bit platforms.
Zoltan Varga [Fri, 5 Jun 2015 22:14:31 +0000 (18:14 -0400)]
Disable a test which can allocate and commit 4gb of memory on 64 bit platforms.

8 years ago[coop] When inserting safepoints at EH handlers, make sure they don't end up between...
Rodrigo Kumpera [Fri, 5 Jun 2015 19:32:08 +0000 (15:32 -0400)]
[coop] When inserting safepoints at EH handlers, make sure they don't end up between start_handler and get_ex_obj

The problem is that those two ops are required to be one after the other as there's an implicit register dependency between them.

OP_SAFEPOINT would clobber that register (RAX on amd64) and cause all sorts of issues.

8 years agoMerge pull request #1856 from alexrp/profiler-improvements
Alex Rønne Petersen [Fri, 5 Jun 2015 19:22:52 +0000 (21:22 +0200)]
Merge pull request #1856 from alexrp/profiler-improvements

Profiler improvements

8 years ago[mcs] Silently ignore invalid assembly name in InternalsVisibleTo. Fixes #30679
Marek Safar [Fri, 5 Jun 2015 14:46:52 +0000 (16:46 +0200)]
[mcs] Silently ignore invalid assembly name in InternalsVisibleTo. Fixes #30679

8 years agoMerge pull request #1857 from slluis/fix-assembly-resolver
Ankit Jain [Fri, 5 Jun 2015 14:11:54 +0000 (19:41 +0530)]
Merge pull request #1857 from slluis/fix-assembly-resolver

[MSBuild] Fix assembly resolution issue

8 years ago[MSBuild] Fix minor assembly resolution issue
Lluis Sanchez [Fri, 5 Jun 2015 12:48:49 +0000 (14:48 +0200)]
[MSBuild] Fix minor assembly resolution issue

When getting the assembly name of a file, don't cache it if the
file has just been deleted.

8 years ago[MSBuild] Fix assembly resolution issue
Lluis Sanchez [Fri, 5 Jun 2015 10:00:34 +0000 (12:00 +0200)]
[MSBuild] Fix assembly resolution issue

The ResolveAssemblyReference task class keeps a reference to an
instance of AssemblyResolver, and AssemblyResolver keeps a cache
of assembly names, indexed by file name. The problem is that
the cache doesn't take into account that files can change between
builds.

For example, if a referenced assembly doesn't exist, the cache
will store that the file doesn't have an assembly name. If after
the build the file is created and a new build operation is started,
the cache will still return that the file doesn't have a name.

This is not a problem when running xbuild from the command line,
since every build starts a new process, but MonoDevelop uses
the MSBuild API to load and build projects, and doesn't start
a new process every time, so the cache is never cleared.

The solution is to keep the last write timestamp in the cache,
so that it can check if the file changed before returning the
cached name. It also needs to do a better handling of non existant
files.

8 years ago[sdb] Avoid marking seq points as nonempty-stack if they have a sym seq point. Fix...
Zoltan Varga [Thu, 4 Jun 2015 20:45:09 +0000 (16:45 -0400)]
[sdb] Avoid marking seq points as nonempty-stack if they have a sym seq point. Fix the linking of seq points when an endfinally instruction is in a separate bblock. Fixes #30617.

8 years agoMerge pull request #1849 from esdrubal/rfix
Rodrigo Kumpera [Thu, 4 Jun 2015 20:16:26 +0000 (15:16 -0500)]
Merge pull request #1849 from esdrubal/rfix

[corlib] MonoAssembly.LoadWithPartialNameInternal.

8 years ago[profiler] Add myself as author.
Alex Rønne Petersen [Thu, 4 Jun 2015 19:09:02 +0000 (21:09 +0200)]
[profiler] Add myself as author.

8 years ago[profiler] Start jotting down some format oddities we should eventually fix.
Alex Rønne Petersen [Thu, 4 Jun 2015 19:05:06 +0000 (21:05 +0200)]
[profiler] Start jotting down some format oddities we should eventually fix.

8 years ago[profiler] Fix missing TYPE_JIT events for alloc/exception/monitor backtraces.
Alex Rønne Petersen [Thu, 4 Jun 2015 18:54:51 +0000 (20:54 +0200)]
[profiler] Fix missing TYPE_JIT events for alloc/exception/monitor backtraces.

8 years ago[profiler] Disable the ELF code for now.
Alex Rønne Petersen [Mon, 1 Jun 2015 11:01:39 +0000 (13:01 +0200)]
[profiler] Disable the ELF code for now.

This causes strange crashes on some Linux systems. We don't particularly need
the additional information to get useful backtraces (we can just fall back to
`dladdr`) so disable it for now.

8 years ago[profiler] Process coverage info regardless of call depth restriction.
Alex Rønne Petersen [Mon, 1 Jun 2015 11:09:06 +0000 (13:09 +0200)]
[profiler] Process coverage info regardless of call depth restriction.

Only enter/leave events should be subject to this.

8 years ago[profiler] Remove outdated compilation instructions.
Alex Rønne Petersen [Mon, 1 Jun 2015 10:46:38 +0000 (12:46 +0200)]
[profiler] Remove outdated compilation instructions.

8 years ago[llvm] Decrease the basic block size cutoff to 3000 instructions, 5000 still leads...
Zoltan Varga [Thu, 4 Jun 2015 19:10:50 +0000 (15:10 -0400)]
[llvm] Decrease the basic block size cutoff to 3000 instructions, 5000 still leads to large slowdowns in llc on armv7 (TypeTest.GetProperties_Flags ()).

8 years ago[arm] Implement support for nullable arguments in the dyncall code. Fixes #29491.
Zoltan Varga [Thu, 4 Jun 2015 16:46:22 +0000 (12:46 -0400)]
[arm] Implement support for nullable arguments in the dyncall code. Fixes #29491.

8 years ago[aot] Enable the direct emission of llvm object files in asmonly mode if the llvm...
Zoltan Varga [Thu, 4 Jun 2015 02:45:53 +0000 (22:45 -0400)]
[aot] Enable the direct emission of llvm object files in asmonly mode if the llvm output file ends with .o.

8 years ago[jit] Emulate OP_RREM if OP_FREM is emulated. Fixes #30698.
Zoltan Varga [Wed, 3 Jun 2015 18:40:24 +0000 (14:40 -0400)]
[jit] Emulate OP_RREM if OP_FREM is emulated. Fixes #30698.

8 years ago[sdb] Fix interface/virtual calls to valuetype methods.
Zoltan Varga [Wed, 3 Jun 2015 17:52:46 +0000 (13:52 -0400)]
[sdb] Fix interface/virtual calls to valuetype methods.

8 years agoMerge pull request #1854 from svedm/master
João Matos [Wed, 3 Jun 2015 17:41:26 +0000 (18:41 +0100)]
Merge pull request #1854 from svedm/master

Fix typo

8 years agoFix typo
Svetoslav [Wed, 3 Jun 2015 17:20:18 +0000 (22:20 +0500)]
Fix typo

8 years agoMerge pull request #1851 from esdrubal/mmf
Marek Safar [Wed, 3 Jun 2015 16:07:39 +0000 (18:07 +0200)]
Merge pull request #1851 from esdrubal/mmf

MemoryMappedFile improvements

8 years ago[corlib] Referencesource UnmanagedMemoryAccessor.
Marcos Henrich [Wed, 3 Jun 2015 14:17:43 +0000 (15:17 +0100)]
[corlib] Referencesource UnmanagedMemoryAccessor.

Corlib now uses referencesource System.IO.UnmanagedMemoryAccessor.

8 years ago[System.Core] Implemented PointerOffset
Marcos Henrich [Wed, 3 Jun 2015 14:10:15 +0000 (15:10 +0100)]
[System.Core] Implemented PointerOffset

Implemented MemoryMappedViewAccessor.PointerOffset and
MemoryMappedViewStream.PointerOffset.

8 years ago[System.Core] Test MemoryMappedFile views.
Marcos Henrich [Wed, 3 Jun 2015 14:06:38 +0000 (15:06 +0100)]
[System.Core] Test MemoryMappedFile views.

MemoryMappedViewAccessor and MemoryMappedViewStream are now tested with
offsets.

8 years ago[bcl] Fix a sys.drawing test so it doesn't fail on misconfigured systems.
Zoltan Varga [Wed, 3 Jun 2015 12:49:40 +0000 (08:49 -0400)]
[bcl] Fix a sys.drawing test so it doesn't fail on misconfigured systems.

8 years ago[mcs] Recursivelly check for left-hand side of an assignment of a null propagating...
Marek Safar [Wed, 3 Jun 2015 10:01:24 +0000 (12:01 +0200)]
[mcs] Recursivelly check for left-hand side of an assignment of a null propagating operator. Fixes #30695

8 years agoFix "make dist" for mono/utils/mono-complex.h
Jo Shields [Wed, 3 Jun 2015 07:01:24 +0000 (08:01 +0100)]
Fix "make dist" for mono/utils/mono-complex.h

8 years ago[System.IO.KeventWatcher] Fix handling some cases where an item is moved out of the...
Alexis Christoforides [Tue, 2 Jun 2015 23:10:48 +0000 (19:10 -0400)]
[System.IO.KeventWatcher] Fix handling some cases where an item is moved out of the watched path.
If a file or directory are moved out of the watcher's path they are removed from the index, but they might still have events in the kevent() changelist. This would sometimes cause an exception.

8 years ago[jit] Fix the coop amd64 backend.
Rodrigo Kumpera [Tue, 2 Jun 2015 19:46:42 +0000 (14:46 -0500)]
[jit] Fix the coop amd64 backend.

8 years agoMerge pull request #1847 from alexanderkyte/left_shift_dynamic
Marek Safar [Tue, 2 Jun 2015 19:34:53 +0000 (21:34 +0200)]
Merge pull request #1847 from alexanderkyte/left_shift_dynamic

[runtime] Emit the necessary left shift anding in the LambdaCompiler

8 years ago[runtime] Emit the necessary left shift anding in the LambdaCompiler
Alexander Kyte [Mon, 1 Jun 2015 18:14:00 +0000 (18:14 +0000)]
[runtime] Emit the necessary left shift anding in the LambdaCompiler

We were observing dtest-006.exe test failing on armhf. This test
checks that a right shift with a negative shift amount and a
dynamic base is shifted by the right amount.

We were failing it because we were excluding the step that we
do in regular code generation, which is to do a binary and of the shift
amount so it behaves like we are shifting by the original shift
amount modulo 32. The C# spec defines left shift like so.

This commit adds that to the LambdaCompiler.

8 years ago[mcs] Apply explicit property param target to correct parameter index. Fixes #30587
Marek Safar [Tue, 2 Jun 2015 18:36:13 +0000 (20:36 +0200)]
[mcs] Apply explicit property param target to correct parameter index. Fixes #30587

8 years ago[mcs] Add special HostProtection handling to deletes
Marek Safar [Tue, 2 Jun 2015 15:53:54 +0000 (17:53 +0200)]
[mcs] Add special HostProtection handling to deletes

8 years ago[corlib] MonoAssembly.LoadWithPartialNameInternal.
Marcos Henrich [Tue, 2 Jun 2015 13:52:02 +0000 (14:52 +0100)]
[corlib] MonoAssembly.LoadWithPartialNameInternal.

Implemented MonoAssembly.LoadWithPartialNameInternal.
Implementation is not 100% correct without handling stackMark properly.
Improving this would require the generous amount of work of adding
StackCrawlMark support to the runtime.

Fixes #27103.

8 years agoMerge pull request #1846 from BillSeurer/master
Alex Rønne Petersen [Tue, 2 Jun 2015 11:59:05 +0000 (13:59 +0200)]
Merge pull request #1846 from BillSeurer/master

Add tailcall opcode for powerpc64le

8 years agoMerge pull request #1848 from tritao/complex_math
João Matos [Tue, 2 Jun 2015 11:53:12 +0000 (12:53 +0100)]
Merge pull request #1848 from tritao/complex_math

Cross-platform complex math / MS Threadpool portability

8 years ago[corlib] Fix test after 5cee52916.
Rolf Bjarne Kvinge [Tue, 2 Jun 2015 10:42:31 +0000 (12:42 +0200)]
[corlib] Fix test after 5cee52916.

8 years ago[ms-threadpool] Replaced complex math with portable Mono APIs.
Joao Matos [Mon, 1 Jun 2015 09:48:22 +0000 (10:48 +0100)]
[ms-threadpool] Replaced complex math with portable Mono APIs.

8 years ago[runtime] Implemented cross-platform complex math code.
Joao Matos [Mon, 1 Jun 2015 09:47:30 +0000 (10:47 +0100)]
[runtime] Implemented cross-platform complex math code.

8 years agoBump ikvm & ikdasm
Marek Safar [Tue, 2 Jun 2015 06:51:06 +0000 (08:51 +0200)]
Bump ikvm & ikdasm

8 years ago[System.IO.KeventWatcher] Disable the watcher when the root directory is deleted...
Alexis Christoforides [Tue, 2 Jun 2015 03:06:31 +0000 (23:06 -0400)]
[System.IO.KeventWatcher] Disable the watcher when the root directory is deleted. Fixes #30043
This matches MS.NET behavior.

8 years agoMerge pull request #1841 from BrzVlad/fix-managed-alloc
BrzVlad [Mon, 1 Jun 2015 23:41:02 +0000 (16:41 -0700)]
Merge pull request #1841 from BrzVlad/fix-managed-alloc

Fix managed allocator

8 years ago[amd64] Fully initialize the the MonoContext used by the generic trampoline code.
Zoltan Varga [Mon, 1 Jun 2015 22:42:32 +0000 (18:42 -0400)]
[amd64] Fully initialize the the MonoContext used by the generic trampoline code.

8 years ago[corlib] Make corlib use the v4 runtime version in mobile profiles.
Zoltan Varga [Mon, 1 Jun 2015 21:32:18 +0000 (17:32 -0400)]
[corlib] Make corlib use the v4 runtime version in mobile profiles.

8 years ago[jit] Fix the hashing/equals check for MONO_PATCH_INFO_JIT_ICALL_ADDR.
Zoltan Varga [Mon, 1 Jun 2015 20:42:35 +0000 (16:42 -0400)]
[jit] Fix the hashing/equals check for MONO_PATCH_INFO_JIT_ICALL_ADDR.