BrzVlad [Mon, 1 Jun 2015 23:41:02 +0000 (16:41 -0700)]
Merge pull request #1841 from BrzVlad/fix-managed-alloc
Fix managed allocator
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.
Zoltan Varga [Mon, 1 Jun 2015 21:32:18 +0000 (17:32 -0400)]
[corlib] Make corlib use the v4 runtime version in mobile profiles.
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.
Vlad Brezae [Thu, 28 May 2015 23:18:51 +0000 (16:18 -0700)]
[sgen] The normal managed allocator receives only one argument
Changed in
a83f965db02244e83a93ee186a13b1461adeafa5
Zoltan Varga [Mon, 1 Jun 2015 19:24:22 +0000 (15:24 -0400)]
Remove more CAS code.
Zoltan Varga [Mon, 1 Jun 2015 19:08:02 +0000 (15:08 -0400)]
Remove more CAS code.
Sebastien Pouliot [Mon, 1 Jun 2015 19:20:18 +0000 (15:20 -0400)]
[corlib] Xamarin.Mac to continue default to the OS default codepage
XM 2.0 was the first version to ship the mobile (w/unified) and it used
the OS default codepage.
The previous, system mono, profile was already using the OS default
codepage so it make sense for XM to be consistent across profiles (
including the 4.5 subset)
Rodrigo Kumpera [Mon, 1 Jun 2015 18:37:14 +0000 (14:37 -0400)]
[BCL] Partial revert of
b83af940ff298f432952562e1fb83726a6958e11 to use the right reference sources.
Rodrigo Kumpera [Mon, 1 Jun 2015 18:17:33 +0000 (14:17 -0400)]
[BCL] Fix the mobile_static profile.
Zoltan Varga [Mon, 1 Jun 2015 18:27:03 +0000 (14:27 -0400)]
[aot] Fix thumb support after the separate llvm changes. Fixes #30472.
Zoltan Varga [Mon, 1 Jun 2015 18:21:22 +0000 (14:21 -0400)]
[runtime] Fix the windows build.
Zoltan Varga [Mon, 1 Jun 2015 16:01:05 +0000 (12:01 -0400)]
[runtime] Update object offsets.
Zoltan Varga [Mon, 1 Jun 2015 15:40:24 +0000 (11:40 -0400)]
Fix make dist.
Marek Safar [Mon, 1 Jun 2015 14:51:48 +0000 (16:51 +0200)]
[corlib] Update failing test
Zoltan Varga [Mon, 1 Jun 2015 14:34:33 +0000 (10:34 -0400)]
[amd64] Add fregs to MonoContext, only used by the trampoline code currently.
Marek Safar [Mon, 1 Jun 2015 14:25:11 +0000 (16:25 +0200)]
Merge pull request #1845 from esdrubal/httpfix
HttpListenerRequest Uri is now unescaped.
Marek Safar [Mon, 1 Jun 2015 13:47:42 +0000 (15:47 +0200)]
Bump reference sources
Marek Safar [Mon, 1 Jun 2015 13:46:38 +0000 (15:46 +0200)]
[System.Runtime.Serialization] Update public api
Marcos Henrich [Mon, 1 Jun 2015 10:36:02 +0000 (11:36 +0100)]
[System] HttpListenerRequest Uri is now unescaped.
Fixes #29927
Marcos Henrich [Mon, 1 Jun 2015 12:50:51 +0000 (13:50 +0100)]
[System] Added HttpListenerRequestUriBuilder
Referencesource HttpListenerRequestUriBuilder can now be used.
Marek Safar [Mon, 1 Jun 2015 12:52:11 +0000 (14:52 +0200)]
[ilasm] Add support for undocumented modopt/modreq using primitive types
Marcos Henrich [Mon, 1 Jun 2015 10:30:33 +0000 (11:30 +0100)]
[System] Test HttpRequest Uri unescaping
Covers #29927
Zoltan Varga [Sun, 31 May 2015 16:43:21 +0000 (12:43 -0400)]
[runtime] Fix the locking around the assembly->tokens table. Fixes #30551.
Zoltan Varga [Sun, 31 May 2015 01:04:28 +0000 (21:04 -0400)]
[amd64] Make the generic trampolines fill out a MonoContext structure on the stack, and put its address into MonoLMFTramp.
Zoltan Varga [Sun, 31 May 2015 00:42:19 +0000 (20:42 -0400)]
[amd64] Compute frame size precisely for the generic trampoline.
Zoltan Varga [Sat, 30 May 2015 22:48:46 +0000 (18:48 -0400)]
[amd64] Simplify the throw trampolines by constructing and passing a MonoContext instead of a reg array.
Zoltan Varga [Sat, 30 May 2015 15:18:33 +0000 (11:18 -0400)]
Revert "[amd64] Simplify the throw trampolines by constructing and passing a MonoContext instead of a reg array."
This reverts commit
c409bc9311ba44449123cf355df854cef7390033.
Revert this as it breaks on linux.
Zoltan Varga [Sat, 30 May 2015 15:18:07 +0000 (11:18 -0400)]
Revert "[amd64] Add back a dummy argument to the throw trampolines to fix unaligned stack problems."
This reverts commit
d262c343d13f2a1c6e586663bca86f8e207797aa.
Revert this as it breaks on linux.
Zoltan Varga [Sat, 30 May 2015 14:51:24 +0000 (10:51 -0400)]
[amd64] Add back a dummy argument to the throw trampolines to fix unaligned stack problems.
Marek Safar [Sat, 30 May 2015 08:11:05 +0000 (10:11 +0200)]
Merge pull request #1816 from esdrubal/getdaylight
[corlib] Fixed TimeZoneInfo.GetDaylightChanges.
Zoltan Varga [Sat, 30 May 2015 01:13:23 +0000 (21:13 -0400)]
[amd64] Simplify the throw trampolines by constructing and passing a MonoContext instead of a reg array.
Zoltan Varga [Sat, 30 May 2015 01:01:38 +0000 (21:01 -0400)]
[runtime] Update object offsets.
Zoltan Varga [Sat, 30 May 2015 01:00:11 +0000 (21:00 -0400)]
[amd64] Use a register array in MonoContext instead of named fields, this simplifies a lot of code.
Zoltan Varga [Fri, 29 May 2015 23:15:55 +0000 (19:15 -0400)]
[llvm] Use the generic IL code for generic class inits.
Zoltan Varga [Fri, 29 May 2015 23:07:03 +0000 (19:07 -0400)]
[jit] Refactor the calls to class init trampolines into a common function.
Zoltan Varga [Fri, 29 May 2015 23:05:03 +0000 (19:05 -0400)]
[amd64] Make generic_class_init as clob:c.
Zoltan Varga [Fri, 29 May 2015 18:21:27 +0000 (14:21 -0400)]
[sdb] Fix reading/writing locals when not all of the them have associated debug info. Fixes #30529.
Zoltan Varga [Fri, 29 May 2015 17:49:47 +0000 (13:49 -0400)]
[jit] Remove generic class init trampolines, all architectures either use OP_GENERIC_CLASS_INIT trampoline or an IL fallback.
Zoltan Varga [Fri, 29 May 2015 17:21:43 +0000 (13:21 -0400)]
[jit] Emit a fallback IL version of generic class initialization.
Miguel de Icaza [Tue, 19 May 2015 21:31:30 +0000 (17:31 -0400)]
[Version] I am sick of the mono --version showing '((detached/XX)', fixed it
Rodrigo Kumpera [Fri, 29 May 2015 16:21:23 +0000 (11:21 -0500)]
Merge pull request #1817 from alexanderkyte/bug30085
[runtime] Fix resolution of a type with an incorrect assembly name.
Marek Safar [Fri, 29 May 2015 15:41:12 +0000 (17:41 +0200)]
[PEAPI] Fixes custom attributes with byte array constant
Zoltan Varga [Fri, 29 May 2015 14:07:36 +0000 (10:07 -0400)]
[corlib] Avoid a nullref in CustomAttributeData.ToString () if its called without calling ConstructorArguments/NamedArguments.
Marcos Henrich [Fri, 29 May 2015 13:58:24 +0000 (14:58 +0100)]
Bump referencesource
Marcos Henrich [Fri, 29 May 2015 12:28:43 +0000 (13:28 +0100)]
Updated .csproj files.
Marek Safar [Fri, 29 May 2015 10:37:25 +0000 (12:37 +0200)]
[ilasm] Extend syntax of custom attribute constructor constants
Marek Safar [Fri, 29 May 2015 08:56:13 +0000 (10:56 +0200)]
Marek Safar [Fri, 29 May 2015 06:36:52 +0000 (08:36 +0200)]
[corlib] Add timeout to NestedLeakingSynchronizationContext
Vlad Brezae [Thu, 28 May 2015 23:08:37 +0000 (16:08 -0700)]
[boehm] Use managed allocator only for objects with known jit compile time size.
The allocator always expects to receive two arguments.
Alexander Kyte [Mon, 18 May 2015 19:21:34 +0000 (15:21 -0400)]
[runtime] Fix resolution of a type with an incorrect assembly name.
Marek Safar [Thu, 28 May 2015 15:22:34 +0000 (17:22 +0200)]
[mcs] Double closing parens don't have priority inside interpolated string. Fixes #30469
Zoltan Varga [Tue, 26 May 2015 20:41:53 +0000 (16:41 -0400)]
[arm64] Add generic_class_init to cpu-arm64.md.
Marek Safar [Thu, 28 May 2015 13:45:54 +0000 (15:45 +0200)]
[corlib] Remove unused defines
Marek Safar [Thu, 28 May 2015 13:40:40 +0000 (15:40 +0200)]
[corlib] Add role based security to desktop only
Marek Safar [Thu, 28 May 2015 13:36:49 +0000 (15:36 +0200)]
[mcs] Await in finally clause with user catch block needs additional try scope. Fixes #30478
Alexander Köplinger [Thu, 28 May 2015 13:18:16 +0000 (15:18 +0200)]
[build] Fix encoding attribute in crash XML to be utf-8
Some tools choke on "utf8", it should be "utf-8" to be standards compliant.
Marek Safar [Thu, 28 May 2015 09:49:48 +0000 (11:49 +0200)]
Merge pull request #1838 from esdrubal/assemblyname
[corlib] AssemblyName.CultureName now matches .NET
Marcos Henrich [Thu, 28 May 2015 09:42:17 +0000 (10:42 +0100)]
[corlib] AssemblyName.CultureName now matches .NET
AssemblyName.CultureName was returning "neutral" for invariant culture
info whereas .NET returns "".
This was causing problems in Roslyn while comparing assemblies with
an empty culture name against references that would have culture name
set to "neutral".
Fixes #30502.
Marcos Henrich [Thu, 28 May 2015 09:39:22 +0000 (10:39 +0100)]
[corlib] Test AssemblyName.CultureName
Test that AssemblyName.CultureName matches .NET behaviour regarding
AssemblyName with invariant culture info.
Zoltan Varga [Wed, 27 May 2015 21:20:33 +0000 (17:20 -0400)]
[runtime] Print wrapper methods in the same format as normal methods in stack traces. Fixes #30507.
Rodrigo Kumpera [Wed, 27 May 2015 20:42:14 +0000 (16:42 -0400)]
[mini] Add assert around managed allocator to avoid passing it a zero size.
Zoltan Varga [Wed, 27 May 2015 20:28:40 +0000 (16:28 -0400)]
Revert "[x86] Enable support for OP_GENERIC_CLASS_INIT."
This reverts commit
2575daaacca71a2ed6d9b14daf4a894574834ca9.
Revert this as it breaks llvm, which passes the vtable argument on the stack.
Zoltan Varga [Wed, 27 May 2015 19:34:34 +0000 (15:34 -0400)]
[arm] Set more information in cinfo for fp returns, gsharedvt depends on it.
Marek Safar [Wed, 27 May 2015 19:00:15 +0000 (21:00 +0200)]
[corlib] Improve SynchronizationContext test dependency
Sebastien Pouliot [Wed, 27 May 2015 17:35:38 +0000 (13:35 -0400)]
[corlib] Let XI and XM define their own default encoding [#29928]
605192528de1a9c9c95a97bc5a2de7d3c85b322d used UTF8Unmarked for MONOTOUCH
and XAMMAC. However it's initialized differently (than the old UTF8) and
caused unit test regressions in System and System.Net.Http unit tests
This new logic moves the default encoding creation into the products
themselves.
Sebastien Pouliot [Wed, 27 May 2015 17:34:33 +0000 (13:34 -0400)]
Revert "[corlib] Restore UTF8 as the default encoding for XI and XM [#29928]"
This reverts commit
605192528de1a9c9c95a97bc5a2de7d3c85b322d.
Using EncodingHelper.UTF8Unmarked cause regressions in System and
System.Net.Http unit tests
João Matos [Wed, 27 May 2015 16:27:34 +0000 (17:27 +0100)]
[System.IO.Compression] Do not swallow inner exceptions in ZipArchive.
Neale Ferguson [Wed, 27 May 2015 15:24:37 +0000 (11:24 -0400)]
Add support for OP_GENERIC_CLASS_INIT
Add support for async callback
Zoltan Varga [Wed, 27 May 2015 15:23:29 +0000 (11:23 -0400)]
[llvm] Fix rethrowing exceptions on x86.
Marek Safar [Wed, 27 May 2015 15:13:38 +0000 (17:13 +0200)]
[corlib] Clone all levels of captures ExceptionDispatchInfos
Zoltan Varga [Wed, 27 May 2015 14:15:12 +0000 (10:15 -0400)]
Merge pull request #1836 from ludovic-henry/referencesource-safehandle-tests
[corlib] Fix tests for System.Runtime.InteropServices.SafeHandle
Zoltan Varga [Wed, 27 May 2015 13:35:35 +0000 (09:35 -0400)]
Merge pull request #1835 from ludovic-henry/referencesource-threadlocal-tests
[corlib] Add test for ThreadLocal finalization
Ludovic Henry [Tue, 26 May 2015 23:16:28 +0000 (20:16 -0300)]
[corlib] Fix tests for System.Runtime.InteropServices.SafeHandle
These tests would tend to leave non disposed SafeHandle which would later be finalized, then throwing ObjectDisposedException. They would also crash on .NET.
Ludovic Henry [Tue, 26 May 2015 20:45:54 +0000 (17:45 -0300)]
[corlib] Add test for ThreadLocal finalization
Zoltan Varga [Wed, 27 May 2015 12:57:41 +0000 (08:57 -0400)]
[llvm] Fix the loadable llvm build.
Marek Safar [Wed, 27 May 2015 09:32:33 +0000 (11:32 +0200)]
[corlib] Add more obsolete and not working types to MonoDroid
Marek Safar [Wed, 27 May 2015 08:49:24 +0000 (10:49 +0200)]
[system] Fixes incorrect tests
Zoltan Varga [Wed, 27 May 2015 00:22:52 +0000 (20:22 -0400)]
[jit] Properly compute the layout of generic instances created by partial sharing. Fixes #30204.
Zoltan Varga [Tue, 26 May 2015 21:15:00 +0000 (17:15 -0400)]
[x86] Enable support for OP_GENERIC_CLASS_INIT.
Alex Rønne Petersen [Sat, 9 May 2015 05:46:55 +0000 (07:46 +0200)]
[mini] Remove MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE macro.
All architectures define this.
Zoltan Varga [Tue, 26 May 2015 19:52:03 +0000 (15:52 -0400)]
[configure] Bump version to 4.3.0.
Zoltan Varga [Tue, 26 May 2015 17:53:27 +0000 (13:53 -0400)]
[sgen] Use mono_class_has_finalizer () instead of klass->has_finalize.
Marek Safar [Tue, 26 May 2015 15:41:32 +0000 (17:41 +0200)]
[corlib] Clean up thread execution context
Zoltan Varga [Tue, 26 May 2015 15:14:16 +0000 (11:14 -0400)]
[jit] Handle not attached threads in mono_thread_state_init_from_sigctx (). Hopefully fixes #28187.
Zoltan Varga [Tue, 26 May 2015 14:48:06 +0000 (10:48 -0400)]
[System] Disable a test on mobile.
Marek Safar [Tue, 26 May 2015 14:19:55 +0000 (16:19 +0200)]
Merge pull request #1832 from Tragetaschen/fix-http-headers
Fix reading back a HTTP Request's Host header
Marek Safar [Tue, 26 May 2015 12:15:06 +0000 (14:15 +0200)]
[mcs] Emit correct binary comparison for useless is operator involving user value type with equality user operators
Rolf Bjarne Kvinge [Tue, 26 May 2015 11:12:02 +0000 (13:12 +0200)]
[corlib] A few XI-internal functions have been renamed; use the new names.
Rolf Bjarne Kvinge [Tue, 26 May 2015 11:15:41 +0000 (13:15 +0200)]
[mdbrebase] Make sure to use a unique temporary filename.
Otherwise parallel invocations might end up stomping on eachother
(these two files are processed in parallel):
Processing /work/maccore/master/maccore/builds/install/mac/xammac/bcl/mscorlib.dll.mdb
Processing /work/maccore/master/maccore/builds/install/mac/net_4_5/bcl/mscorlib.dll.mdb
Unhandled Exception:
System.IO.FileNotFoundException: /var/folders/g9/k5kx4z211ld_lwlbfxv5rq040000gn/T/mscorlib.dll.mdb does not exist
File name: '/var/folders/g9/k5kx4z211ld_lwlbfxv5rq040000gn/T/mscorlib.dll.mdb'
at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00000] in <filename unknown>:0
at Mono.MdbRebase.MdbRebase.RewriteMdbFile (System.String inputFile) [0x00000] in <filename unknown>:0
at Mono.MdbRebase.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: /var/folders/g9/k5kx4z211ld_lwlbfxv5rq040000gn/T/mscorlib.dll.mdb does not exist
File name: '/var/folders/g9/k5kx4z211ld_lwlbfxv5rq040000gn/T/mscorlib.dll.mdb'
at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00000] in <filename unknown>:0
at Mono.MdbRebase.MdbRebase.RewriteMdbFile (System.String inputFile) [0x00000] in <filename unknown>:0
at Mono.MdbRebase.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
Rolf Bjarne Kvinge [Tue, 26 May 2015 11:13:50 +0000 (13:13 +0200)]
[mdbrebase] Add a quiet mode.
Rolf Bjarne Kvinge [Tue, 26 May 2015 11:12:25 +0000 (13:12 +0200)]
[mdbrebase] Indent properly.
Zoltan Varga [Tue, 26 May 2015 11:58:32 +0000 (07:58 -0400)]
[llvm] Fix the argument type of specific_trampoline_generic_class_init.
Marek Safar [Tue, 26 May 2015 10:11:08 +0000 (12:11 +0200)]
[corlib] More thread code from reference sources, mostly for argument checks
Atsushi Eno [Tue, 26 May 2015 07:43:44 +0000 (15:43 +0800)]
[xbuild] make sure to load appropriate Microsoft.Build.Tasks*.dll.
When running MONO_LOG_LEVEL=debug xbuild with previous versions, it showed
that Microsoft.Build.Tasks.v4.0.dll was loaded, while the expected one was
Microsoft.Build.Tasks.v12.0.dll (as current xbuild script loads the one
from xbuild_12 profile). It was because Microsoft.Build.Tasks*.dll was
not referenced by xbuild.exe and thus it was loaded differently.
This hack adds strong reference to some class in Microsoft.Build.Tasks*.dll
of the corresponding version for each profile to resolve that issue.
Zoltan Varga [Tue, 26 May 2015 02:03:34 +0000 (22:03 -0400)]
Revert "[runtime] Use condvars instead of events for notifying the finalizer thread."
This reverts commit
5d36a53b2ecb822435eb7e2c7881b90e230cc62b.
Revert this as it causes hangs on wrench.
Zoltan Varga [Tue, 26 May 2015 00:28:22 +0000 (00:28 +0000)]
[arm] Implement support for OP_GENERIC_CLASS_INIT.
Zoltan Varga [Tue, 26 May 2015 00:09:33 +0000 (00:09 +0000)]
[arm] Remove unused codegen files.
Joao Matos [Mon, 25 May 2015 18:38:15 +0000 (19:38 +0100)]
[metadata] Replace non-portable usleep() with g_usleep() in MS threadpool.
Joao Matos [Mon, 25 May 2015 18:36:32 +0000 (19:36 +0100)]
[metadata] Fixed MSVC union compilation issues in MS threadpool.