Fix ArgumentOutOfRangeException in HttpListenerManager.TryDequeueRequest when timeout is less than 0
Give the minor copy functions different names under for each minor collector to make profilers (Intruments) happy.
Sprinkle some inlining annotations magic to bring performance back to the 2.10 levels.

	* sgen-copy-object.h: For some reason gcc's inlining heuristics for serial_copy_object
	from serial_scan_object reason not to inline it. This causes a 20% increase in nursery
	scanning times.

	Be explicit about inlining hints to make sure we get what we need.
Some gcc versions ICE when inlining code using computed gotos.
Fix 'caller saved' typo in mono_arch_allocate_vars()

The reserved space is for 'callee-save' registers, not 'caller-save', as
shown by the check for 'AMD64_IS_CALLEE_SAVED_REG' in the loop next to
the comment.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Fix code indentation and formatting
Merge pull request #429 from penberg/fixes/typo-in-mini-amd64

Fix 'caller saved' typo in mono_arch_allocate_vars()
Revert 4e5e52a29818b5342ec3b9f0b51c74970765c071, which was pull request 242, which was novell bugzilla #689533

This patch miscompiled attributes like this:

                [EditorBrowsable (EditorBrowsableState.Advanced)]
                [Export ("init")]
                public  CAKeyFrameAnimation () : base (NSObjectFlag.Empty)
                {
                        if (IsDirectBinding) {
                                Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.Init);
                        } else {
                                Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.Init);
                        }
                }

In particular the [Export ("init")] method to be compiled like this:

    // method line 6274
    .method public hidebysig specialname rtspecialname
           instance default void '.ctor' ()  cil managed
    {
        .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) =  (01 00 02 00 00 00 00 00 ) // ........

        .custom instance void class MonoMac.CoreGraphics.CGImage::'.ctor'(int32, int32, int32, int32, int32, class MonoMac.CoreGraphics.CGColorSpace, valuetype MonoMac.CoreGraphics.CGImageAlphaInfo, class MonoMac.CoreGraphics.CGDataProvider, float32[], bool, valuetype MonoMac.CoreGraphics.CGColorRenderingIntent) =  (01 00 04 69 6E 69 74 00 00 ) // ...init..

Notice the "CGImage" attribtue instead of the ExportAttribute
Emit AOT line number information on osx/ios too.
When enabling security with "mono_security_enable_core_clr" on a Windows machine, it causes an infinite recession when calling System.IO.Directory.GetCurrentDirectory.

The loop is happening between these calls:
https://github.com/mono/mono/blob/92d8961e0b244429d4d82176f4b33c8a4b3b064c/mcs/class/corlib/System.IO/Path.cs#L298
https://github.com/mono/mono/blob/3c39ac4586b4470703fb4af0208b5baf1de70e43/mcs/class/corlib/System.Security.Permissions/FileIOPermission.cs#L157
https://github.com/mono/mono/blob/9322e0d16b0edc054947279af34d3c7afb286c89/mcs/class/corlib/System.IO/Directory.cs#L248

Stack trace as follows:

The requested operation caused a stack overflow.  at (wrapper managed-to-native) System.IO.MonoIO:GetCurrentDirectory (System.IO.MonoIOError&)
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathInternal (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathList (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathInternal (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathList (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
...Snip...
Fixed incorrect line spacing
Merge pull request #430 from Nican/master

Infinite recursion with GetCurrentDirectory and security enabled
Handle ConstructorBuilders in fixup_cattrs () correctly. Fixes #689533 (nemerle build).
Free the newly added assembly->remapped_tokens hashtable.
Free the newly added assembly->remapped_tokens hashtable.
Inline AM_COND_IF for configure to work with ancient aclocal
Fix best params candidate rules for overloads with non-default arguments. Fixes #6541
Searching for an attributes in probing mode should not report errors for other attributes. Fixes #6529
[System.Xml.Linq] Add error checking to the XElement constructors

Added matching tests.
Fix g_strsplit() when delimiter at end-of-string and at max_count.

Suppose you want to split a `name=value` string:

	char** kvp = g_strsplit ("name=value", "=", 2);
	// kvp[0] is "name", kvp[1] is "value"

That works, but what if the string is "malformed" and missses a value?

	char** kvp = g_strsplit ("name=", "=", 2);
	// kvp[0] is "name", kvp[1] is "="

A value of "=" makes no sense here: values returned from
g_strsplit() shouldn't contain delimeter unless max_count is specified
and it's _within_ the last string; it's also not what GLib does.

What makes sense is a value of "" (the empty string), which IS what
GLib does (so it's compatible and sensible).

Fix g_strsplit() to use the empty string when the "rest" value would
otherwise be the delimiter.