Use getpid instead of GetCurrentProcessId as the latter calls into io-layer which is not initialzed at this point.
Take shared file lock before collecting file share_info.
Support for video/mp4, video/ogg, video/webm

Added support for the three leading HTML5 Video mime types
.mp4 video/mp4
.ogv video/ogg
.webm video/webm

When Internet Explorer 10 or 11 receives application/octet-stream as the mime type for HTML5 video, it will not play the video. This resolves the issue in an Apache/mod_mono environment.
Support for audio/ogg and audio/mp4

.ogg, .oga audio/ogg
.mp4a, .aac audio/mp4
http://tools.ietf.org/html/rfc4337
Updated various mime types, sources in description

http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/05/08/office-2007-open-xml-mime-types.aspx

http://support.microsoft.com/?id=936496

http://www.rfc-editor.org/rfc/rfc4329.txt

Also added svg image/svg+xml
Some corrections and additions

Changed "aac" to "audio/aac"
http://en.wikipedia.org/wiki/Advanced_Audio_Coding

Added "m4a" for "audio/mp4" and "m4v" for "video/mp4"
Commented out "mp4a" since the official extension is "m4a"
http://tools.ietf.org/rfc/rfc4337.txt
http://en.wikipedia.org/wiki/MPEG-4_Part_14

Added "3pg" for "video/3gpp"
http://tools.ietf.org/html/rfc3839#section-3.2

Added "3g2" for "video/3gpp2"
http://tools.ietf.org/html/rfc4393#section-3.2

Added "ogx" for "application/ogg"
http://tools.ietf.org/html/rfc5334#section-10.1
Added application/json and application/xhtml+xml

application/json:
http://www.ietf.org/rfc/rfc4627.txt
This could improve support for libraries like jQuery that request raw .json files

application/xhtml+xml:
http://www.rfc-editor.org/rfc/rfc3236.txt
Added additional common internet media types

Many of the changes come from: http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types

dtd as application/xml-dtd
http://tools.ietf.org/html/rfc3023#section-3.5

vcf and vcard as text/vcard				http://tools.ietf.org/html/rfc6350#section-10.1

dart as application/dart
https://www.dartlang.org/articles/embedding-in-html/

xps as application/vnd.ms-xpsdocument
oxps as application/oxps
http://www.ecma-international.org/publications/standards/Ecma-388.htm

flac as audio/x-flac
http://en.wikipedia.org/wiki/FLAC

spx as audio/ogg
http://tools.ietf.org/html/rfc5334#section-10.3

opus as audio/ogg
http://tools.ietf.org/html/draft-terriberry-oggopus-01

X3D Mime Types:
http://www.web3d.org/x3d/learn/mimetypes/
http://www.iana.org/assignments/media-types/model/x3d-vrml

appcache for text/cache-manifest
http://en.wikipedia.org/wiki/Cache_manifest_in_HTML5
Add unit test for Novell bug #497562
Fix setter of TableLayoutPanel.LayoutSettings throws unwanted exception (Novell bug #497562)
[MWF] Fix crash from null control in ContainerControl (#10537)
[System] Add [MonoTODO] on DefaultTraceListener.AssertUiEnabled.

See the mono-list thread for fun/gory details:

http://lists.ximian.com/pipermail/mono-list/2014-March/050732.html
Add new public API function mono_set_crash_chaining.

mono_set_crash_chaining tells mono to chain crash signals instead of just
running the next one.

This allows us to get the crash info from both mono and the native system.
[xbuild] Fix building with 2.0 toolset

BXC18794 - Error executing task Csc with 2.0 toolset since Mono 3.4.0
[jit] Fix some of the check for support of atomic intrinsics on arm.
[runtime] Disable some warnings.
[jit] Make generic ctor calls made out of gsharedvt methods indirect, since they cannot be patched. Fixes #18634.
[jit] Fix a regression caused by 837773af14c334427dcb17b57c5cc40c678ac943.
[llvm] Fix the build.
Revert "[xbuild] Fix building with 2.0 toolset"

This reverts commit 2086958399f30a8b7a997203c87d92dab2b507ce.

Revert this as it breaks the build:

MCS [net_2_0] Microsoft.Build.Engine.dll
Microsoft.Build.BuildEngine/Engine.cs(114,81): error CS0117: Microsoft.Build.Utilities.TargetDotNetFrameworkVersion' does not contain a definition forVersion30'
/root/my-mono-fork/mcs/class/Microsoft.Build.Engine/./../../class/lib/net_2_0/Microsoft.Build.Utilities.dll (Location of the symbol related to previous error)
Microsoft.Build.BuildEngine/Engine.cs(116,81): error CS0117: Microsoft.Build.Utilities.TargetDotNetFrameworkVersion' does not contain a definition forVersion35'
/root/my-mono-fork/mcs/class/Microsoft.Build.Engine/./../../class/lib/net_2_0/Microsoft.Build.Utilities.dll (Location of the symbol related to previous error)
Compilation failed: 2 error(s), 0 warnings