Author: cesar
Date: 2005-05-03 11:53:41 -0400 (Tue, 03 May 2005)
New Revision: 43937

Added:
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugType.cs
   
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugVsaScriptCodeItem.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDefineEvent.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IEngine2.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IMethodsCompletionInfo.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/INeedEngine.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IObjectCompletionInfo.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ISite2.cs
   trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/MemberInfoInitializer.cs
Log:
Add more COM, interop and debug interfaces

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugType.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugType.cs   
2005-05-03 15:52:56 UTC (rev 43936)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugType.cs   
2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,40 @@
+//
+// IDebugType.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("613CC05D-05F4-4969-B369-5AEEF56E32D0")]
+       [ComVisibleAttribute (true)]
+       public interface IDebugType {
+               bool HasInstance (object o);
+       }
+}

Added: 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugVsaScriptCodeItem.cs
===================================================================
--- 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugVsaScriptCodeItem.cs  
    2005-05-03 15:52:56 UTC (rev 43936)
+++ 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDebugVsaScriptCodeItem.cs  
    2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,42 @@
+//
+// IDebugVsaScriptCodeItem.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("6DFE759A-CB8B-4ca0-A973-1D04E0BF0B53")]
+       [ComVisibleAttribute (true)]
+       public interface IDebugVsaScriptCodeItem {
+               object Evaluate ();
+               bool ParseNamedBreakPoint(string input, out string 
functionName, out int nargs, out string arguments, 
+                                 out string returnType, out ulong offset);
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDefineEvent.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDefineEvent.cs 
2005-05-03 15:52:56 UTC (rev 43936)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IDefineEvent.cs 
2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,40 @@
+//
+// IDefineEvent.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("D1A19408-BB6B-43eb-BB6F-E7CF6AF047D7")]
+       [ComVisibleAttribute (true)]
+       public interface IDefineEvent {
+               object AddEvent(string code, int startLine);
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IEngine2.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IEngine2.cs     
2005-05-03 15:52:56 UTC (rev 43936)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IEngine2.cs     
2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,56 @@
+//
+// IEngine2.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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;
+using Microsoft.Vsa;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("BFF6C97F-0705-4394-88B8-A03A4B8B4CD7")]
+       [ComVisibleAttribute (true)]
+       public interface IEngine2 {
+
+               IVsaEngine Clone (AppDomain domain);
+               bool CompileEmpty ();
+               void ConnectEvents ();
+               void DisconnectEvents ();
+               Assembly GetAssembly ();
+               IVsaScriptScope GetGlobalScope ();
+               Module GetModule ();
+               void InitVsaEngine (string rootMoniker, IVsaSite site);
+               void Interrupt ();
+               void RegisterEventSource (string name);
+               void Restart ();
+               void Run (AppDomain domain);
+               void RunEmpty ();
+       }
+}

Added: 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IMethodsCompletionInfo.cs
===================================================================
--- 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IMethodsCompletionInfo.cs   
    2005-05-03 15:52:56 UTC (rev 43936)
+++ 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IMethodsCompletionInfo.cs   
    2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,39 @@
+//
+// IMethodsCompletionInfo.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [ComVisibleAttribute (true)]
+       [GuidAttribute ("E0BCF37B-1C24-451c-AC43-40FF86839117")]
+       public interface IMethodsCompletionInfo {               
+       }
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/INeedEngine.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/INeedEngine.cs  
2005-05-03 15:52:56 UTC (rev 43936)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/INeedEngine.cs  
2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,39 @@
+//
+// INeedEngine.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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 Microsoft.JScript.Vsa;
+
+namespace Microsoft.JScript {
+
+       public interface INeedEngine {
+               VsaEngine GetEngine ();
+               void SetEngine (VsaEngine engine);
+       }
+}

Added: 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IObjectCompletionInfo.cs
===================================================================
--- 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IObjectCompletionInfo.cs    
    2005-05-03 15:52:56 UTC (rev 43936)
+++ 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/IObjectCompletionInfo.cs    
    2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,41 @@
+//
+// IObjectCompletionInfo.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("052019B5-704B-4b99-AEF8-25A11A922B2E")]
+       [ComVisibleAttribute (true)]
+       public interface IObjectCompletionInfo {
+       }
+
+
+}

Added: trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ISite2.cs
===================================================================
--- trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ISite2.cs       
2005-05-03 15:52:56 UTC (rev 43936)
+++ trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/ISite2.cs       
2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,41 @@
+//
+// ISite2.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("BFF6C980-0705-4394-88B8-A03A4B8B4CD7")]
+       [InterfaceTypeAttribute (ComInterfaceType.InterfaceIsIUnknown)]
+       [ComVisibleAttribute (true)]
+       public interface ISite2 {
+               object [] GetParentChain (object obj);
+       }
+}

Added: 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/MemberInfoInitializer.cs
===================================================================
--- 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/MemberInfoInitializer.cs    
    2005-05-03 15:52:56 UTC (rev 43936)
+++ 
trunk/mcs/class/Microsoft.JScript/Microsoft.JScript/MemberInfoInitializer.cs    
    2005-05-03 15:53:41 UTC (rev 43937)
@@ -0,0 +1,41 @@
+//
+// MemberInfoInitializer.cs:
+//
+// Author:
+//      Cesar Lopez Nataren ([EMAIL PROTECTED])
+//
+// (C) 2005, Novell Inc. (http://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.Runtime.InteropServices;
+
+namespace Microsoft.JScript {
+
+       [GuidAttribute ("98A3BF0A-1B56-4f32-ACE0-594FEB27EC48")]
+       [ComVisibleAttribute (true)]
+       public interface MemberInfoInitializer {
+               COMMemberInfo GetCOMMemberInfo ();
+               void Initialize (string name, COMMemberInfo dispatch);
+       }
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to