From e5c9778d3e0b50059f868ba7ea4a11b49606006f Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 20 Nov 2006 16:48:27 +0000 Subject: Add an OpenSystem for GCC/CIL svn path=/trunk/mcs/; revision=68203 --- mcs/class/Makefile | 3 +- mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs | 69 ++++++++++++++++++++++ mcs/class/OpenSystem.C/Assembly/ChangeLog | 51 ++++++++++++++++ mcs/class/OpenSystem.C/Makefile | 8 +++ mcs/class/OpenSystem.C/OpenSystem.C.dll.sources | 4 ++ .../OpenSystem.C/InitializerAttribute.cs | 36 +++++++++++ .../OpenSystem.C/OpenSystem.C/ModuleAttribute.cs | 36 +++++++++++ 7 files changed, 206 insertions(+), 1 deletion(-) create mode 100644 mcs/class/OpenSystem.C/Assembly/AssemblyInfo.cs create mode 100644 mcs/class/OpenSystem.C/Assembly/ChangeLog create mode 100644 mcs/class/OpenSystem.C/Makefile create mode 100644 mcs/class/OpenSystem.C/OpenSystem.C.dll.sources create mode 100644 mcs/class/OpenSystem.C/OpenSystem.C/InitializerAttribute.cs create mode 100644 mcs/class/OpenSystem.C/OpenSystem.C/ModuleAttribute.cs (limited to 'mcs') diff --git a/mcs/class/Makefile b/mcs/class/Makefile index 8e148ffa484..081d89d19b9 100644 --- a/mcs/class/Makefile +++ b/mcs/class/Makefile @@ -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 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 + + * Assembly.cs: Add a RequestMinimum security permission for + SkipVerification. + +2005-04-04 Gonzalo Paniagua Javier + + * Consts.cs: added constants for Mono.Http.dll + +2004-09-21 Raja R Harinath + + * AssemblyInfo.cs (AssemblyVersion): Define to 2.0.x when + BOOTSTRAP_NET_2_0 is defined. + +2004-05-07 Raja R Harinath + + * AssemblyInfo.cs (AssemblyDelaySign, AssemblyKeyFile): Disable + for BOOTSTRAP_WITH_OLDLIB. Mono 0.31 runtime crashes with them. + +2004-05-03 Lluis Sanchez Gual + + * Consts.cs: Added consts for NET_2_0. + +2004-05-03 Lluis Sanchez Gual + + * Consts.cs: Added consts for Mono.Posix and Mono.Security. + +2003-11-12 Andreas Nahr + + * AssemblyInfo.cs: Added missing attribute + +2003-07-18 Andreas Nahr + + * Locale.cs: Added + +2003-07-17 Andreas Nahr + + * Consts.cs: Added + +2003-07-13 Andreas Nahr + + * AssemblyInfo.cs: Added additional .Net 1.1 attributes + +2003-07-12 Andreas Nahr + + * AssemblyInfo.cs: Added support for .Net 1.0 build + +2003-07-10 Andreas Nahr + + * 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 () {} + } + +} -- cgit v1.2.3