Marek Safar [Wed, 4 Feb 2015 18:09:14 +0000 (19:09 +0100)]
Move TimeZoneInfo tests to corlib
Marek Safar [Wed, 4 Feb 2015 17:46:30 +0000 (18:46 +0100)]
[system.xml] Disable failing test, requires reference source implementation
Marek Safar [Wed, 4 Feb 2015 16:54:35 +0000 (17:54 +0100)]
[corlib] Fix overflow in TimeZoneInfo utc conversion
Marek Safar [Wed, 4 Feb 2015 16:23:08 +0000 (17:23 +0100)]
[mcs] update error message
Marek Safar [Wed, 4 Feb 2015 15:49:53 +0000 (16:49 +0100)]
[corlib] Boolean from reference sources
Radek Doulik [Wed, 4 Feb 2015 16:09:17 +0000 (17:09 +0100)]
[android] disable TLS on android/x86_64
- otherwise we assert in sgen allocator
in sgen-gc.h:EMIT_TLS_ACCESS_NEXT_ADDR
thru sgen-alloc.c:create_allocator
- note that it is also disabled for ARM[64] and X86
on android
Marek Safar [Wed, 4 Feb 2015 14:49:41 +0000 (15:49 +0100)]
[System] More TypeDescriptor tests
Marek Safar [Wed, 4 Feb 2015 14:36:10 +0000 (15:36 +0100)]
[corlib] Add test for #17626
Marek Safar [Wed, 4 Feb 2015 14:30:44 +0000 (15:30 +0100)]
[corlib] DateTime from reference sources
Alex Rønne Petersen [Wed, 4 Feb 2015 14:28:44 +0000 (15:28 +0100)]
Revert "[runtime] Fixed allowing non-object complex arguments to cgt.un"
This reverts commit
38f878ce9d480e2f9ba8a00ac699bed98d71354c.
This broke the build: http://wrench.mono-project.com/Wrench/WebServices/Download.aspx?workfile_id=
3704132
Alex Rønne Petersen [Wed, 4 Feb 2015 13:58:03 +0000 (14:58 +0100)]
[mini] Hopefully fix float <-> int data transfer instructions on x86. x87 sucks.
Alex Rønne Petersen [Wed, 4 Feb 2015 13:16:27 +0000 (14:16 +0100)]
[mini] Fix float <-> int data transfer instructions on arm/mips.
Alex Rønne Petersen [Wed, 4 Feb 2015 13:13:00 +0000 (14:13 +0100)]
[mini] Fix x86/arm build.
João Matos [Wed, 4 Feb 2015 13:13:02 +0000 (13:13 +0000)]
Fixed System.Net.NetworkInformation tests to work with MonoTouch.NUnitLite.
João Matos [Wed, 4 Feb 2015 13:07:20 +0000 (13:07 +0000)]
[runtime] Added autoconf support for AMD64 Android cross compilation.
Alex Rønne Petersen [Wed, 4 Feb 2015 12:14:15 +0000 (13:14 +0100)]
[mini] Implement atomic exchange with xchg on x86/amd64.
Alex Rønne Petersen [Wed, 4 Feb 2015 11:05:06 +0000 (12:05 +0100)]
[mini] Use new float <-> int move opcodes to implement r4/r8 CAS/Exchange.
Alex Rønne Petersen [Wed, 4 Feb 2015 11:04:20 +0000 (12:04 +0100)]
[mini] Add new instructions for moving data between float and int regs.
These perform no conversions (other than any necessary single <-> double
conversions). They simply copy the raw data back and forth.
Alex Rønne Petersen [Wed, 4 Feb 2015 11:02:21 +0000 (12:02 +0100)]
[mini] Apply the dreg != sreg1 optimization to OP_(F)MOVE in all backends.
Alex Rønne Petersen [Wed, 4 Feb 2015 02:31:26 +0000 (03:31 +0100)]
[mini] Fix some cases where intrinsics did not have a stack type set.
Radek Doulik [Wed, 4 Feb 2015 08:52:01 +0000 (09:52 +0100)]
[android] do not use tkill on android/amd64(x86_64) as well
Alex Rønne Petersen [Wed, 4 Feb 2015 03:53:29 +0000 (04:53 +0100)]
Merge pull request #1543 from alexanderkyte/master
[runtime] Fixed allowing non-object complex arguments to cgt.un
Alexander Kyte [Mon, 2 Feb 2015 17:55:46 +0000 (12:55 -0500)]
[runtime] Fixed allowing non-object complex arguments to cgt.un
Zoltan Varga [Wed, 4 Feb 2015 01:44:18 +0000 (20:44 -0500)]
[amd64] Add missing amd64_sse_cvtss2si_reg_reg_size() codegen macro.
Zoltan Varga [Tue, 3 Feb 2015 20:58:12 +0000 (15:58 -0500)]
Merge pull request #1545 from akoeplinger/fix-windows-build
Fix Windows build
Alexander Köplinger [Tue, 3 Feb 2015 18:35:25 +0000 (10:35 -0800)]
Miguel de Icaza [Tue, 3 Feb 2015 16:48:28 +0000 (11:48 -0500)]
Updated the order file generated by following the instructions in msvc/scripts/README
Marek Safar [Tue, 3 Feb 2015 15:20:39 +0000 (16:20 +0100)]
[corlib] TimeSpan from reference sources
João Matos [Tue, 3 Feb 2015 14:10:46 +0000 (14:10 +0000)]
[corlib] Fixed tests to work with NET_2_1 define.
Marek Safar [Tue, 3 Feb 2015 10:58:48 +0000 (11:58 +0100)]
[corlib] DateTimeOffset from reference sources
Marek Safar [Tue, 3 Feb 2015 09:30:30 +0000 (10:30 +0100)]
[corlib] DateTimeFormatInfo and friends from reference sources
Marek Safar [Tue, 3 Feb 2015 09:23:19 +0000 (10:23 +0100)]
[system] Add support for redirected http web-request with disabled AllowWriteStreamBuffering (empty streams only). Fixes #26640
Rodrigo Kumpera [Mon, 2 Feb 2015 03:41:16 +0000 (22:41 -0500)]
[runtime] Replace a call to mono_get_method_full to mono_get_method_checked.
Zoltan Varga [Tue, 3 Feb 2015 00:30:30 +0000 (19:30 -0500)]
Avoid recompiling a test on every run.
Zoltan Varga [Mon, 2 Feb 2015 23:20:45 +0000 (18:20 -0500)]
Revert "Switch System.Web.ApplicationServices to referencesource"
This reverts commit
ea88432e494b578a6f67a5b8d0a259f85fab166f.
Revert this as it breaks the System.Web tests.
Zoltan Varga [Mon, 2 Feb 2015 23:20:23 +0000 (18:20 -0500)]
Revert "Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs"
This reverts commit
b88fc966107f2f57084771968d770a01bf806ead.
Revert this as it breaks the System.Web tests.
Rodrigo Kumpera [Mon, 2 Feb 2015 22:39:38 +0000 (17:39 -0500)]
[io-layer] Small portability fix.
Jonathan Pryor [Mon, 2 Feb 2015 20:19:02 +0000 (15:19 -0500)]
[System.Core/Android] Update TimeZone database self test.
The `make tzi.exe` target had bitrotted, and the
`make android-dump-tzdata` target generated inadvertent/unintentional
errors. Fix the makefile so that things build and run.
Marek Safar [Mon, 2 Feb 2015 19:26:08 +0000 (20:26 +0100)]
[corlib] Makes AggregateException output visible
João Matos [Mon, 2 Feb 2015 15:53:02 +0000 (15:53 +0000)]
[corlib] Fixed xammac build.
João Matos [Mon, 2 Feb 2015 15:51:50 +0000 (15:51 +0000)]
[corlib] Fixed build with NET_2_1 define.
Rolf Bjarne Kvinge [Mon, 2 Feb 2015 12:50:44 +0000 (13:50 +0100)]
[System.Xml] Overwrite instead of append so that subsequent executions doesn't end up with garbage in the output.
Rodrigo Kumpera [Mon, 2 Feb 2015 00:20:05 +0000 (19:20 -0500)]
[jit] Fix bad_method_regression_2 when SSA is enabled on 32bits.
Zoltan Varga [Sat, 31 Jan 2015 07:42:34 +0000 (02:42 -0500)]
Merge pull request #1540 from esdrubal/marshallingcache
[runtime] Added native_func_wrapper_cache.
Zoltan Varga [Sat, 31 Jan 2015 04:50:28 +0000 (23:50 -0500)]
[jit] Increase the inline memcpy/memset cutoff to 8 machine words.
Zoltan Varga [Sat, 31 Jan 2015 01:59:55 +0000 (20:59 -0500)]
[llvm] Add a new LLVMArgAsFpArgs argument passing convention which means an argument is passed as a set of fp scalar arguments, i.e. HFAs on arm64.
Zoltan Varga [Sat, 31 Jan 2015 00:15:24 +0000 (19:15 -0500)]
Fix a warning.
Zoltan Varga [Fri, 30 Jan 2015 22:46:38 +0000 (17:46 -0500)]
[arm] Enable llvm for methods with struct arguments larger than 2 words.
Zoltan Varga [Fri, 30 Jan 2015 20:43:10 +0000 (15:43 -0500)]
[runtime] Disable a test which fails with llvm/gcc.
Rodrigo Kumpera [Fri, 30 Jan 2015 19:07:43 +0000 (14:07 -0500)]
Don't include the poll backed directly into the threadpool source code.
Rodrigo Kumpera [Thu, 29 Jan 2015 22:25:30 +0000 (17:25 -0500)]
[runtime] Skip the finalizer thread while it's sleeping.
Marcos Henrich [Fri, 30 Jan 2015 15:40:33 +0000 (15:40 +0000)]
[runtime] Added native_func_wrapper_cache.
mono_marshal_get_native_func_wrapper now uses native_func_wrapper_cache indexed by SignaturePointerPair,
Using SignaturePointerPair index instead of MonoMethod index avoids problems when one native function needs multiple wrappers.
e.g: when the managed code creates delegates for function pointers with parameters that require different marshallings.
This fixes bug 26127.
Marcos Henrich [Fri, 30 Jan 2015 15:26:03 +0000 (15:26 +0000)]
[runtime] Renamed SignatureMethodPair to SignaturePointerPair.
Changed field MonoMethod* method to gpointer pointer.
This change was done because we need in some cases to use a signature pointer pair.
Marek Safar [Fri, 30 Jan 2015 14:13:37 +0000 (15:13 +0100)]
Merge pull request #1539 from directhex/use-referencesource-for-System.Web.ApplicationServices
Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs
Jo Shields [Fri, 30 Jan 2015 14:06:36 +0000 (14:06 +0000)]
Include hard-coded strings (SR.cs-style) rather than using AppliCationServicesStrings.Designer.cs
This avoids depending on a missing .resources file with string translations in it
João Matos [Fri, 30 Jan 2015 12:45:38 +0000 (12:45 +0000)]
Merge pull request #1538 from directhex/use-referencesource-for-System.Web.ApplicationServices
Switch System.Web.ApplicationServices to ReferenceSource.
Jo Shields [Fri, 30 Jan 2015 12:12:51 +0000 (12:12 +0000)]
Switch System.Web.ApplicationServices to referencesource
Due to the removal of the net_2_0 profile, the files in ../System.Web/System.Web.Security aren't included in make dist anymore since they aren't used in System.Web (the classes got moved to System.Web.ApplicationServices.dll in .NET 4).
This breaks the tarball builds, as System.Web.ApplicationServices relies
on those files, so we now include the ReferenceSource equivalents instead.
Rodrigo Kumpera [Fri, 30 Jan 2015 06:03:01 +0000 (01:03 -0500)]
[runtime] Use MonoError instead of loader error with signature parsing.
Sebastien Pouliot [Fri, 30 Jan 2015 00:58:45 +0000 (19:58 -0500)]
Bump referencesource to disable CAS calls on System.Componentmodel.TypeDescriptor [#26554]
Alex Rønne Petersen [Thu, 29 Jan 2015 23:55:49 +0000 (00:55 +0100)]
[mini] Fix Enum.HasFlag () intrinsic emitting a bad OP_LCEQ on 32-bit.
Zoltan Varga [Fri, 30 Jan 2015 00:09:36 +0000 (19:09 -0500)]
Fix the dreg op the long_ccc instructions, those instructions return ints.
Mark Probst [Thu, 29 Jan 2015 22:09:14 +0000 (14:09 -0800)]
Merge pull request #1537 from evincarofautumn/color-binprot
Add color mode to sgen-grep-binprot.
Jon Purdy [Thu, 29 Jan 2015 21:11:19 +0000 (13:11 -0800)]
[runtime] Add color mode to sgen-grep-binprot.
When searching for a pointer with '--color' or '-c', the field in a
protocol entry that matched will be highlighted; when searching for
multiple pointers, they will be highlighted in different colors
according to their order on the command line. When highlighting more
than six pointers, colors will be reused.
Jon Purdy [Thu, 29 Jan 2015 20:50:10 +0000 (12:50 -0800)]
[runtime] Fix incorrect labels in sgen-grep-binprot output.
Miguel de Icaza [Thu, 29 Jan 2015 20:39:59 +0000 (15:39 -0500)]
Add more detail
Miguel de Icaza [Thu, 29 Jan 2015 20:33:37 +0000 (15:33 -0500)]
[lldb] Document and install the mono.py file for LLDB
Zoltan Varga [Thu, 29 Jan 2015 20:29:28 +0000 (15:29 -0500)]
Fix a warning.
Alex Rønne Petersen [Thu, 29 Jan 2015 15:08:30 +0000 (16:08 +0100)]
[mini] Fix decomposition of long opcodes in VolatileRead ()/VolatileWrite () intrinsics.
Alex Rønne Petersen [Thu, 29 Jan 2015 00:17:14 +0000 (01:17 +0100)]
Optimize Enum.HasFlag () implementation and recognize it in the JIT.
The previous implementation did a ton of reflection and boxing making
it about 4x slower than it should be. This new (native) implementation
simply memcpy ()s the values out of the Enum objects and then does the
bitwise AND.
In addition, the JIT now recognizes this common IL pattern:
<push int or long ptr>
<push int or long>
box MyFlagsEnum
constrained. MyFlagsEnum
callvirt instace bool class [mscorlib] System.Enum::HasFlag (class [mscorlib] System.Enum)
This is generated from C# code such as:
MyFlagsEnum a = ..., b = ...;
a.HasFlag (b);
When the operand types of the `box` and `constrained.` instructions are
the same, we can skip all the slow stuff that HasFlag () normally does
and simply turn the whole thing into this IR:
<this> = loadi4_membase <this_ptr>
<temp> = int_and <this> <flag>
icompare <temp> <flag>
<result> = int_ceq
This is about 60x faster than the old HasFlag () without any JIT support
and about 15x faster than the new HasFlag () native implementation.
Also, added missing argument checks to HasFlag ().
João Matos [Thu, 29 Jan 2015 17:01:11 +0000 (17:01 +0000)]
[build] Updated the class library MSBuild projects.
Rodrigo Kumpera [Thu, 29 Jan 2015 16:15:05 +0000 (10:15 -0600)]
Merge pull request #1536 from esdrubal/noreuse
[runtime] MonoIO methods using SafeHandle now prevent handle reuse.
João Matos [Thu, 29 Jan 2015 16:11:29 +0000 (16:11 +0000)]
[System.Core] Fixed interpreter build.
Miguel de Icaza [Thu, 29 Jan 2015 15:45:59 +0000 (10:45 -0500)]
[FtpWebRequest] Add test for bug #26312, issue was fixed by bringing .NET's implementation
Marcos Henrich [Thu, 29 Jan 2015 14:31:26 +0000 (14:31 +0000)]
[runtime] MonoIO methods using SafeHandle now prevent handle reuse.
This reverts partially commit
753229c72dd9f2b63beb097700e350164b887c2.
Marshallers are not called for ICalls parameters so the change of ICalls parameters to SafeHandle did not prevents handle reuse.
To prevent handle reuse ICalls are no longer called directly.
Instead we call a method that receives a SafeHandle and wraps the ICall call with safeHandle.DangerousAddRef and safeHandle.DangerousReleaseRef.
This guarantees that the safe handle reference countererence does not reach zero before or while the ICall, thus avoiding the handle beeing released and possibly reused.
Marek Safar [Thu, 29 Jan 2015 14:54:28 +0000 (15:54 +0100)]
[system.core] Fixes MT build
Marcos Henrich [Thu, 29 Jan 2015 13:11:56 +0000 (13:11 +0000)]
[symbolicate] Added tool README.
Rodrigo Kumpera [Thu, 29 Jan 2015 01:27:17 +0000 (20:27 -0500)]
[eglib] [io-layer] Have a single wrapper around getdtablesize. This removes the duplicate on io-layer and exports the eglib one.
Zoltan Varga [Thu, 29 Jan 2015 01:15:28 +0000 (20:15 -0500)]
[mdoc] More updates to expected test output.
Alex Rønne Petersen [Thu, 29 Jan 2015 00:16:24 +0000 (01:16 +0100)]
[mini] Prefer OP_ICEQ over OP_CEQ in i4 CAS intrinsics.
Zoltan Varga [Wed, 28 Jan 2015 23:39:16 +0000 (18:39 -0500)]
[arm64] Add tests for loading of sbyte/bool arguments passed on the stack.
Rodrigo Kumpera [Wed, 28 Jan 2015 23:15:21 +0000 (18:15 -0500)]
[profiler] Report methods not found in async mode due to AOT.
Rodrigo Kumpera [Wed, 28 Jan 2015 23:09:07 +0000 (18:09 -0500)]
[utils] Fix mono_dl_build_path termination logic.
Rodrigo Kumpera [Wed, 28 Jan 2015 21:34:19 +0000 (16:34 -0500)]
[runtime] Fix appdomain loading event ordering.
Kai Ruhnau [Tue, 27 Jan 2015 08:30:33 +0000 (09:30 +0100)]
Populate the RequestingAssembly property of ResolveEventArgs
Zoltan Varga [Wed, 28 Jan 2015 22:54:38 +0000 (17:54 -0500)]
Merge pull request #1535 from StephenMcConnel/bug-26523
Fix the default behavior of ToolStripLayoutStyle.Table
Stephen McConnel [Wed, 28 Jan 2015 22:52:40 +0000 (16:52 -0600)]
Fix the default behavior of ToolStripLayoutStyle.Table
This addresses https://bugzilla.xamarin.com/show_bug.cgi?id=26523.
Alex Rønne Petersen [Wed, 28 Jan 2015 22:48:04 +0000 (23:48 +0100)]
[mini] Add some missing atomic instructions to cpu-arm64.md.
Ludovic Henry [Wed, 28 Jan 2015 20:10:37 +0000 (15:10 -0500)]
[runtime] Fix #26307 "Random crash due to threading issue in new threadpool heuristics code"
By locking `threads_lock` before launching the thread, we guarantee that the thread is not going to remove itself from `threads` before we actually add it to `threads`.
Zoltan Varga [Wed, 28 Jan 2015 20:45:26 +0000 (15:45 -0500)]
Merge pull request #1533 from jbevain/pdb2mdb-roslyn
[pdb2mdb] Skip unknown pdb metadata
Rodrigo Kumpera [Wed, 28 Jan 2015 20:18:19 +0000 (14:18 -0600)]
Merge pull request #1510 from BrzVlad/fix-file-map
Fix file map
Mark Probst [Wed, 28 Jan 2015 18:12:50 +0000 (10:12 -0800)]
Merge pull request #1527 from ludovic-henry/master
[runtime] Generate binary protocol functions and structure with macro
Alex Rønne Petersen [Wed, 28 Jan 2015 17:28:40 +0000 (18:28 +0100)]
[mini] Add atomic load/store instructions for float/double.
Alex Rønne Petersen [Wed, 28 Jan 2015 17:27:02 +0000 (18:27 +0100)]
[mini] Lower atomic load/store instruction sizes on ARM.
Alex Rønne Petersen [Wed, 28 Jan 2015 17:26:21 +0000 (18:26 +0100)]
[mini] Fix some warnings.
João Matos [Wed, 28 Jan 2015 17:03:33 +0000 (17:03 +0000)]
[runtime] Fixed mono_dl_open_file to work in Android.
Ludovic Henry [Fri, 23 Jan 2015 16:25:51 +0000 (11:25 -0500)]
[runtime] Generate binary protocol functions and structure with macro
You just have to edit mono/metadata/sgen-protocol-def.h to generate a new binary protocol entry type
Marcos Henrich [Wed, 28 Jan 2015 16:24:43 +0000 (16:24 +0000)]
[symbolicate] Added symbolicate.expected.
The added file Test/symbolicate.expected contains the value that we expect to find in Test/out/symbolicate.out.
make check now uses Test/symbolicate.expected.
Marcos Henrich [Wed, 28 Jan 2015 16:17:04 +0000 (16:17 +0000)]
[runtime] Duplicated instructions OP_IL_SEQ_POINT are now removed.
Sequences of OP_IL_SEQ_POINT instructions are now reduced to only the instruction.
This removes about half of the generated sequence point instructions.
Marek Safar [Wed, 28 Jan 2015 15:29:41 +0000 (16:29 +0100)]
[System.Core] More reference sources
Marek Safar [Wed, 28 Jan 2015 14:35:57 +0000 (15:35 +0100)]
[corlib] Move Aes.cs to corlib