You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-12-15 08:03:15 -08:00
Rebase against ff187dc851c1d9f992049688a7e7190b83250ae4.
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
From d683f0129b0df79227b23133874960284b76baa8 Mon Sep 17 00:00:00 2001
|
||||
From 5415f4b6355c3d28d1fbe34aa3627554cea04e36 Mon Sep 17 00:00:00 2001
|
||||
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
||||
Date: Fri, 11 Sep 2020 17:55:59 +1000
|
||||
Subject: [PATCH] include: Remove interfaces already define in msxml6.idl
|
||||
|
||||
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
||||
---
|
||||
dlls/msxml3/factory.c | 3 +-
|
||||
dlls/msxml3/tests/saxreader.c | 1 +
|
||||
dlls/msxml3/tests/schema.c | 5 ++
|
||||
dlls/msxml3/uuid.c | 10 ++++
|
||||
include/msxml2.idl | 101 ----------------------------------
|
||||
include/msxml6.idl | 24 ++++----
|
||||
6 files changed, 29 insertions(+), 115 deletions(-)
|
||||
dlls/msxml3/factory.c | 3 +--
|
||||
dlls/msxml3/tests/saxreader.c | 1 +
|
||||
dlls/msxml3/tests/schema.c | 5 +++++
|
||||
dlls/msxml3/uuid.c | 3 +++
|
||||
include/msxml2.idl | 9 ---------
|
||||
include/msxml6.idl | 24 ++++++++++++------------
|
||||
6 files changed, 22 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
|
||||
index e91666c6d79..e35839db2a3 100644
|
||||
index cd10ec5f8de..782df43dc06 100644
|
||||
--- a/dlls/msxml3/factory.c
|
||||
+++ b/dlls/msxml3/factory.c
|
||||
@@ -31,6 +31,7 @@
|
||||
@@ -25,7 +25,7 @@ index e91666c6d79..e35839db2a3 100644
|
||||
#include "xmlparser.h"
|
||||
|
||||
/* undef the #define in msxml2 so that we can access the v.2 version
|
||||
@@ -43,8 +44,6 @@
|
||||
@@ -52,8 +53,6 @@ DEFINE_GUID(CLSID_XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6, 0x5f, 0x00, 0
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msxml);
|
||||
|
||||
@@ -35,7 +35,7 @@ index e91666c6d79..e35839db2a3 100644
|
||||
typedef HRESULT (*DOMFactoryCreateInstanceFunc)(MSXML_VERSION, void**);
|
||||
|
||||
diff --git a/dlls/msxml3/tests/saxreader.c b/dlls/msxml3/tests/saxreader.c
|
||||
index e123d4eba5a..48cfa8f5593 100644
|
||||
index 31424aa62b6..e847c399814 100644
|
||||
--- a/dlls/msxml3/tests/saxreader.c
|
||||
+++ b/dlls/msxml3/tests/saxreader.c
|
||||
@@ -29,6 +29,7 @@
|
||||
@@ -63,92 +63,24 @@ index 50e5a743b82..c83e72e136a 100644
|
||||
|
||||
static const WCHAR xdr_schema1_uri[] = L"x-schema:test1.xdr";
|
||||
diff --git a/dlls/msxml3/uuid.c b/dlls/msxml3/uuid.c
|
||||
index 7e50b439146..7214d23c5dc 100644
|
||||
index 7e50b439146..a51e3b27580 100644
|
||||
--- a/dlls/msxml3/uuid.c
|
||||
+++ b/dlls/msxml3/uuid.c
|
||||
@@ -41,6 +41,16 @@
|
||||
@@ -41,6 +41,9 @@
|
||||
#include "initguid.h"
|
||||
#include "msxml2.h"
|
||||
|
||||
+/* Cannot include msxml6 here since we will get a duplicate LIBID_MSXML2 error. */
|
||||
+DEFINE_GUID(CLSID_FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+DEFINE_GUID(CLSID_MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+DEFINE_GUID(CLSID_MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+DEFINE_GUID(CLSID_SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+DEFINE_GUID(CLSID_SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+DEFINE_GUID(CLSID_ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+DEFINE_GUID(CLSID_XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+DEFINE_GUID(CLSID_XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+
|
||||
/*
|
||||
* Note that because of a #define in msxml2.h, we end up initializing
|
||||
* CLSID_DOMDocument2 to be the v.3 version independent DOMDocument
|
||||
diff --git a/include/msxml2.idl b/include/msxml2.idl
|
||||
index 848bc13952a..85bb6a5b0cb 100644
|
||||
index d91087bec93..85bb6a5b0cb 100644
|
||||
--- a/include/msxml2.idl
|
||||
+++ b/include/msxml2.idl
|
||||
@@ -1612,15 +1612,6 @@ coclass FreeThreadedDOMDocument40
|
||||
[default, source] dispinterface XMLDOMDocumentEvents;
|
||||
}
|
||||
|
||||
-[
|
||||
- uuid(88d96a06-f192-11d4-a65f-0040963251e5),
|
||||
-]
|
||||
-coclass FreeThreadedDOMDocument60
|
||||
-{
|
||||
- [default] interface IXMLDOMDocument3;
|
||||
- [default, source] dispinterface XMLDOMDocumentEvents;
|
||||
-}
|
||||
-
|
||||
[
|
||||
helpstring("Free threaded XML DOM Document"),
|
||||
progid("Msxml2.FreeThreadedDOMDocument"),
|
||||
@@ -1662,14 +1653,6 @@ coclass XMLHTTP40
|
||||
[default] interface IXMLHTTPRequest;
|
||||
}
|
||||
|
||||
-[
|
||||
- uuid(88d96a0a-f192-11d4-a65f-0040963251e5)
|
||||
-]
|
||||
-coclass XMLHTTP60
|
||||
-{
|
||||
- [default] interface IXMLHTTPRequest;
|
||||
-}
|
||||
-
|
||||
[
|
||||
helpstring("XML HTTP"),
|
||||
progid("Msxml2.XMLHTTP"),
|
||||
@@ -1702,14 +1685,6 @@ coclass ServerXMLHTTP40
|
||||
[default] interface IServerXMLHTTPRequest2;
|
||||
}
|
||||
|
||||
-[
|
||||
- uuid(88d96a0b-f192-11d4-a65f-0040963251e5)
|
||||
-]
|
||||
-coclass ServerXMLHTTP60
|
||||
-{
|
||||
- [default] interface IServerXMLHTTPRequest2;
|
||||
-}
|
||||
-
|
||||
[
|
||||
helpstring("Server XML HTTP"),
|
||||
progid("Msxml2.ServerXMLHTTP"),
|
||||
@@ -1790,14 +1765,6 @@ coclass XSLTemplate40
|
||||
[default] interface IXSLTemplate;
|
||||
}
|
||||
|
||||
-[
|
||||
- uuid(88d96a08-f192-11d4-a65f-0040963251e5)
|
||||
-]
|
||||
-coclass XSLTemplate60
|
||||
-{
|
||||
- [default] interface IXSLTemplate;
|
||||
-}
|
||||
-
|
||||
[
|
||||
helpstring("XSL Template"),
|
||||
progid("Msxml2.XSLTemplate"),
|
||||
@@ -3289,15 +3256,6 @@ coclass SAXXMLReader40
|
||||
@@ -3256,15 +3256,6 @@ coclass SAXXMLReader40
|
||||
interface ISAXXMLReader;
|
||||
}
|
||||
|
||||
@@ -164,95 +96,8 @@ index 848bc13952a..85bb6a5b0cb 100644
|
||||
[
|
||||
helpstring("SAX XML Reader"),
|
||||
progid("Msxml2.SAXXMLReader"),
|
||||
@@ -3372,26 +3330,6 @@ coclass MXHTMLWriter40
|
||||
interface IVBSAXLexicalHandler;
|
||||
}
|
||||
|
||||
-[
|
||||
- uuid(88d96a10-f192-11d4-a65f-0040963251e5)
|
||||
-]
|
||||
-coclass MXHTMLWriter60
|
||||
-{
|
||||
- [default] interface IMXWriter;
|
||||
-
|
||||
- interface ISAXContentHandler;
|
||||
- interface ISAXDeclHandler;
|
||||
- interface ISAXDTDHandler;
|
||||
- interface ISAXErrorHandler;
|
||||
- interface ISAXLexicalHandler;
|
||||
-
|
||||
- interface IVBSAXContentHandler;
|
||||
- interface IVBSAXDeclHandler;
|
||||
- interface IVBSAXDTDHandler;
|
||||
- interface IVBSAXErrorHandler;
|
||||
- interface IVBSAXLexicalHandler;
|
||||
-}
|
||||
-
|
||||
[
|
||||
helpstring("MXXMLWriter 3.0"),
|
||||
progid("Msxml2.MXXMLWriter.3.0"),
|
||||
@@ -3436,26 +3374,6 @@ coclass MXXMLWriter40
|
||||
interface IVBSAXLexicalHandler;
|
||||
}
|
||||
|
||||
-[
|
||||
- uuid(88d96a0f-f192-11d4-a65f-0040963251e5)
|
||||
-]
|
||||
-coclass MXXMLWriter60
|
||||
-{
|
||||
- [default] interface IMXWriter;
|
||||
-
|
||||
- interface ISAXContentHandler;
|
||||
- interface ISAXDeclHandler;
|
||||
- interface ISAXDTDHandler;
|
||||
- interface ISAXErrorHandler;
|
||||
- interface ISAXLexicalHandler;
|
||||
-
|
||||
- interface IVBSAXContentHandler;
|
||||
- interface IVBSAXDeclHandler;
|
||||
- interface IVBSAXDTDHandler;
|
||||
- interface IVBSAXErrorHandler;
|
||||
- interface IVBSAXLexicalHandler;
|
||||
-}
|
||||
-
|
||||
[
|
||||
helpstring("MXXMLWriter"),
|
||||
progid("Msxml2.MXXMLWriter"),
|
||||
@@ -3498,15 +3416,6 @@ coclass MXNamespaceManager40
|
||||
interface IMXNamespaceManager;
|
||||
}
|
||||
|
||||
-[
|
||||
- uuid(88d96a11-f192-11d4-a65f-0040963251e5)
|
||||
-]
|
||||
-coclass MXNamespaceManager60
|
||||
-{
|
||||
- [default] interface IVBMXNamespaceManager;
|
||||
- interface IMXNamespaceManager;
|
||||
-}
|
||||
-
|
||||
[
|
||||
helpstring("SAXAttributes 3.0"),
|
||||
progid("Msxml2.SAXAttributes.3.0"),
|
||||
@@ -3531,16 +3440,6 @@ coclass SAXAttributes40
|
||||
interface ISAXAttributes;
|
||||
}
|
||||
|
||||
-[
|
||||
- uuid(88d96a0e-f192-11d4-a65f-0040963251e5)
|
||||
-]
|
||||
-coclass SAXAttributes60
|
||||
-{
|
||||
- [default] interface IMXAttributes;
|
||||
- interface IVBSAXAttributes;
|
||||
- interface ISAXAttributes;
|
||||
-}
|
||||
-
|
||||
[
|
||||
helpstring("SAXAttributes"),
|
||||
progid("Msxml2.SAXAttributes"),
|
||||
diff --git a/include/msxml6.idl b/include/msxml6.idl
|
||||
index d4a5c490243..7396826a1f6 100644
|
||||
index ead87be7516..bf7e0905057 100644
|
||||
--- a/include/msxml6.idl
|
||||
+++ b/include/msxml6.idl
|
||||
@@ -3065,18 +3065,6 @@ coclass DOMDocument60
|
||||
@@ -294,5 +139,5 @@ index d4a5c490243..7396826a1f6 100644
|
||||
helpstring("XML HTTP 6.0"),
|
||||
progid("Msxml2.XMLHTTP.6.0"),
|
||||
--
|
||||
2.43.0
|
||||
2.51.0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 5bcc58b53dd99c5d6d85141d5658a5d7e98d8253 Mon Sep 17 00:00:00 2001
|
||||
From a6a004bc410fbe8fc5106c4f0fa379bfde612725 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?R=C3=A9mi=20Bernon?= <rbernon@codeweavers.com>
|
||||
Date: Tue, 8 Sep 2020 18:43:52 +0200
|
||||
Subject: [PATCH] msxml3: Implement FreeThreadedXMLHTTP60.
|
||||
@@ -11,9 +11,9 @@ Update from Gijs Vermeulen <gijsvrm@gmail.com>
|
||||
dlls/msxml3/msxml_private.h | 1 +
|
||||
dlls/msxml3/tests/httpreq.c | 395 +++++++++++++++++++++++++++-
|
||||
dlls/msxml3/tests/schema.c | 6 +
|
||||
dlls/msxml3/uuid.c | 5 +
|
||||
dlls/msxml3/uuid.c | 6 +-
|
||||
include/msxml6.idl | 22 +-
|
||||
8 files changed, 915 insertions(+), 16 deletions(-)
|
||||
8 files changed, 915 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/dlls/msxml3/Makefile.in b/dlls/msxml3/Makefile.in
|
||||
index 7e59a223143..5044c4e2c79 100644
|
||||
@@ -27,10 +27,10 @@ index 7e59a223143..5044c4e2c79 100644
|
||||
|
||||
SOURCES = \
|
||||
diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
|
||||
index e35839db2a3..0e2482d61be 100644
|
||||
index 782df43dc06..f479d6bd17e 100644
|
||||
--- a/dlls/msxml3/factory.c
|
||||
+++ b/dlls/msxml3/factory.c
|
||||
@@ -279,6 +279,7 @@ static HRESULT DOMClassFactory_Create(const GUID *clsid, REFIID riid, void **ppv
|
||||
@@ -288,6 +288,7 @@ static HRESULT DOMClassFactory_Create(const GUID *clsid, REFIID riid, void **ppv
|
||||
|
||||
static ClassFactory xmldoccf = { { &ClassFactoryVtbl }, XMLDocument_create };
|
||||
static ClassFactory httpreqcf = { { &ClassFactoryVtbl }, XMLHTTPRequest_create };
|
||||
@@ -38,7 +38,7 @@ index e35839db2a3..0e2482d61be 100644
|
||||
static ClassFactory serverhttp = { { &ClassFactoryVtbl }, ServerXMLHTTP_create };
|
||||
static ClassFactory xsltemplatecf = { { &ClassFactoryVtbl }, XSLTemplate_create };
|
||||
static ClassFactory mxnsmanagercf = { {&ClassFactoryVtbl }, MXNamespaceManager_create };
|
||||
@@ -340,6 +341,10 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID riid, void **ppv )
|
||||
@@ -349,6 +350,10 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID riid, void **ppv )
|
||||
{
|
||||
cf = &httpreqcf.IClassFactory_iface;
|
||||
}
|
||||
@@ -1038,28 +1038,22 @@ index c83e72e136a..c896f1e6a04 100644
|
||||
#include "wine/test.h"
|
||||
|
||||
diff --git a/dlls/msxml3/uuid.c b/dlls/msxml3/uuid.c
|
||||
index 7214d23c5dc..320a7e04fa3 100644
|
||||
index a51e3b27580..e2b564cf891 100644
|
||||
--- a/dlls/msxml3/uuid.c
|
||||
+++ b/dlls/msxml3/uuid.c
|
||||
@@ -43,6 +43,7 @@
|
||||
@@ -43,7 +43,11 @@
|
||||
|
||||
/* Cannot include msxml6 here since we will get a duplicate LIBID_MSXML2 error. */
|
||||
DEFINE_GUID(CLSID_FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
DEFINE_GUID(CLSID_SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
-
|
||||
+DEFINE_GUID(CLSID_FreeThreadedXMLHTTP60, 0x88d96a09, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
DEFINE_GUID(CLSID_MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
DEFINE_GUID(CLSID_MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
DEFINE_GUID(CLSID_SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
@@ -50,6 +51,10 @@ DEFINE_GUID(CLSID_SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x
|
||||
DEFINE_GUID(CLSID_ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
DEFINE_GUID(CLSID_XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
DEFINE_GUID(CLSID_XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
||||
+DEFINE_GUID(IID_IXMLHTTPRequest2, 0xe5d37dc0, 0x552a, 0x4d52, 0x9c,0xc0, 0xa1,0x4d,0x54,0x6f,0xbd,0x04);
|
||||
+DEFINE_GUID(IID_IXMLHTTPRequest3, 0xa1c9feee, 0x0617, 0x4f23, 0x9d,0x58, 0x89,0x61,0xea,0x43,0x56,0x7c);
|
||||
+DEFINE_GUID(IID_IXMLHTTPRequest2Callback, 0xa44a9299, 0xe321, 0x40de, 0x88,0x66, 0x34,0x1b,0x41,0x66,0x91,0x62);
|
||||
+DEFINE_GUID(IID_IXMLHTTPRequest3Callback, 0xb9e57830, 0x8c6c, 0x4a6f, 0x9c,0x13, 0x47,0x77,0x2b,0xb0,0x47,0xbb);
|
||||
|
||||
/*
|
||||
* Note that because of a #define in msxml2.h, we end up initializing
|
||||
* CLSID_DOMDocument2 to be the v.3 version independent DOMDocument
|
||||
diff --git a/include/msxml6.idl b/include/msxml6.idl
|
||||
index bf7e0905057..a02f7b2db14 100644
|
||||
--- a/include/msxml6.idl
|
||||
@@ -1101,5 +1095,5 @@ index bf7e0905057..a02f7b2db14 100644
|
||||
helpstring("XML DOM Document 6.0"),
|
||||
progid("Msxml2.DOMDocument.6.0"),
|
||||
--
|
||||
2.47.2
|
||||
2.51.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user