Jeremie Laval [Wed, 25 Jul 2012 11:42:14 +0000 (12:42 +0100)]
[corlib] Fix ObjectPool to not incorrectly assume it was succeeding when its trial period ran out
Reported by Greg Young
Jeremie Laval [Wed, 25 Jul 2012 11:36:03 +0000 (12:36 +0100)]
[corlib] Add missing barrier to ObjectPool and comment the code
Martin Baulig [Wed, 25 Jul 2012 08:47:37 +0000 (01:47 -0700)]
Merge pull request #392 from baulig/master
HttpClient fixes
* Check errors, fix tests on Windows.
* Disallow modifying properties after sending a request
* Close connection in HttpClient.GetStringAsync() and GetByteArrayAsync().
* Increase HttpContent.LoadIntoBufferAsync()'s internal buffer size to 65536.
Martin Baulig [Tue, 24 Jul 2012 07:29:54 +0000 (09:29 +0200)]
HttpContent.LoadIntoBufferAsync(): increase buffer size to 65536.
FIXME LAMESPEC: This limitation seems very arbitrary to me, but
.NET seems to be using 65536 as well.
Marek Habersack [Tue, 24 Jul 2012 22:49:34 +0000 (18:49 -0400)]
Fix for Novell bug #739119
Steven Boswell II [Tue, 24 Jul 2012 18:50:57 +0000 (20:50 +0200)]
Implement the drawing of mixed-mode check boxes
Steven Boswell II [Tue, 24 Jul 2012 18:11:23 +0000 (20:11 +0200)]
Properly fill in the whole TableLayoutPanel with dummy controls
Jeremie Laval [Tue, 24 Jul 2012 15:59:48 +0000 (16:59 +0100)]
[System] Optimize ConcurrentBag, implement TryPeek and add unit tests
Initially reported by linquize
Alan McGovern [Tue, 24 Jul 2012 14:54:29 +0000 (07:54 -0700)]
Merge pull request #406 from directhex/master
Un-revert debian snapshot changes
Jo Shields [Tue, 24 Jul 2012 14:46:15 +0000 (15:46 +0100)]
Merge remote-tracking branch 'github/master'
Conflicts:
external/debian-snapshot
Gonzalo Paniagua Javier [Tue, 24 Jul 2012 04:28:56 +0000 (00:28 -0400)]
Remove compiler warning
Gonzalo Paniagua Javier [Tue, 24 Jul 2012 04:22:13 +0000 (00:22 -0400)]
Avoid possible duplicate fds in the list
Miguel de Icaza [Tue, 24 Jul 2012 01:35:41 +0000 (21:35 -0400)]
Render obsolete attributes on members
Jeremie Laval [Mon, 23 Jul 2012 15:49:55 +0000 (16:49 +0100)]
[corlib] Dont use blocking wait call in CancellationTokenSource test
Jérémie Laval [Mon, 23 Jul 2012 11:59:47 +0000 (12:59 +0100)]
[corlib] Remove now unneeded line
Jérémie Laval [Mon, 23 Jul 2012 11:54:21 +0000 (12:54 +0100)]
[corlib] Also unregister linked tokens when the proxy CancellationTokenSource becomes cancelled.
Jérémie Laval [Mon, 23 Jul 2012 11:48:40 +0000 (12:48 +0100)]
[corlib] Linked token callback to the proxy CancellationTokenSource shouldn't throw ODE in concurrent situations.
Jérémie Laval [Mon, 23 Jul 2012 10:47:48 +0000 (11:47 +0100)]
[corlib] Dispose linked tokens connections when disposing the resulting CancellationTokenSource
Based on baulig's patch: https://github.com/baulig/mono/commit/
3ee4f7600b8efe61f7a701a93fffed8373b7b4b3
Marek Safar [Mon, 23 Jul 2012 09:24:03 +0000 (10:24 +0100)]
Flag a field as used when used as an extension method argument. Fixes #6159
Marek Safar [Mon, 23 Jul 2012 09:13:27 +0000 (10:13 +0100)]
Fix typo in OldValue/NewValue
Atsushi Eno [Mon, 23 Jul 2012 04:04:47 +0000 (21:04 -0700)]
Merge pull request #398 from xcrash/feature/wcf.mex.https
Fix binding for MexHttps
Miguel de Icaza [Sat, 21 Jul 2012 16:27:20 +0000 (09:27 -0700)]
Merge pull request #303 from ermshiperete/5278
Xamarin-5278: Fix Binder.SelectMethod when passed argument is COM object
Miguel de Icaza [Sat, 21 Jul 2012 16:26:16 +0000 (09:26 -0700)]
Merge pull request #309 from i59/patch-1
Build Configuration: Don't build libmono to Release_SGen in x64 Release ...
Miguel de Icaza [Sat, 21 Jul 2012 16:24:23 +0000 (09:24 -0700)]
Merge pull request #335 from robwilkens/DataGridBugs1
This fixes several bugs in Winforms DataGrid
Miguel de Icaza [Sat, 21 Jul 2012 16:22:01 +0000 (12:22 -0400)]
Revert previous patch, see discussion on https://github.com/mono/mono/pull/337
Miguel de Icaza [Sat, 21 Jul 2012 16:04:58 +0000 (09:04 -0700)]
Merge pull request #337 from robwilkens/IdleThreadsFixes
Fix:Idle event handler was called on every thread rather than thread ass...
Miguel de Icaza [Sat, 21 Jul 2012 15:58:58 +0000 (08:58 -0700)]
Merge pull request #350 from robwilkens/bug1089
Bug 1089 Fix: Fix proc/mod name match by also starting at last / in proc...
Marek Safar [Sat, 21 Jul 2012 08:32:59 +0000 (01:32 -0700)]
Merge pull request #403 from AerisG222/
1596644f26b5b4b1a5106bb3cc0f5db897bfdda4
Add FormsAuthentication.IsEnabled property
Martin Baulig [Sat, 21 Jul 2012 06:32:00 +0000 (08:32 +0200)]
Close connection in HttpClient.GetStringAsync and GetByteArrayAsync().
Rodrigo Kumpera [Fri, 20 Jul 2012 16:20:47 +0000 (13:20 -0300)]
Switch the unhandled exception spew to use the new native backtrace when available.
Rodrigo Kumpera [Fri, 20 Jul 2012 16:20:16 +0000 (13:20 -0300)]
Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility available to managed land.
Rodrigo Kumpera [Fri, 20 Jul 2012 16:18:34 +0000 (13:18 -0300)]
Add new mono_exception_get_native_backtrace function that stringify the native backstace with managed and native frames.
Rodrigo Kumpera [Fri, 20 Jul 2012 16:16:03 +0000 (13:16 -0300)]
Fill Exception::native_trace_ips when doing exception handling.
Rodrigo Kumpera [Thu, 19 Jul 2012 19:08:13 +0000 (16:08 -0300)]
Add field to Exception to hold the unmanaged backtrace.
Alan McGovern [Fri, 20 Jul 2012 15:35:57 +0000 (16:35 +0100)]
Update the tests to do actual verification
Ensure the elements really are added twice.
Alan McGovern [Fri, 20 Jul 2012 11:24:13 +0000 (12:24 +0100)]
Use the result of XUtil.ToNode when emitting events
Sometimes the value the user passes in is converted to an XNode. In
these cases we need to use that XNode when emitting the change events.
Added a test covering this change.
Alan McGovern [Fri, 20 Jul 2012 10:59:32 +0000 (11:59 +0100)]
Emit change events for modifying XElement.Name
Added additional tests for this too.
Alan McGovern [Fri, 20 Jul 2012 10:47:34 +0000 (11:47 +0100)]
Add some tests to verify behaviour of Annotations
Alan McGovern [Fri, 20 Jul 2012 09:56:19 +0000 (10:56 +0100)]
Implement XObjectChange.Value for XAttribute
We now emit the correct Changing/Changed events when modifying the
value of an XAttribute. Added tests covering the changes.
Alan McGovern [Thu, 19 Jul 2012 15:57:24 +0000 (16:57 +0100)]
Begin fixing the XObject.Changing and XObject.Changed events
Add tests to ensure the event is correctly emitted and correctly propagated
up the tree for the basic Add and Remove operations. Fixed the implementation
accordingly.
Andreia Gaita [Fri, 20 Jul 2012 15:09:01 +0000 (17:09 +0200)]
[MSBuild] Fix wildcard parsing such as Include="dir\**"
The directory scanner was failing if the wildcard was the last item
on the path. Fix it, and also fix the excluded items detection to
make sure it checks the full path as well (paths may or may not be
rooted). Add a test for this.
Neale Ferguson [Fri, 20 Jul 2012 14:20:10 +0000 (10:20 -0400)]
Return false instead of throwing a not implemented condition
Marek Safar [Fri, 20 Jul 2012 07:16:56 +0000 (08:16 +0100)]
Set Length in MaxLengthAttribute ctor
Zoltan Varga [Fri, 20 Jul 2012 05:18:59 +0000 (22:18 -0700)]
Merge pull request #400 from sblom/master
Update eglib gmarkup implementation to skip high-ASCII chars at start of XML file
aerisg222 [Fri, 20 Jul 2012 01:51:40 +0000 (21:51 -0400)]
added new property from 4.0
(http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.isenabled.aspx)
Marek Safar [Thu, 19 Jul 2012 18:05:42 +0000 (19:05 +0100)]
Implement MaxLengthAttribute
Marek Safar [Thu, 19 Jul 2012 18:04:26 +0000 (19:04 +0100)]
Add some new async methods
Marek Safar [Thu, 19 Jul 2012 16:58:50 +0000 (17:58 +0100)]
Implement System.ComponentModel.DataAnnotations.Schema namespace
Jo Shields [Thu, 19 Jul 2012 16:50:18 +0000 (17:50 +0100)]
[debian] Fix up package dexcription so you can apt-cache search for a git commitid
Alan McGovern [Thu, 19 Jul 2012 15:22:04 +0000 (16:22 +0100)]
[external/debian] Bump debian packaging script
Miguel de Icaza [Thu, 19 Jul 2012 14:01:17 +0000 (10:01 -0400)]
Make ERROR_OPERATION_ABORTED a common message
Alan McGovern [Thu, 19 Jul 2012 12:49:50 +0000 (13:49 +0100)]
[System.Xml.Linq] Fix some bugs in the tests
Ensure we normalize both the expected and actual output
so they have the same line endings.
Alan McGovern [Thu, 19 Jul 2012 12:46:21 +0000 (05:46 -0700)]
Merge pull request #401 from directhex/master
[debian] Various performance tweaks, plus split managed & unmanaged components into different packages (to save space w/ i386 builds)
Jo Shields [Thu, 19 Jul 2012 12:41:32 +0000 (13:41 +0100)]
[debian] Various performance tweaks, plus split managed & unmanaged components into different packages (to save space w/ i386 builds)
Scott Blomquist [Thu, 19 Jul 2012 04:05:29 +0000 (21:05 -0700)]
Skip Unicode BOM at start of XML.
Miguel de Icaza [Thu, 19 Jul 2012 02:25:00 +0000 (22:25 -0400)]
mono_lookup_pinvoke_call: prevent leak by keeping a global MonoDl handle for the internal module.
From now on, we will keep a global handle for lookups performed against the "__Internal"
library name. This will prevent multiple P/Invoke calls from calling mono_dl_open with
filename == NULL for each call.
Since Mono never calls mono_dl_close on P/Invoke lookups, this should not pose a problem.
Miguel de Icaza [Tue, 19 Jun 2012 05:48:13 +0000 (01:48 -0400)]
Remove more old compile defines
Rodrigo Kumpera [Wed, 18 Jul 2012 23:59:27 +0000 (20:59 -0300)]
Another take into reducing shutdown crashes.
Martin Baulig [Wed, 18 Jul 2012 19:14:37 +0000 (21:14 +0200)]
A HttpClientHandler's properties may not be modified after sending a request.
Martin Baulig [Wed, 18 Jul 2012 18:46:24 +0000 (20:46 +0200)]
Add wait timeouts.
Dan Shechter [Mon, 16 Jul 2012 23:51:41 +0000 (02:51 +0300)]
Fixed Xamarin Bug 6148
- fixes https://bugzilla.xamarin.com/show_bug.cgi?id=6148
- explicit layout classes use the right packing
when determining the class size
- I release this patch is under the MIT/X11 license
Rodrigo Kumpera [Wed, 18 Jul 2012 14:17:18 +0000 (11:17 -0300)]
Fix shutdown when the io-tp was not used.
Rodrigo Kumpera [Tue, 17 Jul 2012 22:32:57 +0000 (19:32 -0300)]
Give each scan function an unique name to help some profilers finding the right symbol.
Jeremie Laval [Wed, 18 Jul 2012 13:50:16 +0000 (14:50 +0100)]
[external/debian] Bump debian packaging scripts
Marek Safar [Wed, 18 Jul 2012 12:31:14 +0000 (13:31 +0100)]
Implement better expression conversion between anonymous method dynamic return type and object
Marek Safar [Wed, 18 Jul 2012 10:52:07 +0000 (11:52 +0100)]
Fix return type check for delegates conversion using dynamic return type
Marek Habersack [Wed, 18 Jul 2012 12:06:34 +0000 (14:06 +0200)]
Remove external directory git cruft from the dist tarball
Andrey Grishin [Wed, 18 Jul 2012 09:55:09 +0000 (13:55 +0400)]
Fix binding for MexHttps
Alan McGovern [Wed, 18 Jul 2012 09:42:12 +0000 (10:42 +0100)]
Bump the debian-snapshot submodule again
Zoltan Varga [Wed, 18 Jul 2012 07:19:59 +0000 (00:19 -0700)]
Merge pull request #397 from xen2/llvm_sqrt_abs
Fixed Math.Sqrtf and Math.Abs with LLVM.
Zoltan Varga [Wed, 18 Jul 2012 07:18:55 +0000 (00:18 -0700)]
Merge pull request #396 from directhex/master
Refresh Debian packaging
Virgile Bello [Wed, 18 Jul 2012 04:46:38 +0000 (13:46 +0900)]
Fixed Math.Sqrtf and Math.Abs with LLVM.
Jo Shields [Tue, 17 Jul 2012 22:51:55 +0000 (23:51 +0100)]
[debian] Big bundle of packaging fixes, to massively simplify the job at Wrench's end, including a new script to build Debian packages inside the existing dirty prefix.
Rodrigo Kumpera [Tue, 17 Jul 2012 16:23:03 +0000 (13:23 -0300)]
When calculating allowance, don't blindly cast from double to uint as it might not saturate the result.
* sgen-gc.c (try_calculate_minor_collection_allowance): For workloads with very high
survival rates the calculated allowance_target can overflow a mword on 32bits systems.
Given this behavior is unspecified and we've been bitten by it, let's take the safe
side and manually saturate it.
Rodrigo Kumpera [Mon, 16 Jul 2012 22:13:29 +0000 (19:13 -0300)]
Add test for the behavior of discarding pending io events on appdomain unload.
Zoltan Varga [Tue, 17 Jul 2012 16:51:12 +0000 (18:51 +0200)]
Move some declarations out of a #ifdef in pthread_support.c to fix platforms without thread local alloc.
Zoltan Varga [Tue, 17 Jul 2012 06:41:44 +0000 (23:41 -0700)]
Merge pull request #394 from directhex/master
[debian] Update Debian submodule
Jo Shields [Tue, 17 Jul 2012 02:17:50 +0000 (03:17 +0100)]
[debian] Update Debian submodule with packaging bugfixes
Zoltan Varga [Tue, 17 Jul 2012 00:52:35 +0000 (02:52 +0200)]
Remove some incorrectly forward-ported code from aot-runtime.c.
Martin Baulig [Mon, 16 Jul 2012 22:59:34 +0000 (00:59 +0200)]
Disable two tests which fail on Windows with the .NET runtime.
Martin Baulig [Mon, 16 Jul 2012 22:52:03 +0000 (00:52 +0200)]
Strip all whitespace from the returned headers.
Martin Baulig [Mon, 16 Jul 2012 22:33:01 +0000 (00:33 +0200)]
Ensure success status code in HttpClient.Get*Async().
* HttpClient.cs: GetByteArrayAsync(), GetStreamAsync() and GetStringAsync()
must check for a success status code.
* HttpClientHandler.cs: Always set HttpWebRequest.AllowAutoRedirect; its default
value is true.
* HttpClientTest.cs: Add new tests for this.
Miguel de Icaza [Mon, 16 Jul 2012 21:42:36 +0000 (14:42 -0700)]
Merge pull request #323 from crazyjncsu/master
Fixed execution of parallel PageAsyncTasks
Miguel de Icaza [Mon, 16 Jul 2012 21:31:00 +0000 (14:31 -0700)]
Merge pull request #388 from strawd/master
Fixes for compatibility with ASP.NET Web API Self-hosting
Marek Safar [Mon, 16 Jul 2012 21:29:06 +0000 (14:29 -0700)]
Merge pull request #390 from baulig/master
Fix relative URLs
Gonzalo Paniagua Javier [Mon, 16 Jul 2012 17:51:17 +0000 (13:51 -0400)]
GetResponse() returns 0 when it need more data, not -1
GetResponse() returns 0 to signal that it needs more data to complete
while -1 signals an error processing the data.
Zoltan Varga [Mon, 16 Jul 2012 16:14:57 +0000 (09:14 -0700)]
Merge pull request #391 from xen2/
e377dd65b5599d5a9ecf4bfde625e25fcd45ae68
Bugfix for #6112
Marek Safar [Mon, 16 Jul 2012 12:13:32 +0000 (13:13 +0100)]
Set field usage in resolve to accommodate for expression trees. Fixes #6119
Marek Safar [Mon, 16 Jul 2012 10:27:03 +0000 (11:27 +0100)]
Better error message for missing using for extension methods
Jérémie Laval [Mon, 16 Jul 2012 12:10:09 +0000 (05:10 -0700)]
Merge pull request #364 from directhex/master
Wrench-friendly Debian snapshot packaging
Zoltan Varga [Mon, 16 Jul 2012 03:13:38 +0000 (05:13 +0200)]
Fix #6112 for amd64 as well.
Zoltan Varga [Sun, 15 Jul 2012 12:59:03 +0000 (14:59 +0200)]
Fix the handling of fail tramps in the full-aot IMT thunks on x86. Fixes #6112.
Rodrigo Kumpera [Fri, 13 Jul 2012 22:00:03 +0000 (19:00 -0300)]
Clear more threadpool state prior to domain unload.
* threadpool.c: When cleaning the threadpool
before a domain unload, clear the sock_to_state hashtbale
as it might contain objects of the dying domain.
Rodrigo Kumpera [Thu, 12 Jul 2012 20:45:09 +0000 (17:45 -0300)]
Replace an assertion with an UNVERIFIED call in the JIT.
David Straw [Fri, 13 Jul 2012 20:20:31 +0000 (14:20 -0600)]
Merge remote-tracking branch 'upstream/master'
Jo Shields [Fri, 13 Jul 2012 17:44:14 +0000 (18:44 +0100)]
[debian-snapshot] Pull in a fix for more robust path handling.
Marek Safar [Fri, 13 Jul 2012 09:25:47 +0000 (10:25 +0100)]
Make nullable values debugging more pleasant.
Marek Safar [Fri, 13 Jul 2012 08:42:16 +0000 (09:42 +0100)]
Fix error test number
Gonzalo Paniagua Javier [Wed, 11 Jul 2012 20:53:27 +0000 (16:53 -0400)]
Backport from mobile
David Straw [Wed, 11 Jul 2012 19:37:53 +0000 (13:37 -0600)]
Treat TimeSpan.MaxValue as a special case for http wait timeout