Module: wine
Branch: master
Commit: 578d26f826ca863d10e5905f220c49bbccaf99e3
URL: https://source.winehq.org/git/wine.git/?a=commit;h=578d26f826ca863d10e5905f…
Author: John Chadwick <john(a)jchw.io>
Date: Sun Nov 24 23:03:00 2019 -0800
winex11/wintab: Fix values for lcSys* and lcOut*.
Testing using the Wacom wintab32 (from driver version 6.3.37-3) on
Windows 10, it appears that the values for lcOut* were likely
accidentally mixed up with the values for lcSys*. The lcSys* values are,
according to the documentation, supposed to specify the extent of the
screen mapping area for the cursor, wheras lcOut* simply specifies the
output coordinate space for the given context. There is no logical
reason I'm aware of for why lcOut* would have different default values
from lcIn*, and in testing Wacom wintab32 defaults lcOut* to match
lcIn*.
In addition, lcSysExt* should use SM_C*VIRTUALSCREEN instead of
SM_C*SCREEN, to handle multi-monitor setups properly. Setting lcSysExt*
to these values works even if the tablet is mapped to a subset of this
area.
After this change, PaintTool SAI 2 appears to work out of the box. Other
wintab clients I tested appear to be unaffected (such as the Wintab SDK
demos and Adobe Photoshop CS2.)
Signed-off-by: John Chadwick <john(a)jchw.io>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/winex11.drv/wintab.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/winex11.drv/wintab.c b/dlls/winex11.drv/wintab.c
index 12eb89ac7f..ef42a1f07c 100644
--- a/dlls/winex11.drv/wintab.c
+++ b/dlls/winex11.drv/wintab.c
@@ -537,8 +537,8 @@ BOOL CDECL X11DRV_LoadTabletInfo(HWND hwnddefault)
gSysContext.lcSensZ = 65536;
gSysContext.lcSysSensX= 65536;
gSysContext.lcSysSensY= 65536;
- gSysContext.lcOutExtX= GetSystemMetrics(SM_CXSCREEN);
- gSysContext.lcOutExtY= GetSystemMetrics(SM_CYSCREEN);
+ gSysContext.lcSysExtX = GetSystemMetrics(SM_CXVIRTUALSCREEN);
+ gSysContext.lcSysExtY = GetSystemMetrics(SM_CYVIRTUALSCREEN);
/* initialize cursors */
disable_system_cursors();
@@ -671,9 +671,9 @@ BOOL CDECL X11DRV_LoadTabletInfo(HWND hwnddefault)
gSysDevice.X.axUnits = TU_INCHES;
gSysDevice.X.axResolution = Axis->resolution;
gSysContext.lcInOrgX = Axis->min_value;
- gSysContext.lcSysOrgX = Axis->min_value;
+ gSysContext.lcOutOrgX = Axis->min_value;
gSysContext.lcInExtX = Axis->max_value;
- gSysContext.lcSysExtX = Axis->max_value;
+ gSysContext.lcOutExtX = Axis->max_value;
Axis++;
}
if (Val->num_axes>=2)
@@ -684,9 +684,9 @@ BOOL CDECL X11DRV_LoadTabletInfo(HWND hwnddefault)
gSysDevice.Y.axUnits = TU_INCHES;
gSysDevice.Y.axResolution = Axis->resolution;
gSysContext.lcInOrgY = Axis->min_value;
- gSysContext.lcSysOrgY = Axis->min_value;
+ gSysContext.lcOutOrgY = Axis->min_value;
gSysContext.lcInExtY = Axis->max_value;
- gSysContext.lcSysExtY = Axis->max_value;
+ gSysContext.lcOutExtY = Axis->max_value;
Axis++;
}
if (Val->num_axes>=3)
Module: wine
Branch: master
Commit: 8bfd6d3285d9c4e91f79445070ecfdbf792ffb9e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8bfd6d3285d9c4e91f794450…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Fri Nov 22 21:14:01 2019 -0600
strmbase/transform: Check whether the source is connected in TransformFilter_Input_Receive().
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/strmbase/transform.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dlls/strmbase/transform.c b/dlls/strmbase/transform.c
index e7d4d66164..29c385793a 100644
--- a/dlls/strmbase/transform.c
+++ b/dlls/strmbase/transform.c
@@ -59,6 +59,16 @@ static HRESULT WINAPI TransformFilter_Input_Receive(struct strmbase_sink *This,
TRACE("%p\n", This);
+ /* We do not expect pin connection state to change while the filter is
+ * running. This guarantee is necessary, since otherwise we would have to
+ * take the filter lock, and we can't take the filter lock from a streaming
+ * thread. */
+ if (!pTransform->source.pMemInputPin)
+ {
+ WARN("Source is not connected, returning VFW_E_NOT_CONNECTED.\n");
+ return VFW_E_NOT_CONNECTED;
+ }
+
EnterCriticalSection(&pTransform->csReceive);
if (pTransform->filter.state == State_Stopped)
{
Module: vkd3d
Branch: master
Commit: 207ca12725e073d896e6fabb6c2890ac29cbee7b
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=207ca12725e073d896e6fab…
Author: Philip Rebohle <philip.rebohle(a)tu-dortmund.de>
Date: Mon Nov 25 17:53:39 2019 +0330
vkd3d: Re-implement d3d12_command_list_ClearUnorderedAccessViewUint().
Addresses the following limitations of the previous implementation:
- Only R32_{UINT,TYPELESS} were supported for buffers.
- Clearing an image UAV did not behave correctly for images with non-UINT formats.
- Due to the use of transfer operations, extra memory barriers were needed.
If necessary, this will create a temporary view with a bit-compatible
UINT format for the resource in order to perform a bit-exact clear.
Signed-off-by: Philip Rebohle <philip.rebohle(a)tu-dortmund.de>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
libs/vkd3d/command.c | 116 ++++++++++++++++-----------------------------
libs/vkd3d/resource.c | 20 ++------
libs/vkd3d/utils.c | 31 ++++++++++++
libs/vkd3d/vkd3d_private.h | 19 ++++++++
tests/d3d12.c | 22 ++++-----
5 files changed, 104 insertions(+), 104 deletions(-)
Diff: https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=207ca12725e073d896e…
Module: tools
Branch: master
Commit: 7d05cb40e47f0e98d5897cfc38b37039c6916e18
URL: https://source.winehq.org/git/tools.git/?a=commit;h=7d05cb40e47f0e98d5897cf…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Nov 22 15:54:18 2019 +0100
testbot: Give a higher priority to wine VMs.
They are needed for patches that don't impact the Windows tests and
thus are more likely to be needed next than Windows VMs.
The build VMs should still remain in the top spot because delaying
their tasks delays all the corresponding Windows tasks, which would
leave the TestBot partially idle.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/WineTestBot/Engine/Scheduler.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/lib/WineTestBot/Engine/Scheduler.pm b/testbot/lib/WineTestBot/Engine/Scheduler.pm
index b6a8998..c28e143 100644
--- a/testbot/lib/WineTestBot/Engine/Scheduler.pm
+++ b/testbot/lib/WineTestBot/Engine/Scheduler.pm
@@ -411,9 +411,9 @@ sub _CheckAndClassifyVMs()
$VM->Role eq "winetest" ? 10 :
20) + # extra
($VM->Type eq "build" ? 0 :
- $VM->Type eq "win64" ? 1 :
- $VM->Type eq "win32" ? 2 :
- 3); # wine
+ $VM->Type eq "wine" ? 1 :
+ $VM->Type eq "win64" ? 2 :
+ 3); # win32
}
# If a VM was in an inconsistent state, update the jobs status fields before
Module: website
Branch: master
Commit: e46fd827eeaa22867f68dffc92f34ed5f0602781
URL: https://source.winehq.org/git/website.git/?a=commit;h=e46fd827eeaa22867f68d…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Mon Nov 25 16:12:37 2019 +0100
Wine release 4.0.3
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
news/en/2019112501.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/news/en/2019112501.xml b/news/en/2019112501.xml
new file mode 100644
index 00000000..82c394b4
--- /dev/null
+++ b/news/en/2019112501.xml
@@ -0,0 +1,13 @@
+<news>
+<date>November 25, 2019</date>
+<title>Wine 4.0.3 Released</title>
+<body>
+<p> The Wine maintenance release 4.0.3 is now available.</p>
+<p> <a href="{$root}/announce/4.0.3">What's new</a> in this release:
+<ul>
+ <li>Various bug fixes</li>
+ <li>Updates to the National Language Support files</li>
+</ul>
+<p>The source is <a href="//dl.winehq.org/wine/source/4.0/wine-4.0.3.tar.xz">available now</a>.
+Binary packages are in the process of being built, and will appear soon at their respective <a href="{$root}/download">download locations</a>.
+</p></body></news>
Module: wine
Branch: stable
Commit: 21734aa3c07af9a4bb5adbb587de7b38500afebb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=21734aa3c07af9a4bb5adbb5…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Fri Nov 1 10:52:03 2019 -0500
d3d8/tests: Flush events after sending SC_MAXIMIZE.
For some reason, on fvwm2 sometimes focus_window will be restored and activated
between the subsequent call to SetForegroundWindow() and the next call to
ShowWindow(SW_RESTORE), causing the next test to fail. Flushing first seems to
reliably work around this.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
(cherry picked from commit 2b29d02aa5ba65465b4adc017cdca9a8932b0dbe)
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org>
---
dlls/d3d8/tests/device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index d0e840a912..1a72485719 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -3055,6 +3055,7 @@ static void test_wndproc(void)
ok(!expect_messages->message, "Expected message %#x for window %#x, but didn't receive it.\n",
expect_messages->message, expect_messages->window);
expect_messages = NULL;
+ flush_events();
SetForegroundWindow(GetDesktopWindow());
flush_events();