This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Droppped more code

svn path=/old-code/; revision=152876
  • Loading branch information...
migueldeicaza committed Mar 2, 2010
1 parent ee4c23c commit 970ef17cda6898970c56ccf5fb919b3fc516506f
@@ -0,0 +1,56 @@
+//
+// 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.Runtime.InteropServices;
+
+[assembly: AssemblyVersion (Consts.VsVersion)]
+#if (!NET_2_0)
+[assembly: SatelliteContractVersion (Consts.VsVersion)]
+#endif
+
+#if (ONLY_1_1)
+[assembly: ComCompatibleVersion (7, 0, 3300, 0)]
+[assembly: TypeLibVersion (7, 1)]
+#endif
+
+[assembly: AssemblyTitle ("")]
+[assembly: AssemblyDescription ("")]
+
+[assembly: CLSCompliant (true)]
+[assembly: AssemblyFileVersion ("0.0.0.1")]
+
+[assembly: ComVisible (false)]
+
+[assembly: AssemblyDelaySign (true)]
+[assembly: AssemblyKeyFile("../msfinal.pub")]
+
@@ -0,0 +1,6 @@
+2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
+
+ * AssemblyInfo.cs: Added
+ * ChangeLog: Added
+ * Locale.cs: Added
+ * TODOAttribute.cs: Added
View
@@ -0,0 +1,23 @@
+2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
+
+ * Microsoft.VSA.dll.sources: Added Assembly/AssemblyInfo.cs and
+ Locale.cs to the build.
+
+2003-09-24 <cesar@ciencias.unam.mx>
+
+ * Microsoft.Vsa: Added VsaException.
+ * Microsoft.Vsa.dll.sources: Added VsaException to the build.
+ * Microsoft.Vsa/VsaError.cs: set the values for the enums.
+
+2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
+
+ * IVsaCodeItem.cs, IVsaEngine.cs, IVsaError.cs, IVsaGlobalItem.cs
+ IVsaItem.cs, IVsaItems.cs, IVsaPersistSite.cs, IVsaReferenceItem.cs,
+ IVsaSite.cs: InterfaceTypeAttribute can only be applied to interfaces,
+ no to interface members. Build failed on windows.
+
+2003-03-21 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
+
+ * mcs/class/Microsoft.Vsa: Added this ChangeLog file, and also
+ makefile.gnu and unix.args to provide the *nix build.
+
View
@@ -0,0 +1,9 @@
+thisdir = class/Microsoft.Vsa
+SUBDIRS =
+include ../../build/rules.make
+
+LIBRARY = Microsoft.Vsa.dll
+LIB_MCS_FLAGS = /r:System.dll
+NO_TEST = yes
+
+include ../../build/library.make
@@ -0,0 +1,16 @@
+Assembly/AssemblyInfo.cs
+../../build/common/Consts.cs
+../../build/common/Locale.cs
+Microsoft.Vsa/IVsaCodeItem.cs
+Microsoft.Vsa/IVsaEngine.cs
+Microsoft.Vsa/IVsaError.cs
+Microsoft.Vsa/IVsaGlobalItem.cs
+Microsoft.Vsa/IVsaItem.cs
+Microsoft.Vsa/IVsaItems.cs
+Microsoft.Vsa/IVsaPersistSite.cs
+Microsoft.Vsa/IVsaReferenceItem.cs
+Microsoft.Vsa/IVsaSite.cs
+Microsoft.Vsa/VsaError.cs
+Microsoft.Vsa/VsaItemFlag.cs
+Microsoft.Vsa/VsaItemType.cs
+Microsoft.Vsa/VsaException.cs
@@ -0,0 +1,64 @@
+//
+// IVsaCodeItem.cs
+//
+// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
+//
+
+//
+// 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.
+//
+
+namespace Microsoft.Vsa
+{
+ using System;
+ using System.Runtime.InteropServices;
+ using System.CodeDom;
+
+
+ //[Guid ("")]
+ [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+ public interface IVsaCodeItem : IVsaItem
+ {
+ //[Guid ("")]
+ CodeObject CodeDOM {
+ get;
+ }
+
+
+ //[Guid ("")]
+ string SourceText {
+ get;
+ set;
+ }
+
+
+ //[Guid ("")]
+ void AddEventSource (string eventSourceName, string eventSourceType);
+
+
+
+ //[Guid ("")]
+ void AppendSourceText (string text);
+
+
+ //[Guid("")]
+ void RemoveEventSource (string eventSourceName);
+ }
+}
@@ -0,0 +1,181 @@
+//
+// IVsaEngine.cs:
+//
+// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
+//
+
+//
+// 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.
+//
+
+namespace Microsoft.Vsa
+{
+ using System;
+ using System.Runtime.InteropServices;
+ using System.Reflection;
+ using System.Security.Policy;
+
+ //[Guid ("")]
+ [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+ public interface IVsaEngine
+ {
+ //[Guid ("")]
+ Assembly Assembly {
+ get;
+ }
+
+
+ //[Guid ("")]
+ Evidence Evidence {
+ get;
+ set;
+ }
+
+
+ //[Guid ("")]
+ bool GenerateDebugInfo {
+ get;
+ set;
+ }
+
+
+ //[Guid ("")]
+ bool IsCompiled {
+ get;
+ }
+
+
+ //[Guid ("")]
+ bool IsDirty {
+ get;
+ }
+
+
+ //[Guid ("")]
+ bool IsRunning {
+ get;
+ }
+
+
+ //[Guid ("")]
+ IVsaItems Items {
+ get;
+ }
+
+
+ //[Guid ("")]
+ string Language {
+ get;
+ }
+
+
+ //[Guid ("")]
+ int LCID {
+ get;
+ set;
+ }
+
+
+ //[Guid ("")]
+ string Name {
+ get;
+ set;
+ }
+
+
+ //[Guid ("")]
+ string RootMoniker {
+ get;
+ set;
+ }
+
+
+ //[Guid ("")]
+ string RootNamespace {
+ get;
+ set;
+ }
+
+
+ //[Guid ("")]
+ IVsaSite Site {
+ get;
+ set;
+ }
+
+
+ //[Guid ("")]
+ string Version {
+ get;
+ }
+
+
+
+ // public methods
+
+ //[Guid ("")]
+ void Close ();
+
+
+ //[Guid ("")]
+ bool Compile ();
+
+
+ //[Guid ("")]
+ object GetOption (string name);
+
+
+ //[Guid ("")]
+ void InitNew ();
+
+
+ //[Guid ("")]
+ bool IsValidIdentifier (string identifier);
+
+
+ //[Guid ("")]
+ void LoadSourceState (IVsaPersistSite site);
+
+
+ //[Guid ("")]
+ void Reset ();
+
+
+ //[Guid ("")]
+ void RevokeCache ();
+
+
+ //[Guid ("")]
+ void Run ();
+
+
+ //[Guid ("")]
+ void SaveCompiledState (out byte [] pe, out byte [] pdb);
+
+
+ //[Guid ("")]
+ void SaveSourceState (IVsaPersistSite site);
+
+
+ //[Guid ("")]
+ void SetOption (string name, object value);
+ }
+}
+
Oops, something went wrong.

0 comments on commit 970ef17

Please sign in to comment.