You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Rebase against f4790714fe69df7701cff666d6b5ab4be049cbf6.
This commit is contained in:
@@ -216,7 +216,7 @@ for more details.*
|
||||
* ~~Reset device state in SysKeyboard*Impl_Acquire~~ ([Wine Bug #11607](https://bugs.winehq.org/show_bug.cgi?id=11607))
|
||||
* Return an error when trying to open a terminated process ([Wine Bug #37087](https://bugs.winehq.org/show_bug.cgi?id=37087))
|
||||
* Return correct IMediaSeeking stream positions in quartz ([Wine Bug #23174](https://bugs.winehq.org/show_bug.cgi?id=23174))
|
||||
* Return correct device type for cd devices without medium
|
||||
* ~~Return correct device type for cd devices without medium~~
|
||||
* Return correct values for GetThreadTimes function ([Wine Bug #20230](https://bugs.winehq.org/show_bug.cgi?id=20230))
|
||||
* Return default palette entries from GetSystemPaletteEntries for non-palette-based devices
|
||||
* SO_CONNECT_TIME returns the appropriate time
|
||||
|
16
debian/changelog
vendored
16
debian/changelog
vendored
@@ -1,3 +1,19 @@
|
||||
wine-staging (1.7.44) UNRELEASED; urgency=low
|
||||
* Removed patch to reset device state in SysKeyboard*Impl_Acquire (accepted
|
||||
upstream).
|
||||
* Removed patch to avoid creating thread queues for foreign threads in
|
||||
attach_thread_input (accepted upstream).
|
||||
* Removed patch to fix access violation when calling GetStringTypeW with NULL
|
||||
src (accepted upstream).
|
||||
* Removed patch to return correct device type for CD devices without medium
|
||||
(accepted upstream).
|
||||
* Removed patch to fix memory leak in wininet cookie handling (accepted
|
||||
upstream).
|
||||
* Removed various patches containing tests (accepted upstream).
|
||||
* Partially removed patches for ITextFont/ITextPara implementation (fixed
|
||||
upstream).
|
||||
-- Sebastian Lackner <sebastian@fds-team.de> Wed, 20 May 2015 05:55:09 +0200
|
||||
|
||||
wine-staging (1.7.43) unstable; urgency=low
|
||||
* Disable patchset shell32-Default_Folder_ACLs (fixes Wine Staging Bug #265).
|
||||
* Updated patch to calculate msvcrt exponential math operations with higher
|
||||
|
@@ -1,4 +1,4 @@
|
||||
From 18a7daf004ad8d8d773dfbcaf390c9fad2ebfaed Mon Sep 17 00:00:00 2001
|
||||
From 3762d0ebf9a69e4d53344bbed116ce370c2de7a3 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Thu, 26 Feb 2015 06:41:26 +0100
|
||||
Subject: kernel32: Add support for progress callback in CopyFileEx.
|
||||
@@ -9,7 +9,7 @@ Subject: kernel32: Add support for progress callback in CopyFileEx.
|
||||
2 files changed, 64 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/dlls/kernel32/path.c b/dlls/kernel32/path.c
|
||||
index 179c8e0..df98f26 100644
|
||||
index eae2ca9..a3add7e 100644
|
||||
--- a/dlls/kernel32/path.c
|
||||
+++ b/dlls/kernel32/path.c
|
||||
@@ -1112,6 +1112,9 @@ BOOL WINAPI CopyFileExW(LPCWSTR source, LPCWSTR dest,
|
||||
@@ -116,7 +116,7 @@ index 179c8e0..df98f26 100644
|
||||
}
|
||||
ret = TRUE;
|
||||
diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c
|
||||
index 0a8e0e2..ffebd8d 100644
|
||||
index 64b0b8b..d91cab4 100644
|
||||
--- a/dlls/kernel32/tests/file.c
|
||||
+++ b/dlls/kernel32/tests/file.c
|
||||
@@ -1131,23 +1131,17 @@ static void test_CopyFileEx(void)
|
||||
@@ -127,7 +127,7 @@ index 0a8e0e2..ffebd8d 100644
|
||||
ok(!retok, "CopyFileExA unexpectedly succeeded\n");
|
||||
- todo_wine
|
||||
ok(GetLastError() == ERROR_REQUEST_ABORTED, "expected ERROR_REQUEST_ABORTED, got %d\n", GetLastError());
|
||||
ok(GetFileAttributesA( dest ) != INVALID_FILE_ATTRIBUTES, "file was deleted\n");
|
||||
ok(GetFileAttributesA(dest) != INVALID_FILE_ATTRIBUTES, "file was deleted\n");
|
||||
|
||||
hfile = CreateFileA(dest, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
||||
NULL, OPEN_EXISTING, 0, 0);
|
||||
@@ -140,7 +140,7 @@ index 0a8e0e2..ffebd8d 100644
|
||||
- todo_wine
|
||||
ok(GetLastError() == ERROR_REQUEST_ABORTED, "expected ERROR_REQUEST_ABORTED, got %d\n", GetLastError());
|
||||
- todo_wine
|
||||
ok(GetFileAttributesA( dest ) == INVALID_FILE_ATTRIBUTES, "file was not deleted\n");
|
||||
ok(GetFileAttributesA(dest) == INVALID_FILE_ATTRIBUTES, "file was not deleted\n");
|
||||
|
||||
ret = DeleteFileA(source);
|
||||
--
|
@@ -1,88 +0,0 @@
|
||||
From 83deea381c8297ff55f69b04765b6f6f8a012120 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sat, 9 May 2015 00:26:25 +0200
|
||||
Subject: kernel32/tests: Add tests for delete behaviour of CopyFileEx.
|
||||
|
||||
---
|
||||
dlls/kernel32/tests/file.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 58 insertions(+)
|
||||
|
||||
diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c
|
||||
index 9a6e972..0a8e0e2 100644
|
||||
--- a/dlls/kernel32/tests/file.c
|
||||
+++ b/dlls/kernel32/tests/file.c
|
||||
@@ -1099,6 +1099,63 @@ static void test_CopyFile2(void)
|
||||
DeleteFileW(dest);
|
||||
}
|
||||
|
||||
+static DWORD WINAPI copy_progress_cb(LARGE_INTEGER total_size, LARGE_INTEGER total_transferred,
|
||||
+ LARGE_INTEGER stream_size, LARGE_INTEGER stream_transferred,
|
||||
+ DWORD stream, DWORD reason, HANDLE source, HANDLE dest, LPVOID userdata)
|
||||
+{
|
||||
+ ok(reason == CALLBACK_STREAM_SWITCH, "expected CALLBACK_STREAM_SWITCH, got %u\n", reason);
|
||||
+ CloseHandle(userdata);
|
||||
+ return PROGRESS_CANCEL;
|
||||
+}
|
||||
+
|
||||
+static void test_CopyFileEx(void)
|
||||
+{
|
||||
+ char temp_path[MAX_PATH];
|
||||
+ char source[MAX_PATH], dest[MAX_PATH];
|
||||
+ static const char prefix[] = "pfx";
|
||||
+ HANDLE hfile;
|
||||
+ DWORD ret;
|
||||
+ BOOL retok;
|
||||
+
|
||||
+ ret = GetTempPathA(MAX_PATH, temp_path);
|
||||
+ ok(ret != 0, "GetTempPathA error %d\n", GetLastError());
|
||||
+ ok(ret < MAX_PATH, "temp path should fit into MAX_PATH\n");
|
||||
+
|
||||
+ ret = GetTempFileNameA(temp_path, prefix, 0, source);
|
||||
+ ok(ret != 0, "GetTempFileNameA error %d\n", GetLastError());
|
||||
+
|
||||
+ ret = GetTempFileNameA(temp_path, prefix, 0, dest);
|
||||
+ ok(ret != 0, "GetTempFileNameA error %d\n", GetLastError());
|
||||
+
|
||||
+ hfile = CreateFileA(dest, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, 0);
|
||||
+ ok(hfile != INVALID_HANDLE_VALUE, "failed to open destination file, error %d\n", GetLastError());
|
||||
+ SetLastError(0xdeadbeef);
|
||||
+ retok = CopyFileExA(source, dest, copy_progress_cb, hfile, NULL, 0);
|
||||
+ todo_wine
|
||||
+ ok(!retok, "CopyFileExA unexpectedly succeeded\n");
|
||||
+ todo_wine
|
||||
+ ok(GetLastError() == ERROR_REQUEST_ABORTED, "expected ERROR_REQUEST_ABORTED, got %d\n", GetLastError());
|
||||
+ ok(GetFileAttributesA( dest ) != INVALID_FILE_ATTRIBUTES, "file was deleted\n");
|
||||
+
|
||||
+ hfile = CreateFileA(dest, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
||||
+ NULL, OPEN_EXISTING, 0, 0);
|
||||
+ todo_wine
|
||||
+ ok(hfile != INVALID_HANDLE_VALUE, "failed to open destination file, error %d\n", GetLastError());
|
||||
+ SetLastError(0xdeadbeef);
|
||||
+ retok = CopyFileExA(source, dest, copy_progress_cb, hfile, NULL, 0);
|
||||
+ todo_wine
|
||||
+ ok(!retok, "CopyFileExA unexpectedly succeeded\n");
|
||||
+ todo_wine
|
||||
+ ok(GetLastError() == ERROR_REQUEST_ABORTED, "expected ERROR_REQUEST_ABORTED, got %d\n", GetLastError());
|
||||
+ todo_wine
|
||||
+ ok(GetFileAttributesA( dest ) == INVALID_FILE_ATTRIBUTES, "file was not deleted\n");
|
||||
+
|
||||
+ ret = DeleteFileA(source);
|
||||
+ ok(ret, "DeleteFileA failed with error %d\n", GetLastError());
|
||||
+ ret = DeleteFileA(dest);
|
||||
+ ok(!ret, "DeleteFileA unexpectedly succeeded\n");
|
||||
+}
|
||||
+
|
||||
/*
|
||||
* Debugging routine to dump a buffer in a hexdump-like fashion.
|
||||
*/
|
||||
@@ -4447,6 +4504,7 @@ START_TEST(file)
|
||||
test_CopyFileA();
|
||||
test_CopyFileW();
|
||||
test_CopyFile2();
|
||||
+ test_CopyFileEx();
|
||||
test_CreateFile();
|
||||
test_CreateFileA();
|
||||
test_CreateFileW();
|
||||
--
|
||||
2.4.0
|
||||
|
@@ -1,33 +0,0 @@
|
||||
From 1af79e37413d3d89f5290649d8e2b040ec0942af Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Mon, 30 Mar 2015 03:03:03 +0200
|
||||
Subject: kernel32: Return correct device type for cd devices without medium.
|
||||
|
||||
---
|
||||
dlls/kernel32/volume.c | 10 +++++++++-
|
||||
1 file changed, 9 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
|
||||
index 59eda44..38a72c5 100644
|
||||
--- a/dlls/kernel32/volume.c
|
||||
+++ b/dlls/kernel32/volume.c
|
||||
@@ -1610,7 +1610,15 @@ UINT WINAPI GetDriveTypeW(LPCWSTR root) /* [in] String describing drive */
|
||||
HANDLE handle;
|
||||
UINT ret;
|
||||
|
||||
- if (!open_device_root( root, &handle )) return DRIVE_NO_ROOT_DIR;
|
||||
+ if (!open_device_root( root, &handle ))
|
||||
+ {
|
||||
+ /* CD ROM devices do not necessarily have a volume, but a drive type */
|
||||
+ ret = get_mountmgr_drive_type( root );
|
||||
+ if (ret == DRIVE_CDROM || ret == DRIVE_REMOVABLE)
|
||||
+ return ret;
|
||||
+
|
||||
+ return DRIVE_NO_ROOT_DIR;
|
||||
+ }
|
||||
|
||||
status = NtQueryVolumeInformationFile( handle, &io, &info, sizeof(info), FileFsDeviceInformation );
|
||||
NtClose( handle );
|
||||
--
|
||||
2.3.3
|
||||
|
@@ -1,2 +0,0 @@
|
||||
Fixes: Return correct device type for cd devices without medium
|
||||
Category: stable
|
@@ -51,11 +51,11 @@ usage()
|
||||
# Show version information
|
||||
version()
|
||||
{
|
||||
echo "Wine Staging 1.7.43"
|
||||
echo "Wine Staging 1.7.44 (unreleased)"
|
||||
echo "Copyright (C) 2014-2015 the Wine Staging project authors."
|
||||
echo ""
|
||||
echo "Patchset to be applied on upstream Wine:"
|
||||
echo " commit 0d91274defcf65093957cf8e43985b9be55642d5"
|
||||
echo " commit f4790714fe69df7701cff666d6b5ab4be049cbf6"
|
||||
echo ""
|
||||
}
|
||||
|
||||
@@ -132,7 +132,6 @@ patch_enable_all ()
|
||||
enable_iphlpapi_TCP_Table="$1"
|
||||
enable_kernel32_CompareStringEx="$1"
|
||||
enable_kernel32_CopyFileEx="$1"
|
||||
enable_kernel32_GetDriveTypeW="$1"
|
||||
enable_kernel32_GetFinalPathNameByHandle="$1"
|
||||
enable_kernel32_GetLogicalProcessorInformationEx="$1"
|
||||
enable_kernel32_GetNumaProcessorNode="$1"
|
||||
@@ -463,9 +462,6 @@ patch_enable ()
|
||||
kernel32-CopyFileEx)
|
||||
enable_kernel32_CopyFileEx="$2"
|
||||
;;
|
||||
kernel32-GetDriveTypeW)
|
||||
enable_kernel32_GetDriveTypeW="$2"
|
||||
;;
|
||||
kernel32-GetFinalPathNameByHandle)
|
||||
enable_kernel32_GetFinalPathNameByHandle="$2"
|
||||
;;
|
||||
@@ -1365,9 +1361,6 @@ if test "$enable_category_stable" -eq 1; then
|
||||
if test "$enable_kernel32_CompareStringEx" -gt 1; then
|
||||
abort "Patchset kernel32-CompareStringEx disabled, but category-stable depends on that."
|
||||
fi
|
||||
if test "$enable_kernel32_GetDriveTypeW" -gt 1; then
|
||||
abort "Patchset kernel32-GetDriveTypeW disabled, but category-stable depends on that."
|
||||
fi
|
||||
if test "$enable_kernel32_GetSystemTimePreciseAsFileTime" -gt 1; then
|
||||
abort "Patchset kernel32-GetSystemTimePreciseAsFileTime disabled, but category-stable depends on that."
|
||||
fi
|
||||
@@ -1593,7 +1586,6 @@ if test "$enable_category_stable" -eq 1; then
|
||||
enable_gdi32_MaxPixelFormats=1
|
||||
enable_gdiplus_GdipCreateEffect=1
|
||||
enable_kernel32_CompareStringEx=1
|
||||
enable_kernel32_GetDriveTypeW=1
|
||||
enable_kernel32_GetSystemTimePreciseAsFileTime=1
|
||||
enable_kernel32_Named_Pipe=1
|
||||
enable_libs_Debug_Channel=1
|
||||
@@ -2766,18 +2758,6 @@ if test "$enable_wined3d_CSMT_Helper" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset wined3d-wined3d_swapchain_present
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/wined3d/swapchain.c
|
||||
# |
|
||||
if test "$enable_wined3d_wined3d_swapchain_present" -eq 1; then
|
||||
patch_apply wined3d-wined3d_swapchain_present/0001-wined3d-Silence-repeated-wined3d_swapchain_present-F.patch
|
||||
(
|
||||
echo '+ { "Sebastian Lackner", "wined3d: Silence repeated wined3d_swapchain_present FIXME.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset wined3d-Dirtify_Vertex_Shader
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
@@ -2866,6 +2846,18 @@ if test "$enable_wined3d_resource_check_usage" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset wined3d-wined3d_swapchain_present
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/wined3d/swapchain.c
|
||||
# |
|
||||
if test "$enable_wined3d_wined3d_swapchain_present" -eq 1; then
|
||||
patch_apply wined3d-wined3d_swapchain_present/0001-wined3d-Silence-repeated-wined3d_swapchain_present-F.patch
|
||||
(
|
||||
echo '+ { "Sebastian Lackner", "wined3d: Silence repeated wined3d_swapchain_present FIXME.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset wined3d-CSMT_Main
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
@@ -3553,26 +3545,12 @@ fi
|
||||
# | * dlls/kernel32/path.c, dlls/kernel32/tests/file.c
|
||||
# |
|
||||
if test "$enable_kernel32_CopyFileEx" -eq 1; then
|
||||
patch_apply kernel32-CopyFileEx/0001-kernel32-tests-Add-tests-for-delete-behaviour-of-Cop.patch
|
||||
patch_apply kernel32-CopyFileEx/0002-kernel32-Add-support-for-progress-callback-in-CopyFi.patch
|
||||
patch_apply kernel32-CopyFileEx/0001-kernel32-Add-support-for-progress-callback-in-CopyFi.patch
|
||||
(
|
||||
echo '+ { "Sebastian Lackner", "kernel32/tests: Add tests for delete behaviour of CopyFileEx.", 1 },';
|
||||
echo '+ { "Michael Müller", "kernel32: Add support for progress callback in CopyFileEx.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset kernel32-GetDriveTypeW
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/kernel32/volume.c
|
||||
# |
|
||||
if test "$enable_kernel32_GetDriveTypeW" -eq 1; then
|
||||
patch_apply kernel32-GetDriveTypeW/0001-kernel32-Return-correct-device-type-for-cd-devices-w.patch
|
||||
(
|
||||
echo '+ { "Michael Müller", "kernel32: Return correct device type for cd devices without medium.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset kernel32-GetFinalPathNameByHandle
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,18 +1,18 @@
|
||||
From 0b40418cf55b2c6b963433c48fd52f8465558f1d Mon Sep 17 00:00:00 2001
|
||||
From e0ae36a5cdcabb900a2e12a701990f4d0fcc7f7b Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sat, 1 Nov 2014 22:51:34 +0100
|
||||
Subject: riched20: Silence repeated FIXMEs triggered by Adobe Reader.
|
||||
|
||||
Adobe Reader calls these functions very often while scrolling through a document.
|
||||
---
|
||||
dlls/riched20/richole.c | 48 ++++++++++++++++++++++++++++++++++++++----------
|
||||
1 file changed, 38 insertions(+), 10 deletions(-)
|
||||
dlls/riched20/richole.c | 46 ++++++++++++++++++++++++++++++++++++----------
|
||||
1 file changed, 36 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c
|
||||
index 7a07a84..8e719eb 100644
|
||||
index a2cdcf4..cb12e80 100644
|
||||
--- a/dlls/riched20/richole.c
|
||||
+++ b/dlls/riched20/richole.c
|
||||
@@ -175,6 +175,14 @@ static HRESULT WINAPI IRichEditOleImpl_inner_fnQueryInterface(IUnknown *iface, R
|
||||
@@ -300,6 +300,14 @@ static HRESULT WINAPI IRichEditOleImpl_inner_fnQueryInterface(IUnknown *iface, R
|
||||
IUnknown_AddRef((IUnknown *)*ppvObj);
|
||||
return S_OK;
|
||||
}
|
||||
@@ -27,18 +27,17 @@ index 7a07a84..8e719eb 100644
|
||||
FIXME("%p: unhandled interface %s\n", This, debugstr_guid(riid));
|
||||
|
||||
return E_NOINTERFACE;
|
||||
@@ -1833,7 +1841,9 @@ static HRESULT WINAPI TextFont_SetBackColor(ITextFont *iface, LONG value)
|
||||
static HRESULT WINAPI TextFont_GetBold(ITextFont *iface, LONG *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
- FIXME("(%p)->(%p): stub\n", This, value);
|
||||
+ static int once;
|
||||
+
|
||||
+ if (!once++) FIXME("(%p)->(%p): stub\n", This, value);
|
||||
@@ -1961,7 +1969,8 @@ static HRESULT WINAPI TextFont_GetBold(ITextFont *iface, LONG *value)
|
||||
return CO_E_RELEASED;
|
||||
if (!This->txtRge)
|
||||
{
|
||||
- FIXME("not implemented\n");
|
||||
+ static int once;
|
||||
+ if (!once++) FIXME("not implemented\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
if (!value)
|
||||
return E_INVALIDARG;
|
||||
@@ -1880,7 +1890,9 @@ static HRESULT WINAPI TextFont_SetEmboss(ITextFont *iface, LONG value)
|
||||
@@ -2004,7 +2013,9 @@ static HRESULT WINAPI TextFont_SetEmboss(ITextFont *iface, LONG value)
|
||||
static HRESULT WINAPI TextFont_GetForeColor(ITextFont *iface, LONG *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
@@ -49,18 +48,17 @@ index 7a07a84..8e719eb 100644
|
||||
|
||||
if (!value)
|
||||
return E_INVALIDARG;
|
||||
@@ -1949,7 +1961,9 @@ static HRESULT WINAPI TextFont_SetEngrave(ITextFont *iface, LONG value)
|
||||
static HRESULT WINAPI TextFont_GetItalic(ITextFont *iface, LONG *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
- FIXME("(%p)->(%p): stub\n", This, value);
|
||||
+ static int once;
|
||||
+
|
||||
+ if (!once++) FIXME("(%p)->(%p): stub\n", This, value);
|
||||
@@ -2081,7 +2092,8 @@ static HRESULT WINAPI TextFont_GetItalic(ITextFont *iface, LONG *value)
|
||||
return CO_E_RELEASED;
|
||||
if (!This->txtRge)
|
||||
{
|
||||
- FIXME("not implemented\n");
|
||||
+ static int once;
|
||||
+ if (!once++) FIXME("not implemented\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
if (!value)
|
||||
return E_INVALIDARG;
|
||||
@@ -1996,7 +2010,9 @@ static HRESULT WINAPI TextFont_SetKerning(ITextFont *iface, FLOAT value)
|
||||
@@ -2124,7 +2136,9 @@ static HRESULT WINAPI TextFont_SetKerning(ITextFont *iface, FLOAT value)
|
||||
static HRESULT WINAPI TextFont_GetLanguageID(ITextFont *iface, LONG *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
@@ -71,7 +69,7 @@ index 7a07a84..8e719eb 100644
|
||||
|
||||
if (!This->reOle)
|
||||
return CO_E_RELEASED;
|
||||
@@ -2133,7 +2149,9 @@ static HRESULT WINAPI TextFont_SetShadow(ITextFont *iface, LONG value)
|
||||
@@ -2261,7 +2275,9 @@ static HRESULT WINAPI TextFont_SetShadow(ITextFont *iface, LONG value)
|
||||
static HRESULT WINAPI TextFont_GetSize(ITextFont *iface, FLOAT *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
@@ -82,7 +80,7 @@ index 7a07a84..8e719eb 100644
|
||||
|
||||
if (!value)
|
||||
return E_INVALIDARG;
|
||||
@@ -2202,7 +2220,9 @@ static HRESULT WINAPI TextFont_SetSpacing(ITextFont *iface, FLOAT value)
|
||||
@@ -2330,7 +2346,9 @@ static HRESULT WINAPI TextFont_SetSpacing(ITextFont *iface, FLOAT value)
|
||||
static HRESULT WINAPI TextFont_GetStrikeThrough(ITextFont *iface, LONG *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
@@ -93,7 +91,7 @@ index 7a07a84..8e719eb 100644
|
||||
|
||||
if (!value)
|
||||
return E_INVALIDARG;
|
||||
@@ -2227,7 +2247,9 @@ static HRESULT WINAPI TextFont_SetStrikeThrough(ITextFont *iface, LONG value)
|
||||
@@ -2355,7 +2373,9 @@ static HRESULT WINAPI TextFont_SetStrikeThrough(ITextFont *iface, LONG value)
|
||||
static HRESULT WINAPI TextFont_GetSubscript(ITextFont *iface, LONG *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
@@ -104,7 +102,7 @@ index 7a07a84..8e719eb 100644
|
||||
|
||||
if (!value)
|
||||
return E_INVALIDARG;
|
||||
@@ -2277,7 +2299,9 @@ static HRESULT WINAPI TextFont_SetSuperscript(ITextFont *iface, LONG value)
|
||||
@@ -2405,7 +2425,9 @@ static HRESULT WINAPI TextFont_SetSuperscript(ITextFont *iface, LONG value)
|
||||
static HRESULT WINAPI TextFont_GetUnderline(ITextFont *iface, LONG *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
@@ -115,7 +113,7 @@ index 7a07a84..8e719eb 100644
|
||||
|
||||
if (!value)
|
||||
return E_INVALIDARG;
|
||||
@@ -2302,7 +2326,9 @@ static HRESULT WINAPI TextFont_SetUnderline(ITextFont *iface, LONG value)
|
||||
@@ -2430,7 +2452,9 @@ static HRESULT WINAPI TextFont_SetUnderline(ITextFont *iface, LONG value)
|
||||
static HRESULT WINAPI TextFont_GetWeight(ITextFont *iface, LONG *value)
|
||||
{
|
||||
ITextFontImpl *This = impl_from_ITextFont(iface);
|
||||
@@ -126,7 +124,7 @@ index 7a07a84..8e719eb 100644
|
||||
|
||||
if (!This->reOle)
|
||||
return CO_E_RELEASED;
|
||||
@@ -2593,7 +2619,9 @@ static HRESULT WINAPI TextPara_SetStyle(ITextPara *iface, LONG value)
|
||||
@@ -2721,7 +2745,9 @@ static HRESULT WINAPI TextPara_SetStyle(ITextPara *iface, LONG value)
|
||||
static HRESULT WINAPI TextPara_GetAlignment(ITextPara *iface, LONG *value)
|
||||
{
|
||||
ITextParaImpl *This = impl_from_ITextPara(iface);
|
||||
|
@@ -1099,7 +1099,7 @@ diff --git a/dlls/wined3d/volume.c b/dlls/wined3d/volume.c
|
||||
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
|
||||
--- a/dlls/wined3d/utils.c
|
||||
+++ b/dlls/wined3d/utils.c
|
||||
@@ -3298,7 +3298,11 @@
|
||||
@@ -3304,7 +3304,11 @@
|
||||
float y_offset = context->render_offscreen
|
||||
? (center_offset - (2.0f * y) - h) / h
|
||||
: (center_offset - (2.0f * y) - h) / -h;
|
||||
@@ -1111,7 +1111,7 @@ diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
|
||||
state->render_states[WINED3D_RS_ZENABLE] : WINED3D_ZB_FALSE;
|
||||
float z_scale = zenable ? 2.0f : 0.0f;
|
||||
float z_offset = zenable ? -1.0f : 0.0f;
|
||||
@@ -3421,6 +3425,7 @@
|
||||
@@ -3427,6 +3431,7 @@
|
||||
/* case WINED3D_TTFF_COUNT1: Won't ever get here. */
|
||||
case WINED3D_TTFF_COUNT2:
|
||||
mat._13 = mat._23 = mat._33 = mat._43 = 0.0f;
|
||||
@@ -1119,7 +1119,7 @@ diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
|
||||
/* OpenGL divides the first 3 vertex coord by the 4th by default,
|
||||
* which is essentially the same as D3DTTFF_PROJECTED. Make sure that
|
||||
* the 4th coord evaluates to 1.0 to eliminate that.
|
||||
@@ -3433,6 +3438,20 @@
|
||||
@@ -3439,6 +3444,20 @@
|
||||
* A more serious problem occurs if the app passes 4 coordinates in, and the
|
||||
* 4th is != 1.0(opengl default). This would have to be fixed in draw_strided_slow
|
||||
* or a replacement shader. */
|
||||
@@ -1140,7 +1140,7 @@ diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
|
||||
default:
|
||||
mat._14 = mat._24 = mat._34 = 0.0f; mat._44 = 1.0f;
|
||||
}
|
||||
@@ -3792,7 +3811,11 @@
|
||||
@@ -3798,7 +3817,11 @@
|
||||
unsigned int i;
|
||||
DWORD ttff;
|
||||
DWORD cop, aop, carg0, carg1, carg2, aarg0, aarg1, aarg2;
|
||||
@@ -1685,7 +1685,7 @@ diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c
|
||||
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
|
||||
--- a/dlls/d3d9/tests/visual.c
|
||||
+++ b/dlls/d3d9/tests/visual.c
|
||||
@@ -16877,7 +16877,11 @@
|
||||
@@ -16880,7 +16880,11 @@
|
||||
fill_surface(surface_managed, 0x0000ff00, D3DLOCK_NO_DIRTY_UPDATE);
|
||||
add_dirty_rect_test_draw(device);
|
||||
color = getPixelColor(device, 320, 240);
|
||||
|
Reference in New Issue
Block a user