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
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
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.
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.
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
David Straw [Wed, 11 Jul 2012 17:51:59 +0000 (11:51 -0600)]
Constrain http request/response timeouts to int.MaxValue milliseconds
Rodrigo Kumpera [Wed, 11 Jul 2012 13:00:38 +0000 (10:00 -0300)]
Kill more compiler context code.
Rodrigo Kumpera [Wed, 11 Jul 2012 12:31:59 +0000 (09:31 -0300)]
MonoGenericClass::initialize runtime icall only needs fields.
Martin Baulig [Wed, 11 Jul 2012 00:19:46 +0000 (02:19 +0200)]
Support relative URIs.
David Straw [Tue, 10 Jul 2012 22:36:34 +0000 (16:36 -0600)]
Merge branch 'master' of https://github.com/strawd/mono
David Straw [Tue, 10 Jul 2012 22:35:21 +0000 (16:35 -0600)]
Use static instances for scheme in parsed URIs
Rodrigo Kumpera [Tue, 10 Jul 2012 21:38:32 +0000 (18:38 -0300)]
First pass killing compiler context support code.
* MonoGenericClass.cs: Switch to MS's behavior and kill
on ton of code in the process. Only MCS depended on it
and now we can kill it.
Rodrigo Kumpera [Tue, 10 Jul 2012 15:08:35 +0000 (12:08 -0300)]
Remove compiler context tests.
Rodrigo Kumpera [Tue, 10 Jul 2012 15:06:57 +0000 (12:06 -0300)]
Remove some dead code.
Rodrigo Kumpera [Mon, 9 Jul 2012 22:30:16 +0000 (19:30 -0300)]
Use a simpler design for IsUserType based on virtual calls.
* Type.cs (IsUserType) Replace the current hacky way with
a virtual call. This removes a direct dependency on a type
and a bunch of stuff that would otherwise be loaded for
no good reason.
Rodrigo Kumpera [Tue, 10 Jul 2012 18:32:49 +0000 (15:32 -0300)]
Disable mdb by default as it breaks sgen builds. This has gone unoticed for close to two years now.
Marek Safar [Tue, 10 Jul 2012 14:24:21 +0000 (15:24 +0100)]
Marek Safar [Tue, 10 Jul 2012 14:07:34 +0000 (15:07 +0100)]
Check type parameters constraints on best candidate only. Fixes #6056
Marek Safar [Tue, 10 Jul 2012 07:05:57 +0000 (08:05 +0100)]
Fixes build
Virgile Bello [Tue, 10 Jul 2012 03:54:23 +0000 (12:54 +0900)]
Fix #6112
c32a854: compile error and removed indirection.
Rodrigo Kumpera [Mon, 9 Jul 2012 23:44:10 +0000 (16:44 -0700)]
Merge pull request #386 from alexrp/master
Use a critical region in mono_gc_alloc_array.
alexrp [Mon, 9 Jul 2012 23:17:04 +0000 (01:17 +0200)]
Only use TLAB_ACCESS_INIT in sgen_card_table_wbarrier_object_copy for the critical region case.
alexrp [Mon, 9 Jul 2012 23:14:53 +0000 (01:14 +0200)]
Use a critical region in mono_gc_alloc_array.
Bojan Rajkovic [Mon, 9 Jul 2012 22:48:43 +0000 (15:48 -0700)]
Merge pull request #366 from robwilkens/bug5747-2
Fixes #5747: KeventWatcher - Was not returning subdirectories, repatched to fix regressions.
Rodrigo Kumpera [Fri, 6 Jul 2012 21:49:39 +0000 (18:49 -0300)]
Clear some dead code.