Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
2010-06-17 Miguel de Icaza <miguel@novell.com>
* DataConverter.cs: On bracketed cases, save the position as well,
like we do in the repeat case without brackets. Fixes #595929
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
* Runtime.cs: Document how NewObject() is meant to be used.
2010-03-04 Geoff Norton <gnorton@novell.com>
* Runtime.cs: Add a new private internal icall to construct
an object from its type without running the ctor.
2008-11-17 Chris Howie <cdhowie@gmail.com>
* DataConverter.cs: Fix alignment for strings when the
natural-alignment parameter is used '!'.
Disables CLS errors when not compiling with the CLS flag.
Fixes #445867
2008-03-12 Miguel de Icaza <miguel@novell.com>
* DataConverter.cs: Fencepost bug fix from Kenneth D. Weinert
<kenw@quarter-flash.com>
Fix from Kenneth as well to avoid getting stuck on a loop on
repeat patterns (example: _6C!i!i), it would loop inside the '6'
never continuing the decoding of the format string.
2008-02-10 Miguel de Icaza <miguel@novell.com>
* DataConverter.cs: Apply fix from Cliff Brake
<cliff.brake@gmail.com>, we were incrementing b.i in two places.
2007-05-30 Miguel de Icaza <miguel@novell.com>
* DataConverter.cs: Fix the PutBytesLE and PutByteBE, they were
overwriting memory that was out of range.
Fix based on patch from Luis Gomes.
A couple of fixes to compile with MS.NET 2.0 (from Luis as well).
2007-04-06 Miguel de Icaza <miguel@novell.com>
* a.cs: Test this stuff.
* DataConverter.cs: Implement Paolo's suggestion: provide a
PutBytes interface that stores data into an existing byte array
and make the GetBytes operations be wrappers around PutBytes.
2005-06-05 Kornél Pál <kornelpal@hotmail.com>
* Runtime.cs: Added GetDisplayName:
Returns the name and version of the runtime for reporting.
This method is intended for public use using reflection.
2004-05-22 Todd Berman <tberman@sevenl.net>
* Runtime.cs: Add this back, gnome# needs it. Mark everything internal.
2002-10-08 Miguel de Icaza <miguel@ximian.com>
* Runtime.cs: New file.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,65 @@
//
// Mono Runtime gateway functions
//
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
using System.Runtime.CompilerServices;
namespace Mono {
#if MOBILE
public
#endif
static class Runtime
{
[MethodImplAttribute (MethodImplOptions.InternalCall)]
private static extern void mono_runtime_install_handlers ();
static internal void InstallSignalHandlers ()
{
mono_runtime_install_handlers ();
}
// Should not be removed intended for external use
// Safe to be called using reflection
// Format is undefined only for use as a string for reporting
[MethodImplAttribute (MethodImplOptions.InternalCall)]
#if MOBILE
public
#else
internal
#endif
static extern string GetDisplayName ();
[MethodImplAttribute (MethodImplOptions.InternalCall)]
static extern string GetNativeStackTrace (Exception exception);
[MethodImplAttribute (MethodImplOptions.InternalCall)]
public static extern bool SetGCAllowSynchronousMajor (bool flag);
}
}