mono.git
11 years ago[System.Core] Remove generic indirection for ToArray
Jérémie Laval [Tue, 4 Sep 2012 11:12:57 +0000 (12:12 +0100)]
[System.Core] Remove generic indirection for ToArray

11 years ago[System.Core] Remove generic indirection for ToList
Jérémie Laval [Tue, 4 Sep 2012 11:12:00 +0000 (12:12 +0100)]
[System.Core] Remove generic indirection for ToList

11 years agoGet rid of some HAVE_SGEN_GC ifdefs from gc-internals.h, it could be included in...
Zoltan Varga [Tue, 4 Sep 2012 10:52:50 +0000 (12:52 +0200)]
Get rid of some HAVE_SGEN_GC ifdefs from gc-internals.h, it could be included in the JIT code which shouldn't have compile time dependencies on GC type.

11 years agoTransition the minor/major GC stats to the counters infrastructure.
Zoltan Varga [Tue, 4 Sep 2012 10:42:19 +0000 (12:42 +0200)]
Transition the minor/major GC stats to the counters infrastructure.

11 years agoAvoid linking libmini_static against any libraries, the executables link against...
Zoltan Varga [Tue, 4 Sep 2012 09:57:35 +0000 (11:57 +0200)]
Avoid linking libmini_static against any libraries, the executables link against them.

11 years agoBetter check for intermediate value modifications. Fixes #6763
Marek Safar [Tue, 4 Sep 2012 07:03:50 +0000 (09:03 +0200)]
Better check for intermediate value modifications. Fixes #6763

11 years agoAvoid disabling the new interrupt machinery when using sdb, it doesn't seem to be...
Zoltan Varga [Tue, 4 Sep 2012 00:22:12 +0000 (02:22 +0200)]
Avoid disabling the new interrupt machinery when using sdb, it doesn't seem to be needed any more.

11 years agoBuild libmono and libmonosgen using a common convenience library as well.
Zoltan Varga [Mon, 3 Sep 2012 22:59:59 +0000 (00:59 +0200)]
Build libmono and libmonosgen using a common convenience library as well.

11 years agoAdd a workaround for #5432 to EncodingInfoTest.
Zoltan Varga [Mon, 3 Sep 2012 18:47:46 +0000 (20:47 +0200)]
Add a workaround for #5432 to EncodingInfoTest.

11 years ago[System.Core] Remove a source of generic indirection
Jérémie Laval [Mon, 3 Sep 2012 18:33:13 +0000 (19:33 +0100)]
[System.Core] Remove a source of generic indirection

11 years agoRemove some more references to libmono-static/libmonosgen-static.
Zoltan Varga [Mon, 3 Sep 2012 18:12:12 +0000 (20:12 +0200)]
Remove some more references to libmono-static/libmonosgen-static.

11 years agoAnother attempt at avoiding compiling files in mini/ 6 times. Replace libmono-static...
Zoltan Varga [Mon, 3 Sep 2012 18:04:31 +0000 (20:04 +0200)]
Another attempt at avoiding compiling files in mini/ 6 times. Replace libmono-static and libmonosgen-static with a libmini-static convenience library, and link mono and mono-sgen against it.

11 years agoRemove *.exe.dylib.dSYM files too in the mini aotcheck target.
Zoltan Varga [Mon, 3 Sep 2012 17:53:43 +0000 (19:53 +0200)]
Remove *.exe.dylib.dSYM files too in the mini aotcheck target.

11 years agoAllow constructors to be called like regular methods. Fixes #4183
Rodrigo Kumpera [Mon, 3 Sep 2012 15:10:55 +0000 (12:10 -0300)]
Allow constructors to be called like regular methods. Fixes #4183

* verify.c: MS allows constructors to be called like regular
methods, so we allow it under non-strict mode.

11 years agoEnsure the targets files are copied for net_4_5 tests
Alan McGovern [Mon, 3 Sep 2012 12:21:08 +0000 (05:21 -0700)]
Ensure the targets files are copied for net_4_5 tests

This should greenify the build.

11 years agoMerge pull request #444 from knocte/xbuild_improvements
Ankit Jain [Mon, 3 Sep 2012 11:28:32 +0000 (04:28 -0700)]
Merge pull request #444 from knocte/xbuild_improvements

MSBuild.Engine: use a buildtask enumerator that throws exceptions

11 years agoxbuild: fix style in test
Andres G. Aragoneses [Mon, 3 Sep 2012 10:38:39 +0000 (11:38 +0100)]
xbuild: fix style in test

Pointed out by Ankit.

11 years agoMerge branch 'xbuild_improvements' of github.com:knocte/mono into xbuild_improvements
Andres G. Aragoneses [Mon, 3 Sep 2012 10:33:22 +0000 (11:33 +0100)]
Merge branch 'xbuild_improvements' of github.com:knocte/mono into xbuild_improvements

11 years agoCapture async block variable when variable scope yields
Marek Safar [Mon, 3 Sep 2012 08:17:51 +0000 (10:17 +0200)]
Capture async block variable when variable scope yields

11 years agoCapture iterator variable when variable scope yields. Fixes #6587
Marek Safar [Sun, 2 Sep 2012 16:46:16 +0000 (18:46 +0200)]
Capture iterator variable when variable scope yields. Fixes #6587

11 years agoMerge pull request #446 from UCIS/master
Miguel de Icaza [Sun, 2 Sep 2012 16:46:05 +0000 (09:46 -0700)]
Merge pull request #446 from UCIS/master

Patch for bug #6718 - incorrect release of XPCOM object causing segmention fault

11 years agoExpand default parameter array type arguments. Fixes #6679
Marek Safar [Sun, 2 Sep 2012 10:29:54 +0000 (12:29 +0200)]
Expand default parameter array type arguments. Fixes #6679

11 years agoRemove *.exe.dylib files too in the mini aotcheck target.
Zoltan Varga [Fri, 31 Aug 2012 23:26:07 +0000 (01:26 +0200)]
Remove *.exe.dylib files too in the mini aotcheck target.

11 years agoFix a typo.
Zoltan Varga [Fri, 31 Aug 2012 11:57:10 +0000 (13:57 +0200)]
Fix a typo.

11 years agoAdd a target to run the JIT GC tests.
Zoltan Varga [Thu, 30 Aug 2012 19:58:59 +0000 (21:58 +0200)]
Add a target to run the JIT GC tests.

11 years agoAdd a test for #6755.
Zoltan Varga [Thu, 30 Aug 2012 19:55:57 +0000 (21:55 +0200)]
Add a test for #6755.

11 years agoFix an off-by-one in the computation of the TLS reference bitmaps. Fixes #6755.
Zoltan Varga [Thu, 30 Aug 2012 19:55:45 +0000 (21:55 +0200)]
Fix an off-by-one in the computation of the TLS reference bitmaps. Fixes #6755.

11 years ago[Microsoft.Build.Tasks] Don't throw if duplicate dependencies are found
Alan McGovern [Thu, 30 Aug 2012 00:22:23 +0000 (01:22 +0100)]
[Microsoft.Build.Tasks] Don't throw if duplicate dependencies are found

We should use the dictionary setter instead of the Add method so that
we do not get an exception if the same Nth order dependency is found
multiple times

11 years ago[Microsoft.Build.Tasks] Fix several bugs in ResolveAssemblyReference
Alan McGovern [Wed, 29 Aug 2012 11:08:47 +0000 (12:08 +0100)]
[Microsoft.Build.Tasks] Fix several bugs in ResolveAssemblyReference

XBuild was adding both the primary references and nth-order references
to the ResolvedFiles output variable. This meant that dependent assemblies
were being added to the commandline passed to the compiler which caused
all sorts of issues.

Fixes bug https://bugzilla.xamarin.com/show_bug.cgi?id=6708 and adds
tests to cover the changes to ensure they are correct.

11 years agoGet rid of the debug_count () functions in various files, use mono_debug_count (...
Zoltan Varga [Wed, 29 Aug 2012 09:34:45 +0000 (11:34 +0200)]
Get rid of the debug_count () functions in various files, use mono_debug_count () instead.

11 years agoPrint more detailed information about call instructions in mono_print_ins ().
Zoltan Varga [Tue, 28 Aug 2012 09:49:27 +0000 (11:49 +0200)]
Print more detailed information about call instructions in mono_print_ins ().

11 years agoAdd a gsctx argument to mono_arch_get_argument_info ().
Zoltan Varga [Fri, 24 Aug 2012 17:16:36 +0000 (19:16 +0200)]
Add a gsctx argument to mono_arch_get_argument_info ().

11 years agoSimplify mono_class_get_runtime_generic_context_template (), call get_shared_class...
Zoltan Varga [Fri, 24 Aug 2012 07:50:13 +0000 (09:50 +0200)]
Simplify mono_class_get_runtime_generic_context_template (), call get_shared_class () in a few places in the gshared code.

11 years agoShorten some type/functions names in the generic sharing code. Add comments/debug...
Zoltan Varga [Fri, 24 Aug 2012 07:47:16 +0000 (09:47 +0200)]
Shorten some type/functions names in the generic sharing code. Add comments/debug messages.

11 years agoAdd mono_debug_count () helper function to aid in runtime debugging.
Zoltan Varga [Thu, 23 Aug 2012 18:48:29 +0000 (20:48 +0200)]
Add mono_debug_count () helper function to aid in runtime debugging.

11 years agoAdd a 'serial' attribute to MonoGenericParam to allow different versions of a generic...
Zoltan Varga [Thu, 23 Aug 2012 18:37:40 +0000 (20:37 +0200)]
Add a 'serial' attribute to MonoGenericParam to allow different versions of a generic type parameter.

11 years agoAdd wrapper info for generic array helper wrappers.
Zoltan Varga [Thu, 23 Aug 2012 16:40:49 +0000 (18:40 +0200)]
Add wrapper info for generic array helper wrappers.

11 years agoFix up the dwarf debug info for trampolines.
Zoltan Varga [Wed, 22 Aug 2012 09:54:08 +0000 (11:54 +0200)]
Fix up the dwarf debug info for trampolines.

11 years agoMerge pull request #447 from zyzniewski/master
Marek Safar [Tue, 28 Aug 2012 14:23:52 +0000 (07:23 -0700)]
Merge pull request #447 from zyzniewski/master

OnPingCompleted

11 years agocall the event after async operation's completed
Tomasz Żyźniewski [Tue, 28 Aug 2012 14:12:51 +0000 (16:12 +0200)]
call the event after async operation's completed

11 years agoPatch for bug #6718 - incorrect release of XPCOM object causing segmentation fault
Ivo Smits [Tue, 28 Aug 2012 01:08:05 +0000 (03:08 +0200)]
Patch for bug #6718 - incorrect release of XPCOM object causing segmentation fault

11 years agoIncorrect comment syntax was breaking compile time configure check for large file...
Michael Goff [Thu, 31 May 2012 22:11:00 +0000 (15:11 -0700)]
Incorrect comment syntax was breaking compile time configure check for large file support

11 years agoModified the large file support check to do a compile-time check instead of a run...
Michael Goff [Thu, 26 Apr 2012 16:49:41 +0000 (09:49 -0700)]
Modified the large file support check to do a compile-time check instead of a run-time check so that cross compile does the right thing.

11 years ago[Mono.Data.Sqlite] Use a prebuilt resources file like Managed.Windows.Forms does.
Rolf Bjarne Kvinge [Wed, 2 Nov 2011 11:11:47 +0000 (12:11 +0100)]
[Mono.Data.Sqlite] Use a prebuilt resources file like Managed.Windows.Forms does.

This makes it possible to build the monotouch profile, since generating the resources
file requires a System.Windows.Forms.dll, which monotouch doesn't have.

11 years agoAvoid direct access to /dev/shm on some platforms.
Paolo Molaro [Mon, 27 Aug 2012 08:14:16 +0000 (10:14 +0200)]
Avoid direct access to /dev/shm on some platforms.

11 years ago[M4A] Do not reset 'errors' and 'status11' when a certificate is trusted. Fix last...
Sebastien Pouliot [Thu, 23 Aug 2012 20:39:57 +0000 (16:39 -0400)]
[M4A] Do not reset 'errors' and 'status11' when a certificate is trusted. Fix last part of #5706

11 years ago[OSX|iOS] Do not reset 'errors' and 'status11' when a certificate is trusted. Use...
Sebastien Pouliot [Thu, 23 Aug 2012 20:37:23 +0000 (16:37 -0400)]
[OSX|iOS] Do not reset 'errors' and 'status11' when a certificate is trusted. Use the OS to validate the certificate (as valid for SSL server usage) and for the host name checks. Fix parts of #5706

11 years agoFix binding (type) and value error (true) that could lead to error #5 (kSecTrustResul...
Sebastien Pouliot [Thu, 23 Aug 2012 14:47:37 +0000 (10:47 -0400)]
Fix binding (type) and value error (true) that could lead to error #5 (kSecTrustResultRecoverableTrustFailure) for valid certificates. Fix bug #4001

11 years agoMSBuild.Engine: use a buildtask enumerator that throws exceptions
Andres G. Aragoneses [Wed, 22 Aug 2012 23:08:32 +0000 (00:08 +0100)]
MSBuild.Engine: use a buildtask enumerator that throws exceptions

InvalidOperationExceptions were not being thrown when asking for the
Current element if the enumerator had finished (or not started)
iterating.

11 years ago[xbuild] Fixed Microsoft.Portable.CSharp.targets to use smcs
Jeffrey Stedfast [Wed, 22 Aug 2012 17:43:36 +0000 (13:43 -0400)]
[xbuild] Fixed Microsoft.Portable.CSharp.targets to use smcs

Fixes bug #6649

11 years agoBetter error message for ref/out argument mismatch
Marek Safar [Tue, 21 Aug 2012 12:44:28 +0000 (14:44 +0200)]
Better error message for ref/out argument mismatch

11 years agoMerge Alexander Chebaturkin SoC 2012 changes
Marek Safar [Tue, 21 Aug 2012 11:58:28 +0000 (13:58 +0200)]
Merge Alexander Chebaturkin SoC 2012 changes

During the Google Summer of Code, I was required to implement Interval Analysis for Code Contracts static verifier (cccheck tool). Please see information of changes at http://chebaturkin.blogspot.com/2012/08/code-contracts-static-verifier.html.

11 years agoEscape windows paths in DWARF debug info.
Zoltan Varga [Mon, 20 Aug 2012 10:08:12 +0000 (12:08 +0200)]
Escape windows paths in DWARF debug info.

11 years agoMerge pull request #435 from mono-soc-2012/svick/dataflow
Jérémie Laval [Mon, 20 Aug 2012 00:24:22 +0000 (17:24 -0700)]
Merge pull request #435 from mono-soc-2012/svick/dataflow

Svick/dataflow

11 years agoFixed race condition in Receive()
Petr Onderka [Sun, 19 Aug 2012 23:38:13 +0000 (01:38 +0200)]
Fixed race condition in Receive()

11 years agoProject file changes by Visual Studio
Petr Onderka [Sun, 19 Aug 2012 23:37:35 +0000 (01:37 +0200)]
Project file changes by Visual Studio

11 years agoFixed race condition in race condition test
Petr Onderka [Sun, 19 Aug 2012 19:29:01 +0000 (21:29 +0200)]
Fixed race condition in race condition test

11 years agoFinished adding documentation for non-public types and methods
Petr Onderka [Sun, 19 Aug 2012 18:34:18 +0000 (20:34 +0200)]
Finished adding documentation for non-public types and methods

11 years agoRemoved nonsensical lock
Petr Onderka [Sun, 19 Aug 2012 17:01:20 +0000 (19:01 +0200)]
Removed nonsensical lock

11 years agoCorrectly implemented Choose()
Petr Onderka [Sun, 19 Aug 2012 15:41:22 +0000 (17:41 +0200)]
Correctly implemented Choose()

11 years agoStarted adding documentation for non-public types and methods
Petr Onderka [Sat, 18 Aug 2012 21:24:31 +0000 (23:24 +0200)]
Started adding documentation for non-public types and methods

Also some minor refactoring

11 years agoFixed completion of PropagatorWrapperBlock
Petr Onderka [Sat, 18 Aug 2012 20:23:51 +0000 (22:23 +0200)]
Fixed completion of PropagatorWrapperBlock

11 years agoRemoved nonsensical call that didn't actually do anything
Petr Onderka [Sat, 18 Aug 2012 18:53:05 +0000 (20:53 +0200)]
Removed nonsensical call that didn't actually do anything

11 years agoNo need to start new Task if there is only one item in the queue
Petr Onderka [Wed, 15 Aug 2012 13:00:25 +0000 (15:00 +0200)]
No need to start new Task if there is only one item in the queue

11 years agoSome tests need more time
Petr Onderka [Mon, 13 Aug 2012 22:01:49 +0000 (00:01 +0200)]
Some tests need more time

11 years agoWork around issue with old NUnit and comparing collections
Petr Onderka [Mon, 13 Aug 2012 22:01:21 +0000 (00:01 +0200)]
Work around issue with old NUnit and comparing collections

11 years agoDon't cancel unstarted Tasks on cancellation
Petr Onderka [Mon, 13 Aug 2012 21:16:41 +0000 (23:16 +0200)]
Don't cancel unstarted Tasks on cancellation

Unstarted Tasks can't be cancelled, because they have to
correctly modify degreeOfParallelism.

11 years agoFixed unit test to work with old NUnit
Petr Onderka [Mon, 13 Aug 2012 14:40:22 +0000 (16:40 +0200)]
Fixed unit test to work with old NUnit

11 years agoHandle consumeToAccept with MaxNumberOfGroups correctly
Petr Onderka [Wed, 8 Aug 2012 22:01:53 +0000 (00:01 +0200)]
Handle consumeToAccept with MaxNumberOfGroups correctly

11 years agoStore multiple exceptions in Completion correctly
Petr Onderka [Wed, 8 Aug 2012 20:34:54 +0000 (22:34 +0200)]
Store multiple exceptions in Completion correctly

11 years agoAdded test for MaxMessages with BroadcastBlock
Petr Onderka [Wed, 8 Aug 2012 20:33:46 +0000 (22:33 +0200)]
Added test for MaxMessages with BroadcastBlock

11 years agoconsumeToAccept shouldn't reserve
Petr Onderka [Sat, 4 Aug 2012 16:27:57 +0000 (18:27 +0200)]
consumeToAccept shouldn't reserve

11 years agoMake sure cancellation behaves the same as faulting wrt output queue
Petr Onderka [Sat, 4 Aug 2012 16:26:05 +0000 (18:26 +0200)]
Make sure cancellation behaves the same as faulting wrt output queue

11 years agoImplemented execution block ctors for async actions
Petr Onderka [Wed, 25 Jul 2012 19:58:06 +0000 (21:58 +0200)]
Implemented execution block ctors for async actions

11 years agoImplemented NullTarget()
Petr Onderka [Mon, 23 Jul 2012 19:25:06 +0000 (21:25 +0200)]
Implemented NullTarget()

11 years agoFixed declaration differences
Petr Onderka [Mon, 23 Jul 2012 18:32:03 +0000 (20:32 +0200)]
Fixed declaration differences

11 years agoMade block interfaces variant
Petr Onderka [Mon, 23 Jul 2012 17:52:09 +0000 (19:52 +0200)]
Made block interfaces variant

11 years agoFixed race condition in OfferMessage()
Petr Onderka [Mon, 23 Jul 2012 17:12:44 +0000 (19:12 +0200)]
Fixed race condition in OfferMessage()

11 years agoCheck key for null in ConcurrentDictionary
Petr Onderka [Wed, 18 Jul 2012 17:30:43 +0000 (19:30 +0200)]
Check key for null in ConcurrentDictionary

11 years agoForgot to use AssertEx
Petr Onderka [Wed, 18 Jul 2012 16:04:22 +0000 (18:04 +0200)]
Forgot to use AssertEx

11 years agoAdded forgotten files to sources
Petr Onderka [Wed, 18 Jul 2012 16:02:51 +0000 (18:02 +0200)]
Added forgotten files to sources

11 years agoThrow the correct exception if Receive() is cancelled
Petr Onderka [Sat, 21 Jul 2012 19:44:17 +0000 (21:44 +0200)]
Throw the correct exception if Receive() is cancelled

11 years agoCheck for null target in ConsumeMessage()
Petr Onderka [Sat, 21 Jul 2012 19:35:16 +0000 (21:35 +0200)]
Check for null target in ConsumeMessage()

Previously, the correct exception was thrown later on,
but only by accident.

11 years agoOnly reserved can be consumed after fault
Petr Onderka [Sat, 21 Jul 2012 18:46:12 +0000 (20:46 +0200)]
Only reserved can be consumed after fault

11 years agoDidn't check for null target in LinkTo() with predicate
Petr Onderka [Sat, 21 Jul 2012 18:15:34 +0000 (20:15 +0200)]
Didn't check for null target in LinkTo() with predicate

11 years agoImplemented OutputAvailableAsync()
Petr Onderka [Sat, 21 Jul 2012 18:12:27 +0000 (20:12 +0200)]
Implemented OutputAvailableAsync()

11 years agoImplemented LinkTo() with predicate
Petr Onderka [Fri, 20 Jul 2012 21:45:16 +0000 (23:45 +0200)]
Implemented LinkTo() with predicate

11 years agoFixed sending from WriteOnceBlock
Petr Onderka [Thu, 19 Jul 2012 21:06:40 +0000 (23:06 +0200)]
Fixed sending from WriteOnceBlock

11 years agoFixed sending from BroadcastBlock
Petr Onderka [Thu, 19 Jul 2012 19:51:17 +0000 (21:51 +0200)]
Fixed sending from BroadcastBlock

11 years agoCorrected Receive() and ReceiveAsync()
Petr Onderka [Wed, 18 Jul 2012 20:30:58 +0000 (22:30 +0200)]
Corrected Receive() and ReceiveAsync()

11 years agoValid header can't have id 0
Petr Onderka [Wed, 18 Jul 2012 15:52:46 +0000 (17:52 +0200)]
Valid header can't have id 0

11 years agoImplemented SendAsync()
Petr Onderka [Mon, 16 Jul 2012 20:43:03 +0000 (22:43 +0200)]
Implemented SendAsync()

11 years agoRelease postponed messages after Complete()
Petr Onderka [Mon, 16 Jul 2012 18:05:36 +0000 (20:05 +0200)]
Release postponed messages after Complete()

11 years agoReleaseReservation() means the message is no longer postponed
Petr Onderka [Mon, 16 Jul 2012 17:19:45 +0000 (19:19 +0200)]
ReleaseReservation() means the message is no longer postponed

11 years agoHandle completion correctly in Receive()
Petr Onderka [Mon, 16 Jul 2012 14:45:43 +0000 (16:45 +0200)]
Handle completion correctly in Receive()

11 years agonew CancellationTokenRegistration().Dispose() shouldn't throw
Petr Onderka [Sat, 7 Jul 2012 22:57:15 +0000 (18:57 -0400)]
new CancellationTokenRegistration().Dispose() shouldn't throw

11 years agoVerify arguments in public methods
Petr Onderka [Wed, 11 Jul 2012 16:52:52 +0000 (18:52 +0200)]
Verify arguments in public methods

11 years agoNegative header ids should be valid
Petr Onderka [Wed, 11 Jul 2012 13:14:38 +0000 (15:14 +0200)]
Negative header ids should be valid

11 years agoMade tests compatible with NUnit 2.4
Petr Onderka [Mon, 9 Jul 2012 16:30:30 +0000 (18:30 +0200)]
Made tests compatible with NUnit 2.4

11 years agoAdded support for MaxNumberOfGroups
Petr Onderka [Sun, 8 Jul 2012 20:48:03 +0000 (22:48 +0200)]
Added support for MaxNumberOfGroups