Add an OpenSystem for GCC/CIL
authorMiguel de Icaza <miguel@gnome.org>
Mon, 20 Nov 2006 16:48:27 +0000 (16:48 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 20 Nov 2006 16:48:27 +0000 (16:48 -0000)
svn path=/trunk/mcs/; revision=68203

mcs/class/Makefile
mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs [new file with mode: 0644]
mcs/class/OpenSystem.C/Assembly/ChangeLog [new file with mode: 0644]
mcs/class/OpenSystem.C/Makefile [new file with mode: 0644]
mcs/class/OpenSystem.C/OpenSystem.C.dll.sources [new file with mode: 0644]
mcs/class/OpenSystem.C/OpenSystem.C/InitializerAttribute.cs [new file with mode: 0644]
mcs/class/OpenSystem.C/OpenSystem.C/ModuleAttribute.cs [new file with mode: 0644]

index 8e148ffa4847e9bef767d4c923521cb72f41e7ae..081d89d19b92979428fe10fdd80f76cbbae7dc32 100644 (file)
@@ -83,7 +83,8 @@ common_dirs := \
        Mono.Cairo                      \
        IBM.Data.DB2                    \
        Microsoft.JScript               \
-       CustomMarshalers
+       CustomMarshalers                \
+       OpenSystem.C
 
 default_dirs := FirebirdSql.Data.Firebird
 
diff --git a/mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs b/mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..e8ba539
--- /dev/null
@@ -0,0 +1,69 @@
+//
+// AssemblyInfo.cs
+//
+// Author:
+//   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
+//
+// (C) 2003 Ximian, Inc.  http://www.ximian.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.Reflection;
+using System.Resources;
+using System.Security;
+using System.Security.Permissions;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about the system assembly
+
+[assembly: AssemblyVersion (Consts.FxVersion)]
+[assembly: SatelliteContractVersion (Consts.FxVersion)]
+
+#if (ONLY_1_1)
+[assembly: ComCompatibleVersion (1, 0, 3300, 0)]
+[assembly: TypeLibVersion (1, 10)]
+#endif
+
+[assembly: AssemblyTitle("System.dll")]
+[assembly: AssemblyDescription("System.dll")]
+[assembly: AssemblyConfiguration("Development version")]
+[assembly: AssemblyCompany("MONO development team")]
+[assembly: AssemblyProduct("MONO CLI")]
+[assembly: AssemblyCopyright("(c) 2003 Various Authors")]
+[assembly: AssemblyTrademark("")]
+
+[assembly: CLSCompliant(true)]
+[assembly: AssemblyDefaultAlias("System.dll")]
+[assembly: AssemblyInformationalVersion("0.0.0.1")]
+[assembly: NeutralResourcesLanguage("en-US")]
+
+[assembly: AllowPartiallyTrustedCallers]
+[assembly: ComVisible(false)]
+
+#if ! BOOTSTRAP_WITH_OLDLIB
+[assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification=true)]
+[assembly: AssemblyDelaySign(true)]
+[assembly: AssemblyKeyFile("../ecma.pub")]
+#endif
diff --git a/mcs/class/OpenSystem.C/Assembly/ChangeLog b/mcs/class/OpenSystem.C/Assembly/ChangeLog
new file mode 100644 (file)
index 0000000..e5fa3ec
--- /dev/null
@@ -0,0 +1,51 @@
+2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Assembly.cs: Add a RequestMinimum security permission for 
+       SkipVerification.
+
+2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Consts.cs: added constants for Mono.Http.dll
+
+2004-09-21  Raja R Harinath  <rharinath@novell.com>
+
+       * AssemblyInfo.cs (AssemblyVersion): Define to 2.0.x when
+       BOOTSTRAP_NET_2_0 is defined.
+
+2004-05-07  Raja R Harinath  <rharinath@novell.com>
+
+       * AssemblyInfo.cs (AssemblyDelaySign, AssemblyKeyFile): Disable
+       for BOOTSTRAP_WITH_OLDLIB.  Mono 0.31 runtime crashes with them.
+
+2004-05-03  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * Consts.cs: Added consts for NET_2_0.
+
+2004-05-03  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * Consts.cs: Added consts for Mono.Posix and Mono.Security.
+
+2003-11-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * AssemblyInfo.cs: Added missing attribute
+
+2003-07-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Locale.cs: Added
+
+2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Consts.cs: Added
+
+2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * AssemblyInfo.cs: Added additional .Net 1.1 attributes
+
+2003-07-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * AssemblyInfo.cs: Added support for .Net 1.0 build
+
+2003-07-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * AssemblyInfo.cs: Added
+       * ChangeLog: Added
diff --git a/mcs/class/OpenSystem.C/Makefile b/mcs/class/OpenSystem.C/Makefile
new file mode 100644 (file)
index 0000000..fa46197
--- /dev/null
@@ -0,0 +1,8 @@
+thisdir = class/OpenSystem.C
+SUBDIRS = 
+include ../../build/rules.make
+
+LIBRARY = OpenSystem.C.dll
+NO_TEST = yes
+
+include ../../build/library.make
diff --git a/mcs/class/OpenSystem.C/OpenSystem.C.dll.sources b/mcs/class/OpenSystem.C/OpenSystem.C.dll.sources
new file mode 100644 (file)
index 0000000..263fd19
--- /dev/null
@@ -0,0 +1,4 @@
+OpenSystem.C/InitializerAttribute.cs
+OpenSystem.C/ModuleAttribute.cs
+Assembly/AssemblyInfo.cs
+../../build/common/Consts.cs
diff --git a/mcs/class/OpenSystem.C/OpenSystem.C/InitializerAttribute.cs b/mcs/class/OpenSystem.C/OpenSystem.C/InitializerAttribute.cs
new file mode 100644 (file)
index 0000000..416f7ba
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// InitializerAttribute.cs
+//
+// Copyright (C) 2006 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;
+
+namespace OpenSystem.C {
+
+       [AttributeUsage (AttributeTargets.Method)]
+       [Serializable]
+       public class InitializerAttribute : Attribute {
+               public InitializerAttribute () {}
+       }
+       
+}
diff --git a/mcs/class/OpenSystem.C/OpenSystem.C/ModuleAttribute.cs b/mcs/class/OpenSystem.C/OpenSystem.C/ModuleAttribute.cs
new file mode 100644 (file)
index 0000000..7bc434b
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// InitializerAttribute.cs
+//
+// Copyright (C) 2006 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;
+
+namespace OpenSystem.C {
+
+       [AttributeUsage (AttributeTargets.Module)]
+       [Serializable]
+       public class ModuleAttribute : Attribute {
+               public ModuleAttribute () {}
+       }
+       
+}