mono.git
11 years ago[dtrace] Probe for major heap area sweep.
Mark Probst [Sat, 22 Sep 2012 12:11:55 +0000 (14:11 +0200)]
[dtrace] Probe for major heap area sweep.

11 years ago[dtrace] Probe for nursery fragment creation aka nursery sweep.
Mark Probst [Sat, 22 Sep 2012 10:53:41 +0000 (12:53 +0200)]
[dtrace] Probe for nursery fragment creation aka nursery sweep.

11 years ago[dtrace] Probes for degraded and mature allocation.
Mark Probst [Fri, 21 Sep 2012 17:54:21 +0000 (19:54 +0200)]
[dtrace] Probes for degraded and mature allocation.

11 years ago[dtrace] Allocation of TLABs. Allocation of objects directly from nursery.
Mark Probst [Fri, 21 Sep 2012 17:26:09 +0000 (19:26 +0200)]
[dtrace] Allocation of TLABs.  Allocation of objects directly from nursery.

11 years ago[dtrace] Remove our duplicates of DTrace probe defines.
Mark Probst [Fri, 21 Sep 2012 16:55:08 +0000 (18:55 +0200)]
[dtrace] Remove our duplicates of DTrace probe defines.

11 years ago[dtrace] Probes for taking/releasing the GC lock.
Mark Probst [Fri, 21 Sep 2012 14:44:16 +0000 (16:44 +0200)]
[dtrace] Probes for taking/releasing the GC lock.

11 years ago[dtrace] GC heap allocation probes for SGen.
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.

11 years ago[dtrace] GC begin/end probes for SGen.
Mark Probst [Tue, 18 Sep 2012 18:16:20 +0000 (20:16 +0200)]
[dtrace] GC begin/end probes for SGen.

11 years agoBetter fix for invalid warning about missing documentation on partial parts.
Marek Safar [Fri, 28 Sep 2012 18:23:19 +0000 (19:23 +0100)]
Better fix for invalid warning about missing documentation on partial parts.

11 years ago[#7424]: Fix regression in same-origin-check for Cookies.
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.

11 years agoFix CFB mode for Rijndael when data is not a multiple of block size
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

11 years ago[#7200]: WebRequest returns result in another thread.
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.

11 years agoDon't report missing documentation warning for partial parts. Fixes #7462
Marek Safar [Wed, 26 Sep 2012 17:30:02 +0000 (18:30 +0100)]
Don't report missing documentation warning for partial parts. Fixes #7462

11 years agoUpadte csproj files
Marek Safar [Wed, 26 Sep 2012 17:11:24 +0000 (18:11 +0100)]
Upadte csproj files

11 years agoFix the computation of TLS reference bitmaps (#6755) properly by using a 'numbits...
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.

11 years agoFixes build
Marek Safar [Wed, 26 Sep 2012 07:29:33 +0000 (08:29 +0100)]
Fixes build

11 years agoAdd location for namespace token
Marek Safar [Wed, 26 Sep 2012 07:26:55 +0000 (08:26 +0100)]
Add location for namespace token

11 years agoTreat the [UnmanagedFunctionPointer] attribute the same as [MonoNativeFunctionWrapper...
Zoltan Varga [Tue, 25 Sep 2012 21:26:00 +0000 (23:26 +0200)]
Treat the [UnmanagedFunctionPointer] attribute the same as [MonoNativeFunctionWrapper]. Fixes #7385.

11 years agoAvoid constructing custom attribute objects during AOT compilation.
Zoltan Varga [Tue, 25 Sep 2012 21:09:48 +0000 (23:09 +0200)]
Avoid constructing custom attribute objects during AOT compilation.

11 years agoAdd incomplete namespace declaration to ast. Fixes #7436
Marek Safar [Tue, 25 Sep 2012 19:00:51 +0000 (20:00 +0100)]
Add incomplete namespace declaration to ast. Fixes #7436

11 years ago[corlib] Fix a edge case of ConcurrentQueue dequeuing by retrying after we fix up...
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

11 years ago[corlib] Remove usage of ObjectPool, we will depend on sgen being a better GC instead
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

11 years ago[#7299][Serialization]: Fixed and improved collection serialization.
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.

11 years ago[mdoc, .xsd] Allow the <returns/> element to contain <c/> elements.
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.

11 years ago[corlib] Fix 4.0 build
Jeremie Laval [Mon, 24 Sep 2012 15:28:49 +0000 (16:28 +0100)]
[corlib] Fix 4.0 build

11 years ago[corlib] Fix build
Jeremie Laval [Mon, 24 Sep 2012 15:19:56 +0000 (16:19 +0100)]
[corlib] Fix build

11 years ago[corlib] Honor LazyCancellation flag
Jeremie Laval [Mon, 24 Sep 2012 11:28:25 +0000 (12:28 +0100)]
[corlib] Honor LazyCancellation flag

11 years ago[corlib] Honor HideScheduler flag
Jeremie Laval [Mon, 24 Sep 2012 10:47:06 +0000 (11:47 +0100)]
[corlib] Honor HideScheduler flag

11 years ago[corlib] Honor DenyChildAttach flag
Jeremie Laval [Mon, 24 Sep 2012 10:21:45 +0000 (11:21 +0100)]
[corlib] Honor DenyChildAttach flag

11 years ago[corlib] Add 4.5 values to TaskContinuationOptions
Jeremie Laval [Mon, 24 Sep 2012 10:13:54 +0000 (11:13 +0100)]
[corlib] Add 4.5 values to TaskContinuationOptions

11 years ago[corlib] Make Task.Run specify TaskScheduler.Default and fix Task.Run (Task<Task>)
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>)

11 years agoMerge pull request #464 from gregoryyoung/master
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.

11 years agoOnly set Cookie.Port if Cookie.Version == 1.
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.

11 years ago[mdoc] <related /> is a mixed type
Jérémie Laval [Fri, 21 Sep 2012 22:11:46 +0000 (23:11 +0100)]
[mdoc] <related /> is a mixed type

11 years ago[mdoc] More schema fixes
Jérémie Laval [Fri, 21 Sep 2012 21:59:33 +0000 (22:59 +0100)]
[mdoc] More schema fixes

11 years ago[mdoc] Fix monodoc-ecma schema
Jérémie Laval [Fri, 21 Sep 2012 21:50:41 +0000 (22:50 +0100)]
[mdoc] Fix monodoc-ecma schema

11 years agoMarshal sockaddrdl manually, since it contains a variable-length byte array. Fixes...
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.

11 years ago[#6041][WebServices]: Don't crash if an operation doesn't have <wsdl:output>.
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>.

11 years ago[#4511][WCF]: Fix DuplexClientBase channel initialization.
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.

11 years agoMake seq_points clobber callee save registers on arm, since we can't save fp register...
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.

11 years agopatch for async TCP sockets. without this change the callbacks will
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

11 years ago[WCF] Fix relative endpoint addresses that start with a '/'.
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'.

11 years ago[#1340][WCF]: Fix null reference when using invalid HTTP methods.
Martin Baulig [Wed, 19 Sep 2012 04:28:47 +0000 (06:28 +0200)]
[#1340][WCF]: Fix null reference when using invalid HTTP methods.

11 years ago[#7177][WCF]: Correctly handle derived FaultExceptions.
Martin Baulig [Wed, 19 Sep 2012 04:00:33 +0000 (06:00 +0200)]
[#7177][WCF]: Correctly handle derived FaultExceptions.

11 years agoSave/restore fp registers in MonoContext on ios. Fixes #1949.
Zoltan Varga [Wed, 19 Sep 2012 01:37:26 +0000 (01:37 +0000)]
Save/restore fp registers in MonoContext on ios. Fixes #1949.

11 years ago[Mono.Debugger.Soft] Format the literal strings a bit nicer.
Jeffrey Stedfast [Tue, 18 Sep 2012 22:34:46 +0000 (18:34 -0400)]
[Mono.Debugger.Soft] Format the literal strings a bit nicer.

11 years ago[Mono.Debugger.Soft] Oops, need using System.Globalization
Jeffrey Stedfast [Tue, 18 Sep 2012 22:13:51 +0000 (18:13 -0400)]
[Mono.Debugger.Soft] Oops, need using System.Globalization

11 years ago[Mono.Debugger.Soft] Escape some unicode characters in literal strings
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

11 years ago[#5935][BinaryFormatter]: Fix serialization of generic arrays.
Martin Baulig [Tue, 18 Sep 2012 19:20:47 +0000 (21:20 +0200)]
[#5935][BinaryFormatter]: Fix serialization of generic arrays.

11 years agoFix rendering enum value which does not match any enum flags value (e.g. 0)
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)

11 years ago[#6187][WCF]: Fix contract interface inheritance.
Martin Baulig [Tue, 18 Sep 2012 03:14:56 +0000 (05:14 +0200)]
[#6187][WCF]: Fix contract interface inheritance.

11 years ago[#6489][SoapFormatter]: Reset culture before raising events.
Martin Baulig [Tue, 18 Sep 2012 00:57:21 +0000 (02:57 +0200)]
[#6489][SoapFormatter]: Reset culture before raising events.

11 years agoSimplify range check in list setter
Marek Safar [Mon, 17 Sep 2012 22:05:47 +0000 (23:05 +0100)]
Simplify range check in list setter

11 years agoImplement mono_arch_emit_inst_for_method () for LLVM.
Zoltan Varga [Mon, 17 Sep 2012 21:08:21 +0000 (23:08 +0200)]
Implement mono_arch_emit_inst_for_method () for LLVM.

11 years agoFix usage of vregs defined in EH regions in the LLVM backend. Fixes #7183.
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.

11 years agoAlign the thumb_end symbol to 8 to avoid warnings by the apple linker.
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.

11 years ago[#6515][WCF]: Enable custom headers for NET_2_1.
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.

11 years agoMerge pull request #462 from knocte/master
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

11 years ago[Microsoft.Build.Engine] Add a testcase for bxc#1862
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")]

11 years agoxbuild: enable _ComputeNonExistentFileProperty in MS.Common.targets
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/

11 years ago[Microsoft.Build.Engine] Allow ItemGroup items inside Target items
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

11 years agoTimeZoneInfo.Local must be cached, otherwise reference comparisons fail later on.
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

11 years agoFix typo in exception message.
Rolf Bjarne Kvinge [Mon, 17 Sep 2012 09:29:20 +0000 (11:29 +0200)]
Fix typo in exception message.

11 years agoDon't report cascading unreachable warnings
Marek Safar [Mon, 17 Sep 2012 09:16:31 +0000 (10:16 +0100)]
Don't report cascading unreachable warnings

11 years agoMerge pull request #461 from knocte/xbuild_improvements
Marek Safar [Sun, 16 Sep 2012 10:49:11 +0000 (03:49 -0700)]
Merge pull request #461 from knocte/xbuild_improvements

xbuild: some housekeeping

11 years ago[#6201][WCF]: Don't crash if we don't have a client certificate.
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.

11 years ago[Microsoft.Build.BuildEngine] Fix refs in .csproj files
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.

11 years ago[Microsoft.Build.BuildEngine] Remove Properties folder in csproj
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.

11 years agoFix precise stack marking for the thread initiating the GC by passing a MonoContext...
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.

11 years ago[xbuild] More NET_2_0 removal
Andres G. Aragoneses [Sat, 15 Sep 2012 17:48:54 +0000 (18:48 +0100)]
[xbuild] More NET_2_0 removal

11 years ago[Microsoft.Build.BuildEngine] 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

11 years ago[Microsoft.Build.BuildEngine] Update tests project
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.

11 years ago[Microsoft.Build.BuildEngine] Change GUID of the tests 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

11 years ago[Microsoft.Build.BuildEngine] Update -tests-net_4_0 project
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.

11 years ago[Microsoft.Build.BuildEngine] Remove MDS (old format) and add SLN
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).

11 years ago[Microsoft.Build.BuildEngine] Update Ms.B.E-net_4_0.csproj
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.

11 years agoMicrosoft.Build.Engine: Remove deprecated NET_2_0 conditionals
Andres G. Aragoneses [Sat, 15 Sep 2012 17:06:34 +0000 (18:06 +0100)]
Microsoft.Build.Engine: Remove deprecated NET_2_0 conditionals

11 years ago[Microsoft.Build.BuildEngine] Remove dead files
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).

11 years agoRevert "Use the full path to MonoPosixHelper in mono's config file."
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.

11 years agoRework exception handling in MemoryStream async methods
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.

11 years agoReject out of range constant conversion to nullable enum.
Marek Safar [Fri, 14 Sep 2012 17:35:53 +0000 (18:35 +0100)]
Reject out of range constant conversion to nullable enum.

11 years agoMerge pull request #460 from pcc/fix-enumeratekind
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

11 years agoAdd more debug output to sdb to debug suspend issues.
Zoltan Varga [Fri, 14 Sep 2012 15:23:25 +0000 (17:23 +0200)]
Add more debug output to sdb to debug suspend issues.

11 years agoMerge pull request #455 from LogosBible/large-file-suport
Marek Safar [Fri, 14 Sep 2012 13:55:29 +0000 (06:55 -0700)]
Merge pull request #455 from LogosBible/large-file-suport

Fixing large file support compile-time check.

11 years agoInsert incomplete indexers into ast earlier. Fixes #7169
Marek Safar [Fri, 14 Sep 2012 13:16:11 +0000 (14:16 +0100)]
Insert incomplete indexers into ast earlier. Fixes #7169

11 years agoForce crlf for crlf test
Marek Safar [Fri, 14 Sep 2012 13:15:43 +0000 (14:15 +0100)]
Force crlf for crlf test

11 years agoFix parsing of \r in quoted strings. Fixes #6984
Marek Safar [Fri, 14 Sep 2012 11:59:46 +0000 (12:59 +0100)]
Fix parsing of \r in quoted strings. Fixes #6984

11 years agoRewrite implementation of Directory.EnumerateKind
Peter Collingbourne [Fri, 14 Sep 2012 01:08:14 +0000 (02:08 +0100)]
Rewrite implementation of Directory.EnumerateKind

This rewrite fixes three bugs:

 1) Fixes the case where AllDirectories is specified and searchPattern
    is anything other than '*'.  Now, every directory is searched
    recursively, not just those which match the pattern.

 2) Fully solves the issue that commit e09e64b tried to fix.  Now
    the check for hidden files occurs for every file, rather than
    only the first.

 3) Error handling is now performed at calls to both FindFirst and
    FindNext, not just FindFirst.

11 years ago[OSX] Reset errors to 0 if the OS tells us that (1) the chain is ok, (2) the certific...
Sebastien Pouliot [Fri, 14 Sep 2012 00:48:42 +0000 (20:48 -0400)]
[OSX] Reset errors to 0 if the OS tells us that (1) the chain is ok, (2) the certificate usage is for SSL server and (3) the server identity is confirmed (2+3 were part of an earlier fix). Without this reset we depended on the mono certificate store as an extra condition (which would requires mozroots to be executed and we want to avoid this 'duplicated' requirement and trust OSX). This does not affect iOS where no mono stores exists.

11 years ago[M4A] Clear RemoteCertificateChainErrors if Android validates the chain.
Jonathan Pryor [Thu, 13 Sep 2012 18:46:59 +0000 (14:46 -0400)]
[M4A] Clear RemoteCertificateChainErrors if Android validates the chain.

The problem: Mono for Android 4.2.5 horribly broke SSL support:

http://lists.ximian.com/pipermail/monodroid/2012-September/012213.html

Why? Because of ad89f72f (kinda): As Mono for Android doesn't provide
or use its own set of SSL root certificates (opting instead to just
let Android worry about it), the `chain.Build()` method will ALWAYS
result in SslPolicyErrors.RemoteCertificateChainErrors being returned
from GetErrorsFromChain().

The world before ad89f72f "masked" this because errors & status11 were
always cleared if Android accepted the chain; however, clearing these
out masked other bugs, such as #5706 (in which https://74.125.224.134
is accepted as valid when it can't be valid, by definition).

The fix is to clear out SslPolicyErrors.RemoteCertificateChainErrors
if Android accepts the certificate chain. Any other errors are left
unchanged, thus keeping #5706 fixed.

11 years agoUpdate csproj file
Marek Safar [Thu, 13 Sep 2012 15:39:11 +0000 (16:39 +0100)]
Update csproj file

11 years agoMerge pull request #456 from strawd/bug7079
Marek Safar [Thu, 13 Sep 2012 14:46:37 +0000 (07:46 -0700)]
Merge pull request #456 from strawd/bug7079

Don't decode raw URL path for HTTP request URI

11 years agoMerge pull request #458 from konrad-kruczynski/issue4328
Marek Safar [Thu, 13 Sep 2012 14:44:59 +0000 (07:44 -0700)]
Merge pull request #458 from konrad-kruczynski/issue4328

Fix for the bug #4328.

11 years agoFix reading from loaded buffer, patch based on David Straw's code
Marek Safar [Thu, 13 Sep 2012 14:38:35 +0000 (15:38 +0100)]
Fix reading from loaded buffer, patch based on David Straw's code

11 years agoMerge branch 'master' of https://github.com/mono/mono into issue4328
Konrad M. Kruczynski [Thu, 13 Sep 2012 14:19:53 +0000 (16:19 +0200)]
Merge branch 'master' of https://github.com/mono/mono into issue4328

Conflicts:
mcs/class/System/Test/System.Collections.Generic/SortedListTest.cs

11 years agoMerge pull request #453 from daub815/master
Marek Safar [Thu, 13 Sep 2012 14:03:35 +0000 (07:03 -0700)]
Merge pull request #453 from daub815/master

[API] Added missing .Net 4.5 interface and dependent class

11 years agoAdd support for armv7s.
Rolf Bjarne Kvinge [Thu, 13 Sep 2012 11:09:14 +0000 (13:09 +0200)]
Add support for armv7s.

11 years agoFixed and improved Mono's Cookie implementation.
Martin Baulig [Thu, 13 Sep 2012 00:00:56 +0000 (02:00 +0200)]
Fixed and improved Mono's Cookie implementation.

* Updated the tests to reflect .NET 4.5's new improved behavior.
* Fixed subdomain matching rules.
* Added some very simple sanity checks, such as same origin and
  public suffixes.

This is far from perfect, but the tests now pass with .NET 4.5
and this also fixes a Monotouch bug from one of our customers.

TODO:

* Using 'Cookie.Version = 1' (RFC 2109 compliance) apparently got
  broken in .NET 4.5; I disabled the corresponding tests / made
  them use the default 'Version = 0' where possible.

* Same origin has not been tested for security (it previously
  didn't exist at all) and we should probably use the list at
  publicsuffix.org; but .NET 4.5 also allows you to set a cookie
  .co.uk (haven't tested their web stack, thoug - it's possible
  that they have additional checks there).

11 years agoAdded unit test for HTTP request URL decode
David Straw [Wed, 12 Sep 2012 22:30:14 +0000 (16:30 -0600)]
Added unit test for HTTP request URL decode

11 years agoMerge pull request #459 from antoniusriha/master
Marek Safar [Wed, 12 Sep 2012 21:54:50 +0000 (14:54 -0700)]
Merge pull request #459 from antoniusriha/master

[xbuild] Add PreserveExistingMetadata property to CreateItem task