mono.git
12 years agoDon't send the buffered request until GetResponse is called
Gonzalo Paniagua Javier [Sun, 16 Oct 2011 05:57:41 +0000 (01:57 -0400)]
Don't send the buffered request until GetResponse is called

Allows changing some header values after writing the request until the
call to (Begin)GetResponse()

12 years agoDon't 404 when any of the hashes has a / in it
Gonzalo Paniagua Javier [Sun, 16 Oct 2011 04:12:46 +0000 (00:12 -0400)]
Don't 404 when any of the hashes has a / in it

This fixes "random" problems getting resources served by
WebResource.axd.

12 years agoMinor s390x fixes and update for memory barriers
Neale Ferguson [Sun, 16 Oct 2011 00:49:55 +0000 (20:49 -0400)]
Minor s390x fixes and update for memory barriers

12 years agoMake ManualResetEventSlim Dispose/(Set,Reset) combo a bit safer. Add unit test.
Jérémie Laval [Sat, 15 Oct 2011 19:13:36 +0000 (21:13 +0200)]
Make ManualResetEventSlim Dispose/(Set,Reset) combo a bit safer. Add unit test.

12 years agoMove files around
Jérémie Laval [Sat, 15 Oct 2011 17:48:54 +0000 (19:48 +0200)]
Move files around

12 years agoRemove need for a delegate instance in CountdownEvent and just apply the specific...
Jérémie Laval [Sat, 15 Oct 2011 17:41:27 +0000 (19:41 +0200)]
Remove need for a delegate instance in CountdownEvent and just apply the specific test everytime

12 years agoFirst take at an updated Task.WaitAll
Jérémie Laval [Sat, 15 Oct 2011 17:34:40 +0000 (19:34 +0200)]
First take at an updated Task.WaitAll

12 years agoUpdate lastest two task unit tests
Jérémie Laval [Sat, 15 Oct 2011 17:27:06 +0000 (19:27 +0200)]
Update lastest two task unit tests

12 years agoFix ListPop
Jérémie Laval [Sat, 15 Oct 2011 17:26:37 +0000 (19:26 +0200)]
Fix ListPop

12 years agoInsert the unregister call in the finally handler too
Jérémie Laval [Sat, 15 Oct 2011 14:35:01 +0000 (16:35 +0200)]
Insert the unregister call in the finally handler too

12 years agoClean event registration when wait is unsuccessful
Jérémie Laval [Sat, 15 Oct 2011 13:33:53 +0000 (15:33 +0200)]
Clean event registration when wait is unsuccessful

12 years agoAdd unit test for when multiple wait are registered on a single task
Jérémie Laval [Sat, 15 Oct 2011 13:23:29 +0000 (15:23 +0200)]
Add unit test for when multiple wait are registered on a single task

12 years agoEnsure there is no mutually exclusive TaskContinuationOptions parameters when registe...
Jérémie Laval [Sat, 15 Oct 2011 13:18:46 +0000 (15:18 +0200)]
Ensure there is no mutually exclusive TaskContinuationOptions parameters when registering continuations

12 years agoMove CompletionContainer to use ConcurrentOrderedList to allows easier removal
Jérémie Laval [Sat, 15 Oct 2011 12:53:12 +0000 (14:53 +0200)]
Move CompletionContainer to use ConcurrentOrderedList to allows easier removal

12 years agoAdd a pop front operation to ConcurrentOrderedList
Jérémie Laval [Sat, 15 Oct 2011 12:51:38 +0000 (14:51 +0200)]
Add a pop front operation to ConcurrentOrderedList

12 years agoRemove schedWait event since it's not needed anymore by waiting code
Jérémie Laval [Sat, 15 Oct 2011 12:51:04 +0000 (14:51 +0200)]
Remove schedWait event since it's not needed anymore by waiting code

12 years agoDisable the error checking for MONO_GC_PARAMS in boehm, to avoid erroring out when...
Zoltan Varga [Fri, 14 Oct 2011 13:35:49 +0000 (15:35 +0200)]
Disable the error checking for MONO_GC_PARAMS in boehm, to avoid erroring out when sgen parameters are passed to it

12 years agoFix a crash with precise stack marking and dying threads
Zoltan Varga [Fri, 14 Oct 2011 13:35:08 +0000 (15:35 +0200)]
Fix a crash with precise stack marking and dying threads

12 years agoUpdate Wait and WaitAny with event disposal and single execution flow
Jérémie Laval [Fri, 14 Oct 2011 12:50:04 +0000 (14:50 +0200)]
Update Wait and WaitAny with event disposal and single execution flow

12 years agoCall correctly Dipose in CoutdownEvent
Jérémie Laval [Fri, 14 Oct 2011 12:48:24 +0000 (14:48 +0200)]
Call correctly Dipose in CoutdownEvent

12 years agoUpdate ManualResetEventSlim to handle disposal correctly
Jérémie Laval [Fri, 14 Oct 2011 12:47:49 +0000 (14:47 +0200)]
Update ManualResetEventSlim to handle disposal correctly

12 years agoChange a g_warning to a DEBUG which can happen in normal use
Zoltan Varga [Fri, 14 Oct 2011 12:49:34 +0000 (14:49 +0200)]
Change a g_warning to a DEBUG which can happen in normal use

12 years agoAdd more Task tests
Marek Safar [Fri, 14 Oct 2011 12:10:06 +0000 (13:10 +0100)]
Add more Task tests

12 years agoDon't special casee adding a TaskCanceledException to the AggregateException list
Jérémie Laval [Fri, 14 Oct 2011 11:51:44 +0000 (13:51 +0200)]
Don't special casee adding a TaskCanceledException to the AggregateException list

12 years agoMake IsCompleted property faster by doing only one comparison
Jérémie Laval [Fri, 14 Oct 2011 11:51:00 +0000 (13:51 +0200)]
Make IsCompleted property faster by doing only one comparison

12 years agoRefactor Wait* task initial parameter checkup
Jérémie Laval [Fri, 14 Oct 2011 11:50:16 +0000 (13:50 +0200)]
Refactor Wait* task initial parameter checkup

12 years agoDon't fallback to Wait in WaitAny so that undesirable exception aren't propagated
Jérémie Laval [Fri, 14 Oct 2011 09:18:36 +0000 (11:18 +0200)]
Don't fallback to Wait in WaitAny so that undesirable exception aren't propagated

12 years agoRemove SchedulerProxy
Jérémie Laval [Thu, 13 Oct 2011 20:14:29 +0000 (22:14 +0200)]
Remove SchedulerProxy

12 years agoFix compilation of Task unit tests for net_4_0
Jérémie Laval [Thu, 13 Oct 2011 20:11:45 +0000 (22:11 +0200)]
Fix compilation of Task unit tests for net_4_0

12 years agoCache watch usage
Jérémie Laval [Thu, 13 Oct 2011 20:09:00 +0000 (22:09 +0200)]
Cache watch usage

12 years agoFix stuff then went awry with the merge
Jérémie Laval [Thu, 13 Oct 2011 20:04:18 +0000 (22:04 +0200)]
Fix stuff then went awry with the merge

12 years agoTune Marek's work on Task.WaitAny, Task.Wait and Task.WaitAll
Jérémie Laval [Thu, 13 Oct 2011 19:40:51 +0000 (21:40 +0200)]
Tune Marek's work on Task.WaitAny, Task.Wait and Task.WaitAll

12 years agoFix a race in Task.WaitAny
Marek Safar [Thu, 13 Oct 2011 18:16:10 +0000 (19:16 +0100)]
Fix a race in Task.WaitAny

12 years agoFixes Task.WaitAny with further fixes to Task.Wait
Marek Safar [Thu, 13 Oct 2011 16:32:55 +0000 (17:32 +0100)]
Fixes Task.WaitAny with further fixes to Task.Wait

12 years agoCancellationTokenSource is no longer sealed
Marek Safar [Wed, 12 Oct 2011 13:38:54 +0000 (14:38 +0100)]
CancellationTokenSource is no longer sealed

12 years agoFix a warning plus a typo
Zoltan Varga [Thu, 13 Oct 2011 06:15:36 +0000 (08:15 +0200)]
Fix a warning plus a typo

12 years agoFix an assert in sgen when mono_gc_set_current_thread_appdomain () is called from...
Zoltan Varga [Thu, 13 Oct 2011 06:14:11 +0000 (08:14 +0200)]
Fix an assert in sgen when mono_gc_set_current_thread_appdomain () is called from within sgen_thread_unregister (). Fixes pinvoke3.exe

12 years agoLog profiler: Don't include major collections in ondemand mode.
Rolf Bjarne Kvinge [Wed, 12 Oct 2011 00:04:16 +0000 (02:04 +0200)]
Log profiler: Don't include major collections in ondemand mode.

12 years agoFix regression to System.Diagnostics.Process.PrivateMemorySize64 (). Fixes #1459
David Evans [Thu, 13 Oct 2011 06:00:34 +0000 (08:00 +0200)]
Fix regression to  System.Diagnostics.Process.PrivateMemorySize64 (). Fixes #1459

12 years agoMerge pull request #180 from QuickJack/master
Gonzalo Paniagua Javier [Thu, 13 Oct 2011 03:17:20 +0000 (20:17 -0700)]
Merge pull request #180 from QuickJack/master

https://bugzilla.novell.com/show_bug.cgi?id=691291

12 years agoMove generic sharing definitions to mini.h, define a proper enum for the gshared...
Zoltan Varga [Wed, 12 Oct 2011 17:50:33 +0000 (19:50 +0200)]
Move generic sharing definitions to mini.h, define a proper enum for the gshared info types

12 years agoDon't release temporary address too early. Fixes #1447
Marek Safar [Wed, 12 Oct 2011 13:15:46 +0000 (14:15 +0100)]
Don't release temporary address too early. Fixes #1447

12 years agoAdd InfiniteTimeSpan
Marek Safar [Wed, 12 Oct 2011 12:22:14 +0000 (13:22 +0100)]
Add InfiniteTimeSpan

12 years agoReenable disabled test
Marek Safar [Wed, 12 Oct 2011 11:29:38 +0000 (12:29 +0100)]
Reenable disabled test

12 years agoFix wrong conditional
Marek Safar [Wed, 12 Oct 2011 11:29:17 +0000 (12:29 +0100)]
Fix wrong conditional

12 years agoFix Task.WaitAll exception handling
Marek Safar [Wed, 12 Oct 2011 11:23:20 +0000 (12:23 +0100)]
Fix Task.WaitAll exception handling

12 years agoDon't start cancelled task when using task factory. Fixes #1104
Marek Safar [Tue, 11 Oct 2011 18:59:12 +0000 (19:59 +0100)]
Don't start cancelled task when using task factory. Fixes #1104

12 years agoFix a race in an sdb test
Zoltan Varga [Wed, 12 Oct 2011 05:19:30 +0000 (07:19 +0200)]
Fix a race in an sdb test

12 years agoThrow cancellation exception when inspecting cancelled task's result
Marek Safar [Tue, 11 Oct 2011 17:45:37 +0000 (18:45 +0100)]
Throw cancellation exception when inspecting cancelled task's result

12 years agoPartially fixes broken Task.Wait
Marek Safar [Tue, 11 Oct 2011 16:24:52 +0000 (17:24 +0100)]
Partially fixes broken Task.Wait

12 years agoRun task continuations when it's canceled
Marek Safar [Tue, 11 Oct 2011 11:49:41 +0000 (12:49 +0100)]
Run task continuations when it's canceled

12 years agoFix last comment
Marek Safar [Tue, 11 Oct 2011 11:14:58 +0000 (12:14 +0100)]
Fix last comment

12 years ago[WindowsBase] Don't treat special file [Content-Types].xml as a part, ends up as...
Jérémie Laval [Tue, 11 Oct 2011 14:13:51 +0000 (16:13 +0200)]
[WindowsBase] Don't treat special file [Content-Types].xml as a part, ends up as a duplicate when writing back a package

12 years agoEnsure proper ordering of hazard pointer reads.
Rodrigo Kumpera [Tue, 11 Oct 2011 12:21:55 +0000 (09:21 -0300)]
Ensure proper ordering of hazard pointer reads.

* hazard-pointer.c (is_pointer_hazardous): Reads between the hazard
pointers of a given thread must be ordered since code such as the
liked-list-set that does centipede traversal needs it to be correct.

12 years agoEdited mcs/class/System/System.Net/WebRequest.cs via GitHub
QuickJack [Tue, 11 Oct 2011 11:39:40 +0000 (14:39 +0300)]
Edited mcs/class/System/System.Net/WebRequest.cs via GitHub

12 years agoEdited mcs/class/System/System.Net/WebRequest.cs via GitHub
QuickJack [Tue, 11 Oct 2011 11:27:32 +0000 (14:27 +0300)]
Edited mcs/class/System/System.Net/WebRequest.cs via GitHub

12 years agoEdited mcs/class/System/System.Net.Configuration/BypassElement.cs via GitHub
QuickJack [Tue, 11 Oct 2011 11:24:44 +0000 (14:24 +0300)]
Edited mcs/class/System/System.Net.Configuration/BypassElement.cs via GitHub

12 years agoEdited mcs/class/System/System.Net.Configuration/ProxyElement.cs via GitHub
QuickJack [Tue, 11 Oct 2011 11:23:12 +0000 (14:23 +0300)]
Edited mcs/class/System/System.Net.Configuration/ProxyElement.cs via GitHub

12 years agoFix crash when resolving base type without being defined. Fixes #1388
Marek Safar [Tue, 11 Oct 2011 11:06:15 +0000 (12:06 +0100)]
Fix crash when resolving base type without being defined. Fixes #1388

12 years agoAvoid asserts in sdb if a single step operation is started immediately after the...
Zoltan Varga [Tue, 11 Oct 2011 08:54:31 +0000 (10:54 +0200)]
Avoid asserts in sdb if a single step operation is started immediately after the VMStart event

12 years agoImplement registration of new transports in the debugger agent.
Zoltan Varga [Tue, 11 Oct 2011 01:49:41 +0000 (03:49 +0200)]
Implement registration of new transports in the debugger agent.

12 years agoFix 055255aa5575b3eb6edb9a43fafbdabc76249bce. attr_klass can be NULL.
Zoltan Varga [Tue, 11 Oct 2011 01:47:09 +0000 (03:47 +0200)]
Fix 055255aa5575b3eb6edb9a43fafbdabc76249bce. attr_klass can be NULL.

12 years agoIgnore some corlib tests which fail on linux
Zoltan Varga [Sat, 8 Oct 2011 04:57:12 +0000 (06:57 +0200)]
Ignore some corlib tests which fail on linux

12 years agoPopulate already inflated type instances with defined interfaces. Fixes #1389
Marek Safar [Mon, 10 Oct 2011 17:39:42 +0000 (18:39 +0100)]
Populate already inflated type instances with defined interfaces. Fixes #1389

12 years ago[sgen] Don't assert that we can't suspend a thread on Win32.
Mark Probst [Mon, 10 Oct 2011 16:46:34 +0000 (18:46 +0200)]
[sgen] Don't assert that we can't suspend a thread on Win32.

A thread might die while we're stopping the world.

12 years agoMore changes needed for 4.5 profile
Marek Safar [Sun, 9 Oct 2011 13:04:04 +0000 (14:04 +0100)]
More changes needed for 4.5 profile

12 years agoMerge branch 'sgen-windows'
Mark Probst [Sun, 9 Oct 2011 13:01:12 +0000 (15:01 +0200)]
Merge branch 'sgen-windows'

12 years ago[win32] Query the start of a memory region in mono_vfree().
Mark Probst [Sat, 8 Oct 2011 15:46:35 +0000 (17:46 +0200)]
[win32] Query the start of a memory region in mono_vfree().

Since mono_valloc_aligned() doesn't necessarily return the start of
a region as alloced by VirtualAlloc(), we need to determine the start
via VirtualQuery() to pass to VirtualFree().

The VirtualQuery() is obviously not necessary when freeing a region
returned by mono_valloc(), but we do it anyway.  If this ever becomes
a performance issue we might want a separate mono_vfree_aligned().

12 years ago[sgen] Managed allocator and wbarrier for Win32 by enabling TLS.
Mark Probst [Wed, 5 Oct 2011 22:33:40 +0000 (00:33 +0200)]
[sgen] Managed allocator and wbarrier for Win32 by enabling TLS.

12 years ago[sgen] Get the thread's domain via a callback, not via TLS.
Mark Probst [Wed, 5 Oct 2011 21:42:31 +0000 (23:42 +0200)]
[sgen] Get the thread's domain via a callback, not via TLS.

12 years agoFix a windows warning
Zoltan Varga [Sun, 9 Oct 2011 07:54:50 +0000 (09:54 +0200)]
Fix a windows warning

12 years agoUse HOST_WIN32 in one place
Zoltan Varga [Sun, 9 Oct 2011 05:43:20 +0000 (07:43 +0200)]
Use HOST_WIN32 in one place

12 years agoDon't define TARGET_WIN32 in cross compilers running on windows
Zoltan Varga [Sun, 9 Oct 2011 05:42:51 +0000 (07:42 +0200)]
Don't define TARGET_WIN32 in cross compilers running on windows

12 years agoRevert previous quick fix.
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 15:09:17 +0000 (11:09 -0400)]
Revert previous quick fix.

12 years agoRename namespace to Mono.Net.Dns
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 15:07:03 +0000 (11:07 -0400)]
Rename namespace to Mono.Net.Dns

12 years agoAllocate non-code memory using mono_domain_alloc0 in mono_create_jit_trampoline_from_...
Zoltan Varga [Sun, 9 Oct 2011 02:45:26 +0000 (04:45 +0200)]
Allocate non-code memory using mono_domain_alloc0 in mono_create_jit_trampoline_from_token ().

12 years agoDisable a single step to speed up an sdb testcase
Zoltan Varga [Fri, 7 Oct 2011 23:03:56 +0000 (01:03 +0200)]
Disable a single step to speed up an sdb testcase

12 years agoMerge pull request #176 from jordan0day/master
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 22:58:51 +0000 (15:58 -0700)]
Merge pull request #176 from jordan0day/master

Fix for typo in wsdl tool error message

12 years agoFixed typo in wsdl tool error message.
Jordan Day [Sat, 8 Oct 2011 21:37:35 +0000 (16:37 -0500)]
Fixed typo in wsdl tool error message.

12 years agoUnbreak, take 3
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 11:36:38 +0000 (07:36 -0400)]
Unbreak, take 3

12 years agoUnbreak, take 2
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 11:22:57 +0000 (07:22 -0400)]
Unbreak, take 2

12 years agoUnbreak the build
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 11:17:58 +0000 (07:17 -0400)]
Unbreak the build

12 years agoAdd info to the manual page on MONO_DNS
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 04:55:38 +0000 (00:55 -0400)]
Add info to the manual page on MONO_DNS

12 years agoAdd support for an alternative managed DNS resolver
Gonzalo Paniagua Javier [Thu, 17 Mar 2011 23:45:32 +0000 (19:45 -0400)]
Add support for an alternative managed DNS resolver

The System.Net.Dns class will now use a fully managed implementation of
a DNS resolver which is much better when doing multiple queries at a
time.

12 years agoFix named parameter support in the Binder. Fixes #1321
Zoltan Varga [Sat, 8 Oct 2011 04:28:20 +0000 (06:28 +0200)]
Fix named parameter support in the Binder. Fixes #1321

12 years agoAdd a missing arg check to the sdb protocol code
Zoltan Varga [Fri, 7 Oct 2011 22:37:12 +0000 (00:37 +0200)]
Add a missing arg check to the sdb protocol code

12 years agoAdd the fallback to MonoDoc
Miguel de Icaza [Fri, 7 Oct 2011 20:36:28 +0000 (16:36 -0400)]
Add the fallback to MonoDoc

12 years agoAvoid loading the same documentation file twice
Miguel de Icaza [Fri, 7 Oct 2011 20:22:41 +0000 (16:22 -0400)]
Avoid loading the same documentation file twice

12 years agoFix cancelation with task start (only for most trivial cases)
Marek Safar [Fri, 7 Oct 2011 16:17:35 +0000 (17:17 +0100)]
Fix cancelation with task start (only for most trivial cases)

12 years agoContinuation task cannot be started. Fixes #996
Marek Safar [Fri, 7 Oct 2011 14:43:51 +0000 (15:43 +0100)]
Continuation task cannot be started. Fixes #996

12 years agoFix unit test
Marek Safar [Fri, 7 Oct 2011 10:37:55 +0000 (11:37 +0100)]
Fix unit test

12 years agoMark System.Data.Services.Client CLS-compliant
Marek Safar [Fri, 7 Oct 2011 10:10:42 +0000 (11:10 +0100)]
Mark System.Data.Services.Client CLS-compliant

12 years agoRemove some obsolete methods
Marek Safar [Fri, 7 Oct 2011 09:07:33 +0000 (10:07 +0100)]
Remove some obsolete methods

12 years agoAdd better diagnostics for tracking crashes in nested types importer
Marek Safar [Fri, 7 Oct 2011 08:47:41 +0000 (09:47 +0100)]
Add better diagnostics for tracking crashes in nested types importer

12 years agoRemove Mono.Async
Marek Safar [Thu, 6 Oct 2011 17:31:33 +0000 (18:31 +0100)]
Remove Mono.Async

12 years agoUpdate few constant values
Marek Safar [Thu, 6 Oct 2011 17:30:13 +0000 (18:30 +0100)]
Update few constant values

12 years agoAdd async methods to SslStream
Marek Safar [Thu, 6 Oct 2011 16:57:04 +0000 (17:57 +0100)]
Add async methods to SslStream

12 years agoFix parameter names
Marek Safar [Thu, 6 Oct 2011 16:29:50 +0000 (17:29 +0100)]
Fix parameter names

12 years agoAdd async methods to System.Net
Marek Safar [Thu, 6 Oct 2011 16:11:38 +0000 (17:11 +0100)]
Add async methods to System.Net

12 years agoRemove few ifdefs
Marek Safar [Thu, 6 Oct 2011 15:31:53 +0000 (16:31 +0100)]
Remove few ifdefs