Fix the date time set in file by removing the ':'.

This is the same code than the one under SendCore. The date time should
not have the : (time zone offset) to be able to use the file.
Added test that covers bug 18482.
Fixed bug 18482. Reseting all private key values to null is required because a new import may not overwrite existing values.
Test that DeflateStream.Read does read an empty stream. Covers #19313.
Removed DeflateStream.UnmanagedRead Read loop. Fixes #19313.
If the base_stream was a NetworkStream UnmanagedRead loop would call base_stream.Read a second time and block until one byte was available to return. Without the loop UnmanagedRead will only read the base_stream once.
[System.Runtime.Caching] Fixed test that failed intermittently on slow systems

Apparently on slow systems the items with 1sec expiration time are already removed from the cache by the time the #CS3 Assert() is hit, which caused the test to fail.
Increasing the expiration time by +2sec should hopefully fix this.

Commit licensed under MIT/X11.
[WCF] Make BasicHttpBinding.AllowCookies work

This patch is from Brendan Zagaeski and fixes bug 11307

The description of the problem was:

In Mono 2.10.12, the BasicHttpBinding property no longer supports
EnableHttpCookieContainer because it is Depreciated. The replacement
is AllowCookies, but this property does not work. Upon inspection of
the source source, we find that the HttpCookieContainerBindingElement
is added in accordance with EnableHttpCookieContainer, but not
AllowCookies.

The conditional compile logic at [1] is no longer needed for
Xamarin.iOS or Xamarin.Android.
[MWF] Disable DataRemainsOnClipboard_Xamarin4959 test.

It works fine on a regular system but breaks under Xvfb.

http://monojenkins.cloudapp.net/job/Mono/230/testReport/MonoTests.System.Windows.Forms/ClipboardTest/DataRemainsOnClipboard_Xamarin4959/
[runtime] Define DEFFILEMODE to 0666 if not defined.
[runtime] Make it possible to create views to magic zero size files such as /dev/zero. Fixes #19460
[runtime] Fix error handling with named memory regions.
[runtime] Rework named mapping to use an unlinked file to provide correct mapping semantics.

Instead of using mono_valloc we create a temp file and unlink it. With this we can have the right
mmap semantics regarding CoW and access rights.

This does simplify the code too by completely removing the mapping kind.
Added test for bug #20672 (fixed in aeab5b59021f4a712d54357c8bbeaa6fac12dc37)
[MWF] Disable OneIdlePerThread test.

The code that made this test work was reverted, so this test is
bound to fail randomly.
Merge pull request #1113 from akoeplinger/fix-cache-test

[System.Runtime.Caching] Fixed test that failed intermittently on slow systems
Silence a warning in file-mmap-posix.c.
Fix the build.
[Managed.Windows.Forms] Verify that DataMember is valid when setting DataSource

When DataMember is already set before DataSource we need to verify that it refers to a valid property in the DataSource setter, otherwise we'd get an exception in ResetList ().
This fixes the following failing tests: BindingSourceTest.DataMemberBeforeDataSource and BindingSourceTest.DataSourceAssignToDefaultType.

Commit licensed under MIT/X11.
[System.Net] Do not assume IPv6 is enabled in UdpClientTest

Without this, three of the tests fail on Linux kernels without IPv6
support.

This is a minimal fix, copy'n'pasting a conditional which was used in
other tests.  It might be nicer to factor out the SupportsIPv6 to its
own utility function.
Merge pull request #1117 from akoeplinger/fix-databindingsource

[Managed.Windows.Forms] Verify that DataMember is valid when setting DataSource