Moved some code from mxwriter ISAXContentHandler implementation into
free functions that can be swapped out for DOMDocument functions.
For other mxwriter callback functions, immediately return E_NOTIMPL if
the destination is a DOMDocument.
Added test_mxwriter_domdoc_start_end_document to help check the
implementation of DOMDocument locking.
Added "BOOL locked" to XML documents and a private interface that allows
this variable to be set and checked. (This variable is not used thread
safely. `LONG refs` is thread safe, but `struct list orphans` is not.)
thanks,
Jefferson
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com>
---
FWIW, depending on distro, building in this mode may be as easy as
adding CROSSCC=clang to configure.
include/winnt.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Windows would normally have .Net strings that follow but Wine does not
in 64-bit mode. Still the formatting makes sense so allow it.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
---
This fixes a test failure in Wine in wow64 mode.
https://test.winehq.org/data/patterns.html#urlmon:mischttps://testbot.winehq.org/JobDetails.pl?Key=89589
An alternative would be to turn it into a todo if i == 1.
---
dlls/urlmon/tests/misc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/urlmon/tests/misc.c b/dlls/urlmon/tests/misc.c
index 2b3df65d5fc..5b179b55770 100644
--- a/dlls/urlmon/tests/misc.c
+++ b/dlls/urlmon/tests/misc.c
@@ -1544,7 +1544,9 @@ static void test_user_agent(void)
}else if(sizeof(void*) == 8) {
p += check_prefix(p, "Win64; ");
#ifdef __x86_64__
- p += check_prefix(p, "x64; ");
+ p += check_prefix(p, "x64");
+ if (*p == ';')
+ p += check_prefix(p, "; ");
#endif
}
if(i != 1) {
--
2.20.1