Update mcs/class/corlib/System.IO/DirectoryInfo.cs
Update mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/RelaxngPattern.cs

- Choice of using the parser for compact syntax or not based on the file extension,
in order to allow mixed grammars (e.g. including RNG from RNC).
- Correction in base URI for compact syntax in order to allow including grammar files located in different directories.
Transaction now has limited support for PromotableSinglePhaseEnlistment

System.Transactions.Transaction is only partially implemented, and was lacking support for enlistments of type PromotableSinglePhaseEnlistment.
Specifically, this prevented usage of Npgsql with the ambient transactions feature (TransactionScope).
[Fix] Support to wave sound file under linux

Some wave file had a 'fact' chunk in header's data.
This is specified for non-PCM format but some PCM wave sound file could have one.
These kind of file are played well by System.Media.SoundPlay on win32 system but no
sound is played at all on unix system because the 'data' chunk is not found. This
patch adds support for wave file which have this optional 'fact' chunk in header's data.
It's also read chunk data according to the chunk size.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
[Fix] Advanced Linux Sound Architecture (ALSA) configuration in class AudioDevice.cs

Improve the configuration of the Alsa hardware parameters.
The buffer and chunk size are set to the best suitable size according to wave file
caracteristic, i.e., format, channel and sampling rate.

Add Alsa software parameter.
Alsa becomes in Ready State as soon as there is a data chunk in its ring buffer.
Alsa starts playing data as soon as its buffer is full.

Add a UnderRun recovery method while playing a sound. When a underRun occurs, Alsa
layer need to be re set to Ready State (by calling snd_pcm_prepare) and the data chunk
is re send to Alsa.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
[Fix] AudioData(wav) play performing badly under Linux

Fix bug and improve performance of audio data play methode :
- Read only wave/Au raw data from Stream unstead of the whole file
- Play Sound chunk by chunk (chunk size compute at AudioDevice.setFormat call)
this is the best size compute by alsa for the hardware (better than the 4kB arbitrary size)
- Fix the chunk size to play. For Alsa, this size is in fragment, a fragment is one sample per channel
- count the data which are really play by alsa (snd_pcm_writei return a fragment size) and the next
chunk from that count.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
Align the trampoline stack size on MIPS.
Disable LLVM for methods with clauses on darwin, current LLVM versions don't support it.
Merge pull request #486 from fvalette/master

Fix System.Media.SoundPlayer on Linux
Merge pull request #484 from roji/transactions_pspe

Transaction now has limited support for PromotableSinglePhaseEnlistment
Handle external protocols correctly in sdb.

	* debugger-agent.c: Handle deferred attach in sdb correctly when
	an external protocol is used.
[6329][Web]: Fixed abort race condition in WebConnection.ReadDone().

ReadDone() now passes the 'WebConnectionData' instance to GetResponse()
and 'readState' has been moved into 'WebConnectionData'.

Abort() can now reset 'Data' while ReadDone() still uses the old
instance, but learns about the abort request from 'data.ReadState'.
[#7637][Web]: Support empty write streams.
Add a --disable-libraries command line option to disable the build of libmono.
Disable the build of libmini.la when libraries are disabled.
Update mcs/class/System.Core/System/TimeZoneInfo.cs

Implementing missing ConvertTime with DateTimeOffset.
Sys.Tx: Avoid uncatched exceptions during Prepare phase, which might crash the whole application. Also try to align internal exception handling flow/logic to the one found in MS.NET.
Fixed missing Content-Id email headers

When specifying a Content-Id header on Attachments and AlternateViews (but not LinkedResources) the header was not rendered.
This fixes bug #2279.
Also refactored header generation methods.
Removed extra-brace
Added Testcase for DirectoryInfo.GetDirectories with parameter
SearchOption.AlLDirectories