Imported Upstream version 6.6.0.97
Former-commit-id: 36b6262d38adef7275aee46c9258ae34f9e3fb39
This commit is contained in:
parent
95fdb59ea6
commit
15bdb7a527
@ -972,7 +972,7 @@
|
|||||||
/* struct statvfs.f_fstypename */
|
/* struct statvfs.f_fstypename */
|
||||||
#undef HAVE_STATVFS_FSTYPENAME
|
#undef HAVE_STATVFS_FSTYPENAME
|
||||||
|
|
||||||
/* struct stat.st_birthtime */
|
/* struct stat.st_birthtimespec */
|
||||||
#undef HAVE_STAT_BIRTHTIME
|
#undef HAVE_STAT_BIRTHTIME
|
||||||
|
|
||||||
/* struct stat.st_atimensec */
|
/* struct stat.st_atimensec */
|
||||||
|
@ -1 +1 @@
|
|||||||
7926a792648f1baf888528635a4c8e86e3999cc8
|
c1c4180bcf0d7dbd1d0c854948b7b57e88437d3e
|
@ -1 +1 @@
|
|||||||
6c62eb854febb497f6a00b1d119dc74f32b6152d
|
875e956a9948f7a01d1d037a18e75e92d31b02ed
|
@ -836,6 +836,7 @@ namespace Mono.Debugger.Soft
|
|||||||
public Mono.Debugger.Soft.EnumMirror CreateEnumMirror(Mono.Debugger.Soft.TypeMirror type, Mono.Debugger.Soft.PrimitiveValue value) { throw null; }
|
public Mono.Debugger.Soft.EnumMirror CreateEnumMirror(Mono.Debugger.Soft.TypeMirror type, Mono.Debugger.Soft.PrimitiveValue value) { throw null; }
|
||||||
public Mono.Debugger.Soft.ExceptionEventRequest CreateExceptionRequest(Mono.Debugger.Soft.TypeMirror exc_type) { throw null; }
|
public Mono.Debugger.Soft.ExceptionEventRequest CreateExceptionRequest(Mono.Debugger.Soft.TypeMirror exc_type) { throw null; }
|
||||||
public Mono.Debugger.Soft.ExceptionEventRequest CreateExceptionRequest(Mono.Debugger.Soft.TypeMirror exc_type, bool caught, bool uncaught) { throw null; }
|
public Mono.Debugger.Soft.ExceptionEventRequest CreateExceptionRequest(Mono.Debugger.Soft.TypeMirror exc_type, bool caught, bool uncaught) { throw null; }
|
||||||
|
public Mono.Debugger.Soft.ExceptionEventRequest CreateExceptionRequest(Mono.Debugger.Soft.TypeMirror exc_type, bool caught, bool uncaught, bool everything_else) { throw null; }
|
||||||
public Mono.Debugger.Soft.MethodEntryEventRequest CreateMethodEntryRequest() { throw null; }
|
public Mono.Debugger.Soft.MethodEntryEventRequest CreateMethodEntryRequest() { throw null; }
|
||||||
public Mono.Debugger.Soft.MethodExitEventRequest CreateMethodExitRequest() { throw null; }
|
public Mono.Debugger.Soft.MethodExitEventRequest CreateMethodExitRequest() { throw null; }
|
||||||
public Mono.Debugger.Soft.StepEventRequest CreateStepRequest(Mono.Debugger.Soft.ThreadMirror thread) { throw null; }
|
public Mono.Debugger.Soft.StepEventRequest CreateStepRequest(Mono.Debugger.Soft.ThreadMirror thread) { throw null; }
|
||||||
|
@ -41,7 +41,7 @@ static partial class Consts
|
|||||||
// Use these assembly version constants to make code more maintainable.
|
// Use these assembly version constants to make code more maintainable.
|
||||||
//
|
//
|
||||||
|
|
||||||
public const string MonoVersion = "6.6.0.89";
|
public const string MonoVersion = "6.6.0.97";
|
||||||
public const string MonoCompany = "Mono development team";
|
public const string MonoCompany = "Mono development team";
|
||||||
public const string MonoProduct = "Mono Common Language Infrastructure";
|
public const string MonoProduct = "Mono Common Language Infrastructure";
|
||||||
public const string MonoCopyright = "(c) Various Mono authors";
|
public const string MonoCopyright = "(c) Various Mono authors";
|
||||||
|
@ -307,7 +307,14 @@ namespace Mono.Debugger.Soft
|
|||||||
public bool Subclasses {
|
public bool Subclasses {
|
||||||
get; set;
|
get; set;
|
||||||
}
|
}
|
||||||
|
public bool NotFilteredFeature {
|
||||||
|
get; set;
|
||||||
}
|
}
|
||||||
|
public bool EverythingElse {
|
||||||
|
get; set;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
class AssemblyModifier : Modifier {
|
class AssemblyModifier : Modifier {
|
||||||
public long[] Assemblies {
|
public long[] Assemblies {
|
||||||
@ -429,7 +436,7 @@ namespace Mono.Debugger.Soft
|
|||||||
* with newer runtimes, and vice versa.
|
* with newer runtimes, and vice versa.
|
||||||
*/
|
*/
|
||||||
internal const int MAJOR_VERSION = 2;
|
internal const int MAJOR_VERSION = 2;
|
||||||
internal const int MINOR_VERSION = 53;
|
internal const int MINOR_VERSION = 54;
|
||||||
|
|
||||||
enum WPSuspendPolicy {
|
enum WPSuspendPolicy {
|
||||||
NONE = 0,
|
NONE = 0,
|
||||||
@ -2632,6 +2639,10 @@ namespace Mono.Debugger.Soft
|
|||||||
} else if (!em.Subclasses) {
|
} else if (!em.Subclasses) {
|
||||||
throw new NotSupportedException ("This request is not supported by the protocol version implemented by the debuggee.");
|
throw new NotSupportedException ("This request is not supported by the protocol version implemented by the debuggee.");
|
||||||
}
|
}
|
||||||
|
if (Version.MajorVersion > 2 || Version.MinorVersion >= 54) {
|
||||||
|
w.WriteBool (em.NotFilteredFeature);
|
||||||
|
w.WriteBool (em.EverythingElse);
|
||||||
|
}
|
||||||
} else if (mod is AssemblyModifier) {
|
} else if (mod is AssemblyModifier) {
|
||||||
w.WriteByte ((byte)ModifierKind.ASSEMBLY_ONLY);
|
w.WriteByte ((byte)ModifierKind.ASSEMBLY_ONLY);
|
||||||
var amod = (mod as AssemblyModifier);
|
var amod = (mod as AssemblyModifier);
|
||||||
|
@ -6,9 +6,9 @@ namespace Mono.Debugger.Soft
|
|||||||
public sealed class ExceptionEventRequest : EventRequest {
|
public sealed class ExceptionEventRequest : EventRequest {
|
||||||
|
|
||||||
TypeMirror exc_type;
|
TypeMirror exc_type;
|
||||||
bool caught, uncaught, subclasses;
|
bool caught, uncaught, subclasses, not_filtered_feature, everything_else;
|
||||||
|
|
||||||
internal ExceptionEventRequest (VirtualMachine vm, TypeMirror exc_type, bool caught, bool uncaught) : base (vm, EventType.Exception) {
|
internal ExceptionEventRequest (VirtualMachine vm, TypeMirror exc_type, bool caught, bool uncaught, bool not_filtered_feature = false, bool everything_else = false) : base (vm, EventType.Exception) {
|
||||||
if (exc_type != null) {
|
if (exc_type != null) {
|
||||||
CheckMirror (vm, exc_type);
|
CheckMirror (vm, exc_type);
|
||||||
TypeMirror exception_type = vm.RootDomain.Corlib.GetType ("System.Exception", false, false);
|
TypeMirror exception_type = vm.RootDomain.Corlib.GetType ("System.Exception", false, false);
|
||||||
@ -19,6 +19,8 @@ namespace Mono.Debugger.Soft
|
|||||||
this.caught = caught;
|
this.caught = caught;
|
||||||
this.uncaught = uncaught;
|
this.uncaught = uncaught;
|
||||||
this.subclasses = true;
|
this.subclasses = true;
|
||||||
|
this.not_filtered_feature = not_filtered_feature;
|
||||||
|
this.everything_else = everything_else;
|
||||||
}
|
}
|
||||||
|
|
||||||
public TypeMirror ExceptionType {
|
public TypeMirror ExceptionType {
|
||||||
@ -41,7 +43,7 @@ namespace Mono.Debugger.Soft
|
|||||||
|
|
||||||
public override void Enable () {
|
public override void Enable () {
|
||||||
var mods = new List <Modifier> ();
|
var mods = new List <Modifier> ();
|
||||||
mods.Add (new ExceptionModifier () { Type = exc_type != null ? exc_type.Id : 0, Caught = caught, Uncaught = uncaught, Subclasses = subclasses });
|
mods.Add (new ExceptionModifier () { Type = exc_type != null ? exc_type.Id : 0, Caught = caught, Uncaught = uncaught, Subclasses = subclasses, NotFilteredFeature = not_filtered_feature, EverythingElse = everything_else });
|
||||||
SendReq (mods);
|
SendReq (mods);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -277,6 +277,13 @@ namespace Mono.Debugger.Soft
|
|||||||
return new ExceptionEventRequest (this, exc_type, caught, uncaught);
|
return new ExceptionEventRequest (this, exc_type, caught, uncaught);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ExceptionEventRequest CreateExceptionRequest (TypeMirror exc_type, bool caught, bool uncaught, bool everything_else) {
|
||||||
|
if (Version.AtLeast (2, 54))
|
||||||
|
return new ExceptionEventRequest (this, exc_type, caught, uncaught, true, everything_else);
|
||||||
|
else
|
||||||
|
return new ExceptionEventRequest (this, exc_type, caught, uncaught);
|
||||||
|
}
|
||||||
|
|
||||||
public AssemblyLoadEventRequest CreateAssemblyLoadRequest () {
|
public AssemblyLoadEventRequest CreateAssemblyLoadRequest () {
|
||||||
return new AssemblyLoadEventRequest (this);
|
return new AssemblyLoadEventRequest (this);
|
||||||
}
|
}
|
||||||
|
@ -584,6 +584,7 @@ public class Tests : TestsBase, ITest2
|
|||||||
inspect_enumerator_in_generic_struct();
|
inspect_enumerator_in_generic_struct();
|
||||||
if_property_stepping();
|
if_property_stepping();
|
||||||
fixed_size_array();
|
fixed_size_array();
|
||||||
|
test_new_exception_filter();
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -595,6 +596,11 @@ public class Tests : TestsBase, ITest2
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class MyException : Exception {
|
||||||
|
public MyException(string message) : base(message) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static void if_property_stepping() {
|
public static void if_property_stepping() {
|
||||||
var test = new TestClass();
|
var test = new TestClass();
|
||||||
if (test.OneLineProperty == "someInvalidValue6049e709-7271-41a1-bc0a-f1f1b80d4125")
|
if (test.OneLineProperty == "someInvalidValue6049e709-7271-41a1-bc0a-f1f1b80d4125")
|
||||||
@ -827,6 +833,57 @@ public class Tests : TestsBase, ITest2
|
|||||||
n.Buffer2 = new char4('a', 'b', 'c', 'd');
|
n.Buffer2 = new char4('a', 'b', 'c', 'd');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||||
|
public static void test_new_exception_filter () {
|
||||||
|
test_new_exception_filter1();
|
||||||
|
test_new_exception_filter2();
|
||||||
|
test_new_exception_filter3();
|
||||||
|
test_new_exception_filter4();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static void test_new_exception_filter1 () {
|
||||||
|
try {
|
||||||
|
throw new Exception("excp");
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void test_new_exception_filter2 () {
|
||||||
|
try {
|
||||||
|
throw new MyException("excp");
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void test_new_exception_filter3 () {
|
||||||
|
try {
|
||||||
|
throw new ArgumentException();
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
throw new Exception("excp");
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void test_new_exception_filter4 () {
|
||||||
|
try {
|
||||||
|
throw new ArgumentException();
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
throw new Exception("excp");
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
[MethodImplAttribute (MethodImplOptions.NoInlining)]
|
||||||
public static void inspect_enumerator_in_generic_struct() {
|
public static void inspect_enumerator_in_generic_struct() {
|
||||||
TestEnumeratorInsideGenericStruct<String, String> generic_struct = new TestEnumeratorInsideGenericStruct<String, String>(new KeyValuePair<string, string>("0", "f1"));
|
TestEnumeratorInsideGenericStruct<String, String> generic_struct = new TestEnumeratorInsideGenericStruct<String, String>(new KeyValuePair<string, string>("0", "f1"));
|
||||||
|
@ -1 +1 @@
|
|||||||
75967555e6b2fb9903c055d496b749f56798e897
|
ec003a04c422d9f2b5c359cfde61cd3a6b2f4b9a
|
@ -204,9 +204,11 @@ namespace System.Xml.Serialization
|
|||||||
{
|
{
|
||||||
if (isNullable && ReadNull()) return null;
|
if (isNullable && ReadNull()) return null;
|
||||||
|
|
||||||
if (checkType) {
|
if (checkType)
|
||||||
|
{
|
||||||
System.Xml.XmlQualifiedName t = GetXsiType();
|
System.Xml.XmlQualifiedName t = GetXsiType();
|
||||||
if (t != null) {
|
if (t != null)
|
||||||
|
{
|
||||||
XmlTypeMapping realMap = typeMap.GetRealElementMap (t.Name, t.Namespace);
|
XmlTypeMapping realMap = typeMap.GetRealElementMap (t.Name, t.Namespace);
|
||||||
if (realMap == null) {
|
if (realMap == null) {
|
||||||
if (typeMap.TypeData.Type == typeof(object))
|
if (typeMap.TypeData.Type == typeof(object))
|
||||||
@ -219,11 +221,6 @@ namespace System.Xml.Serialization
|
|||||||
}
|
}
|
||||||
else if (typeMap.TypeData.Type == typeof(object))
|
else if (typeMap.TypeData.Type == typeof(object))
|
||||||
return ReadTypedPrimitive (AnyType);
|
return ReadTypedPrimitive (AnyType);
|
||||||
else {
|
|
||||||
XmlTypeMapping realMap = typeMap.GetRealElementMap (Reader.LocalName, Reader.NamespaceURI);
|
|
||||||
if (realMap != null && realMap != typeMap)
|
|
||||||
return ReadObject(realMap, false, false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object ob = CreateInstance (typeMap.TypeData.Type, true);
|
object ob = CreateInstance (typeMap.TypeData.Type, true);
|
||||||
|
@ -389,7 +389,7 @@ namespace System.Xml.Serialization
|
|||||||
return (XmlTypeMapMemberAttribute)_attributeMembers [BuildKey (name,ns, -1)];
|
return (XmlTypeMapMemberAttribute)_attributeMembers [BuildKey (name,ns, -1)];
|
||||||
}
|
}
|
||||||
|
|
||||||
public XmlTypeMapElementInfo GetElement (string name, string ns, int minimalOrder)
|
public XmlTypeMapElementInfo GetElement(string name, string ns, int minimalOrder)
|
||||||
{
|
{
|
||||||
if (_elements == null)
|
if (_elements == null)
|
||||||
return null;
|
return null;
|
||||||
@ -404,35 +404,19 @@ namespace System.Xml.Serialization
|
|||||||
selected = info;
|
selected = info;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (info.MappedType != null && info.MappedType.DerivedTypes.Count > 0) {
|
|
||||||
foreach (XmlTypeMapping derrivedInfo in info.MappedType.DerivedTypes) {
|
|
||||||
if (derrivedInfo.ElementName == name && derrivedInfo.Namespace == ns) {
|
|
||||||
if (info.ExplicitOrder < minimalOrder)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (selected == null || selected.ExplicitOrder > info.ExplicitOrder) {
|
|
||||||
selected = info;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return selected;
|
return selected;
|
||||||
}
|
}
|
||||||
|
|
||||||
public XmlTypeMapElementInfo GetElement (string name, string ns)
|
public XmlTypeMapElementInfo GetElement(string name, string ns)
|
||||||
{
|
{
|
||||||
if (_elements == null) return null;
|
if (_elements == null) return null;
|
||||||
|
|
||||||
foreach (XmlTypeMapElementInfo info in _elements.Values)
|
foreach (XmlTypeMapElementInfo info in _elements.Values)
|
||||||
if (info.ElementName == name && info.Namespace == ns)
|
if (info.ElementName == name && info.Namespace == ns)
|
||||||
return info;
|
return info;
|
||||||
else if (info.MappedType != null && info.MappedType.DerivedTypes.Count > 0) {
|
|
||||||
foreach (XmlTypeMapping derrivedInfo in info.MappedType.DerivedTypes)
|
|
||||||
if (derrivedInfo.ElementName == name && derrivedInfo.Namespace == ns)
|
|
||||||
return info;
|
|
||||||
}
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
@ -1686,28 +1687,40 @@ namespace MonoTests.System.XmlSerialization
|
|||||||
Assert.AreEqual ("b", d.Extra[1]);
|
Assert.AreEqual ("b", d.Extra[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test] // PR #11194
|
// https://github.com/mono/mono/issues/16918
|
||||||
public void TestDerrivedClassProperty ()
|
[Test]
|
||||||
|
public void Bug16918 ()
|
||||||
{
|
{
|
||||||
var data = "<layout width=\".25\" height =\".25\" x=\"0\" y=\"0\" id=\"portrait\" class=\"render\"><background color=\"white\"><div x=\".03\" y=\".05\" width=\".94\" height =\".9\" layout=\"proportional_rows\" paddingX=\".01\" paddingY=\".02\"><background color=\"black\"></background><background color=\"gray\" padding=\".1\"><label color=\"white\" font=\"emulogic.ttf\" fontSize=\"15\">Test UI</label></background><br brSize=\"1\" /><background class=\"back,Lab\" color=\"green\"><label class=\"Lab\" color=\"white\" font=\"emulogic.ttf\" fontSize=\"15\">GREEN</label></background><background color=\"red\"><label class=\"Lab\" color=\"white\" font=\"emulogic.ttf\" fontSize=\"15\">RED</label></background><background color=\"blue\"><label class=\"Lab\" color=\"white\" font=\"emulogic.ttf\" fontSize=\"15\">TLUE</label></background><background color=\"blue\"><label class=\"Lab\" color=\"white\" font=\"emulogic.ttf\" fontSize=\"15\">BLUE</label></background></div></background></layout>";
|
PropertiesWithSameNameAsTheirType testObject = new PropertiesWithSameNameAsTheirType ()
|
||||||
|
{
|
||||||
|
E1 = E1.Two,
|
||||||
|
E2 = E2.Two,
|
||||||
|
E3 = E3.Two,
|
||||||
|
E4 = E4.Two,
|
||||||
|
E5 = E5.Two
|
||||||
|
};
|
||||||
|
|
||||||
XmlAttributeOverrides overrides = PR11194.GenerateLayoutOverrides<PR11194ChildLo>();
|
XmlSerializer serializer = new XmlSerializer (typeof (PropertiesWithSameNameAsTheirType));
|
||||||
|
|
||||||
var result = Deserialize(typeof(PR11194ChildLo), data, overrides) as PR11194ChildLo;
|
// serialize
|
||||||
|
string serializedObject;
|
||||||
|
using (MemoryStream memoryStream = new MemoryStream ())
|
||||||
|
{
|
||||||
|
serializer.Serialize (memoryStream, testObject);
|
||||||
|
serializedObject = Encoding.UTF8.GetString (memoryStream.ToArray ());
|
||||||
|
}
|
||||||
|
|
||||||
PR11194Parent2 child;
|
PropertiesWithSameNameAsTheirType deserializedObject;
|
||||||
Assert.IsNotNull(result, "#11194_1");
|
using (MemoryStream memoryStream = new MemoryStream (Encoding.UTF8.GetBytes (serializedObject)))
|
||||||
Assert.AreEqual(1, result.children.Count, "#11194_2");
|
{
|
||||||
child = result.children[0] as PR11194Parent2;
|
deserializedObject = (PropertiesWithSameNameAsTheirType)serializer.Deserialize (memoryStream);
|
||||||
Assert.IsNotNull(child, "#11194_3");
|
}
|
||||||
Assert.AreEqual(1, child.children.Count, "#11194_4");
|
|
||||||
child = child.children[0] as PR11194Parent2;
|
Assert.AreEqual (testObject.E1, deserializedObject.E1, "#1");
|
||||||
Assert.IsNotNull(child, "#11194_5");
|
Assert.AreEqual (testObject.E2, deserializedObject.E2, "#2");
|
||||||
Assert.AreEqual(7, child.children.Count, "#11194_6");
|
Assert.AreEqual (testObject.E3, deserializedObject.E3, "#3");
|
||||||
child = child.children[1] as PR11194Parent2;
|
Assert.AreEqual (testObject.E4, deserializedObject.E4, "#4");
|
||||||
Assert.IsNotNull(child, "#11194_7");
|
Assert.AreEqual (testObject.E5, deserializedObject.E5, "#5");
|
||||||
Assert.AreEqual(1, child.children.Count, "#11194_8");
|
|
||||||
Assert.AreEqual("PR11194ChildL", child.children[0].GetType().Name, "#11194_9");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@ -1207,157 +1205,54 @@ namespace MonoTests.System.Xml.TestClasses
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
#region PR_11194
|
public class PropertiesWithSameNameAsTheirType
|
||||||
|
|
||||||
#region PR_11194_GenerateOverrides
|
|
||||||
public static class PR11194
|
|
||||||
{
|
{
|
||||||
public static XmlAttributeOverrides GenerateLayoutOverrides<T>()
|
public PropertiesWithSameNameAsTheirType ()
|
||||||
{
|
|
||||||
Type tType = typeof(T);
|
|
||||||
|
|
||||||
TypeInfo tTypeInfo = tType.GetTypeInfo();
|
|
||||||
|
|
||||||
IEnumerable<PropertyInfo> props = tType.GetRuntimeProperties();
|
|
||||||
|
|
||||||
XmlAttributeOverrides overrides = new XmlAttributeOverrides();
|
|
||||||
|
|
||||||
foreach (PropertyInfo prop in props) {
|
|
||||||
XmlDerrivedAttribute attr = prop.GetCustomAttribute<XmlDerrivedAttribute>();
|
|
||||||
|
|
||||||
if (attr == null) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
Type dType = prop.DeclaringType;
|
|
||||||
|
|
||||||
Type pType = prop.PropertyType;
|
|
||||||
TypeInfo pTypeInfo = pType.GetTypeInfo();
|
|
||||||
|
|
||||||
Type enumType = typeof(IEnumerable<>);
|
|
||||||
|
|
||||||
if (pTypeInfo.IsGenericType
|
|
||||||
&& pTypeInfo.ImplementedInterfaces.Any(t =>
|
|
||||||
(t.GetTypeInfo().IsGenericType && t.GetGenericTypeDefinition() == enumType))) {
|
|
||||||
pType = pType.GenericTypeArguments[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
XmlAttributes overrideAttributes = GenerateOverrideAttributes(dType, pType, attr);
|
|
||||||
|
|
||||||
overrides.Add(dType, prop.Name, overrideAttributes);
|
|
||||||
}
|
|
||||||
|
|
||||||
return overrides;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static XmlAttributes GenerateOverrideAttributes (Type declaringType, Type propertyType, XmlDerrivedAttribute attr)
|
|
||||||
{
|
|
||||||
XmlAttributes xAttrs = new XmlAttributes();
|
|
||||||
|
|
||||||
Assembly a = declaringType.GetTypeInfo().Assembly;
|
|
||||||
TypeInfo interfaceType = propertyType.GetTypeInfo();
|
|
||||||
IEnumerable<Type> types = a.ExportedTypes.Where(t => interfaceType.IsAssignableFrom(t.GetTypeInfo()) && !t.GetTypeInfo().IsAbstract);
|
|
||||||
|
|
||||||
foreach (Type t in types) {
|
|
||||||
string name = NameBySourceType(t, attr.SrcType);// t.GetTypeInfo().GetCustomAttribute<XmlTypeAttribute>().TypeName;
|
|
||||||
XmlElementAttribute xAttr = new XmlElementAttribute();
|
|
||||||
xAttr.ElementName = name;
|
|
||||||
xAttr.Type = t;
|
|
||||||
xAttrs.XmlElements.Add(xAttr);
|
|
||||||
}
|
|
||||||
|
|
||||||
return xAttrs;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static string NameBySourceType (Type derrivedType, XmlDerrivedSourceType srcType)
|
|
||||||
{
|
|
||||||
string name = null;
|
|
||||||
switch (srcType)
|
|
||||||
{
|
|
||||||
case XmlDerrivedSourceType.ByXmlType:
|
|
||||||
name = derrivedType.GetTypeInfo().GetCustomAttribute<XmlTypeAttribute>().TypeName;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region helperAttribute
|
|
||||||
public enum XmlDerrivedSourceType
|
|
||||||
{
|
|
||||||
ByXmlType
|
|
||||||
}
|
|
||||||
|
|
||||||
public class XmlDerrivedAttribute : Attribute
|
|
||||||
{
|
|
||||||
public XmlDerrivedSourceType SrcType { get; set; }
|
|
||||||
|
|
||||||
public XmlDerrivedAttribute(XmlDerrivedSourceType srcType)
|
|
||||||
{
|
|
||||||
SrcType = srcType;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
public abstract class PR11194Parent
|
|
||||||
{
|
|
||||||
[XmlIgnore]
|
|
||||||
public PR11194Parent Parent { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract class PR11194Parent2 : PR11194Parent
|
|
||||||
{
|
|
||||||
[XmlAttribute]
|
|
||||||
public float width { get; set; }
|
|
||||||
[XmlAttribute]
|
|
||||||
public float height { get; set; }
|
|
||||||
[XmlAttribute]
|
|
||||||
public float x { get; set; }
|
|
||||||
[XmlAttribute]
|
|
||||||
public float y { get; set; }
|
|
||||||
[XmlAttribute]
|
|
||||||
public string id { get; set; }
|
|
||||||
[XmlElement]
|
|
||||||
[XmlDerrived(XmlDerrivedSourceType.ByXmlType)]
|
|
||||||
public List<PR11194Parent> children { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[XmlType("background")]
|
|
||||||
public class PR11194ChildB : PR11194Parent2
|
|
||||||
{
|
|
||||||
[XmlAttribute]
|
|
||||||
public string image { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[XmlType("br")]
|
|
||||||
public class PR11194ChildBr : PR11194Parent
|
|
||||||
{
|
|
||||||
[XmlAttribute("brSize")]
|
|
||||||
public int breaks { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[XmlType("div")]
|
|
||||||
public class PR11194ChildD : PR11194ChildLo
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlType("label")]
|
public object obj1 { get; set; }
|
||||||
public class PR11194ChildL : PR11194Parent2
|
public object obj2 { get; set; }
|
||||||
{
|
public object obj3 { get; set; }
|
||||||
[XmlAttribute]
|
public object obj4 { get; set; }
|
||||||
public string font { get; set; }
|
public object obj5 { get; set; }
|
||||||
[XmlAttribute]
|
|
||||||
public int fontSize { get; set; }
|
public E1 E1 { get; set; }
|
||||||
[XmlText]
|
public E2 E2 { get; set; }
|
||||||
public string Text { get; set; }
|
public E3 E3 { get; set; }
|
||||||
|
public E4 E4 { get; set; }
|
||||||
|
public E5 E5 { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlType("layout")]
|
public enum E1
|
||||||
public class PR11194ChildLo : PR11194Parent2
|
|
||||||
{
|
{
|
||||||
|
One,
|
||||||
|
Two,
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum E2
|
||||||
|
{
|
||||||
|
One,
|
||||||
|
Two,
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum E5
|
||||||
|
{
|
||||||
|
One,
|
||||||
|
Two,
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum E3
|
||||||
|
{
|
||||||
|
One,
|
||||||
|
Two,
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum E4
|
||||||
|
{
|
||||||
|
One,
|
||||||
|
Two,
|
||||||
}
|
}
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
ad3e9f580ce57dfc6b40093729af53da06f1eae2
|
edc1389c07394c14b27e463871b22b1561937374
|
@ -1 +1 @@
|
|||||||
c2b1ff6d4020e64bf4e4321b012d2e6bd6df851e
|
4ff2e299148bc180e72ad19f5adfddb59f8968ac
|
@ -1 +1 @@
|
|||||||
57346dfa4dfcfd703c2e6439ba239e8abd8f8fdc
|
29a1fbbf19d42d96405d39a21f1513237b134c2f
|
@ -1 +1 @@
|
|||||||
a4d856f22d3b31af4aec91144bc95a8935797dd3
|
59d20293264f996016a6966494e42c88ded3d2f0
|
@ -1 +1 @@
|
|||||||
e824e7d2594502e33b8b81dfae235e687dd2ca0c
|
2407bcaadeea1315459f2dcc9f409c43878239e6
|
@ -1 +1 @@
|
|||||||
a1c4c11b881596a0dc2da00d93455838c01cb2e7
|
02111185a37ca5018aba384763d2dae87428e1bc
|
@ -1 +1 @@
|
|||||||
58f405417ff660b59be83af91c05be02fc94df89
|
7367be6e5163b9fc3bacb712cdc3874535ce373a
|
@ -1 +1 @@
|
|||||||
ad3e9f580ce57dfc6b40093729af53da06f1eae2
|
edc1389c07394c14b27e463871b22b1561937374
|
@ -1 +1 @@
|
|||||||
c2b1ff6d4020e64bf4e4321b012d2e6bd6df851e
|
4ff2e299148bc180e72ad19f5adfddb59f8968ac
|
@ -1 +1 @@
|
|||||||
57346dfa4dfcfd703c2e6439ba239e8abd8f8fdc
|
29a1fbbf19d42d96405d39a21f1513237b134c2f
|
@ -1 +1 @@
|
|||||||
a4d856f22d3b31af4aec91144bc95a8935797dd3
|
59d20293264f996016a6966494e42c88ded3d2f0
|
@ -1 +1 @@
|
|||||||
e824e7d2594502e33b8b81dfae235e687dd2ca0c
|
2407bcaadeea1315459f2dcc9f409c43878239e6
|
@ -1 +1 @@
|
|||||||
a1c4c11b881596a0dc2da00d93455838c01cb2e7
|
02111185a37ca5018aba384763d2dae87428e1bc
|
@ -1 +1 @@
|
|||||||
1e0c910b7337cef0f64db972351d622bd38639ea
|
fe56122f136d473f918fc364b67d415599c5ef19
|
@ -1 +1 @@
|
|||||||
58f405417ff660b59be83af91c05be02fc94df89
|
7367be6e5163b9fc3bacb712cdc3874535ce373a
|
@ -1 +1 @@
|
|||||||
ad3e9f580ce57dfc6b40093729af53da06f1eae2
|
edc1389c07394c14b27e463871b22b1561937374
|
@ -1 +1 @@
|
|||||||
c2b1ff6d4020e64bf4e4321b012d2e6bd6df851e
|
4ff2e299148bc180e72ad19f5adfddb59f8968ac
|
@ -1 +1 @@
|
|||||||
57346dfa4dfcfd703c2e6439ba239e8abd8f8fdc
|
29a1fbbf19d42d96405d39a21f1513237b134c2f
|
@ -1 +1 @@
|
|||||||
a4d856f22d3b31af4aec91144bc95a8935797dd3
|
59d20293264f996016a6966494e42c88ded3d2f0
|
@ -1 +1 @@
|
|||||||
e824e7d2594502e33b8b81dfae235e687dd2ca0c
|
2407bcaadeea1315459f2dcc9f409c43878239e6
|
@ -1 +1 @@
|
|||||||
a1c4c11b881596a0dc2da00d93455838c01cb2e7
|
02111185a37ca5018aba384763d2dae87428e1bc
|
@ -1 +1 @@
|
|||||||
1e0c910b7337cef0f64db972351d622bd38639ea
|
fe56122f136d473f918fc364b67d415599c5ef19
|
@ -1 +1 @@
|
|||||||
58f405417ff660b59be83af91c05be02fc94df89
|
7367be6e5163b9fc3bacb712cdc3874535ce373a
|
@ -1 +1 @@
|
|||||||
ad3e9f580ce57dfc6b40093729af53da06f1eae2
|
edc1389c07394c14b27e463871b22b1561937374
|
@ -1 +1 @@
|
|||||||
c2b1ff6d4020e64bf4e4321b012d2e6bd6df851e
|
4ff2e299148bc180e72ad19f5adfddb59f8968ac
|
@ -1 +1 @@
|
|||||||
e65f302024fac9b33d86c384defd8833cd83a95b
|
1dd0fe1ec96f67481278bd2e0eaa6afe2f20043e
|
@ -1 +1 @@
|
|||||||
a4d856f22d3b31af4aec91144bc95a8935797dd3
|
59d20293264f996016a6966494e42c88ded3d2f0
|
@ -1 +1 @@
|
|||||||
e824e7d2594502e33b8b81dfae235e687dd2ca0c
|
2407bcaadeea1315459f2dcc9f409c43878239e6
|
@ -1 +1 @@
|
|||||||
a1c4c11b881596a0dc2da00d93455838c01cb2e7
|
02111185a37ca5018aba384763d2dae87428e1bc
|
@ -1 +1 @@
|
|||||||
1e0c910b7337cef0f64db972351d622bd38639ea
|
fe56122f136d473f918fc364b67d415599c5ef19
|
@ -1 +1 @@
|
|||||||
4130936eadcb3b7f17d5daea6e5c0ccf333e0e80
|
c1d6d365f014df7509c75839511a94e3f9ccfc70
|
@ -1 +1 @@
|
|||||||
c2451bf5daef2c3fd185de52337a5c63f3fe2cde
|
df6329391df4d8d574efdcff9e616e4e5ca30e85
|
@ -1277,11 +1277,9 @@ mono_de_ss_start (SingleStepReq *ss_req, SingleStepArgs *ss_args)
|
|||||||
int nframes = ss_args->nframes;
|
int nframes = ss_args->nframes;
|
||||||
SeqPoint *sp = &ss_args->sp;
|
SeqPoint *sp = &ss_args->sp;
|
||||||
|
|
||||||
#if defined(HOST_ANDROID) || defined(TARGET_ANDROID)
|
/* this can happen on a single step in a exception on android (Mono_UnhandledException_internal) and on IOS */
|
||||||
/* this can happen on a single step in a exception on android (Mono_UnhandledException_internal) */
|
|
||||||
if (!method)
|
if (!method)
|
||||||
return;
|
return;
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Implement single stepping using breakpoints if possible.
|
* Implement single stepping using breakpoints if possible.
|
||||||
|
@ -79,7 +79,7 @@ typedef struct {
|
|||||||
GHashTable *type_names; /* For kind == MONO_KIND_TYPE_NAME_ONLY */
|
GHashTable *type_names; /* For kind == MONO_KIND_TYPE_NAME_ONLY */
|
||||||
StepFilter filter; /* For kind == MOD_KIND_STEP */
|
StepFilter filter; /* For kind == MOD_KIND_STEP */
|
||||||
} data;
|
} data;
|
||||||
gboolean caught, uncaught, subclasses; /* For kind == MOD_KIND_EXCEPTION_ONLY */
|
gboolean caught, uncaught, subclasses, not_filtered_feature, everything_else; /* For kind == MOD_KIND_EXCEPTION_ONLY */
|
||||||
} Modifier;
|
} Modifier;
|
||||||
|
|
||||||
typedef struct{
|
typedef struct{
|
||||||
|
@ -1 +1 @@
|
|||||||
9c51fe9e057764a2c474409e541765e47c9af7bf
|
5009c2410ad11a3c1f2dbde86cd70bb05e273adc
|
@ -1 +1 @@
|
|||||||
#define FULL_VERSION "explicit/bb522ed"
|
#define FULL_VERSION "explicit/af008b2"
|
||||||
|
@ -1496,10 +1496,10 @@ distclean-generic:
|
|||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
@echo "This command is intended for maintainers to use"
|
@echo "This command is intended for maintainers to use"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
@CROSS_COMPILE_TRUE@test-local:
|
|
||||||
@HOST_WIN32_TRUE@test-local:
|
|
||||||
@CROSS_COMPILE_TRUE@clean-local:
|
@CROSS_COMPILE_TRUE@clean-local:
|
||||||
@HOST_WIN32_TRUE@clean-local:
|
@HOST_WIN32_TRUE@clean-local:
|
||||||
|
@CROSS_COMPILE_TRUE@test-local:
|
||||||
|
@HOST_WIN32_TRUE@test-local:
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
clean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \
|
clean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \
|
||||||
|
@ -586,6 +586,12 @@ unregister_thread (void *arg)
|
|||||||
mono_thread_hazardous_try_free (info, free_thread_info);
|
mono_thread_hazardous_try_free (info, free_thread_info);
|
||||||
|
|
||||||
mono_thread_small_id_free (small_id);
|
mono_thread_small_id_free (small_id);
|
||||||
|
// clear the small_id thread local, in case this thread so that if it is reattached while running other TLS key dtors it will get a new small id
|
||||||
|
#ifdef MONO_KEYWORD_THREAD
|
||||||
|
tls_small_id = -1;
|
||||||
|
#else
|
||||||
|
mono_native_tls_set_value (small_id_key, NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
mono_threads_signal_thread_handle (handle);
|
mono_threads_signal_thread_handle (handle);
|
||||||
|
|
||||||
|
@ -525,8 +525,8 @@ distclean-generic:
|
|||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
@echo "This command is intended for maintainers to use"
|
@echo "This command is intended for maintainers to use"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
@ENABLE_MSVC_FALSE@install-exec-local:
|
|
||||||
@ENABLE_MSVC_FALSE@clean-local:
|
@ENABLE_MSVC_FALSE@clean-local:
|
||||||
|
@ENABLE_MSVC_FALSE@install-exec-local:
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
|
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
|
||||||
|
BIN
po/mcs/de.gmo
BIN
po/mcs/de.gmo
Binary file not shown.
@ -1 +1 @@
|
|||||||
94f3180e87013a67bca07d9de8db26bfb0e829a9
|
264bda96fa3234e217568c2650004f02a3997af7
|
BIN
po/mcs/es.gmo
BIN
po/mcs/es.gmo
Binary file not shown.
@ -1 +1 @@
|
|||||||
80f663c8d02f311a6b390a6ce7bc4c7259d5a19c
|
90c129805db0ea6c9038a6877c0641359066791c
|
BIN
po/mcs/ja.gmo
BIN
po/mcs/ja.gmo
Binary file not shown.
@ -1 +1 @@
|
|||||||
bd7dd8a287754c7f9afe9282da13f54b4d11e885
|
eecd334f0adb90def5cec90b170d0d072264f202
|
@ -6,9 +6,9 @@
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: mono 6.6.0.89\n"
|
"Project-Id-Version: mono 6.6.0.97\n"
|
||||||
"Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n"
|
"Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n"
|
||||||
"POT-Creation-Date: 2019-09-24 08:26+0000\n"
|
"POT-Creation-Date: 2019-09-25 09:02+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
BIN
po/mcs/pt_BR.gmo
BIN
po/mcs/pt_BR.gmo
Binary file not shown.
@ -1 +1 @@
|
|||||||
36d506ac1cdb16290d667593db1e5b2928cc50eb
|
10bb4aecde65b8a57a9ec85da90df90c2e57c419
|
@ -3,6 +3,8 @@ tmpinst = _tmpinst
|
|||||||
|
|
||||||
noinst_SCRIPTS = mono-wrapper monodis-wrapper
|
noinst_SCRIPTS = mono-wrapper monodis-wrapper
|
||||||
|
|
||||||
|
EXTRA_DIST = bin/mono-hang-watchdog.in
|
||||||
|
|
||||||
etctmp = etc
|
etctmp = etc
|
||||||
symlinks = etc/mono/1.0/machine.config etc/mono/2.0/machine.config etc/mono/2.0/web.config etc/mono/browscap.ini etc/mono/2.0/Browsers/Compat.browser
|
symlinks = etc/mono/1.0/machine.config etc/mono/2.0/machine.config etc/mono/2.0/web.config etc/mono/browscap.ini etc/mono/2.0/Browsers/Compat.browser
|
||||||
|
|
||||||
@ -308,12 +310,3 @@ $(tmpinst)/bin/al: $(tmpinst)/bin/mono Makefile
|
|||||||
|
|
||||||
test-support-files: $(TEST_SUPPORT_FILES)
|
test-support-files: $(TEST_SUPPORT_FILES)
|
||||||
@:
|
@:
|
||||||
|
|
||||||
# the 'cygnus' option also disables the default 'distdir:' target, which we _do_ want
|
|
||||||
MYDISTFILES = $(DIST_COMMON)
|
|
||||||
distdir: $(MYDISTFILES)
|
|
||||||
rm -fr $(distdir)
|
|
||||||
mkdir $(distdir)
|
|
||||||
test -z '$(MYDISTFILES)' || for file in ''$(MYDISTFILES); do \
|
|
||||||
cp -p $$file $(distdir) ; done
|
|
||||||
find $(distdir) -type f -exec chmod a+r {} ';'
|
|
||||||
|
@ -431,6 +431,7 @@ top_builddir = @top_builddir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
tmpinst = _tmpinst
|
tmpinst = _tmpinst
|
||||||
noinst_SCRIPTS = mono-wrapper monodis-wrapper
|
noinst_SCRIPTS = mono-wrapper monodis-wrapper
|
||||||
|
EXTRA_DIST = bin/mono-hang-watchdog.in
|
||||||
etctmp = etc
|
etctmp = etc
|
||||||
|
|
||||||
# This is needed at least to build configure --with-runtime-preset=fullaot.
|
# This is needed at least to build configure --with-runtime-preset=fullaot.
|
||||||
@ -461,9 +462,6 @@ TEST_SUPPORT_FILES = $(tmpinst)/bin/mono $(tmpinst)/bin/ilasm $(tmpinst)/bin/csc
|
|||||||
VERIFY_TESTS_FILTER = System.Runtime.CompilerServices.Unsafe.dll \
|
VERIFY_TESTS_FILTER = System.Runtime.CompilerServices.Unsafe.dll \
|
||||||
$(am__append_17) Xunit.NetCore.Extensions.dll $(am__append_18)
|
$(am__append_17) Xunit.NetCore.Extensions.dll $(am__append_18)
|
||||||
CLEANFILES = etc/mono/config
|
CLEANFILES = etc/mono/config
|
||||||
|
|
||||||
# the 'cygnus' option also disables the default 'distdir:' target, which we _do_ want
|
|
||||||
MYDISTFILES = $(DIST_COMMON)
|
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
@ -514,6 +512,37 @@ ctags CTAGS:
|
|||||||
|
|
||||||
cscope cscopelist:
|
cscope cscopelist:
|
||||||
|
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
list='$(DISTFILES)'; \
|
||||||
|
dist_files=`for file in $$list; do echo $$file; done | \
|
||||||
|
sed -e "s|^$$srcdirstrip/||;t" \
|
||||||
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||||
|
case $$dist_files in \
|
||||||
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||||
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||||
|
sort -u` ;; \
|
||||||
|
esac; \
|
||||||
|
for file in $$dist_files; do \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test -d "$(distdir)/$$file"; then \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f "$(distdir)/$$file" \
|
||||||
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
@ -830,12 +859,6 @@ $(tmpinst)/bin/al: $(tmpinst)/bin/mono Makefile
|
|||||||
|
|
||||||
test-support-files: $(TEST_SUPPORT_FILES)
|
test-support-files: $(TEST_SUPPORT_FILES)
|
||||||
@:
|
@:
|
||||||
distdir: $(MYDISTFILES)
|
|
||||||
rm -fr $(distdir)
|
|
||||||
mkdir $(distdir)
|
|
||||||
test -z '$(MYDISTFILES)' || for file in ''$(MYDISTFILES); do \
|
|
||||||
cp -p $$file $(distdir) ; done
|
|
||||||
find $(distdir) -type f -exec chmod a+r {} ';'
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
3
runtime/bin/mono-hang-watchdog.in
Normal file
3
runtime/bin/mono-hang-watchdog.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
r='@mono_build_root@'
|
||||||
|
exec "$r/tools/mono-hang-watchdog/mono-hang-watchdog" "$@"
|
@ -1,101 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
# mkinstalldirs --- make directory hierarchy
|
|
||||||
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
|
||||||
# Created: 1993-05-16
|
|
||||||
# Public domain
|
|
||||||
|
|
||||||
# $Id: mkinstalldirs 36980 2004-12-03 01:08:33Z benm $
|
|
||||||
|
|
||||||
errstatus=0
|
|
||||||
dirmode=""
|
|
||||||
|
|
||||||
usage="\
|
|
||||||
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
|
|
||||||
|
|
||||||
# process command line arguments
|
|
||||||
while test $# -gt 0 ; do
|
|
||||||
case "${1}" in
|
|
||||||
-h | --help | --h* ) # -h for help
|
|
||||||
echo "${usage}" 1>&2; exit 0 ;;
|
|
||||||
-m ) # -m PERM arg
|
|
||||||
shift
|
|
||||||
test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
|
|
||||||
dirmode="${1}"
|
|
||||||
shift ;;
|
|
||||||
-- ) shift; break ;; # stop option processing
|
|
||||||
-* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option
|
|
||||||
* ) break ;; # first non-opt arg
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
for file
|
|
||||||
do
|
|
||||||
if test -d "$file"; then
|
|
||||||
shift
|
|
||||||
else
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
case $# in
|
|
||||||
0) exit 0 ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case $dirmode in
|
|
||||||
'')
|
|
||||||
if mkdir -p -- . 2>/dev/null; then
|
|
||||||
echo "mkdir -p -- $*"
|
|
||||||
exec mkdir -p -- "$@"
|
|
||||||
fi ;;
|
|
||||||
*)
|
|
||||||
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
|
|
||||||
echo "mkdir -m $dirmode -p -- $*"
|
|
||||||
exec mkdir -m "$dirmode" -p -- "$@"
|
|
||||||
fi ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
for file
|
|
||||||
do
|
|
||||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
|
||||||
shift
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
for d
|
|
||||||
do
|
|
||||||
pathcomp="$pathcomp$d"
|
|
||||||
case "$pathcomp" in
|
|
||||||
-* ) pathcomp=./$pathcomp ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
echo "mkdir $pathcomp"
|
|
||||||
|
|
||||||
mkdir "$pathcomp" || lasterr=$?
|
|
||||||
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
errstatus=$lasterr
|
|
||||||
else
|
|
||||||
if test ! -z "$dirmode"; then
|
|
||||||
echo "chmod $dirmode $pathcomp"
|
|
||||||
|
|
||||||
lasterr=""
|
|
||||||
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
|
||||||
|
|
||||||
if test ! -z "$lasterr"; then
|
|
||||||
errstatus=$lasterr
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
pathcomp="$pathcomp/"
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
exit $errstatus
|
|
||||||
|
|
||||||
# Local Variables:
|
|
||||||
# mode: shell-script
|
|
||||||
# sh-indentation: 3
|
|
||||||
# End:
|
|
||||||
# mkinstalldirs ends here
|
|
Loading…
x
Reference in New Issue
Block a user