Eberhard Beilharz [Tue, 17 Jan 2012 16:18:35 +0000 (17:18 +0100)]
Xamarin-2938: Fix Screen.FromControl
We have to convert the location of the control to screen coordinates
so that we end up with the correct screen in a multi-monitor setup.
This patch fixes Screen.FromControl, Screen.FromHandle, and
Screen.GetWorkingArea.
Change-Id: I6c4fd65833d012e832d97d610c79abc792e57adf
Zoltan Varga [Fri, 20 Jan 2012 01:35:22 +0000 (02:35 +0100)]
Fix -O=shared support in mono_delegate_ctor ().
Gonzalo Paniagua Javier [Thu, 19 Jan 2012 17:23:24 +0000 (12:23 -0500)]
UploadFile+PUT does not wrap the file in a multipart envelope
When using PUT as the method to upload a file using WebClient, the file
is uploaded as-is, without the multipart boundaries, headers,...
Fixes bug #2970.
Marek Safar [Thu, 19 Jan 2012 12:07:26 +0000 (12:07 +0000)]
Restore original compiler generated block when linq expression cannot be parsed
Marek Safar [Thu, 19 Jan 2012 11:59:11 +0000 (11:59 +0000)]
Fix range variable name collision check for nested linq queries
Atsushi Eno [Thu, 19 Jan 2012 11:45:42 +0000 (20:45 +0900)]
Fix bug 998 - in XmlResolver.ResolveUri(), make some policy change on "how to determine a string as an absolute URI.
It's a bit difficult decision, as the "relative URI" could be any path string
that contain colons as a *valid* path (especially on *nix land).
We historically did allow such string that contain "http:" etc. as to be
treated as absolute (which historically worked long time).
But this test case uncovered possible other cases.
Hopefully this does not bring issues that is pretty much anticipated. Such
issues could also happen in older code anyways.
Atsushi Eno [Thu, 19 Jan 2012 11:01:04 +0000 (20:01 +0900)]
Fix bug #1558 - return editable XPathNavigator from editable navigator's CreateNavigator().
Atsushi Eno [Thu, 19 Jan 2012 10:51:44 +0000 (19:51 +0900)]
Fix bug #2146 - create snapshot copy of nodes before removal in Remove<T>().
Atsushi Eno [Thu, 19 Jan 2012 10:39:08 +0000 (19:39 +0900)]
Fix bug #2383 patch by Weeble - in XPathExtensions.Evaluate(), return IEnumerable of the underlying object, not XPathNavigator, for node-set values.
Atsushi Eno [Thu, 19 Jan 2012 10:21:06 +0000 (19:21 +0900)]
Fix bug #2564 - give .NET compatible namespace prefixes for XElement with namespace that XAttribute provides.
This makes XElement.WriteTo() pretty much slower.
Atsushi Eno [Thu, 19 Jan 2012 09:52:36 +0000 (18:52 +0900)]
Fix bug #2956: XmlReader.HasValue became virtual (from abstract) in .NET 4.
Atsushi Eno [Thu, 19 Jan 2012 09:30:33 +0000 (18:30 +0900)]
Fix bug #2927: lookup event bound methods from root instance, not current object.
Miguel de Icaza [Thu, 19 Jan 2012 05:08:19 +0000 (00:08 -0500)]
Fix my last commit
Marek Safar [Wed, 18 Jan 2012 17:40:45 +0000 (17:40 +0000)]
Implemented more System.Net.Http.Headers
Miguel de Icaza [Wed, 18 Jan 2012 16:18:51 +0000 (11:18 -0500)]
Prevent race conditions for this cached variable, by using a temporary variable, fixes #2952
Rolf Bjarne Kvinge [Tue, 17 Jan 2012 23:44:50 +0000 (00:44 +0100)]
DateTime.FromFileTimeUtc should return a DateTime with DateTimeKind.Utc. Fixes #2936.
Rolf Bjarne Kvinge [Tue, 17 Jan 2012 21:15:31 +0000 (22:15 +0100)]
System.Data: DataTable.ImportRow should be able to handle columns with different types. Fixes #2926.
Marek Safar [Tue, 17 Jan 2012 14:06:29 +0000 (14:06 +0000)]
Fix ParsedValue buffer length when putback character is doubled
Marek Safar [Tue, 17 Jan 2012 12:32:50 +0000 (12:32 +0000)]
Use correct offset when setting comples struct field assignment. Fixes #2861
Marek Safar [Tue, 17 Jan 2012 11:26:45 +0000 (11:26 +0000)]
Don't report ambiguous error when a user operator conflicts with build-in type user operator
Zoltan Varga [Tue, 17 Jan 2012 02:21:10 +0000 (03:21 +0100)]
Don't delete some RabbitMQ.Client generated files since they are checked in.
Zoltan Varga [Tue, 17 Jan 2012 02:15:14 +0000 (03:15 +0100)]
Don't delete some RabbitMQ.Client generated files since they are checked in.
Zoltan Varga [Tue, 17 Jan 2012 02:00:44 +0000 (03:00 +0100)]
Don't delete basic-profile-check.{exe,out} if the profile check fails.
Rolf Bjarne Kvinge [Fri, 13 Jan 2012 12:47:28 +0000 (13:47 +0100)]
threadpool: Disable the gc for threadpool threads while waiting for work. Fixes #2619
Rolf Bjarne Kvinge [Fri, 13 Jan 2012 12:45:57 +0000 (13:45 +0100)]
sgen: Add support for disabling the gc for a thread
Zoltan Varga [Mon, 16 Jan 2012 22:16:39 +0000 (23:16 +0100)]
Avoid passing methodspec tokens to mono_aot_get_method_from_token ().
Zoltan Varga [Mon, 16 Jan 2012 22:15:44 +0000 (23:15 +0100)]
Fix delegate invokes in shared mode.
Marek Safar [Mon, 16 Jan 2012 19:46:11 +0000 (19:46 +0000)]
Fix typo
Marek Safar [Mon, 16 Jan 2012 17:10:16 +0000 (17:10 +0000)]
Inlcude leading dot in constant ParsedValue
Marek Safar [Mon, 16 Jan 2012 16:37:54 +0000 (16:37 +0000)]
Keep incomplete constructor initializer colon location
Marek Safar [Mon, 16 Jan 2012 16:13:19 +0000 (16:13 +0000)]
Rename mcs files which now have different content
Miguel de Icaza [Sun, 15 Jan 2012 20:08:55 +0000 (15:08 -0500)]
Implements TimeZoneInfo.Local for Windows
Fixes #2791, contributed by Jonathan Shore <jonathan.shore@gmail.com>
Miguel de Icaza [Sat, 14 Jan 2012 20:35:29 +0000 (15:35 -0500)]
Apply patch from Tom Hindle to fix ##2893 and add a test case.
The serializer interpreted was broken, but the compiled version was fine,
running MONO_XMLSERIALIZER_THS=0 allowed this to run
Tristan Caulfield [Wed, 11 Jan 2012 16:40:23 +0000 (16:40 +0000)]
* fix tasklets crash on x86
Zoltan Varga [Sat, 14 Jan 2012 17:58:21 +0000 (18:58 +0100)]
Respect the SizeConst parameter to UnmanagedType.ByValTStr. Fixes #2567.
Miguel de Icaza [Sat, 14 Jan 2012 16:45:55 +0000 (08:45 -0800)]
Merge pull request #213 from linquize/linquize-master
Copy file should preserve modified time and access time
Marek Safar [Sat, 14 Jan 2012 09:57:11 +0000 (09:57 +0000)]
Rework top-level type AST hierarchy to include namespaces. Allows MD to iterate full AST exactly as it was parsed, fixes bugs where namespace without types was ignored completely.
Marek Safar [Sat, 14 Jan 2012 09:40:57 +0000 (09:40 +0000)]
Fix MemoryStreamTest tests to compile under 2.0 profile
Miguel de Icaza [Fri, 13 Jan 2012 23:58:53 +0000 (18:58 -0500)]
Apply fix for 2839 from Michael Mudge
Miguel de Icaza [Fri, 13 Jan 2012 21:48:54 +0000 (16:48 -0500)]
Remove debugging statement
Miguel de Icaza [Fri, 13 Jan 2012 21:48:47 +0000 (16:48 -0500)]
Remove the limit on the buffer size, the spec actually calls for supporting messages of up to 0xffffffff bytes in size
Rolf Bjarne Kvinge [Fri, 13 Jan 2012 13:52:08 +0000 (14:52 +0100)]
sgen: report LOS objects pinned by interior pointers as roots to the profiler
Sebastien Pouliot [Thu, 12 Jan 2012 21:30:52 +0000 (16:30 -0500)]
Bring TaskExtensions to the mobile profile. Fix bug #2769
Sebastien Pouliot [Thu, 12 Jan 2012 20:47:37 +0000 (15:47 -0500)]
Do not build a managed X509Chain in MonoTouch and simply ask iOS about the chain. Other SSL related checks about the leaf certificate are still required/done. Avoid many internal exceptions since Mono's machine store does not exists inside iOS devices (note: already part of MonoTouch since 4.3)
Gonzalo Paniagua Javier [Thu, 12 Jan 2012 17:04:27 +0000 (12:04 -0500)]
Heavy IO load might cause obj to be NULL
Fixes novell bug #704264.
Miguel de Icaza [Thu, 12 Jan 2012 01:02:30 +0000 (20:02 -0500)]
Add [Exports] from MonoTouch/MonoMac to the documentation index
Miguel de Icaza [Thu, 5 Jan 2012 21:25:08 +0000 (16:25 -0500)]
update copyrights
Zoltan Varga [Wed, 11 Jan 2012 20:39:56 +0000 (21:39 +0100)]
Disable shared mode for non-corlib and inflated methods since appdomain unloads can invalidate them.
Marek Safar [Wed, 11 Jan 2012 19:27:25 +0000 (11:27 -0800)]
Merge pull request #214 from QuickJack/
cd2c570c5543963d987f51080218715407c5d4b9
Fixes 2 problems in Mono's configuration stack.
Marek Safar [Wed, 11 Jan 2012 17:51:20 +0000 (17:51 +0000)]
Add constructed constructor expression into AST when parsing header
Marek Safar [Wed, 11 Jan 2012 11:12:59 +0000 (11:12 +0000)]
Don't create intermediate NamespaceContainer when iterating parent namespaces
Marek Safar [Tue, 10 Jan 2012 14:06:35 +0000 (14:06 +0000)]
Remove DeclSpace
Marek Safar [Tue, 10 Jan 2012 12:36:14 +0000 (12:36 +0000)]
Remove GenericMethod
Marek Safar [Tue, 10 Jan 2012 10:31:02 +0000 (10:31 +0000)]
Remove GenericMethod from member name construction
Marek Safar [Mon, 9 Jan 2012 22:34:38 +0000 (22:34 +0000)]
Remove IsGeneric from DeclSpace
Zoltan Varga [Tue, 10 Jan 2012 21:53:16 +0000 (22:53 +0100)]
Don't compile dynamic methods in shared mode.
Gonzalo Paniagua Javier [Tue, 10 Jan 2012 21:33:45 +0000 (16:33 -0500)]
Use the right socket for the data stream
This fixes bug active data connections.
Fixes xamarin bug #1294.
Zoltan Varga [Tue, 10 Jan 2012 21:15:03 +0000 (22:15 +0100)]
Fix an IndexOutOfBounds exception in the sdb packet writer.
QuickJack [Tue, 10 Jan 2012 20:01:16 +0000 (21:01 +0100)]
Allows write access to web.config files below an app's root.
Zoltan Varga [Tue, 10 Jan 2012 19:59:32 +0000 (20:59 +0100)]
Use mdoc.exe from class/lib since it is now built there.
Rodrigo Kumpera [Tue, 10 Jan 2012 18:02:09 +0000 (16:02 -0200)]
Add test for the previous commit - iteraction between bridge and major evacuation.
Rodrigo Kumpera [Tue, 10 Jan 2012 17:25:14 +0000 (15:25 -0200)]
Fix the iteraction between bridge and major evacuation on a minor overflow major collection.
* sgen-gc.c: The bridge code is split into 3 steps, one done when we collect finalizable objects,
one done before we restart the world and the last right after.
The first step can be executed twice if an overflow major collection happens. We handled this
situation by avoiding duplicates in the registration code.
This works fine except if a registered bridge object is moved by the second collection, which can
happen when defragmentation kicks in.
Instead of fixing those pointers, which is quite tricky, we move hash building to happen in the second
step and discard all elements on the registered bridge array before each collection. Since all bridges
collected by the first collection will be collected again on the second, we can do it.
Jeremie Laval [Fri, 6 Jan 2012 16:12:03 +0000 (17:12 +0100)]
[monodoc] Add a full title field to search result so that more information (like namespace) can be given back
Jeremie Laval [Fri, 6 Jan 2012 16:11:27 +0000 (17:11 +0100)]
[monodoc] Append member type (method, property, ...) to member name
Jeremie Laval [Fri, 6 Jan 2012 16:09:25 +0000 (17:09 +0100)]
[monodoc] Don't show the massive amount of obsolete warning for bundled Lucene.NET
Zoltan Varga [Tue, 10 Jan 2012 16:42:15 +0000 (17:42 +0100)]
Add memory barriers to interlocked operations on ARM, since the runtime code depends on it.
Marek Safar [Mon, 9 Jan 2012 21:45:58 +0000 (21:45 +0000)]
Make System.Web.Script.Serialization.JavaScriptSerializer.ConvertToType(Type, object) public. Fixes #2781
Gonzalo Paniagua Javier [Mon, 9 Jan 2012 17:07:48 +0000 (09:07 -0800)]
Merge pull request #211 from symform/master
Fixed a race condition in WebConnection that was causing it to throw NullReferenceException on Close/Dispose
Marek Safar [Mon, 9 Jan 2012 16:58:27 +0000 (16:58 +0000)]
Remove another layout from TypeParameters parsing, makes it easier for MD to track original locations. Add better caching for resolved type parameter types.
Rodrigo Kumpera [Mon, 9 Jan 2012 16:44:41 +0000 (14:44 -0200)]
Revert "do a signal safe unwind on the native crash handler." We're better of taking the chance here.
This reverts commit
dd67beedf20cc39f6391f52eaa17088c200fdc66.
Rodrigo Kumpera [Fri, 6 Jan 2012 02:16:56 +0000 (00:16 -0200)]
Remove a spurious assert.
Linquize [Sat, 7 Jan 2012 15:31:54 +0000 (23:31 +0800)]
Copy file should preserve modified time and access time
Zoltan Varga [Fri, 6 Jan 2012 23:39:13 +0000 (00:39 +0100)]
Allow enum->basetype argument conversion in CreateDelegate(). Fixes #794.
Zoltan Varga [Fri, 6 Jan 2012 21:35:30 +0000 (22:35 +0100)]
Call mono_create_jit_trampoline_in_domain () in mono_resolve_patch_target () so shared methods don't end up calling trampolines in another domain.
Zoltan Varga [Fri, 6 Jan 2012 20:58:27 +0000 (12:58 -0800)]
Merge pull request #212 from jordanbtucker/master
Bug 2761 - BigInteger constructed with zero-filled byte array raises IndexOutOfRangeException
Jordan Tucker [Fri, 6 Jan 2012 20:13:51 +0000 (12:13 -0800)]
Fixed Bug 2761: BigInteger constructed with zero-filled byte array raises IndexOutOfRangeException
Marek Safar [Fri, 6 Jan 2012 12:58:43 +0000 (12:58 +0000)]
Insert constructor into AST before initializer is parsed
Marek Safar [Fri, 6 Jan 2012 11:17:43 +0000 (11:17 +0000)]
Better detection of errors when building anonymous types. Fixes #2656
Marek Safar [Fri, 6 Jan 2012 11:16:40 +0000 (11:16 +0000)]
Default non-profile mcs.exe build to build profile
Zoltan Varga [Fri, 6 Jan 2012 03:46:01 +0000 (04:46 +0100)]
Avoid displaying the 'no thread info in suspend' message in sgen which can happen during normal use.
Zoltan Varga [Fri, 6 Jan 2012 02:53:41 +0000 (03:53 +0100)]
Fix stack alignment calculation in mono_arch_setup_async_callback () on amd64.
Zoltan Varga [Fri, 6 Jan 2012 02:06:50 +0000 (03:06 +0100)]
Remove hazard pointer use from mono_get_cached_unwind_info (), it is still slower than doing no locking at all.
Rodrigo Kumpera [Thu, 5 Jan 2012 23:27:26 +0000 (21:27 -0200)]
do a signal safe unwind on the native crash handler.
Zoltan Varga [Thu, 5 Jan 2012 22:48:07 +0000 (23:48 +0100)]
Fix the build.
Zoltan Varga [Thu, 5 Jan 2012 22:29:46 +0000 (23:29 +0100)]
Extract the SGEN debugging code into a separate file.
Zoltan Varga [Thu, 5 Jan 2012 22:07:53 +0000 (23:07 +0100)]
Extract SGEN object allocation rountines to sgen-alloc.c.
Zoltan Varga [Thu, 5 Jan 2012 19:48:37 +0000 (20:48 +0100)]
Implement mono_gc_set_stack_end () for Boehm/null GC to remove the #ifdef HAVE_SGEN_GC dependency from driver.c.
Neale Ferguson [Thu, 5 Jan 2012 17:50:18 +0000 (12:50 -0500)]
Merge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Thu, 5 Jan 2012 17:48:02 +0000 (12:48 -0500)]
If a parameter is NULL or DBNull then its size needs to be zero otherwise the parameter gets treated as an empty string which is a different thing to a NULL. Microsoft will send a true NULL, this will get mono to do the same.
Marek Safar [Thu, 5 Jan 2012 16:32:59 +0000 (16:32 +0000)]
Build programs directly into class/lib. Fixes random make -j failures
Zoltan Varga [Thu, 5 Jan 2012 16:06:37 +0000 (17:06 +0100)]
Fix crashes in the precise stack marking code if a thread is interrupted during startup.
Marek Safar [Wed, 4 Jan 2012 22:03:53 +0000 (22:03 +0000)]
Reference equality of identical reference types cannot involve implicit conversion to predefined types. Fixes #2684
Marek Safar [Wed, 4 Jan 2012 12:39:36 +0000 (12:39 +0000)]
Use reference comparison when checking interlocked delegate combine/remove
Marek Safar [Wed, 4 Jan 2012 10:03:22 +0000 (10:03 +0000)]
Type parameters can be now stored in MemberName directly
Rodrigo Kumpera [Thu, 5 Jan 2012 12:59:27 +0000 (10:59 -0200)]
Add JIT support for 4.5 MethodImplOptions.AggressiveInlining.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:41:25 +0000 (10:41 -0200)]
disassemble the agressive-inlining flag correctly.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:40:17 +0000 (10:40 -0200)]
Add define for new 4.5 method impl flag agressive-inlining.
Rodrigo Kumpera [Thu, 5 Jan 2012 11:11:34 +0000 (09:11 -0200)]
Add regression test for bxc #1147.
Rodrigo Kumpera [Thu, 5 Jan 2012 11:07:09 +0000 (09:07 -0200)]
Properly initialize a rgctx template. Fixes bxc #1147.
* mini-generic-sharing.c (mono_class_get_runtime_generic_context_template):
When initializing a new rgctx template, we fill it with its parent
slots.
When the parent is a non generic class extending a generic class,
has multiple templates and, finally, the first template has more
slots that the rest, we would fill more entries than we should
and later cause an assertion when trying to use those extra slots.
To fix that we handle it just like a generic parent class and
count the number of slots each template has.
Fixes bxc #1147.
Jonathan Pryor [Wed, 4 Jan 2012 21:31:55 +0000 (16:31 -0500)]
[System.ServiceModel.Web] Support `null` as value for `DateTime?` field.
Fixes assistly #5863.