Cause MenuDeactivate event to be delivered when appropriate

This is achieved by moving the FireMenuDeactivate call to
MenuStrip.Dismiss and causing it to be called in a couple of places
where it ought to be.
X11: improve handling of WS_EX_TOPMOST

Currently, WS_EX_TOPMOST is handled by making the window transient-for
the root window.  I was unable to find any documentation that indicated
that this would have the desired effect.  Instead, use SetTopmost to
set _NET_WM_STATE to _NET_WM_STATE_ABOVE, per EWMH.

Also, use XMapRaised to raise topmost windows to the top of the stack
when mapped, as a last ditch effort to support window managers that
do not respect _NET_WM_STATE, such as xmonad.

This fixes an issue I encountered when running a winforms application
in xmonad, whereby drop down menus would fail to re-open if windows
had been re-arranged after the menu was first opened (in reality,
the menu was hiding behind the form).
Ignore the gdiplus dllmap on Windows.
Fix Bug 4811, xbuild should find xml documentation
[System] Don't overwrite custom Connection header on HttpWebRequest
[System] Add crude (for now) socket stealing of an HttpWebRequest.

HttpWebRequest is a very tricky piece of code when it comes to its socket, this patch is more like a hack to get something working out of it but it's definitely not the best option.
[System] Implement a first pass of ClientWebSocket.
Improving the retrieval of the user's locale on Apple systems.

The previous behavior used the entire local identifier string that includes optional settings such as variant and calendar format. This returns locales like en_US_POSIX@calendar=buddhist which result in the user's culture being the invariant culture.

This change builds the locale from the language, country code and optional script code so that the locale returned is in the expected format.

This commit is licensed under MIT/X11.
[FIX] Bug 267: wsdl fails with "Argument is out of range."

This fix bug 267
https://bugzilla.xamarin.com/show_bug.cgi?id=267

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
When generating resources, it intends to add the .resources file to the FilesWritten list. However, it sets the ItemSpec on the wrong item, and a 'Clean' ends up deleting the .resx file.
Define GC_NOT_DLL for included boehm on win32.

This commit licensed as MIT/X11.
[xBuild] Support ToolsVersion 12

From VS2013, MSBuild is now decouple from the .NET Framework and is a separate redistributable. This means it has a new location and version numbering scheme. There are also some addition MSBuild properties because of this
[xBuild] Support use of properties defined in Choose elements in project references

This is used by the .fsproj files generated by VS2013 which use a Choose element to set the location of the F# targets file to import
[xBuild] Suport >= in string conditions

e.g: '$(MSBuildAssemblyVersion)' == '' and ('$(VisualStudioVersion)' != '' and '$(VisualStudioVersion)' >= '12.0'), used in the .targets files shipped with VS2013
[xBuild] Support for ImportGroup element

Used in the .targets files shipped with VS2013
[xBuild] Fix Import elements with the combination of wildcards and absolute paths

Used in the .targets files shipped with VS2013
[xBuild] Fix compilation for Mono 2.0
[xBuild] Fix use of properties in project references when those properties use MSBuildExtensionPath after expanded
[runtime] Fix a runtime test which got broken by the newly added methods to the Marshal class.
revive XSLT standalone tests (which was broken because of dependency on too old nunit and build profiles).