mono.git
9 years agoMerge branch 'feature-concurrent-sweep'
Mark Probst [Thu, 9 Apr 2015 23:13:32 +0000 (16:13 -0700)]
Merge branch 'feature-concurrent-sweep'

9 years agoMerge pull request #1698 from ludovic-henry/socket-reorg-2
Rodrigo Kumpera [Thu, 9 Apr 2015 22:04:38 +0000 (17:04 -0500)]
Merge pull request #1698 from ludovic-henry/socket-reorg-2

Reorganize Socket code

9 years ago[threadpool-io] Fix android build
Ludovic Henry [Thu, 9 Apr 2015 21:31:15 +0000 (22:31 +0100)]
[threadpool-io] Fix android build

9 years ago[corlib] Equality comparer fixes
Marek Safar [Thu, 9 Apr 2015 20:54:37 +0000 (22:54 +0200)]
[corlib] Equality comparer fixes

9 years agoRemove Moonlight references from `man mcs`.
Alex Rønne Petersen [Thu, 9 Apr 2015 18:58:35 +0000 (20:58 +0200)]
Remove Moonlight references from `man mcs`.

9 years agoRemove Olive support from the build system.
Alex Rønne Petersen [Thu, 9 Apr 2015 18:56:37 +0000 (20:56 +0200)]
Remove Olive support from the build system.

These libraries are no longer developed.

9 years ago[jit] Use the same dwarf<->hw register mapping on x86 for both LLVM and jitted code...
Zoltan Varga [Thu, 9 Apr 2015 19:10:55 +0000 (15:10 -0400)]
[jit] Use the same dwarf<->hw register mapping on x86 for both LLVM and jitted code, the one used by LLVM is the official version.

9 years ago[sdb] Make a log message less verbose.
Zoltan Varga [Thu, 9 Apr 2015 18:54:41 +0000 (14:54 -0400)]
[sdb] Make a log message less verbose.

9 years ago[sdb] Transition from step over to step into when control leaves managed code. Fixes...
Zoltan Varga [Thu, 9 Apr 2015 18:35:48 +0000 (14:35 -0400)]
[sdb] Transition from step over to step into when control leaves managed code. Fixes #28557.

9 years ago[corlib] Fixes mobile build
Marek Safar [Thu, 9 Apr 2015 18:04:35 +0000 (20:04 +0200)]
[corlib] Fixes mobile build

9 years ago[RPM] Fix MONO_PATH in RPM dependency generators
Jo Shields [Thu, 9 Apr 2015 12:19:15 +0000 (13:19 +0100)]
[RPM] Fix MONO_PATH in RPM dependency generators

Otherwise, RPMs don't have any dependency information

(cherry picked from commit 0dfb848cde55aed7be93e252926dd6a52bb04d73)

9 years ago[Socket] Use type specific read and write queue for SocketAsyncWorker
Ludovic Henry [Thu, 9 Apr 2015 14:46:18 +0000 (15:46 +0100)]
[Socket] Use type specific read and write queue for SocketAsyncWorker

9 years ago[Socket] Cleanup of SocketAsyncWorker, SocketAsyncResult and SocketAsyncEventArgs
Ludovic Henry [Thu, 9 Apr 2015 14:32:54 +0000 (15:32 +0100)]
[Socket] Cleanup of SocketAsyncWorker, SocketAsyncResult and SocketAsyncEventArgs

9 years ago[corlib] Buffer from reference sources
Marek Safar [Thu, 9 Apr 2015 14:00:41 +0000 (16:00 +0200)]
[corlib] Buffer from reference sources

9 years ago[corlib] new test
Marek Safar [Thu, 9 Apr 2015 13:52:55 +0000 (15:52 +0200)]
[corlib] new test

9 years ago[Socket] Refactor SocketAsyncResult enqueuing
Ludovic Henry [Thu, 9 Apr 2015 13:35:55 +0000 (14:35 +0100)]
[Socket] Refactor SocketAsyncResult enqueuing

9 years ago[runtime] Remove system from mono_defaults.system as it is a unloadable assembly
Ludovic Henry [Thu, 9 Apr 2015 11:33:31 +0000 (12:33 +0100)]
[runtime] Remove system from mono_defaults.system as it is a unloadable assembly

9 years ago[Socket] Move remaining icalls and struct from Socket_2_1.cs to Socket.cs
Ludovic Henry [Thu, 9 Apr 2015 10:52:43 +0000 (11:52 +0100)]
[Socket] Move remaining icalls and struct from Socket_2_1.cs to Socket.cs

9 years ago[Socket] Inline InvalidAsyncOp into ValidateEndIAsyncResult
Ludovic Henry [Thu, 9 Apr 2015 10:46:30 +0000 (11:46 +0100)]
[Socket] Inline InvalidAsyncOp into ValidateEndIAsyncResult

9 years ago[Socket] Move Dispose related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:44:04 +0000 (11:44 +0100)]
[Socket] Move Dispose related methods to their region

9 years ago[Socket] Move Shutdown related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:40:53 +0000 (11:40 +0100)]
[Socket] Move Shutdown related methods to their region

9 years ago[Socket] Move Close related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:38:38 +0000 (11:38 +0100)]
[Socket] Move Close related methods to their region

9 years ago[Socket] Move IOControl related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:32:35 +0000 (11:32 +0100)]
[Socket] Move IOControl related methods to their region

9 years ago[Socket] Move Poll related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:26:37 +0000 (11:26 +0100)]
[Socket] Move Poll related methods to their region

9 years ago[Socket] Move SetSocketOption related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:23:11 +0000 (11:23 +0100)]
[Socket] Move SetSocketOption related methods to their region

9 years ago[Socket] Move GetSocketOption related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:15:29 +0000 (11:15 +0100)]
[Socket] Move GetSocketOption related methods to their region

9 years ago[Socket] Move SendPackets related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:08:41 +0000 (11:08 +0100)]
[Socket] Move SendPackets related methods to their region

9 years ago[Socket] Move Listen related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:06:36 +0000 (11:06 +0100)]
[Socket] Move Listen related methods to their region

9 years ago[Socket] Move DuplicateAndClose related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 10:03:29 +0000 (11:03 +0100)]
[Socket] Move DuplicateAndClose related methods to their region

9 years ago[Socket] Remove unused CheckRange method
Ludovic Henry [Thu, 9 Apr 2015 09:59:32 +0000 (10:59 +0100)]
[Socket] Remove unused CheckRange method

9 years ago[Socket] Move Bind related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 09:57:01 +0000 (10:57 +0100)]
[Socket] Move Bind related methods to their region

9 years ago[Socket] Move SendFile related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 09:53:34 +0000 (10:53 +0100)]
[Socket] Move SendFile related methods to their region

9 years ago[Socket] Move SendTo related methods to their region
Ludovic Henry [Thu, 9 Apr 2015 09:39:51 +0000 (10:39 +0100)]
[Socket] Move SendTo related methods to their region

9 years ago[Socket] Move Send related methods to their region
Ludovic Henry [Wed, 8 Apr 2015 21:38:25 +0000 (22:38 +0100)]
[Socket] Move Send related methods to their region

9 years ago[Socket] Move ReceiveMessageFrom related methods to their region
Ludovic Henry [Wed, 8 Apr 2015 21:19:17 +0000 (22:19 +0100)]
[Socket] Move ReceiveMessageFrom related methods to their region

9 years ago[Socket] Move ReceiveFrom related methods to their region
Ludovic Henry [Wed, 8 Apr 2015 21:03:37 +0000 (22:03 +0100)]
[Socket] Move ReceiveFrom related methods to their region

9 years ago[Socket] Move Receive related methods to their region
Ludovic Henry [Wed, 8 Apr 2015 20:32:41 +0000 (21:32 +0100)]
[Socket] Move Receive related methods to their region

9 years ago[Socket] Move Disconnect related methods to their region
Ludovic Henry [Wed, 8 Apr 2015 20:12:24 +0000 (21:12 +0100)]
[Socket] Move Disconnect related methods to their region

9 years ago[Socket] Move Connect related methods to their region
Ludovic Henry [Wed, 8 Apr 2015 20:02:58 +0000 (21:02 +0100)]
[Socket] Move Connect related methods to their region

9 years ago[Socket] Move Accept related methods to their own region
Ludovic Henry [Wed, 8 Apr 2015 19:30:06 +0000 (20:30 +0100)]
[Socket] Move Accept related methods to their own region

9 years ago[Socket] Move properties to their own region
Ludovic Henry [Wed, 8 Apr 2015 19:05:16 +0000 (20:05 +0100)]
[Socket] Move properties to their own region

9 years ago[mini] Fixed ifdef warning.
João Matos [Thu, 9 Apr 2015 12:28:12 +0000 (13:28 +0100)]
[mini] Fixed ifdef warning.

/Users/joao/Dev/droid5.1/mono/mono/mini/unwind.c:71:18: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]

9 years ago[corlib] Generic comparers from reference sources
Marek Safar [Thu, 9 Apr 2015 12:26:05 +0000 (14:26 +0200)]
[corlib] Generic comparers from reference sources

9 years agoMerge pull request #1695 from gregoryyoung/master
Alex Rønne Petersen [Thu, 9 Apr 2015 10:09:53 +0000 (12:09 +0200)]
Merge pull request #1695 from gregoryyoung/master

add compilation instructions

9 years agoadd compilation instructions
Greg Young [Thu, 9 Apr 2015 10:03:26 +0000 (13:03 +0300)]
add compilation instructions

9 years ago[corlib] GetGenericArguments from reference sources
Marek Safar [Thu, 9 Apr 2015 09:37:33 +0000 (11:37 +0200)]
[corlib] GetGenericArguments from reference sources

9 years ago[jit] Rename gen_seq_points_debug_data to gen_sdb_seq_points.
Zoltan Varga [Thu, 9 Apr 2015 01:18:10 +0000 (21:18 -0400)]
[jit] Rename gen_seq_points_debug_data to gen_sdb_seq_points.

9 years ago[jit] Correctly disable seq points in wrapper on android.
Zoltan Varga [Thu, 9 Apr 2015 01:05:54 +0000 (21:05 -0400)]
[jit] Correctly disable seq points in wrapper on android.

9 years agoCorrect lengths of move_i4_to_f and move_f_to_i4
Neale Ferguson [Wed, 8 Apr 2015 22:59:33 +0000 (18:59 -0400)]
Correct lengths of move_i4_to_f and move_f_to_i4

9 years ago[aot] Exit with an error message if there's no managed allocator.
Mark Probst [Wed, 8 Apr 2015 21:23:28 +0000 (14:23 -0700)]
[aot] Exit with an error message if there's no managed allocator.

This can happen with various SGen debug options, like canaries.
See bug #28857

9 years agoFix centos badge and remove ppc badge in readme
Alexander Köplinger [Wed, 8 Apr 2015 20:43:43 +0000 (22:43 +0200)]
Fix centos badge and remove ppc badge in readme

The ppc Jenkins workers are offline right now and aren't expected to come back in the near future.

9 years agoFix some warnings.
Zoltan Varga [Wed, 8 Apr 2015 19:41:28 +0000 (15:41 -0400)]
Fix some warnings.

9 years ago[Socket] Move Select related methods to their own region
Ludovic Henry [Wed, 8 Apr 2015 18:34:02 +0000 (19:34 +0100)]
[Socket] Move Select related methods to their own region

9 years ago[configure] Fix windows cross compilation to generate the proper defines.
Rodrigo Kumpera [Wed, 8 Apr 2015 19:24:14 +0000 (15:24 -0400)]
[configure] Fix windows cross compilation to generate the proper defines.

9 years ago[jit] Fix the usage of host/target defines for amd64 and windows.
Rodrigo Kumpera [Wed, 8 Apr 2015 19:23:40 +0000 (15:23 -0400)]
[jit] Fix the usage of host/target defines for amd64 and windows.

9 years ago[runtime] Fix the file mmap api to correctly use the host/target defines.
Rodrigo Kumpera [Wed, 8 Apr 2015 19:19:56 +0000 (15:19 -0400)]
[runtime] Fix the file mmap api to correctly use the host/target defines.

9 years ago[runtime] Include sys/time.h to get struct timeval definition.
Zoltan Varga [Wed, 8 Apr 2015 19:01:17 +0000 (15:01 -0400)]
[runtime] Include sys/time.h to get struct timeval definition.

9 years ago[Socket] Move CheckProtocolSupport to static constructor
Ludovic Henry [Wed, 8 Apr 2015 18:29:51 +0000 (19:29 +0100)]
[Socket] Move CheckProtocolSupport to static constructor

9 years ago[Socket] Move Socket constructors to Socket.cs
Ludovic Henry [Wed, 8 Apr 2015 18:26:20 +0000 (19:26 +0100)]
[Socket] Move Socket constructors to Socket.cs

9 years ago[Socket] Move Socket fields out of Socket_2_1.cs to Socket.cs
Ludovic Henry [Wed, 8 Apr 2015 18:11:50 +0000 (19:11 +0100)]
[Socket] Move Socket fields out of Socket_2_1.cs to Socket.cs

9 years ago[corlib] TimeZoneInfo.AdjustmentRule from reference sources
Marek Safar [Wed, 8 Apr 2015 17:31:29 +0000 (19:31 +0200)]
[corlib] TimeZoneInfo.AdjustmentRule from reference sources

9 years ago[mini] Fixed stack unwinding / DWARF register numbers when doing x86 cross compilatio...
João Matos [Wed, 8 Apr 2015 17:28:24 +0000 (18:28 +0100)]
[mini] Fixed stack unwinding / DWARF register numbers when doing x86 cross compilation on OSX.

Eventually we want to add a better fix for this, like for instance adding this behaviour to the LLVM-specific code path
but until we can research more under exactly what conditions we need to do this then implement this simple workaround.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=27055.

9 years ago[Socket] Move SocketAsyncCall out of Socket_2_1.cs to SocketAsyncCallback.cs
Ludovic Henry [Wed, 8 Apr 2015 17:23:36 +0000 (18:23 +0100)]
[Socket] Move SocketAsyncCall out of Socket_2_1.cs to SocketAsyncCallback.cs

9 years ago[Socket] Move Worker out of Socket_2_1.cs to SocketAsyncWorker.cs
Ludovic Henry [Wed, 8 Apr 2015 16:56:56 +0000 (17:56 +0100)]
[Socket] Move Worker out of Socket_2_1.cs to SocketAsyncWorker.cs

9 years ago[Socket] Move SocketAsyncResult out of Socket_2_1.cs
Ludovic Henry [Wed, 8 Apr 2015 16:46:41 +0000 (17:46 +0100)]
[Socket] Move SocketAsyncResult out of Socket_2_1.cs

9 years ago[Socket] Move SocketOperation out of Socket_2_1.cs
Ludovic Henry [Wed, 8 Apr 2015 16:34:37 +0000 (17:34 +0100)]
[Socket] Move SocketOperation out of Socket_2_1.cs

9 years agoFix "make dist"
Alexander Köplinger [Wed, 8 Apr 2015 13:39:28 +0000 (15:39 +0200)]
Fix "make dist"

EXTRA_DIST still included files that were removed in 467ca088b6accb38f258197d03b5e872e0f663a6 and 4cd4437b1fa3d0e7dd22caa34228c00666c4a849.

9 years ago[corlib] More System types from reference sources
Marek Safar [Wed, 8 Apr 2015 15:34:52 +0000 (17:34 +0200)]
[corlib] More System types from reference sources

9 years ago[corlib] System delegates from reference sources
Marek Safar [Wed, 8 Apr 2015 15:06:58 +0000 (17:06 +0200)]
[corlib] System delegates from reference sources

9 years ago[corlib] System interfaces from reference sources
Marek Safar [Wed, 8 Apr 2015 14:10:24 +0000 (16:10 +0200)]
[corlib] System interfaces from reference sources

9 years ago[corlib] Console keys from reference sources
Marek Safar [Wed, 8 Apr 2015 13:33:46 +0000 (15:33 +0200)]
[corlib] Console keys from reference sources

9 years ago[metadata] Remove old monosn.c (we have a managed sn now).
Alex Rønne Petersen [Wed, 8 Apr 2015 14:48:05 +0000 (16:48 +0200)]
[metadata] Remove old monosn.c (we have a managed sn now).

9 years ago[corlib] System attributes from reference sources
Marek Safar [Wed, 8 Apr 2015 13:20:57 +0000 (15:20 +0200)]
[corlib] System attributes from reference sources

9 years ago[corlib] IO exceptions from reference sources
Marek Safar [Wed, 8 Apr 2015 13:04:41 +0000 (15:04 +0200)]
[corlib] IO exceptions from reference sources

9 years ago[mono.1] Document MONO_THREADPOOL
Miguel de Icaza [Wed, 8 Apr 2015 12:20:03 +0000 (08:20 -0400)]
[mono.1] Document MONO_THREADPOOL

9 years ago[corlib] TypeLoadException from reference sources
Marek Safar [Wed, 8 Apr 2015 11:25:16 +0000 (13:25 +0200)]
[corlib] TypeLoadException from reference sources

9 years ago[corlib] Add System.Object type handling in TypeInfo. Fixes #28369
Marek Safar [Wed, 8 Apr 2015 07:31:00 +0000 (09:31 +0200)]
[corlib] Add System.Object type handling in TypeInfo. Fixes #28369

9 years ago[aot] Enable partial sharing when using full aot.
Zoltan Varga [Wed, 8 Apr 2015 03:29:30 +0000 (23:29 -0400)]
[aot] Enable partial sharing when using full aot.

9 years ago[aot] Fix overflows when printing stats.
Zoltan Varga [Wed, 8 Apr 2015 03:29:11 +0000 (23:29 -0400)]
[aot] Fix overflows when printing stats.

9 years ago[llvm] Remove an arm restriction, its no longer needed.
Zoltan Varga [Wed, 8 Apr 2015 00:02:53 +0000 (20:02 -0400)]
[llvm] Remove an arm restriction, its no longer needed.

9 years ago[llvm] Fix the previous change.
Zoltan Varga [Tue, 7 Apr 2015 23:51:40 +0000 (19:51 -0400)]
[llvm] Fix the previous change.

9 years ago[llvm] Avoid generating invalid llvm il for volatile sbyte variables.
Zoltan Varga [Tue, 7 Apr 2015 23:47:02 +0000 (19:47 -0400)]
[llvm] Avoid generating invalid llvm il for volatile sbyte variables.

9 years agoRevert "[configure] Clean up target name matching for $host != $target case."
Zoltan Varga [Tue, 7 Apr 2015 22:18:16 +0000 (18:18 -0400)]
Revert "[configure] Clean up target name matching for $host != $target case."

This reverts commit 53f55647a5ac698eff594834ccdadea4bfb4c181.

Revert this as it breaks the mobile build.

9 years ago[runtime] Update the offsets table for amd64.
Rodrigo Kumpera [Tue, 7 Apr 2015 22:03:38 +0000 (17:03 -0500)]
[runtime] Update the offsets table for amd64.

9 years ago[jit] Disable deadce in the liveness2 pass as well when compiling for sdb. Fixes...
Zoltan Varga [Tue, 7 Apr 2015 21:50:44 +0000 (17:50 -0400)]
[jit] Disable deadce in the liveness2 pass as well when compiling for sdb. Fixes #28847.

9 years ago[utils] Use open instead of fopen on unix targets.
Rodrigo Kumpera [Tue, 7 Apr 2015 21:14:16 +0000 (16:14 -0500)]
[utils] Use open instead of fopen on unix targets.

9 years agoportability fixes.
Rodrigo Kumpera [Tue, 7 Apr 2015 21:13:41 +0000 (16:13 -0500)]
portability fixes.

9 years ago[System.ServiceModel.Internals] Cleanup makefile
Marek Safar [Tue, 7 Apr 2015 20:57:08 +0000 (22:57 +0200)]
[System.ServiceModel.Internals] Cleanup makefile

9 years ago[runtime] Make some threadpool icalls non static to fix the mobile build.
Zoltan Varga [Tue, 7 Apr 2015 20:29:05 +0000 (16:29 -0400)]
[runtime] Make some threadpool icalls non static to fix the mobile build.

9 years ago[corlib] Add back some helper methods to String which were removed during the transit...
Zoltan Varga [Tue, 7 Apr 2015 20:28:41 +0000 (16:28 -0400)]
[corlib] Add back some helper methods to String which were removed during the transition to reference sources.

9 years ago[configure] Clean up target name matching for $host != $target case.
Alex Rønne Petersen [Tue, 7 Apr 2015 20:24:48 +0000 (22:24 +0200)]
[configure] Clean up target name matching for $host != $target case.

We fully control the $target values here as we don't use canonicalization for
them. So we have no reason or excuse to be using wildcards in them.

E.g. any Linux $target in this case would previously be assumed to be Android.

9 years ago[jit] Make mono_thread_state_init_from_sigctx work with a coop cross compiler.
Rodrigo Kumpera [Tue, 7 Apr 2015 20:03:32 +0000 (16:03 -0400)]
[jit] Make mono_thread_state_init_from_sigctx work with a coop cross compiler.

9 years ago[configure] Add new target.
Rodrigo Kumpera [Tue, 7 Apr 2015 20:02:48 +0000 (16:02 -0400)]
[configure] Add new target.

9 years ago[SMDiagnostics] Fixes mobile build
Marek Safar [Tue, 7 Apr 2015 18:20:39 +0000 (20:20 +0200)]
[SMDiagnostics] Fixes mobile build

9 years ago[corlib] Fixes mobile build
Marek Safar [Tue, 7 Apr 2015 17:58:08 +0000 (19:58 +0200)]
[corlib] Fixes mobile build

9 years ago[system.data] Fixes mobile build
Marek Safar [Tue, 7 Apr 2015 17:34:20 +0000 (19:34 +0200)]
[system.data] Fixes mobile build

9 years ago[mini] Support MONO_PROFILER_CODE_BUFFER_EXCEPTION_HANDLING on PPC.
Alex Rønne Petersen [Tue, 7 Apr 2015 17:19:54 +0000 (19:19 +0200)]
[mini] Support MONO_PROFILER_CODE_BUFFER_EXCEPTION_HANDLING on PPC.

9 years ago[mini] Support MONO_PROFILER_CODE_BUFFER_EXCEPTION_HANDLING on x86.
Alex Rønne Petersen [Tue, 7 Apr 2015 17:14:58 +0000 (19:14 +0200)]
[mini] Support MONO_PROFILER_CODE_BUFFER_EXCEPTION_HANDLING on x86.

9 years ago[mini] Support MONO_PROFILER_CODE_BUFFER_EXCEPTION_HANDLING on MIPS.
Alex Rønne Petersen [Tue, 7 Apr 2015 17:14:39 +0000 (19:14 +0200)]
[mini] Support MONO_PROFILER_CODE_BUFFER_EXCEPTION_HANDLING on MIPS.

9 years agoMerge pull request #1684 from Garciat/fix-zlib-helper
João Matos [Tue, 7 Apr 2015 16:31:12 +0000 (17:31 +0100)]
Merge pull request #1684 from Garciat/fix-zlib-helper

[System] Fix DeflateStream throw on empty flush, double flush. Fixes #28777