Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2006-11-20 19:48:27 +0300
committerMiguel de Icaza <miguel@gnome.org>2006-11-20 19:48:27 +0300
commite5c9778d3e0b50059f868ba7ea4a11b49606006f (patch)
tree1cfb5d45226c8e701a8887b58e954368b3601040 /mcs/class/OpenSystem.C
parentd248fd10a12d2624fa427721ed6d257c887312e0 (diff)
Add an OpenSystem for GCC/CIL
svn path=/trunk/mcs/; revision=68203
Diffstat (limited to 'mcs/class/OpenSystem.C')
-rw-r--r--mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs69
-rw-r--r--mcs/class/OpenSystem.C/Assembly/ChangeLog51
-rw-r--r--mcs/class/OpenSystem.C/Makefile8
-rw-r--r--mcs/class/OpenSystem.C/OpenSystem.C.dll.sources4
-rw-r--r--mcs/class/OpenSystem.C/OpenSystem.C/InitializerAttribute.cs36
-rw-r--r--mcs/class/OpenSystem.C/OpenSystem.C/ModuleAttribute.cs36
6 files changed, 204 insertions, 0 deletions
diff --git a/mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs b/mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs
new file mode 100644
index 00000000000..e8ba5390671
--- /dev/null
+++ b/mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs
@@ -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
index 00000000000..e5fa3ecea3e
--- /dev/null
+++ b/mcs/class/OpenSystem.C/Assembly/ChangeLog
@@ -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
index 00000000000..fa461971765
--- /dev/null
+++ b/mcs/class/OpenSystem.C/Makefile
@@ -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
index 00000000000..263fd194e73
--- /dev/null
+++ b/mcs/class/OpenSystem.C/OpenSystem.C.dll.sources
@@ -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
index 00000000000..416f7ba7c70
--- /dev/null
+++ b/mcs/class/OpenSystem.C/OpenSystem.C/InitializerAttribute.cs
@@ -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
index 00000000000..7bc434bb0c6
--- /dev/null
+++ b/mcs/class/OpenSystem.C/OpenSystem.C/ModuleAttribute.cs
@@ -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 () {}
+ }
+
+}