Rodrigo Kumpera [Sat, 7 Jun 2014 23:10:50 +0000 (19:10 -0400)]
Merge pull request #1088 from BrzVlad/pushless
[x86] Arguments to calls are passed via moves, instead of pushes.
Alex Rønne Petersen [Sat, 7 Jun 2014 20:26:58 +0000 (22:26 +0200)]
Silence another array subscript warning in eglib/src/sort.frag.h.
Alex Rønne Petersen [Sat, 7 Jun 2014 20:19:39 +0000 (22:19 +0200)]
Joao Matos [Sat, 7 Jun 2014 17:35:41 +0000 (18:35 +0100)]
Fixed the build on MSVC.
Local variables need to be declared at the start of the block.
Alex Rønne Petersen [Sat, 7 Jun 2014 16:03:31 +0000 (18:03 +0200)]
Add missing prototypes to supportw.c.
Alex Rønne Petersen [Sat, 7 Jun 2014 16:03:19 +0000 (18:03 +0200)]
Comment an unused function in minizip.
Alex Rønne Petersen [Sat, 7 Jun 2014 16:02:29 +0000 (18:02 +0200)]
Fix z_alloc () signature.
Yes, really. zlib really uses a 32-bit int here...
Alex Rønne Petersen [Sat, 7 Jun 2014 16:02:14 +0000 (18:02 +0200)]
Add missing prototypes to Mono.Posix C sources.
Alex Rønne Petersen [Sat, 7 Jun 2014 16:01:10 +0000 (18:01 +0200)]
Move shared_area_disabled () behind ifdef.
Alex Rønne Petersen [Sat, 7 Jun 2014 16:00:41 +0000 (18:00 +0200)]
Wrap deadce_has_run variable in DISABLE_SSA ifdef.
Alex Rønne Petersen [Sat, 7 Jun 2014 15:59:49 +0000 (17:59 +0200)]
Add g_assert_not_reached () to mono_gc_pthread_exit ().
On Android, pthread_exit () is not decorated as noreturn.
Alex Rønne Petersen [Sat, 7 Jun 2014 15:59:18 +0000 (17:59 +0200)]
Silence unused mkstemp result warnings in jay.
Alex Rønne Petersen [Sat, 7 Jun 2014 15:58:48 +0000 (17:58 +0200)]
Add missing prototypes in ikvm-native.
Alex Rønne Petersen [Sat, 7 Jun 2014 15:58:32 +0000 (17:58 +0200)]
Mark an unused variable as such in eglib/test/file.c.
Alex Rønne Petersen [Sat, 7 Jun 2014 15:57:46 +0000 (17:57 +0200)]
Disable -Warray-bounds in eglib/src/sort.frag.h!insert_list in GCC 4.6.0+.
Alex Rønne Petersen [Sat, 7 Jun 2014 15:56:50 +0000 (17:56 +0200)]
Disable -Wreturn-local-addr in libgc/mark_rts.c!GC_approx_sp with GCC 4.8.0+.
Alex Rønne Petersen [Sat, 7 Jun 2014 15:56:06 +0000 (17:56 +0200)]
Compile libgc with -Wno-deprecated-declarations as it uses some obsolete POSIX APIs.
Alex Rønne Petersen [Sat, 7 Jun 2014 14:52:50 +0000 (16:52 +0200)]
Revert unintentional change.
Alex Rønne Petersen [Sat, 7 Jun 2014 14:38:47 +0000 (16:38 +0200)]
Fix the build. We've been missing this include for ages...
Alex Rønne Petersen [Sat, 7 Jun 2014 14:18:35 +0000 (16:18 +0200)]
Bring the implementation of the 64-bit CAS fallback in line with the 32-bit one.
Alex Rønne Petersen [Sat, 7 Jun 2014 14:13:22 +0000 (16:13 +0200)]
Mark the `spin` variable in atomic.c as G_GNUC_UNUSED.
It would require an `#ifdef` forest to get the conditions
under which it is used right.
Alex Rønne Petersen [Sat, 7 Jun 2014 13:54:32 +0000 (15:54 +0200)]
Merge branch 'master' of github.com:mono/mono
Zoltan Varga [Sat, 7 Jun 2014 13:21:02 +0000 (15:21 +0200)]
Revert "Fix a warning in atomic.c."
This reverts commit
1fdc8789a7f4bfc6fa7f67c126569765194a3b6c.
This breaks the ios build:
../../../../../mono/mono/utils/atomic.c: In function ‘InterlockedCompareExchange64’:
../../../../../mono/mono/utils/atomic.c:572: error: ‘spin’ undeclared (first use in this function)
../../../../../mono/mono/utils/atomic.c:572: error: (Each undeclared identifier is reported only once
../../../../../mono/mono/utils/atomic.c:572: error: for each function it appears in.)
Zoltan Varga [Fri, 6 Jun 2014 23:22:01 +0000 (01:22 +0200)]
[arm] Fix OP_ATOMIC_CAS_I4.
Brezae Vlad [Wed, 4 Jun 2014 22:46:54 +0000 (01:46 +0300)]
[x86] Arguments to calls are passed via moves, instead of pushes.
I release these changes under the MIT license.
Alex Rønne Petersen [Fri, 6 Jun 2014 21:02:33 +0000 (23:02 +0200)]
Disable `perf` support in the profiler when running on Android (for now).
We need to assess the situation before we enable this everywhere. Apparently
some older devices have trouble with `perf`.
Alex Rønne Petersen [Fri, 6 Jun 2014 20:58:20 +0000 (22:58 +0200)]
Fix a warning in atomic.c.
Alex Rønne Petersen [Fri, 6 Jun 2014 20:57:55 +0000 (22:57 +0200)]
Remove a #warning in security.c which gets triggered on OS X.
Ludovic Henry [Fri, 6 Jun 2014 20:00:03 +0000 (16:00 -0400)]
[counters] Add counters documentation to man page
Alex Rønne Petersen [Fri, 6 Jun 2014 13:20:52 +0000 (15:20 +0200)]
Fix printf formatting warnings in mono-counters.c.
Alex Rønne Petersen [Fri, 6 Jun 2014 13:19:20 +0000 (15:19 +0200)]
Use G_GNUC_UNUSED instead of commenting out variable declarations.
The previous approach resulted in mixed decls/stmts warnings.
Alex Rønne Petersen [Fri, 6 Jun 2014 13:17:19 +0000 (15:17 +0200)]
Fix a ton of printf formatting warnings in decode.c.
Alex Rønne Petersen [Fri, 6 Jun 2014 12:52:28 +0000 (14:52 +0200)]
Silence some warnings in decode.c.
Alex Rønne Petersen [Fri, 6 Jun 2014 12:52:09 +0000 (14:52 +0200)]
Fix volatile pointer casts in proflog.c.
Alex Rønne Petersen [Fri, 6 Jun 2014 12:51:44 +0000 (14:51 +0200)]
Silence a bunch of unused result warnings in proflog.c.
Alex Rønne Petersen [Fri, 6 Jun 2014 12:41:18 +0000 (14:41 +0200)]
Fix a bunch of warnings caused by unused functions.
Alex Rønne Petersen [Fri, 6 Jun 2014 12:40:56 +0000 (14:40 +0200)]
Add suggested parentheses to RHS of ^ operator.
Alex Rønne Petersen [Fri, 6 Jun 2014 12:40:24 +0000 (14:40 +0200)]
Fix formatting specifiers for some size_t arguments.
Zoltan Varga [Fri, 6 Jun 2014 01:00:22 +0000 (03:00 +0200)]
[runtime] Avoid joining attached threads. Fixes #19343.
Martin Baulig [Wed, 4 Jun 2014 21:31:08 +0000 (23:31 +0200)]
[Http]: Read version from "HTTP CONNECT" response.
When using "HTTP CONNECT" to create a tunnel to a proxy server,
check the proxy server's response for the HTTP Version and close
the connection if it's HTTP/1.0.
Martin Baulig [Wed, 4 Jun 2014 19:03:22 +0000 (21:03 +0200)]
[Http]: Fix the loop in WebConnection.ReadHeaders().
We need to reset `gotStatus' each time we enter the outer loop or we
would attempt to interpret the status line as a header.
Zoltan Varga [Thu, 5 Jun 2014 18:57:50 +0000 (20:57 +0200)]
Merge pull request #1084 from tritao/msvc-warnings
MSVC warning fixes
Zoltan Varga [Thu, 5 Jun 2014 18:47:56 +0000 (20:47 +0200)]
[runtime] Fix support for custom marshallers defined in other assemblies. Fixes #20020.
Joao Matos [Thu, 5 Jun 2014 18:45:07 +0000 (19:45 +0100)]
Fixed monodis MSVC build.
We need to include "mono/utils/mono-compiler.h" to get the proper isinf/isnan declaration.
Marek Safar [Thu, 5 Jun 2014 17:35:32 +0000 (19:35 +0200)]
[mcs] Return type inference of async anonymous methods
Marek Safar [Thu, 5 Jun 2014 16:29:54 +0000 (18:29 +0200)]
[mcs] Check for await expression inside new delegate statement
Zoltan Varga [Thu, 5 Jun 2014 17:05:39 +0000 (19:05 +0200)]
[runtime] Fix a jit assertion on a class which contains an empty struct as a static field. Fixes #20349.
Joao Matos [Thu, 5 Jun 2014 15:19:26 +0000 (16:19 +0100)]
Regenerate keyboards.resx resource file.
The existing one is reported as malformed XML by csc.
Joao Matos [Thu, 5 Jun 2014 14:40:37 +0000 (15:40 +0100)]
Fixed warning in MSVC: 'unreferenced local variable'.
Joao Matos [Thu, 5 Jun 2014 14:39:40 +0000 (15:39 +0100)]
Fixed warning in MSVC: 'different types for formal and actual parameter'.
Joao Matos [Thu, 5 Jun 2014 14:37:46 +0000 (15:37 +0100)]
Fixed warning in MSVC: 'void' function returning a value.
Joao Matos [Thu, 5 Jun 2014 14:35:39 +0000 (15:35 +0100)]
Fixed warnings in MSVC: 'unreferenced local variable'.
Joao Matos [Thu, 5 Jun 2014 14:34:00 +0000 (15:34 +0100)]
Removed an unused variable from the code, fixes a warning in MSVC.
Joao Matos [Thu, 5 Jun 2014 14:31:28 +0000 (15:31 +0100)]
Fixed warning in MSVC: 'unreferenced local variable'.
Joao Matos [Thu, 5 Jun 2014 14:29:55 +0000 (15:29 +0100)]
Fixed warning in MSVC: 'unreferenced local variable'.
Joao Matos [Thu, 5 Jun 2014 14:28:33 +0000 (15:28 +0100)]
Fixed warning in MSVC: 'different types for formal and actual parameter'.
Joao Matos [Thu, 5 Jun 2014 14:27:45 +0000 (15:27 +0100)]
Fixed warning in MSVC: 'getpid' undefined; assuming extern returning int.
Joao Matos [Thu, 5 Jun 2014 14:25:13 +0000 (15:25 +0100)]
Fixed unreferenced local variable warning in MSVC.
Joao Matos [Thu, 5 Jun 2014 14:21:05 +0000 (15:21 +0100)]
Fixed MSVC warning about unreferenced local variable.
Joao Matos [Thu, 5 Jun 2014 14:18:14 +0000 (15:18 +0100)]
Fixed MSVC warning about different types for formal and actual parameter.
Joao Matos [Thu, 5 Jun 2014 14:15:01 +0000 (15:15 +0100)]
Fixed unreferenced variables/label warnings in MSVC.
Joao Matos [Thu, 5 Jun 2014 14:12:12 +0000 (15:12 +0100)]
Fixed unsigned/signed mismatch warning.
Joao Matos [Thu, 5 Jun 2014 14:09:01 +0000 (15:09 +0100)]
Fixed warning in MSVC by prefixing the macros, MEM_FREE is already defined in winnt.h.
Zoltan Varga [Thu, 5 Jun 2014 13:05:42 +0000 (15:05 +0200)]
Merge pull request #1083 from christianhuening/NetworkInterfaceFix
- ADDED: Support to read out Interface flags on OS X
Christian Hüning [Thu, 5 Jun 2014 12:09:11 +0000 (14:09 +0200)]
- ADDED: Support to read out Interface flags on OS X
- ADDED: Implemented NetworkInterface property "OperationalStatus" to be UP, in case the IFF_UP flag is set
- ADDED: Implemented NetworkInterface property "SupportsMulticast" to be true, in case the IFF_MULTICAST flag is set
This change is released under the MIT license.
Atsushi Eno [Thu, 5 Jun 2014 04:02:50 +0000 (13:02 +0900)]
[msbuild] fix some weird local result variable initialization issue.
I cannot explain why, but this affects building solution that has more than
one projects for MS.Build.dll. <MSBuild/> task returns false for successful
builds without this change.
Most likely codegen or runtime issue, but a bit too high level to drill down.
Atsushi Eno [Thu, 5 Jun 2014 04:01:00 +0000 (13:01 +0900)]
[MS.Build] disable failing test.
It somehow passes on my dev. environment so I cannot reproduce...
Atsushi Eno [Wed, 4 Jun 2014 09:41:03 +0000 (18:41 +0900)]
[MS.Build] metadata is also replaced its windows path separators.
Zoltan Varga [Wed, 4 Jun 2014 23:56:12 +0000 (01:56 +0200)]
[jit] Avoid licm for volatile variables, ssa ignores them so we can't detect whenever they are loop invariant by looking at phi nodes.
Joao Matos [Wed, 4 Jun 2014 18:39:38 +0000 (19:39 +0100)]
Fixed unreachable methods in mono-thread-windows to use g_assert_not_reached.
This fixes a couple warnings.
Joao Matos [Wed, 4 Jun 2014 18:38:13 +0000 (19:38 +0100)]
Modified g_assert_not_reached to use g_unreachable.
Joao Matos [Wed, 4 Jun 2014 18:37:17 +0000 (19:37 +0100)]
Added g_unreachable to explicitly notify the compiler of unreachable code.
Rodrigo Kumpera [Wed, 4 Jun 2014 18:35:59 +0000 (14:35 -0400)]
[sgen] Fix logging due to changes in a lot of size types.
Zoltan Varga [Wed, 4 Jun 2014 18:32:59 +0000 (20:32 +0200)]
[runtime] Add another test for passing many small arguments.
Rodrigo Kumpera [Wed, 4 Jun 2014 18:30:29 +0000 (14:30 -0400)]
[sgen] Fix clang compilation.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:24:44 +0000 (13:24 -0400)]
[sgen] Fix a few warnings related to lossy conversion of size_t to int on 64bits.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:24:24 +0000 (13:24 -0400)]
[sgen] Fix nursery size calculation and the managed write barrier to be 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:21:58 +0000 (13:21 -0400)]
[sgen] Fix the object size functions to be 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:17:26 +0000 (13:17 -0400)]
[sgen] Ensure the cardtable code is 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:41:32 +0000 (12:41 -0400)]
[sgen] Use size_t for all heap limits.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:36:00 +0000 (12:36 -0400)]
[sgen] Fix size warnings in the descriptor code.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:33:54 +0000 (12:33 -0400)]
[sgen] Silence warnings when big arrays are not in use on 64bits.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:32:15 +0000 (12:32 -0400)]
[sgen] Make degrated_mode a size_t.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:27:22 +0000 (12:27 -0400)]
[sgen] Make los usage of size_t cosnsitent.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:15:54 +0000 (12:15 -0400)]
[sgen] Use size_t consistently in the major collector for object sizes and number of memory blocks.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:10:01 +0000 (12:10 -0400)]
[sgen] Use size_t consistently in the nursery code.
Rodrigo Kumpera [Wed, 4 Jun 2014 14:58:15 +0000 (10:58 -0400)]
[sgen] Move the pinning code to use size_t internally. This makes this code 64bits clean.
Rodrigo Kumpera [Tue, 3 Jun 2014 22:02:19 +0000 (18:02 -0400)]
[sgen] Fix small localized warnings.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:45:50 +0000 (17:45 -0400)]
[sgen] Fix win64 issues with longs and inline assembly.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:39:33 +0000 (17:39 -0400)]
[runtime] Fix a bunch of warnings in threads.c related to int64 -> int32 lossy casts.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:35:22 +0000 (17:35 -0400)]
[verifier] Silence a size mismatch warning in the verifier.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:34:36 +0000 (17:34 -0400)]
[runtime] Replace gulong with size_t to fix counter sizes in win64.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:31:18 +0000 (17:31 -0400)]
[win64] Windows64 MSVC compiler dropped support for inline assembly. Move that code into a .asm file.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:28:01 +0000 (17:28 -0400)]
[VS] Fix the solutions to work with win64. Update the file list to include some new sgen files.
Rodrigo Kumpera [Tue, 3 Jun 2014 20:53:22 +0000 (16:53 -0400)]
[runtime] Fix warnings in mono-threads.
Rodrigo Kumpera [Tue, 3 Jun 2014 20:52:14 +0000 (16:52 -0400)]
[runtime] Replace gulong with size_t so it works on win64.
Rodrigo Kumpera [Fri, 30 May 2014 18:11:46 +0000 (14:11 -0400)]
fix win thread size calc.
Marek Safar [Wed, 4 Jun 2014 17:06:59 +0000 (19:06 +0200)]
Marek Safar [Wed, 4 Jun 2014 17:02:18 +0000 (19:02 +0200)]
Fixes build
Marek Safar [Wed, 4 Jun 2014 16:26:54 +0000 (18:26 +0200)]
[mcs] Better error message for attribute value used for unsupported parameter type