mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Rebase against 7280f7fb744e951281e7f051c347fb8fef5ab36b
This commit is contained in:
parent
44ee738e8b
commit
fcff4a78ba
@ -1,21 +1,21 @@
|
||||
From 378861963d448ac60e08435e64293e3fa3eef13e Mon Sep 17 00:00:00 2001
|
||||
From 7f05362e86a285551a5694e98fa9abecb99018a0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Sun, 17 Jan 2016 17:07:35 +0100
|
||||
Subject: [PATCH] ext-ms-win-xaml-pal-l1-1-0: Add dll and add stub for
|
||||
XamlBehaviorEnabled.
|
||||
|
||||
---
|
||||
configure.ac | 1 +
|
||||
dlls/ext-ms-win-xaml-pal-l1-1-0/Makefile.in | 4 +++
|
||||
.../ext-ms-win-xaml-pal-l1-1-0.spec | 6 ++++
|
||||
dlls/ext-ms-win-xaml-pal-l1-1-0/main.c | 35 ++++++++++++++++++++++
|
||||
configure.ac | 1 +
|
||||
dlls/ext-ms-win-xaml-pal-l1-1-0/Makefile.in | 4 +++
|
||||
.../ext-ms-win-xaml-pal-l1-1-0.spec | 6 ++++
|
||||
dlls/ext-ms-win-xaml-pal-l1-1-0/main.c | 35 +++++++++++++++++++
|
||||
4 files changed, 46 insertions(+)
|
||||
create mode 100644 dlls/ext-ms-win-xaml-pal-l1-1-0/Makefile.in
|
||||
create mode 100644 dlls/ext-ms-win-xaml-pal-l1-1-0/ext-ms-win-xaml-pal-l1-1-0.spec
|
||||
create mode 100644 dlls/ext-ms-win-xaml-pal-l1-1-0/main.c
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 30e2fae..baf7378 100644
|
||||
index 420f6311db3..30718491bb8 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3289,6 +3289,7 @@ WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0)
|
||||
@ -25,10 +25,10 @@ index 30e2fae..baf7378 100644
|
||||
+WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-xaml-pal-l1-1-0)
|
||||
WINE_CONFIG_MAKEFILE(dlls/faultrep)
|
||||
WINE_CONFIG_MAKEFILE(dlls/faultrep/tests)
|
||||
WINE_CONFIG_MAKEFILE(dlls/fltlib)
|
||||
WINE_CONFIG_MAKEFILE(dlls/feclient)
|
||||
diff --git a/dlls/ext-ms-win-xaml-pal-l1-1-0/Makefile.in b/dlls/ext-ms-win-xaml-pal-l1-1-0/Makefile.in
|
||||
new file mode 100644
|
||||
index 0000000..6382d85
|
||||
index 00000000000..6382d85272b
|
||||
--- /dev/null
|
||||
+++ b/dlls/ext-ms-win-xaml-pal-l1-1-0/Makefile.in
|
||||
@@ -0,0 +1,4 @@
|
||||
@ -38,7 +38,7 @@ index 0000000..6382d85
|
||||
+ main.c
|
||||
diff --git a/dlls/ext-ms-win-xaml-pal-l1-1-0/ext-ms-win-xaml-pal-l1-1-0.spec b/dlls/ext-ms-win-xaml-pal-l1-1-0/ext-ms-win-xaml-pal-l1-1-0.spec
|
||||
new file mode 100644
|
||||
index 0000000..c167f5e
|
||||
index 00000000000..c167f5e753e
|
||||
--- /dev/null
|
||||
+++ b/dlls/ext-ms-win-xaml-pal-l1-1-0/ext-ms-win-xaml-pal-l1-1-0.spec
|
||||
@@ -0,0 +1,6 @@
|
||||
@ -50,7 +50,7 @@ index 0000000..c167f5e
|
||||
+@ stub XamlPalUninitialize
|
||||
diff --git a/dlls/ext-ms-win-xaml-pal-l1-1-0/main.c b/dlls/ext-ms-win-xaml-pal-l1-1-0/main.c
|
||||
new file mode 100644
|
||||
index 0000000..3e28275
|
||||
index 00000000000..3e282758f41
|
||||
--- /dev/null
|
||||
+++ b/dlls/ext-ms-win-xaml-pal-l1-1-0/main.c
|
||||
@@ -0,0 +1,35 @@
|
||||
@ -90,5 +90,5 @@ index 0000000..3e28275
|
||||
+ return TRUE;
|
||||
+}
|
||||
--
|
||||
1.9.1
|
||||
2.17.0
|
||||
|
||||
|
@ -1,133 +0,0 @@
|
||||
From b03da4a4b66c303a58037d6a241c8326bb6057e0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Tue, 12 Apr 2016 01:00:02 +0200
|
||||
Subject: [PATCH] feclient: Add stub dll.
|
||||
|
||||
---
|
||||
configure.ac | 1 +
|
||||
dlls/feclient/Makefile.in | 4 ++++
|
||||
dlls/feclient/feclient.spec | 36 ++++++++++++++++++++++++++++++++++++
|
||||
dlls/feclient/main.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
|
||||
4 files changed, 86 insertions(+)
|
||||
create mode 100644 dlls/feclient/Makefile.in
|
||||
create mode 100644 dlls/feclient/feclient.spec
|
||||
create mode 100644 dlls/feclient/main.c
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 18fc8a8..fa783a6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3263,6 +3263,7 @@ WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-uxtheme-themes-l1-1-0)
|
||||
WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-xaml-pal-l1-1-0)
|
||||
WINE_CONFIG_MAKEFILE(dlls/faultrep)
|
||||
WINE_CONFIG_MAKEFILE(dlls/faultrep/tests)
|
||||
+WINE_CONFIG_MAKEFILE(dlls/feclient)
|
||||
WINE_CONFIG_MAKEFILE(dlls/fltlib)
|
||||
WINE_CONFIG_MAKEFILE(dlls/fltmgr.sys)
|
||||
WINE_CONFIG_MAKEFILE(dlls/fntcache)
|
||||
diff --git a/dlls/feclient/Makefile.in b/dlls/feclient/Makefile.in
|
||||
new file mode 100644
|
||||
index 0000000..d3eeefb
|
||||
--- /dev/null
|
||||
+++ b/dlls/feclient/Makefile.in
|
||||
@@ -0,0 +1,4 @@
|
||||
+MODULE = feclient.dll
|
||||
+
|
||||
+C_SRCS = \
|
||||
+ main.c
|
||||
diff --git a/dlls/feclient/feclient.spec b/dlls/feclient/feclient.spec
|
||||
new file mode 100644
|
||||
index 0000000..3620b85
|
||||
--- /dev/null
|
||||
+++ b/dlls/feclient/feclient.spec
|
||||
@@ -0,0 +1,36 @@
|
||||
+@ stub EdpContainerizeFile
|
||||
+@ stub EdpCredentialCreate
|
||||
+@ stub EdpCredentialDelete
|
||||
+@ stub EdpCredentialExists
|
||||
+@ stub EdpCredentialQuery
|
||||
+@ stub EdpDecontainerizeFile
|
||||
+@ stub EdpDplPolicyEnabledForUser
|
||||
+@ stub EdpDplUpgradePinInfo
|
||||
+@ stub EdpDplUpgradeVerifyUser
|
||||
+@ stub EdpDplUserCredentialsSet
|
||||
+@ stub EdpDplUserUnlockComplete
|
||||
+@ stub EdpDplUserUnlockStart
|
||||
+@ stub EdpFree
|
||||
+@ stub EdpGetContainerIdentity
|
||||
+@ stub EdpGetCredServiceState
|
||||
+@ stub EdpQueryCredServiceInfo
|
||||
+@ stub EdpQueryDplEnforcedPolicyOwnerIds
|
||||
+@ stub EdpQueryRevokedPolicyOwnerIds
|
||||
+@ stub EdpRmsClearKeys
|
||||
+@ stub EdpSetCredServiceInfo
|
||||
+@ stub EfsClientCloseFileRaw
|
||||
+@ stub EfsClientDecryptFile
|
||||
+@ stub EfsClientDuplicateEncryptionInfo
|
||||
+@ stub EfsClientEncryptFileEx
|
||||
+@ stub EfsClientFileEncryptionStatus
|
||||
+@ stub EfsClientFreeProtectorList
|
||||
+@ stub EfsClientGetEncryptedFileVersion
|
||||
+@ stub EfsClientOpenFileRaw
|
||||
+@ stub EfsClientQueryProtectors
|
||||
+@ stub EfsClientReadFileRaw
|
||||
+@ stub EfsClientWriteFileRaw
|
||||
+@ stub EfsClientWriteFileWithHeaderRaw
|
||||
+@ stub EfsUtilGetCurrentKey
|
||||
+@ stub FeClientInitialize
|
||||
+@ stub GetLockSessionUnwrappedKey
|
||||
+@ stub GetLockSessionWrappedKey
|
||||
diff --git a/dlls/feclient/main.c b/dlls/feclient/main.c
|
||||
new file mode 100644
|
||||
index 0000000..91aed70
|
||||
--- /dev/null
|
||||
+++ b/dlls/feclient/main.c
|
||||
@@ -0,0 +1,45 @@
|
||||
+/*
|
||||
+ * feclient API
|
||||
+ *
|
||||
+ * Copyright 2016 Michael Müller
|
||||
+ *
|
||||
+ * 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
|
||||
+ */
|
||||
+
|
||||
+#include "config.h"
|
||||
+
|
||||
+#include <stdarg.h>
|
||||
+
|
||||
+#include "windef.h"
|
||||
+#include "winbase.h"
|
||||
+#include "wine/debug.h"
|
||||
+
|
||||
+WINE_DEFAULT_DEBUG_CHANNEL(feclient);
|
||||
+
|
||||
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
||||
+{
|
||||
+ TRACE("(%p, %u, %p)\n", instance, reason, reserved);
|
||||
+
|
||||
+ switch (reason)
|
||||
+ {
|
||||
+ case DLL_WINE_PREATTACH:
|
||||
+ return FALSE; /* prefer native version */
|
||||
+ case DLL_PROCESS_ATTACH:
|
||||
+ DisableThreadLibraryCalls(instance);
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ return TRUE;
|
||||
+}
|
||||
--
|
||||
1.9.1
|
||||
|
@ -52,7 +52,7 @@ usage()
|
||||
# Get the upstream commit sha
|
||||
upstream_commit()
|
||||
{
|
||||
echo "6d6b4bffb3f619ae298669b888775350223e281f"
|
||||
echo "7280f7fb744e951281e7f051c347fb8fef5ab36b"
|
||||
}
|
||||
|
||||
# Show version information
|
||||
@ -290,7 +290,6 @@ patch_enable_all ()
|
||||
enable_server_File_Permissions="$1"
|
||||
enable_server_Inherited_ACLs="$1"
|
||||
enable_server_Key_State="$1"
|
||||
enable_server_Map_EXDEV_Error="$1"
|
||||
enable_server_Misc_ACL="$1"
|
||||
enable_server_Object_Types="$1"
|
||||
enable_server_PeekMessage="$1"
|
||||
@ -1057,9 +1056,6 @@ patch_enable ()
|
||||
server-Key_State)
|
||||
enable_server_Key_State="$2"
|
||||
;;
|
||||
server-Map_EXDEV_Error)
|
||||
enable_server_Map_EXDEV_Error="$2"
|
||||
;;
|
||||
server-Misc_ACL)
|
||||
enable_server_Misc_ACL="$2"
|
||||
;;
|
||||
@ -2725,23 +2721,21 @@ fi
|
||||
# | * configure.ac, dlls/ext-ms-win-appmodel-usercontext-l1-1-0/Makefile.in, dlls/ext-ms-win-appmodel-usercontext-l1-1-0/ext-
|
||||
# | ms-win-appmodel-usercontext-l1-1-0.spec, dlls/ext-ms-win-appmodel-usercontext-l1-1-0/main.c, dlls/ext-ms-win-xaml-
|
||||
# | pal-l1-1-0/Makefile.in, dlls/ext-ms-win-xaml-pal-l1-1-0/ext-ms-win-xaml-pal-l1-1-0.spec, dlls/ext-ms-win-xaml-
|
||||
# | pal-l1-1-0/main.c, dlls/feclient/Makefile.in, dlls/feclient/feclient.spec, dlls/feclient/main.c,
|
||||
# | dlls/iertutil/Makefile.in, dlls/iertutil/iertutil.spec, dlls/iertutil/main.c, dlls/uiautomationcore/Makefile.in,
|
||||
# | dlls/uiautomationcore/uia_main.c, dlls/uiautomationcore/uiautomationcore.spec, include/uiautomationcoreapi.h
|
||||
# | pal-l1-1-0/main.c, dlls/iertutil/Makefile.in, dlls/iertutil/iertutil.spec, dlls/iertutil/main.c,
|
||||
# | dlls/uiautomationcore/Makefile.in, dlls/uiautomationcore/uia_main.c, dlls/uiautomationcore/uiautomationcore.spec,
|
||||
# | include/uiautomationcoreapi.h
|
||||
# |
|
||||
if test "$enable_api_ms_win_Stub_DLLs" -eq 1; then
|
||||
patch_apply api-ms-win-Stub_DLLs/0006-iertutil-Add-dll-and-add-stub-for-ordinal-811.patch
|
||||
patch_apply api-ms-win-Stub_DLLs/0009-ext-ms-win-xaml-pal-l1-1-0-Add-dll-and-add-stub-for-.patch
|
||||
patch_apply api-ms-win-Stub_DLLs/0010-ext-ms-win-appmodel-usercontext-l1-1-0-Add-dll-and-a.patch
|
||||
patch_apply api-ms-win-Stub_DLLs/0012-ext-ms-win-xaml-pal-l1-1-0-Add-stub-for-GetThemeServ.patch
|
||||
patch_apply api-ms-win-Stub_DLLs/0026-feclient-Add-stub-dll.patch
|
||||
patch_apply api-ms-win-Stub_DLLs/0027-uiautomationcore-Add-dll-and-stub-some-functions.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Michael Müller", "iertutil: Add dll and add stub for ordinal 811.", 1 },';
|
||||
printf '%s\n' '+ { "Michael Müller", "ext-ms-win-xaml-pal-l1-1-0: Add dll and add stub for XamlBehaviorEnabled.", 1 },';
|
||||
printf '%s\n' '+ { "Michael Müller", "ext-ms-win-appmodel-usercontext-l1-1-0: Add dll and add stub for UserContextExtInitialize.", 1 },';
|
||||
printf '%s\n' '+ { "Michael Müller", "ext-ms-win-xaml-pal-l1-1-0: Add stub for GetThemeServices.", 1 },';
|
||||
printf '%s\n' '+ { "Michael Müller", "feclient: Add stub dll.", 1 },';
|
||||
printf '%s\n' '+ { "Michael Müller", "uiautomationcore: Add dll and stub some functions.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
@ -6221,18 +6215,6 @@ if test "$enable_server_Key_State" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset server-Map_EXDEV_Error
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * server/file.c
|
||||
# |
|
||||
if test "$enable_server_Map_EXDEV_Error" -eq 1; then
|
||||
patch_apply server-Map_EXDEV_Error/0001-server-Map-EXDEV-to-STATUS_NOT_SAME_DEVICE.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Qian Hong", "server: Map EXDEV to STATUS_NOT_SAME_DEVICE.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset server-PeekMessage
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
@ -1,24 +0,0 @@
|
||||
From 10c4be44f7321c54dd01785ba31799f89530ae1b Mon Sep 17 00:00:00 2001
|
||||
From: Qian Hong <qhong@codeweavers.com>
|
||||
Date: Fri, 28 Aug 2015 12:02:36 +0800
|
||||
Subject: server: Map EXDEV to STATUS_NOT_SAME_DEVICE.
|
||||
|
||||
---
|
||||
server/file.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/server/file.c b/server/file.c
|
||||
index a07ca16..4481b8c 100644
|
||||
--- a/server/file.c
|
||||
+++ b/server/file.c
|
||||
@@ -661,6 +661,7 @@ void file_set_error(void)
|
||||
case EFBIG: set_error( STATUS_SECTION_TOO_BIG ); break;
|
||||
case ENODEV: set_error( STATUS_NO_SUCH_DEVICE ); break;
|
||||
case ENXIO: set_error( STATUS_NO_SUCH_DEVICE ); break;
|
||||
+ case EXDEV: set_error( STATUS_NOT_SAME_DEVICE ); break;
|
||||
#ifdef EOVERFLOW
|
||||
case EOVERFLOW: set_error( STATUS_INVALID_PARAMETER ); break;
|
||||
#endif
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1 +0,0 @@
|
||||
Fixes: Map EXDEV error code to STATUS_NOT_SAME_DEVICE
|
Loading…
x
Reference in New Issue
Block a user