clcrutch [Sat, 29 Sep 2012 15:41:15 +0000 (08:41 -0700)]
Update mcs/class/System.Drawing/Assembly/ChangeLog
clcrutch [Sat, 29 Sep 2012 15:40:50 +0000 (08:40 -0700)]
Fixed System.Drawing/System.Drawing-net_4_5.csproj
clcrutch [Sat, 29 Sep 2012 15:39:58 +0000 (08:39 -0700)]
Fixed System.Drawing/System.Drawing-net_4_0.csproj
clcrutch [Sat, 29 Sep 2012 15:39:05 +0000 (08:39 -0700)]
Fixed System.Drawing/System.Drawing-net_2_0.csproj
clcrutch [Sat, 29 Sep 2012 15:36:00 +0000 (08:36 -0700)]
Fixed mcs/class/System.Drawing/ChangeLOg
Mark Probst [Sat, 29 Sep 2012 12:48:01 +0000 (14:48 +0200)]
[dtrace] Turns out "sweeped" is not a word.
Mark Probst [Sat, 29 Sep 2012 11:00:32 +0000 (13:00 +0200)]
[sgen] Flags bit field instead of individual args for OS alloc funcs.
Mark Probst [Sat, 29 Sep 2012 09:59:06 +0000 (11:59 +0200)]
[dtrace] Make pointers into user space uintptr_t instead of void*.
chris [Sat, 29 Sep 2012 03:35:48 +0000 (20:35 -0700)]
Added System.Drawing.SystemIcons.Shield to API to match .Net 2.0 SP1, 4.0, 4.5 API.
Chris [Sat, 29 Sep 2012 03:28:13 +0000 (20:28 -0700)]
Implemented System.Drawing.SystemIcons.Shield to match the .Net 2.0, 4.0, 4.5 API.
Zoltan Varga [Sat, 29 Sep 2012 00:36:59 +0000 (02:36 +0200)]
Fix a test name.
Zoltan Varga [Sat, 29 Sep 2012 00:21:02 +0000 (02:21 +0200)]
Fix some sign extension issues in the 2 dimensional array access implementation on 64 bit platforms. Fixes #7438.
Mark Probst [Fri, 28 Sep 2012 21:22:40 +0000 (23:22 +0200)]
Merge branch 'feature-dtrace'
Mark Probst [Sat, 22 Sep 2012 14:57:33 +0000 (16:57 +0200)]
[dtrace] Add G_UNLIKELY to all DTrace _ENABLED macros.
Mark Probst [Sat, 22 Sep 2012 10:40:35 +0000 (12:40 +0200)]
[dtrace] Probe for object moved, within or between heaps.
Mark Probst [Sat, 22 Sep 2012 14:32:48 +0000 (16:32 +0200)]
[dtrace] Pass namespace and class name to probes where appropriate.
Mark Probst [Sat, 22 Sep 2012 13:48:58 +0000 (15:48 +0200)]
[dtrace] Probes for large and pinned allocation.
Mark Probst [Sat, 22 Sep 2012 12:48:17 +0000 (14:48 +0200)]
[dtrace] Probe for pinning of objects.
Mark Probst [Sat, 22 Sep 2012 12:11:55 +0000 (14:11 +0200)]
[dtrace] Probe for major heap area sweep.
Mark Probst [Sat, 22 Sep 2012 10:53:41 +0000 (12:53 +0200)]
[dtrace] Probe for nursery fragment creation aka nursery sweep.
Mark Probst [Fri, 21 Sep 2012 17:54:21 +0000 (19:54 +0200)]
[dtrace] Probes for degraded and mature allocation.
Mark Probst [Fri, 21 Sep 2012 17:26:09 +0000 (19:26 +0200)]
[dtrace] Allocation of TLABs. Allocation of objects directly from nursery.
Mark Probst [Fri, 21 Sep 2012 16:55:08 +0000 (18:55 +0200)]
[dtrace] Remove our duplicates of DTrace probe defines.
Mark Probst [Fri, 21 Sep 2012 14:44:16 +0000 (16:44 +0200)]
[dtrace] Probes for taking/releasing the GC lock.
Mark Probst [Fri, 21 Sep 2012 12:34:41 +0000 (14:34 +0200)]
[dtrace] GC heap allocation probes for SGen.
These trigger whenever a segment of heap memory is allocated from the
OS, or freed to the OS again.
Mark Probst [Tue, 18 Sep 2012 18:16:20 +0000 (20:16 +0200)]
[dtrace] GC begin/end probes for SGen.
Marek Safar [Fri, 28 Sep 2012 18:23:19 +0000 (19:23 +0100)]
Better fix for invalid warning about missing documentation on partial parts.
Martin Baulig [Thu, 27 Sep 2012 01:59:18 +0000 (03:59 +0200)]
[#7424]: Fix regression in same-origin-check for Cookies.
Disable same-origin checks when the cookie does not have a domain
and we default to the Uri's hostname.
Sebastien Pouliot [Thu, 27 Sep 2012 00:36:50 +0000 (20:36 -0400)]
Fix CFB mode for Rijndael when data is not a multiple of block size
Martin Baulig [Thu, 27 Sep 2012 00:00:00 +0000 (02:00 +0200)]
[#7200]: WebRequest returns result in another thread.
This is a partial revertion of master commit #
9069d07, which was
backported into mono-2-10 in commit #
bfa23f8.
I only reverted the change in line 716, keeping the rest of the
commit in place.
Marek Safar [Wed, 26 Sep 2012 17:30:02 +0000 (18:30 +0100)]
Don't report missing documentation warning for partial parts. Fixes #7462
Marek Safar [Wed, 26 Sep 2012 17:11:24 +0000 (18:11 +0100)]
Upadte csproj files
Zoltan Varga [Wed, 26 Sep 2012 15:14:33 +0000 (17:14 +0200)]
Fix the computation of TLS reference bitmaps (#6755) properly by using a 'numbits' variable instead of the confusing 'max_bits' variable.
Marek Safar [Wed, 26 Sep 2012 07:29:33 +0000 (08:29 +0100)]
Fixes build
Marek Safar [Wed, 26 Sep 2012 07:26:55 +0000 (08:26 +0100)]
Add location for namespace token
Zoltan Varga [Tue, 25 Sep 2012 21:26:00 +0000 (23:26 +0200)]
Treat the [UnmanagedFunctionPointer] attribute the same as [MonoNativeFunctionWrapper]. Fixes #7385.
Zoltan Varga [Tue, 25 Sep 2012 21:09:48 +0000 (23:09 +0200)]
Avoid constructing custom attribute objects during AOT compilation.
Marek Safar [Tue, 25 Sep 2012 19:00:51 +0000 (20:00 +0100)]
Add incomplete namespace declaration to ast. Fixes #7436
Jeremie Laval [Tue, 25 Sep 2012 13:24:56 +0000 (14:24 +0100)]
[corlib] Fix a edge case of ConcurrentQueue dequeuing by retrying after we fix up things
Jeremie Laval [Tue, 25 Sep 2012 13:24:03 +0000 (14:24 +0100)]
[corlib] Remove usage of ObjectPool, we will depend on sgen being a better GC instead
Martin Baulig [Tue, 25 Sep 2012 00:02:58 +0000 (02:02 +0200)]
[#7299][Serialization]: Fixed and improved collection serialization.
* Implement "Interchangeable Collections" and Collection Interface Types.
(see http://msdn.microsoft.com/en-us/library/
aa347850.aspx)
* Add element type check for arrays.
* Identify custom collection types (must have a public parameterless
constructor and an "Add" method with the correct argument type) and
distinguish them from types which implement one or more of the
collection interfaces without being a custom collection type.
* Add some checks for [CollectionDataContract].
* Added some NUnit tests for that.
Jonathan Pryor [Mon, 24 Sep 2012 16:45:59 +0000 (12:45 -0400)]
[mdoc, .xsd] Allow the <returns/> element to contain <c/> elements.
It's frequently useful (and accidentally used) to have <c/> within
<returns/> blocks:
<returns>
<c>-1</c> at end of stream; otherwise the number of bytes read.
</returns>
Allow this to validate.
Jeremie Laval [Mon, 24 Sep 2012 15:28:49 +0000 (16:28 +0100)]
[corlib] Fix 4.0 build
Jeremie Laval [Mon, 24 Sep 2012 15:19:56 +0000 (16:19 +0100)]
[corlib] Fix build
Jeremie Laval [Mon, 24 Sep 2012 11:28:25 +0000 (12:28 +0100)]
[corlib] Honor LazyCancellation flag
Jeremie Laval [Mon, 24 Sep 2012 10:47:06 +0000 (11:47 +0100)]
[corlib] Honor HideScheduler flag
Jeremie Laval [Mon, 24 Sep 2012 10:21:45 +0000 (11:21 +0100)]
[corlib] Honor DenyChildAttach flag
Jeremie Laval [Mon, 24 Sep 2012 10:13:54 +0000 (11:13 +0100)]
[corlib] Add 4.5 values to TaskContinuationOptions
Jeremie Laval [Mon, 24 Sep 2012 10:11:46 +0000 (11:11 +0100)]
[corlib] Make Task.Run specify TaskScheduler.Default and fix Task.Run (Task<Task>)
Rodrigo Kumpera [Sun, 23 Sep 2012 02:04:39 +0000 (19:04 -0700)]
Merge pull request #464 from gregoryyoung/master
Fixes nasty issue with callbacks not happening.
Martin Baulig [Sat, 22 Sep 2012 00:16:17 +0000 (02:16 +0200)]
Only set Cookie.Port if Cookie.Version == 1.
Background:
* Cookie.Port's property setter sets Version to 1, thus forcing strict
RFC 2109 compliance. This is also what the .NET runtime does when
assigning this property.
* When parsing the result of a web request, .NET 4.5 only sets Cookie.Port
when the Set-Cookie: header contains "Version=1".
* Google Chrome does not check cookie ports at all.
Jérémie Laval [Fri, 21 Sep 2012 22:11:46 +0000 (23:11 +0100)]
[mdoc] <related /> is a mixed type
Jérémie Laval [Fri, 21 Sep 2012 21:59:33 +0000 (22:59 +0100)]
[mdoc] More schema fixes
Jérémie Laval [Fri, 21 Sep 2012 21:50:41 +0000 (22:50 +0100)]
[mdoc] Fix monodoc-ecma schema
Rolf Bjarne Kvinge [Thu, 20 Sep 2012 23:03:19 +0000 (01:03 +0200)]
Marshal sockaddrdl manually, since it contains a variable-length byte array. Fixes #7329.
Martin Baulig [Thu, 20 Sep 2012 04:32:08 +0000 (06:32 +0200)]
[#6041][WebServices]: Don't crash if an operation doesn't have <wsdl:output>.
Martin Baulig [Thu, 20 Sep 2012 03:37:21 +0000 (05:37 +0200)]
[#4511][WCF]: Fix DuplexClientBase channel initialization.
For duplex channels, the ClientRealProxy needs to support both
IClientChannel and IDuplexContextChannel.
Zoltan Varga [Wed, 19 Sep 2012 14:03:06 +0000 (16:03 +0200)]
Make seq_points clobber callee save registers on arm, since we can't save fp registers in MonoContext on linux/android. Fixes #6860.
Greg Young [Wed, 19 Sep 2012 13:29:16 +0000 (16:29 +0300)]
patch for async TCP sockets. without this change the callbacks will
occasionally not happen under load. This causes the async loop
to break in the calling TCP code. EX you call beginsend but
never get endsend
Martin Baulig [Wed, 19 Sep 2012 05:08:02 +0000 (07:08 +0200)]
[WCF] Fix relative endpoint addresses that start with a '/'.
For instance:
ServiceHost host = new ServiceHost (typeof (Foo), new Uri ("http://localhost/echo"));
var b = host.AddServiceEndpoint (typeof (Foo), new BasicHttpBinding (), "/b");
should resolve into 'http://localhost/echo/b'.
Martin Baulig [Wed, 19 Sep 2012 04:28:47 +0000 (06:28 +0200)]
[#1340][WCF]: Fix null reference when using invalid HTTP methods.
Martin Baulig [Wed, 19 Sep 2012 04:00:33 +0000 (06:00 +0200)]
[#7177][WCF]: Correctly handle derived FaultExceptions.
Zoltan Varga [Wed, 19 Sep 2012 01:37:26 +0000 (01:37 +0000)]
Save/restore fp registers in MonoContext on ios. Fixes #1949.
Jeffrey Stedfast [Tue, 18 Sep 2012 22:34:46 +0000 (18:34 -0400)]
[Mono.Debugger.Soft] Format the literal strings a bit nicer.
Jeffrey Stedfast [Tue, 18 Sep 2012 22:13:51 +0000 (18:13 -0400)]
[Mono.Debugger.Soft] Oops, need using System.Globalization
Jeffrey Stedfast [Tue, 18 Sep 2012 22:06:55 +0000 (18:06 -0400)]
[Mono.Debugger.Soft] Escape some unicode characters in literal strings
Fix for bug #6369
Martin Baulig [Tue, 18 Sep 2012 19:20:47 +0000 (21:20 +0200)]
[#5935][BinaryFormatter]: Fix serialization of generic arrays.
Marek Safar [Tue, 18 Sep 2012 09:22:48 +0000 (10:22 +0100)]
Fix rendering enum value which does not match any enum flags value (e.g. 0)
Martin Baulig [Tue, 18 Sep 2012 03:14:56 +0000 (05:14 +0200)]
[#6187][WCF]: Fix contract interface inheritance.
Martin Baulig [Tue, 18 Sep 2012 00:57:21 +0000 (02:57 +0200)]
[#6489][SoapFormatter]: Reset culture before raising events.
Marek Safar [Mon, 17 Sep 2012 22:05:47 +0000 (23:05 +0100)]
Simplify range check in list setter
Zoltan Varga [Mon, 17 Sep 2012 21:08:21 +0000 (23:08 +0200)]
Implement mono_arch_emit_inst_for_method () for LLVM.
Zoltan Varga [Mon, 17 Sep 2012 16:53:19 +0000 (18:53 +0200)]
Fix usage of vregs defined in EH regions in the LLVM backend. Fixes #7183.
Zoltan Varga [Mon, 17 Sep 2012 15:54:44 +0000 (17:54 +0200)]
Align the thumb_end symbol to 8 to avoid warnings by the apple linker.
Martin Baulig [Mon, 17 Sep 2012 15:27:36 +0000 (17:27 +0200)]
[#6515][WCF]: Enable custom headers for NET_2_1.
This allows
HttpRequestMessageProperty request = new HttpRequestMessageProperty ();
request.Headers.Add ("Foo", "Bar");
OperationContext.Current.OutgoingMessageProperties.Add (HttpRequestMessageProperty.Name, request);
The code was already there, but disabled for the NET_2_1 profile.
Marek Safar [Mon, 17 Sep 2012 12:21:13 +0000 (05:21 -0700)]
Merge pull request #462 from knocte/master
Changes to make F# build out of the box with xbuild
Andres G. Aragoneses [Mon, 17 Sep 2012 11:27:35 +0000 (12:27 +0100)]
[Microsoft.Build.Engine] Add a testcase for bxc#1862
Marking the test as [Category("NotWorking")]
Andres G. Aragoneses [Mon, 17 Sep 2012 11:13:12 +0000 (12:13 +0100)]
xbuild: enable _ComputeNonExistentFileProperty in MS.Common.targets
This target is needed to build F# projects with xbuild.
After this change, xbuild with F# 2.0 (from github.com/fsharp)
works out of the box without hackery (i.e. [1]).
[1] http://xtzgzorex.wordpress.com/2011/01/08/f-and-xbuild-debian/
Andres G. Aragoneses [Mon, 17 Sep 2012 11:08:14 +0000 (12:08 +0100)]
[Microsoft.Build.Engine] Allow ItemGroup items inside Target items
We don't treat them for now, but at least make the build not break
when finding them.
This feature was introduced in .NET 3.5:
http://msdn.microsoft.com/en-us/library/646dk05y.aspx
Rolf Bjarne Kvinge [Mon, 17 Sep 2012 09:34:48 +0000 (11:34 +0200)]
TimeZoneInfo.Local must be cached, otherwise reference comparisons fail later on.
This fixes an issue reported here: http://lists.ximian.com/pipermail/monotouch/2012-September/011784.html
Rolf Bjarne Kvinge [Mon, 17 Sep 2012 09:29:20 +0000 (11:29 +0200)]
Fix typo in exception message.
Marek Safar [Mon, 17 Sep 2012 09:16:31 +0000 (10:16 +0100)]
Don't report cascading unreachable warnings
Marek Safar [Sun, 16 Sep 2012 10:49:11 +0000 (03:49 -0700)]
Merge pull request #461 from knocte/xbuild_improvements
xbuild: some housekeeping
Martin Baulig [Sat, 15 Sep 2012 19:10:36 +0000 (21:10 +0200)]
[#6201][WCF]: Don't crash if we don't have a client certificate.
Andres G. Aragoneses [Sat, 15 Sep 2012 17:56:08 +0000 (18:56 +0100)]
[Microsoft.Build.BuildEngine] Fix refs in .csproj files
With this HintPaths, solution now builds in MonoDevelop.
Andres G. Aragoneses [Sat, 15 Sep 2012 17:54:56 +0000 (18:54 +0100)]
[Microsoft.Build.BuildEngine] Remove Properties folder in csproj
No Properties folder in disk here either.
Zoltan Varga [Sat, 15 Sep 2012 17:48:43 +0000 (19:48 +0200)]
Fix precise stack marking for the thread initiating the GC by passing a MonoContext to the suspend callback in the JIT.
Andres G. Aragoneses [Sat, 15 Sep 2012 17:48:54 +0000 (18:48 +0100)]
[xbuild] More NET_2_0 removal
Andres G. Aragoneses [Sat, 15 Sep 2012 17:48:28 +0000 (18:48 +0100)]
[Microsoft.Build.BuildEngine] More NET_2_0 removal
Andres G. Aragoneses [Sat, 15 Sep 2012 17:38:03 +0000 (18:38 +0100)]
[Microsoft.Build.BuildEngine] Update tests project
There is no Properties folder present, remove it from the project.
Andres G. Aragoneses [Sat, 15 Sep 2012 17:36:24 +0000 (18:36 +0100)]
[Microsoft.Build.BuildEngine] Change GUID of the tests project
Otherwise MD would complain about 2 projects having the same GUID.
o_O
Andres G. Aragoneses [Sat, 15 Sep 2012 17:28:39 +0000 (18:28 +0100)]
[Microsoft.Build.BuildEngine] Update -tests-net_4_0 project
Update to what MonoDevelop master flushed without making any changes.
Andres G. Aragoneses [Sat, 15 Sep 2012 17:23:08 +0000 (18:23 +0100)]
[Microsoft.Build.BuildEngine] Remove MDS (old format) and add SLN
Furthermore, the .MDP file was very outdated (contained non existant
files and lacked a lot of new files).
Andres G. Aragoneses [Sat, 15 Sep 2012 17:13:09 +0000 (18:13 +0100)]
[Microsoft.Build.BuildEngine] Update Ms.B.E-net_4_0.csproj
Flushed all changes that MonoDevelop master branch made on it.
Andres G. Aragoneses [Sat, 15 Sep 2012 17:06:34 +0000 (18:06 +0100)]
Microsoft.Build.Engine: Remove deprecated NET_2_0 conditionals
Andres G. Aragoneses [Sat, 15 Sep 2012 16:26:09 +0000 (17:26 +0100)]
[Microsoft.Build.BuildEngine] Remove dead files
These 2 files (HostLogger.cs and SolutionParser.cs) were not
being included in the build anyway (defined in file
Microsoft.Build.Engine_test.dll.sources).
Duncan Mak [Fri, 14 Sep 2012 20:39:14 +0000 (16:39 -0400)]
Revert "Use the full path to MonoPosixHelper in mono's config file."
This reverts commit
bf095d7057e742420a0d3f165083ae1b254421f9.
Larry Ewing [Fri, 14 Sep 2012 18:27:54 +0000 (13:27 -0500)]
Rework exception handling in MemoryStream async methods
Return faulted tasks for runtime errors when using the MemoryStream
Async methods.
Marek Safar [Fri, 14 Sep 2012 17:35:53 +0000 (18:35 +0100)]
Reject out of range constant conversion to nullable enum.
Marek Safar [Fri, 14 Sep 2012 17:03:46 +0000 (10:03 -0700)]
Merge pull request #460 from pcc/fix-enumeratekind
Rewrite implementation of Directory.EnumerateKind