Jeffrey Stedfast [Fri, 6 Feb 2015 22:24:20 +0000 (17:24 -0500)]
[Mono.Debugger.Soft] Fixed StackFrame.Domain logic to not blow up
Zoltan Varga [Fri, 6 Feb 2015 21:18:29 +0000 (16:18 -0500)]
[arm64] Add r4 opcodes.
Zoltan Varga [Fri, 6 Feb 2015 18:40:16 +0000 (13:40 -0500)]
Merge branch 'r4fp-ir'
Zoltan Varga [Fri, 6 Feb 2015 18:37:47 +0000 (13:37 -0500)]
Fix the build.
Zoltan Varga [Fri, 6 Feb 2015 16:56:10 +0000 (11:56 -0500)]
Add mixed r4/r8 opcodes to binary opcodes.
Zoltan Varga [Fri, 6 Feb 2015 01:04:58 +0000 (01:04 +0000)]
Exclude the float32 optimization from -O=all.
Zoltan Varga [Fri, 6 Feb 2015 01:03:01 +0000 (01:03 +0000)]
Implement arm support.
Zoltan Varga [Thu, 5 Feb 2015 04:22:28 +0000 (23:22 -0500)]
Add LLVM support.
Zoltan Varga [Thu, 5 Feb 2015 04:22:11 +0000 (23:22 -0500)]
Fix OP_MOVE_F_TO_I4 and OP_MOVE_I4_TO_F in float32 mode.
Zoltan Varga [Thu, 5 Feb 2015 01:56:58 +0000 (20:56 -0500)]
Add support for generating 32 bit floating point code when operating on floats.
Design:
- Handle r4 types in the front-end normally like other types.
- Controlled using a 'float32' optimization flag, may become the default in the future.
- new stack type STACK_R4.
- new set of opcodes prefixed by 'R', use the same vregs as 'F' opcodes.
- opcodes which worked with r4 values are used as before, but generate different code
in the back end (OP_R4CONST/OP_LOADR4_MEMBASE/OP_STORER4_MEMBASE_REG, etc.).
Marek Safar [Fri, 6 Feb 2015 17:36:45 +0000 (18:36 +0100)]
[corlib] Imports messages from coreclr project
Jeffrey Stedfast [Fri, 6 Feb 2015 17:23:14 +0000 (12:23 -0500)]
[Microsoft.Build.Utilities] Fixed to make unit tests pass again
Alex Rønne Petersen [Fri, 6 Feb 2015 16:55:24 +0000 (17:55 +0100)]
[mini] Bump move_f_to_i4/move_i4_to_f insn sizes on x86.
Marek Safar [Fri, 6 Feb 2015 16:55:54 +0000 (17:55 +0100)]
Merge pull request #1551 from directhex/fix-missing-System.Web.ApplicationServices-sources
Move files which were split out in 4.0 from System.Web...
Marek Safar [Fri, 6 Feb 2015 16:53:05 +0000 (17:53 +0100)]
[mcs] Correctly import metadata constant with mismatched type and value. Fixes #24675
Jo Shields [Fri, 6 Feb 2015 15:48:01 +0000 (10:48 -0500)]
Ensure missing test_op_il_seq_point.sh is shipped in tarballs.
Alex Rønne Petersen [Fri, 6 Feb 2015 04:19:29 +0000 (05:19 +0100)]
[mini] Remove OP_ICONV_TO_R8_RAW since OP_MOVE_I4_TO_F does the same thing.
Alex Rønne Petersen [Fri, 6 Feb 2015 03:44:30 +0000 (04:44 +0100)]
[mini] Use a spill var for float <-> int data transfer opcodes on x86.
Alex Rønne Petersen [Fri, 6 Feb 2015 03:13:49 +0000 (04:13 +0100)]
[mini] Remove some unnecessary amd64 codegen macros (we already had them with different names).
Jo Shields [Fri, 6 Feb 2015 15:17:54 +0000 (10:17 -0500)]
Move files which were split out from System.Web into System.Web.ApplicationServices into the latter's directory. They no longer need to be in the former, since we no longer build the 2.0 profile they were originally part of. This fixes "no rule to make target" errors on tarball builds, caused by those files no longer being shipped in tarballs (make dist does not traverse a ../ boundary, so it wasn't enough for them to be listed in System.Web.ApplicationServices' manifest by System.Web's folder)
Miguel de Icaza [Fri, 6 Feb 2015 14:50:33 +0000 (09:50 -0500)]
Merge pull request #1550 from tpetazzoni/mips-fix
mono-context.h: fix build on MIPS
Sebastien Pouliot [Fri, 6 Feb 2015 14:37:06 +0000 (09:37 -0500)]
[tests] Fix TypeDescriptorTests compilation when NUnitLite is used
Marek Safar [Fri, 6 Feb 2015 14:13:13 +0000 (15:13 +0100)]
[mcs] Fix cloning of labels from outer anonymous block. Fixes #26736
Marek Safar [Fri, 6 Feb 2015 09:34:21 +0000 (10:34 +0100)]
[mcs] Replace 1684 warning turned into error with unique 7069 error code
Thomas Petazzoni [Fri, 6 Feb 2015 13:56:10 +0000 (14:56 +0100)]
mono-context.h: fix build on MIPS
The mono-context.h file uses definitions such as mips_fp and mips_sp,
which are defined in <mono/arch/mips/mips-codegen.h>, but this file is
not included, leading to build failures.
This fix is similar to
4437ecea91bab3fe68ba1c30521acf75052662cd (for
ARM).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
João Matos [Fri, 6 Feb 2015 12:46:24 +0000 (12:46 +0000)]
[runtime] Fixed potential memory leak in
a8390dcd63d466a12ddd1b159f110320b315031b.
João Matos [Fri, 6 Feb 2015 12:35:32 +0000 (12:35 +0000)]
[runtime] Fixed marshalling bug in `mono_marshal_get_native_func_wrapper`.
It was caused by a mismatch of the `sig` and `csig` variables when looking the wrapper in the marshalling cache.
This was manifesting as the following crash in all Monodroid programs:
```
#0 mono_type_hash () at /Users/joao/Dev/droid/mono/mono/metadata/metadata.c:1390
#1 0x7512edf4 in mono_signature_hash () at /Users/joao/Dev/droid/mono/mono/metadata/metadata.c:4957
#2 0x75115d18 in signature_pointer_pair_hash () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#3 0x751dca10 in rehash () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#4 0x751dcbe0 in monoeg_g_hash_table_insert_replace () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#5 0x75119570 in mono_mb_create_and_cache_full () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#6 0x75127390 in mono_marshal_get_native_func_wrapper () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
#7 0x75127780 in mono_ftnptr_to_delegate () from /Users/joao/Dev/droid/monodroid/tests/runtime/gdb-symbols/libmonosgen-2.0.so
```
Originally introduced in https://github.com/mono/mono/pull/1540.
Marek Safar [Fri, 6 Feb 2015 10:05:40 +0000 (11:05 +0100)]
Merge pull request #1508 from slluis/fix-20966
Generate proper Link metadata for resources in imported projects
Marek Safar [Fri, 6 Feb 2015 08:18:01 +0000 (09:18 +0100)]
Merge pull request #1549 from esdrubal/tziathens
[corlib] Fixed TimeZoneInfo.TryGetTransitionOffset.
Marcos Henrich [Fri, 6 Feb 2015 06:41:26 +0000 (06:41 +0000)]
[corlib] Fixed TimeZoneInfo.TryGetTransitionOffset.
Olson TZ transitions are in UTC, and TryGetTransitionOffset used the TZ standard time.
TryGetTransitionOffset was comparing UTC with TZ standard times thus DST transitions could be obtained some hours before their start.
TryGetTransitionOffset is now changing provided times to UTC before comparing them with the transition times.
Fixes #25050.
Marcos Henrich [Fri, 6 Feb 2015 06:20:54 +0000 (06:20 +0000)]
[corlib] Added test to TimeZoneInfoTest. Covers #25050.
Alex Rønne Petersen [Fri, 6 Feb 2015 02:46:07 +0000 (03:46 +0100)]
[mini] Remove now-unneeded clob spec for move_f_to_i4 on amd64.
Miguel de Icaza [Fri, 6 Feb 2015 02:01:38 +0000 (21:01 -0500)]
Merge pull request #1548 from akoeplinger/stubs
[bcl] Added a few stubs for missing APIs
Zoltan Varga [Fri, 6 Feb 2015 01:53:21 +0000 (20:53 -0500)]
[runtime] Update valgrind headers to the ones from valgrind 3.10.1. Fixes #26688.
Zoltan Varga [Thu, 5 Feb 2015 22:16:35 +0000 (17:16 -0500)]
[amd64] Avoid clobbering sreg1 in OP_MOVE_F_TO_I4.
Zoltan Varga [Thu, 5 Feb 2015 22:13:07 +0000 (17:13 -0500)]
[jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732.
Rodrigo Kumpera [Thu, 5 Feb 2015 22:15:42 +0000 (17:15 -0500)]
[runtime] Plug a loader error leak.
Zoltan Varga [Thu, 5 Feb 2015 21:53:26 +0000 (16:53 -0500)]
Revert "[jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732."
This reverts commit
98f665aba996361eb28ab1107b9f1a8e659ee715.
Revert this as it causes assertions on methods with large basic blocks.
Sebastien Pouliot [Thu, 5 Feb 2015 20:54:47 +0000 (15:54 -0500)]
Bump referencesource to disable some CAS usage
Alexander Köplinger [Thu, 5 Feb 2015 20:30:58 +0000 (21:30 +0100)]
Fix error message to mention git instead of svn
Just a nitpick, but I saw this in a build log and thought I'd fix it.
Sebastien Pouliot [Thu, 5 Feb 2015 20:20:55 +0000 (15:20 -0500)]
[linker] Only consider [Preserve] (i.e. without any parameters) on assembly-level as meaning 'preserve everything inside this assembly'.
Sebastien Pouliot [Thu, 5 Feb 2015 20:19:46 +0000 (15:19 -0500)]
[linker] Preserve types given to custom attributes - even if they are inside an array [#26030]
Sebastien Pouliot [Thu, 5 Feb 2015 20:18:47 +0000 (15:18 -0500)]
[linker] Do not process custom attribute fields unless there are some (avoids memory allocation for collections)
Mark Probst [Thu, 5 Feb 2015 19:55:26 +0000 (11:55 -0800)]
Merge pull request #1546 from evincarofautumn/faster-binprot
Make sgen-grep-binprot faster.
Jon Purdy [Thu, 5 Feb 2015 01:36:42 +0000 (17:36 -0800)]
[sgen] Make sgen-grep-binprot faster.
fread() spent a great deal of time locking, and we called malloc() once for
each entry. Replacing fread() with read() plus manual buffering, as well
as replacing malloc() with a static buffer, improves throughput by an
order of magnitude.
This also adds an '--input' option for reading from a stream other than
standard input.
Neale Ferguson [Thu, 5 Feb 2015 19:36:14 +0000 (14:36 -0500)]
Use float<->integer instructions for move operations
Jeffrey Stedfast [Thu, 5 Feb 2015 18:43:14 +0000 (13:43 -0500)]
[Microsoft.Build.Utilities] Fixed MSBuildErrorParser to be more robust
Marek Safar [Thu, 5 Feb 2015 17:25:18 +0000 (18:25 +0100)]
[mcs] Prefer not missing type for ambiguous imported types. Fixes #26753
Alexander Köplinger [Thu, 5 Feb 2015 16:40:55 +0000 (17:40 +0100)]
[bcl] Added a few stubs for missing APIs
They are required for the upcoming System.Web port.
Marek Safar [Thu, 5 Feb 2015 12:25:49 +0000 (07:25 -0500)]
[corlib] TimeZoneInfo.ConvertTimeToUtc maximum datetime handling
Marek Safar [Thu, 5 Feb 2015 11:34:16 +0000 (12:34 +0100)]
[runtime] Fixes setting FileVersionInfo managed booleans
Marek Safar [Thu, 5 Feb 2015 10:49:59 +0000 (11:49 +0100)]
[xbuild] Fix When Condition with a user comment
Marek Safar [Thu, 5 Feb 2015 10:28:40 +0000 (11:28 +0100)]
[build] remove unused defines
Marek Safar [Thu, 5 Feb 2015 09:48:29 +0000 (10:48 +0100)]
[corlib] BitConverter from reference sources
Alex Rønne Petersen [Thu, 5 Feb 2015 03:58:23 +0000 (04:58 +0100)]
[mini] Really fix the float <-> int data transfer instructions on arm.
The ARM_CVTS/ARM_CVTD macros have somewhat deceptive names: They
describe the source data type, not the target data type.
Alex Rønne Petersen [Thu, 5 Feb 2015 02:13:59 +0000 (03:13 +0100)]
Merge pull request #1541 from alexrp/mcs-build-cleanup
Clean up mcs build system
Miguel de Icaza [Thu, 5 Feb 2015 02:05:18 +0000 (21:05 -0500)]
Start work to generate dependencies
Alex Rønne Petersen [Thu, 5 Feb 2015 01:03:15 +0000 (02:03 +0100)]
[mini] Implement float <-> int data transfer instructions in the LLVM backend.
Rodrigo Kumpera [Wed, 4 Feb 2015 22:08:47 +0000 (17:08 -0500)]
[test] Add verifier test for cgt_un and valuetypes.
Rodrigo Kumpera [Wed, 4 Feb 2015 22:06:38 +0000 (17:06 -0500)]
[verifier] Properly verify CGT_UN when used with reference value and the null literal.
Zoltan Varga [Wed, 4 Feb 2015 19:00:17 +0000 (14:00 -0500)]
[jit] Avoid live range indexes overflowing for large basic blocks in the liveness pass. Fixes #26732.
Zoltan Varga [Wed, 4 Feb 2015 18:22:18 +0000 (13:22 -0500)]
[runtime] Enable the new interrupt code on arm64.
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.
Alex Rønne Petersen [Fri, 30 Jan 2015 17:57:11 +0000 (18:57 +0100)]
Remove old centum tests stuff.
Despite what the makefiles would have you believe, this was never
actually used when running the test suites. Don't ask me why - my
make-fu isn't good enough. Regardless, it's a bad idea to only
run tests for a specific set of assemblies. If some tests fail or
are unstable, they should be fixed, or disabled and have a bug
filed. Sweeping them under the rug like this is the wrong thing
to do. Incidentally, this commit doesn't add any new failures.
Alex Rønne Petersen [Mon, 2 Feb 2015 18:37:19 +0000 (19:37 +0100)]
Remove now-obsolete System.Web.Extensions(.Design)_1.0 assemblies.
These are no longer built in the newer profiles.
Alex Rønne Petersen [Fri, 30 Jan 2015 14:52:01 +0000 (15:52 +0100)]
Remove obsolete profiles and profile checks from the build system.
* Removed all old profiles from VALID_PROFILE checks.
* Removed most logic under checks like ifeq (net_2_0), $(PROFILE)) as
it is dead code now that those old profiles are gone.
* Simplified the list of assemblies in mcs/class/Makefile now that we
only have one profile.
* LIBRARY_NEEDS_POSTPROCESSING has been removed as it was only used by
old 1.x assemblies that no longer exist.
* Build logic that sets MONO_PATH now points to mcs/class/lib/net_4_5
instead of mcs/class/lib/net_2_0.
Alex Rønne Petersen [Fri, 30 Jan 2015 14:45:43 +0000 (15:45 +0100)]
Remove some leftover old 1.x, 2.x, 3.x profile ifdefs.
We no longer support these profiles so these code paths are dead.
Zoltan Varga [Tue, 3 Feb 2015 00:30:30 +0000 (19:30 -0500)]
Avoid recompiling a test on every run.