Author: joncham
Date: 2006-11-27 23:03:34 -0500 (Mon, 27 Nov 2006)
New Revision: 68550
Added:
trunk/mcs/class/corlib/Mono.Interop/IDispatch.cs
trunk/mcs/class/corlib/Mono.Interop/IUnknown.cs
Modified:
trunk/mcs/class/corlib/ChangeLog
trunk/mcs/class/corlib/Mono.Interop/ChangeLog
trunk/mcs/class/corlib/System/ChangeLog
trunk/mcs/class/corlib/System/__ComObject.cs
trunk/mcs/class/corlib/corlib.dll.sources
Log:
2006-11-27 Jonathan Chambers <[EMAIL PROTECTED]>
Add definitions for IUnknown and IDispatch. Remove old IDispatchMono
hack definition.
Modified: trunk/mcs/class/corlib/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/ChangeLog 2006-11-28 03:54:10 UTC (rev 68549)
+++ trunk/mcs/class/corlib/ChangeLog 2006-11-28 04:03:34 UTC (rev 68550)
@@ -1,3 +1,8 @@
+2006-11-27 Jonathan Chambers <[EMAIL PROTECTED]>
+
+ * corlib.dll.sources: Added Mono.Interop/IUnknown.cs
+ and Mono.Interop/IDispatch.cs.
+
2006-11-01 Sebastien Pouliot <[EMAIL PROTECTED]>
* corlib_test.dll.sources: Added unit tests and CAS tests for
Modified: trunk/mcs/class/corlib/Mono.Interop/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Mono.Interop/ChangeLog 2006-11-28 03:54:10 UTC
(rev 68549)
+++ trunk/mcs/class/corlib/Mono.Interop/ChangeLog 2006-11-28 04:03:34 UTC
(rev 68550)
@@ -1,3 +1,8 @@
+2006-10-18 Jonathan Chambers <[EMAIL PROTECTED]>
+
+ * IUnknown.cs: Added.
+ * IDispatch.cs: Added.
+
2006-08-10 Jonathan Chambers <[EMAIL PROTECTED]>
* ComInteropProxy.cs: Fix default constructor being always
Added: trunk/mcs/class/corlib/Mono.Interop/IDispatch.cs
===================================================================
--- trunk/mcs/class/corlib/Mono.Interop/IDispatch.cs 2006-11-28 03:54:10 UTC
(rev 68549)
+++ trunk/mcs/class/corlib/Mono.Interop/IDispatch.cs 2006-11-28 04:03:34 UTC
(rev 68550)
@@ -0,0 +1,41 @@
+//
+// Mono.Interop.IDispatch
+//
+// Authors:
+// Jonathan Chambers <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Jonathan Chambers
+//
+
+//
+// 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.Runtime.InteropServices;
+
+
+namespace Mono.Interop
+{
+ [Guid ("00020400-0000-0000-C000-000000000046")]
+ internal interface IDispatch
+ {
+ }
+}
Property changes on: trunk/mcs/class/corlib/Mono.Interop/IDispatch.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/mcs/class/corlib/Mono.Interop/IUnknown.cs
===================================================================
--- trunk/mcs/class/corlib/Mono.Interop/IUnknown.cs 2006-11-28 03:54:10 UTC
(rev 68549)
+++ trunk/mcs/class/corlib/Mono.Interop/IUnknown.cs 2006-11-28 04:03:34 UTC
(rev 68550)
@@ -0,0 +1,41 @@
+//
+// Mono.Interop.IUnknown
+//
+// Authors:
+// Jonathan Chambers <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Jonathan Chambers
+//
+
+//
+// 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.Runtime.InteropServices;
+
+
+namespace Mono.Interop
+{
+ [Guid ("00000000-0000-0000-C000-000000000046")]
+ internal interface IUnknown
+ {
+ }
+}
Property changes on: trunk/mcs/class/corlib/Mono.Interop/IUnknown.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/mcs/class/corlib/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System/ChangeLog 2006-11-28 03:54:10 UTC (rev
68549)
+++ trunk/mcs/class/corlib/System/ChangeLog 2006-11-28 04:03:34 UTC (rev
68550)
@@ -1,3 +1,7 @@
+2006-11-27 Jonathan Chambers <[EMAIL PROTECTED]>
+
+ * __ComObject.cs: Removed IDispatchMono.
+
2006-11-27 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* TermInfoDriver.cs:
Modified: trunk/mcs/class/corlib/System/__ComObject.cs
===================================================================
--- trunk/mcs/class/corlib/System/__ComObject.cs 2006-11-28 03:54:10 UTC
(rev 68549)
+++ trunk/mcs/class/corlib/System/__ComObject.cs 2006-11-28 04:03:34 UTC
(rev 68550)
@@ -188,7 +188,7 @@
{
get
{
- IntPtr pUnk = GetInterface (typeof
(IDispatchMono));
+ IntPtr pUnk = GetInterface (typeof (IDispatch));
if (pUnk == IntPtr.Zero)
throw new InvalidComObjectException
("COM object that has been separated from its underlying RCW cannot be used.");
return pUnk;
@@ -211,11 +211,6 @@
}
}
- [Guid ("00020400-0000-0000-C000-000000000046")]
- internal interface IDispatchMono
- {
- }
-
public override bool Equals (object obj)
{
if (obj == null)
Modified: trunk/mcs/class/corlib/corlib.dll.sources
===================================================================
--- trunk/mcs/class/corlib/corlib.dll.sources 2006-11-28 03:54:10 UTC (rev
68549)
+++ trunk/mcs/class/corlib/corlib.dll.sources 2006-11-28 04:03:34 UTC (rev
68550)
@@ -22,6 +22,8 @@
Mono.Globalization.Unicode/NormalizationTableUtil.cs
Mono/Runtime.cs
Mono.Interop/ComInteropProxy.cs
+Mono.Interop/IDispatch.cs
+Mono.Interop/IUnknown.cs
Mono.Math/BigInteger.cs
Mono.Math.Prime/ConfidenceFactor.cs
Mono.Math.Prime/PrimalityTests.cs
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches