Marek Safar [Wed, 15 Mar 2017 16:45:28 +0000 (17:45 +0100)]
[corlib] Fixes custom formatter with ";" section separator and zero values
Frederik Carlier [Wed, 15 Mar 2017 23:26:13 +0000 (00:26 +0100)]
Use MD5.Create () instead of new MD5CryptoServiceProvider()
Frederik Carlier [Thu, 16 Mar 2017 00:02:05 +0000 (01:02 +0100)]
Add [In, Out] annotation to points in GdipTransformMatrixPoints
Vincent Povirk [Wed, 15 Mar 2017 23:47:35 +0000 (18:47 -0500)]
[amd64] Fix mingw-w64 build. (#4519)
It lacks _In_reads_ and _Inout_.
Vlad Brezae [Wed, 15 Mar 2017 22:59:23 +0000 (00:59 +0200)]
[sgen] Fix xmm scanning on mac x86 (#4521)
The MonoContext (which sgen scans) did not have its fpregs populated, even though we were fetching the fpstate.
Zoltan Varga [Wed, 15 Mar 2017 22:33:25 +0000 (18:33 -0400)]
[aot] Print out more info when a method cannot be AOTed.
Zoltan Varga [Wed, 15 Mar 2017 22:33:01 +0000 (18:33 -0400)]
[runtime] Fix mono_method_get_name_full () so it works with methods whose signature cannot be loaded.
Zoltan Varga [Wed, 15 Mar 2017 20:25:13 +0000 (16:25 -0400)]
Bump ikdasm.
Zoltan Varga [Wed, 15 Mar 2017 09:08:57 +0000 (05:08 -0400)]
[simd] Fix some problems exposed by the corefx test suite. (#4531)
Zoltan Varga [Wed, 15 Mar 2017 01:30:56 +0000 (21:30 -0400)]
[simd] Mark Mono.Simd classes as obsolete.
Zoltan Varga [Tue, 14 Mar 2017 20:37:45 +0000 (16:37 -0400)]
Bump ikdasm.
Aleksey Kliger [Tue, 14 Mar 2017 14:42:08 +0000 (10:42 -0400)]
[loader] Cleanup add_assemblies_to_domain
1. Don't re-add the domain assemblies to the hashtable on every recursive
call - they are already in there (we're holding the assemblies_lock, noone
else can add anything to domain->domain_assemblies); just add them once when
the hash table is created.
2. When iterating over the referenced assemblies, don't stop at the first NULL.
a NULL means that referenced assembly hasn't been demanded by anyone yet,
but there's no reason to assume some other referenced assembly that happens
to come later in the table hadn't been resolved. Iterate upto assembly->nreferences.
Alexander Köplinger [Tue, 14 Mar 2017 18:41:16 +0000 (19:41 +0100)]
[tools] Don't install mdb2ppdb by default (#4526)
Marek Safar [Tue, 14 Mar 2017 13:49:12 +0000 (14:49 +0100)]
[xbuild] Relocate Portable frameworks
Marek Safar [Tue, 14 Mar 2017 08:53:26 +0000 (09:53 +0100)]
Revert "Bump buildtools to branch that includes portable targets"
This reverts commit
5bb4b3d154ed5411499558d5969c721d22b5d636.
Bernhard Urban [Tue, 14 Mar 2017 06:47:46 +0000 (07:47 +0100)]
[configure] rename "--with-interpreter=yes" to "--enable-interpreter"
Ankit Jain [Mon, 13 Mar 2017 17:05:50 +0000 (13:05 -0400)]
Handle windows paths in ResXFileRef, for conversion to string case
- convert the path a little earlier to handle the case for conversion to
string
- Fixes earlier commit
a3195b79f6fdba3a8d59f0de5a881f90dcf7d458
- And enable the corresponding test
Zoltan Varga [Tue, 14 Mar 2017 01:46:46 +0000 (21:46 -0400)]
[jit] Add parameter type checks to the SIMD intrinsics to make sure we are handling the proper methods. Fixes #53278. (#4520)
Alexander Köplinger [Mon, 13 Mar 2017 23:29:11 +0000 (00:29 +0100)]
Bump buildtools to branch that includes portable targets
Zoltan Varga [Mon, 13 Mar 2017 20:02:25 +0000 (16:02 -0400)]
[runtime] Mark array types with more than 32 dimensions as invalid. Move the check for arrays of void into Array.CreateInstance (), since typeof (void).MakeArrayType () is valid. Fixes #53131. (#4514)
Bernhard Urban [Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)]
[interp] kill MINT_LDTHISA
not required anymore with new internal ABI
Bernhard Urban [Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)]
[interp] allow generic instantiation as argument in runtime_invoke
Bernhard Urban [Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)]
[interp] more static trampolines
Bernhard Urban [Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)]
[interp] inflate cee_token properly if it comes from wrapper metadata
Bernhard Urban [Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)]
[interp] make sure we wrap virtual methods with synchronize wrapper too
Bernhard Urban [Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)]
[interp] clear exception storage in runtime_invoke
Bernhard Urban [Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)]
[interp] lock when acquiring memory from a mempool.
`mono_domain_alloc` does that for us. also, use proper locking around
JIT code hashtable. the interpreter repurpose the JITs hashtable, so
let's use the existing locks.
Bernhard Urban [Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)]
[ci] add more steps to interp
Bernhard Urban [Mon, 13 Mar 2017 16:39:57 +0000 (17:39 +0100)]
[tests] update 'make testinterp' target
Bernhard Urban [Mon, 13 Mar 2017 16:39:57 +0000 (17:39 +0100)]
[test-runner] remove duplicated --runtime hanlding
Bernhard Urban [Mon, 13 Mar 2017 16:39:57 +0000 (17:39 +0100)]
[test-runner] allow passing runtime args
Marek Safar [Mon, 13 Mar 2017 08:53:57 +0000 (09:53 +0100)]
[System.Windows.Forms] Disable failing test
Marek Safar [Sun, 12 Mar 2017 09:24:10 +0000 (10:24 +0100)]
Bump corefx
Marek Safar [Sun, 12 Mar 2017 09:14:09 +0000 (10:14 +0100)]
Bump buildtools
Frederik Carlier [Mon, 13 Mar 2017 08:15:22 +0000 (09:15 +0100)]
GDI+ functions: use constant for the library name, fix whitespace (#4515)
Marek Safar [Sat, 11 Mar 2017 15:38:53 +0000 (16:38 +0100)]
[corlib] FileStream::Name needs to include fully qualified normalized name. Fixes #53231
Zoltan Varga [Sun, 12 Mar 2017 04:43:37 +0000 (23:43 -0500)]
[jit] Implement RuntimeHelpers.IsReferenceOrContainsReferences intrinsic. Fixes #53153. (#4500)
Jon Purdy [Sat, 11 Mar 2017 00:07:35 +0000 (16:07 -0800)]
[docs] Remove dead metadata APIs.
Jon Purdy [Sat, 11 Mar 2017 00:05:18 +0000 (16:05 -0800)]
[docs] Remove dead mempool APIs.
Jon Purdy [Sat, 11 Mar 2017 00:04:48 +0000 (16:04 -0800)]
[docs] Remove dead hash table APIs.
Jon Purdy [Fri, 10 Mar 2017 23:38:26 +0000 (15:38 -0800)]
[docs] Remove dead GC APIs.
Jon Purdy [Fri, 10 Mar 2017 23:31:35 +0000 (15:31 -0800)]
[docs] Remove dead remote wrapper APIs.
They were deleted in
d1ace1652b2063ea2c416351bd70b32470f55b9b.
Jon Purdy [Fri, 10 Mar 2017 23:30:34 +0000 (15:30 -0800)]
[docs] Remove dead loader error APIs.
They were deleted in
38cf816b97dff972b996905cd3a8e6ecbfdd2861.
Frederik Carlier [Sat, 11 Mar 2017 16:32:25 +0000 (17:32 +0100)]
Remove CAS from System.Drawing unit tests
Marek Safar [Sat, 11 Mar 2017 14:21:15 +0000 (15:21 +0100)]
[System.Windows.Forms] Fixes test build failure
Zoltan Varga [Sat, 11 Mar 2017 04:02:10 +0000 (23:02 -0500)]
[bcl] Implement RuntimeHelpers.IsReferenceOrContainsReferences () as an icall, so it works even if the intrinsic is disabled.
Ankit Jain [Sat, 11 Mar 2017 02:38:04 +0000 (21:38 -0500)]
Handle a file ref, with backslashes, in a .resx, on a non-windows system
File ref of the form:
```xml
<data name="foo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\foo.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=
b77a5c561934e089</value>
</data>
```
Alexander Köplinger [Sat, 11 Mar 2017 00:01:30 +0000 (01:01 +0100)]
[WinForms] Fix Bindable attribute argument to use boolean
Otherwise mono-api-info crashes on System.Windows.Forms.dll with a NotImplementedException.
This is the only place in the codebase where we used `BindableSupport.Yes` instead of `true`.
Marek Safar [Fri, 10 Mar 2017 19:35:32 +0000 (20:35 +0100)]
[corlib][Mono.Posix] Remove NunitHelpers.cs reference
Alexis Christoforides [Fri, 10 Mar 2017 17:58:50 +0000 (12:58 -0500)]
[MacSDK] Another attempt at circumventing signing for Ironlangs build
Roslyn does not support signing on non-Windows, and MSBuild normally refuses to continue.
lateralusX [Fri, 10 Mar 2017 16:38:44 +0000 (17:38 +0100)]
Fixing checked build after unwind info changes.
Alexis Christoforides [Fri, 10 Mar 2017 14:31:38 +0000 (09:31 -0500)]
[MacSDK] Use MSBuild to build IronPython/IronRuby. We are deprecating xbuild
Alexis Christoforides [Fri, 10 Mar 2017 12:51:28 +0000 (07:51 -0500)]
Update Bockbuild
Egor Bogatov [Fri, 10 Mar 2017 12:48:59 +0000 (15:48 +0300)]
Fix [Bug 52795] Infinite loop on MySqlDataReader.ReadAsync() (#4504)
Alexis Christoforides [Fri, 10 Mar 2017 10:34:28 +0000 (05:34 -0500)]
Update Bockbuild
Johan Lorensson [Fri, 10 Mar 2017 10:16:23 +0000 (11:16 +0100)]
Merge pull request #4444 from lateralusX/jlorenss/windows-unwind-info
Improve unwind support on Windows x64.
Alexis Christoforides [Fri, 10 Mar 2017 05:03:06 +0000 (00:03 -0500)]
Update Bockbuild
Zoltan Varga [Fri, 10 Mar 2017 04:35:04 +0000 (23:35 -0500)]
[arm64] Fix the saving/restoring of fp regs in exception filters, we were saving/restoring them from the incorrect position in MonoContext.fregs. (#4499)
Zoltan Varga [Fri, 10 Mar 2017 04:03:29 +0000 (23:03 -0500)]
[runtime] Add a test to verify that pedump works. (#4486)
Alexis Christoforides [Fri, 10 Mar 2017 03:43:48 +0000 (22:43 -0500)]
Update Bockbuild
Alexis Christoforides [Fri, 10 Mar 2017 02:23:47 +0000 (21:23 -0500)]
[MacSDK] Fix Ironlangs build with latest MSBuild
Rodrigo Kumpera [Thu, 9 Mar 2017 21:14:35 +0000 (13:14 -0800)]
Merge pull request #4494 from kumpera/important-android-fixes
[runtime] Make sure we use lower numbered signals on Android.
Jon Purdy [Thu, 9 Mar 2017 20:41:56 +0000 (12:41 -0800)]
[api] Remove dead mono_load_image API.
Ludovic Henry [Thu, 9 Mar 2017 18:35:04 +0000 (13:35 -0500)]
[socket] ret might not have been initialized (#4495)
Alexander Köplinger [Thu, 9 Mar 2017 18:25:33 +0000 (19:25 +0100)]
[Mono.Options] Add missing test file to test sources
It was missed in
c1b9fc566a365cf6923218eae9098d0fd0e632ae
monojenkins [Thu, 9 Mar 2017 18:22:15 +0000 (18:22 +0000)]
[msvc] Update csproj files (#4479)
Marek Habersack [Thu, 9 Mar 2017 15:25:08 +0000 (16:25 +0100)]
[mkbundle] Encode directory separator character on Windows (#4493)
When storing satellite assemblies, mkbundle prefixes their names with a
directory name derived from the language/locale of the assembly. It uses the
platform's default directory separator character which on Windows defaults to
'\' and that causes problems when building such a bundle on Windows since \ is
an escape sequence prefix inside strings and not escaping it with another \
leads to gcc errors when building the genrated source.
This commit fixes the problem by quoting the directory separator character
properly on Windows.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52845
Alexander Köplinger [Thu, 9 Mar 2017 14:16:03 +0000 (15:16 +0100)]
[ci] Remove ppc64el checks from run-test-default.sh
This was initially done so we didn't get orange builds
when ppc64el was in the same job as our other archs.
ppc64el was since moved into a separate job so we can
stop skipping the test suites.
Also fixed badges in README.md for ppc64el and s390x
lateralusX [Thu, 9 Mar 2017 14:10:11 +0000 (15:10 +0100)]
Shorten function name length for static functions.
Marek Safar [Thu, 9 Mar 2017 14:05:25 +0000 (15:05 +0100)]
[mcs] Codegen for auto-property backing field initialization used as assignment. Fixes #53166
Daniel C. Weber [Thu, 9 Mar 2017 02:09:50 +0000 (03:09 +0100)]
[Mono.Posix] UnixSIgnal.WaitOne() doesn't block for 0 timeout (#4489)
For timeouts of 0 milliseconds, WaitOne may produce incorrect results. In case of timeout, the result of WaitAny denotes the amount of milliseconds that have timed out. WaitOne relies on WaitAny and interprets the result falsely as the index of the completed handle. This change introduces a check on the timeout and returns `IsSet` when the handle is not allowed to block.
This is in accordance to Microsofts [documentation of WaitOne](https://msdn.microsoft.com/de-de/library/
cc189983(v=vs.110).aspx) which states "If millisecondsTimeout is zero, the method does not block. It tests the state of the wait handles and returns immediately.".
[Here](https://github.com/StephenCleary/AsyncEx.Interop.WaitHandles/blob/master/src/Nito.AsyncEx.Interop.WaitHandles/WaitHandleInterop.cs#L51) is an example of some code relying on correct output of `WaitOne(0)` that is effectively broken by the current behaviour.
Rodrigo Kumpera [Fri, 3 Mar 2017 18:15:49 +0000 (10:15 -0800)]
[runtime] Make sure we use lower numbered signals on Android.
Android on 32bits arm shipped broken headers that made sigset_t be 32 bits instead of 64.
This means that it's not possible to use signals whose value are >= 32. The default implementation
uses RT signals when available (and they are on Android). But RT signals don't work as expected
as their value is >= 32.
This fix hardcodes some safe signals on Android and add asserts about their values to avoid regressions.
See
5005c6f3fbc1da584c6a550281689cc23f59fe6d for more details.
Bernhard Urban [Wed, 8 Mar 2017 20:05:10 +0000 (21:05 +0100)]
[interp] remove g_error call
can hit this case in racy code (e.g. tests/thread5.cs)
Bernhard Urban [Wed, 8 Mar 2017 00:25:38 +0000 (01:25 +0100)]
[interp] fix another data.klass access. due to generics it has to be resolved with a runtime helper
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] support stelem for g{,u}int64
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] pass single fp correctly to icall trampoline
add test to basic-math.cs that tests this specifically.
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] fix type init exception propagation for methods that trigger static constructors
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] support non-empty stack in switch branches
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] fix for ldflda unsafe corner case
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] propogate OOM exception on array instantiation
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[exceptions.cs] enable one more test
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] respect lower_bound on array access and share behaviour with .Set, .Get and .Address
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] throw overflow exception on long to ulong cast where long is negative
Bernhard Urban [Tue, 7 Mar 2017 09:47:00 +0000 (10:47 +0100)]
[interp] throw overflow exception on ulong to long cast where ulong is too large to fit in long
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] throw overflow exception on (0/-1)
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] fix overflow corner cases for integer
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] fix a mem leak in transform
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] allocate one more slot for tracking stack types
due to the way basic block handling is done in the interpreter, it can
happen that we have one additional element on the stack (as opposed to
what metadata tells us)
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[makefile] cleanup richeck target
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] support stelem for guint8
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] support reference case for unbox.any
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] remove STTHIS completly.
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] throw exceptions from icalls
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] proper overflowcheck for size passed to cee_newarr
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] throw NRE in mint_vcall insn if receiver is null
Bernhard Urban [Tue, 7 Mar 2017 09:46:59 +0000 (10:46 +0100)]
[interp] respect generic context for cee_sizeof
Bernhard Urban [Tue, 7 Mar 2017 09:46:58 +0000 (10:46 +0100)]
[interp] set proper type info for cee_ldtoken bytecode
Bernhard Urban [Tue, 7 Mar 2017 09:46:58 +0000 (10:46 +0100)]
[interp] refactor Array::Address, so that readonly. prefix is respected properly
Bernhard Urban [Tue, 7 Mar 2017 09:46:58 +0000 (10:46 +0100)]
[interp] cee_{stfld,ldfld{,a}} can access static fields too
Bernhard Urban [Tue, 7 Mar 2017 09:46:58 +0000 (10:46 +0100)]
[interp] fix cee_initobj for reference type