Module: wine
Branch: master
Commit: 7359226ad1d4e56ffbd733de197cf7097d5619a3
URL: https://gitlab.winehq.org/wine/wine/-/commit/7359226ad1d4e56ffbd733de197cf7…
Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com>
Date: Mon Nov 14 19:53:26 2022 +0200
mshtml/tests: Implement IServiceProvider and few other interfaces needed for navigation.
This is to allow to test events and things related to navigating to a new
page. Otherwise, native IE will open a new IE process with the destination.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com>
---
dlls/mshtml/tests/events.c | 964 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 964 insertions(+)
Module: wine
Branch: master
Commit: 6cf63877c5a8b1e090b222648213e6a3c15b0290
URL: https://gitlab.winehq.org/wine/wine/-/commit/6cf63877c5a8b1e090b222648213e6…
Author: Alex Henrie <alexhenrie24(a)gmail.com>
Date: Sun Nov 13 23:04:48 2022 -0700
include: Add wspiapi.h.
Needed to compile Tera Term.
---
include/Makefile.in | 1 +
include/wspiapi.h | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 0fc34cbdf7c..62904d8d2a0 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -931,6 +931,7 @@ SOURCES = \
wshisotp.h \
wsipx.h \
wsnwlink.h \
+ wspiapi.h \
wtsapi32.h \
wtypes.idl \
wuapi.idl \
diff --git a/include/wspiapi.h b/include/wspiapi.h
new file mode 100644
index 00000000000..7aa034e753a
--- /dev/null
+++ b/include/wspiapi.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2022 Alex Henrie
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef _WSPIAPI_H_
+#define _WSPIAPI_H_
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#endif /* _WSPIAPI_H_ */
Module: wine
Branch: master
Commit: 85f9960147e97362f5c5be9561aef17d84f5ebde
URL: https://gitlab.winehq.org/wine/wine/-/commit/85f9960147e97362f5c5be9561aef1…
Author: Jacek Caban <jacek(a)codeweavers.com>
Date: Fri Nov 11 19:51:36 2022 +0100
winevulkan: Move need for output member copy check to needs_conversion.
---
dlls/winevulkan/make_vulkan | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/dlls/winevulkan/make_vulkan b/dlls/winevulkan/make_vulkan
index 45948088fec..3257481b746 100755
--- a/dlls/winevulkan/make_vulkan
+++ b/dlls/winevulkan/make_vulkan
@@ -1956,19 +1956,7 @@ class VkStruct(Sequence):
# so that we have a chance to allocate buffers
if e.needs_conversion(conv, True, Direction.OUTPUT, is_const, check_extensions=False):
return True
- elif not needs_output_copy and not is_const:
- for m in e:
- if m.name in ["sType", "pNext"]:
- continue
- # pointers will be handled by needs_conversion, but if we have any other non-const
- # member, we may need to copy output
- if not m.is_pointer() and not m.is_const():
- needs_output_copy = True
- break
- # if output needs any copy and we need input conversion, then we also need output conversion
- if needs_output_copy and self.needs_extensions_conversion(conv, Direction.INPUT):
- return True
return False
def needs_conversion(self, conv, unwrap, direction, is_const, check_extensions=True):
@@ -1982,6 +1970,8 @@ class VkStruct(Sequence):
if direction == Direction.OUTPUT and self.name == "VkImageCompressionControlEXT":
return False
+ needs_output_copy = False
+
for m in self.members:
if self.name == m.type:
continue
@@ -2011,6 +2001,15 @@ class VkStruct(Sequence):
if m.needs_conversion(conv, unwrap, direction, is_const):
return True
+ # pointers will be handled by needs_conversion, but if we have any other non-const
+ # member, we may need to copy output
+ if direction == Direction.OUTPUT and not m.is_pointer() and not is_const and not m.is_const():
+ needs_output_copy = True
+
+ # if output needs any copy and we need input conversion, then we also need output conversion
+ if needs_output_copy and self.needs_conversion(conv, unwrap, Direction.INPUT, check_extensions):
+ return True
+
return check_extensions and self.needs_extensions_conversion(conv, direction)
def needs_alloc(self, conv, unwrap):