Module: wine
Branch: master
Commit: 64dd6d2883bf87b141b2e4c657ecb293790c3f7a
URL: https://gitlab.winehq.org/wine/wine/-/commit/64dd6d2883bf87b141b2e4c657ecb2…
Author: Biswapriyo Nath <nathbappai(a)gmail.com>
Date: Thu Aug 31 10:09:39 2023 +0530
include: Add Windows.Media.Render.AudioRenderCategory enumeration.
Required for Windows.Media.Effects.IAudioEffectsManagerStatics interface.
---
include/Makefile.in | 1 +
include/windows.media.render.idl | 52 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 507686917a3..a144a95a0e6 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -843,6 +843,7 @@ SOURCES = \
windows.media.closedcaptioning.idl \
windows.media.devices.idl \
windows.media.idl \
+ windows.media.render.idl \
windows.media.speechrecognition.idl \
windows.media.speechsynthesis.idl \
windows.networking.connectivity.idl \
diff --git a/include/windows.media.render.idl b/include/windows.media.render.idl
new file mode 100644
index 00000000000..cb6a47b8c8c
--- /dev/null
+++ b/include/windows.media.render.idl
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2023 Biswapriyo Nath
+ *
+ * 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
+ */
+
+#ifdef __WIDL__
+#pragma winrt ns_prefix
+#endif
+
+import "windows.foundation.idl";
+
+namespace Windows.Media.Render {
+ typedef enum AudioRenderCategory AudioRenderCategory;
+
+ [
+ contract(Windows.Foundation.UniversalApiContract, 1.0)
+ ]
+ enum AudioRenderCategory
+ {
+ Other = 0,
+ [contract(Windows.Foundation.UniversalApiContract, 1.0)]
+ ForegroundOnlyMedia = 1,
+ [contract(Windows.Foundation.UniversalApiContract, 1.0)]
+ BackgroundCapableMedia = 2,
+ Communications = 3,
+ Alerts = 4,
+ SoundEffects = 5,
+ GameEffects = 6,
+ GameMedia = 7,
+ [contract(Windows.Foundation.UniversalApiContract, 1.0)]
+ GameChat = 8,
+ [contract(Windows.Foundation.UniversalApiContract, 1.0)]
+ Speech = 9,
+ [contract(Windows.Foundation.UniversalApiContract, 1.0)]
+ Movie = 10,
+ [contract(Windows.Foundation.UniversalApiContract, 1.0)]
+ Media = 11,
+ };
+}
Module: vkd3d
Branch: master
Commit: 367cf10cdcd5260c7c4991eae541d9e2cd53aaa9
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/367cf10cdcd5260c7c4991eae541d…
Author: Giovanni Mascellani <gmascellani(a)codeweavers.com>
Date: Wed Aug 30 22:09:39 2023 +0200
ci: Briefly document the CI setup.
---
README | 11 +++++++++++
gitlab/README | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/README b/README
index 155f7de2..29f907de 100644
--- a/README
+++ b/README
@@ -82,3 +82,14 @@ commas or semicolons.
conditions in tests.
* VKD3D_TEST_BUG - set to 0 to disable bug_if() conditions in tests.
+
+================
+Developing vkd3d
+================
+
+Development of vkd3d happens on the Wine GitLab instance
+(https://gitlab.winehq.org/wine/vkd3d/). Contributors are encouraged
+to submit their patches using the merge request tool.
+
+Each merge request is automatically tested with the GitLab CI
+system. See gitlab/README in the Git tree for more details.
diff --git a/gitlab/README b/gitlab/README
new file mode 100644
index 00000000..b04a3c8f
--- /dev/null
+++ b/gitlab/README
@@ -0,0 +1,42 @@
+=====================
+vkd3d testing scripts
+=====================
+
+These scripts are used by the GitLab CI feature to automatically run
+the vkd3d tests on each merge request.
+
+The CI target build-image, in the file image.yml, builds a Docker
+image based on Debian bookworm with all the packages required for
+testing, and uploads it to the GitLab container registry. The Docker
+script is in the file image.docker.
+
+The file build.yml contains the actual testing targets. Currently
+vkd3d is tested on Linux x86-64, with two different Vulkan drivers
+(both from Mesa): llvmpipe (a software implementation) and RADV (a
+hardware implementation backed by an AMD GPU). The testing logs are
+available as CI artifacts.
+
+Some custom runner configuration is required in order to run the tests
+on an AMD GPU. Specifically, a runner tagged with `amd-gpu' must be
+available with the following features:
+
+ * of course a sufficiently recent AMD GPU must be available to the
+ host;
+
+ * the host kernel must have the appropriate driver and firmware
+ installed;
+
+ * the runner must forward the DRI nodes to the guest; this can be
+ configured by adding the line
+
+ devices = ["/dev/dri"]
+
+ to the relevant [runners.docker] section in the config.toml file;
+
+ * the DRI render nodes must be readable and writable by GID 800,
+ either because they belong to that group (e.g. because the group
+ `render', which typically owns those files, has GID 800) or via a
+ FS ACL; such stipulation is needed because in Debian group `render'
+ is created dynamically, therefore has no predictable GID: the use
+ of a fixed GID enables the guest system to be set up so that the
+ user running the tests can access the render nodes.
Module: vkd3d
Branch: master
Commit: 52d52ad1b95b9e95397ea97a34edad4e41847cec
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/52d52ad1b95b9e95397ea97a34eda…
Author: Giovanni Mascellani <gmascellani(a)codeweavers.com>
Date: Tue Aug 29 22:59:50 2023 +0200
ci: Execute CI also an a runner with an AMD GPU.
In order for this to work it is expected that the Docker host exposes
the devices in /dev/dri to the guest system, and that the render nodes
have GID 800 (usually that would be the "render" group, but the GID
for that group is dynamically assigned, so we explicitly agree on a
fixed number).
---
gitlab/build.yml | 12 +++++++++++-
gitlab/image.docker | 3 ++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/gitlab/build.yml b/gitlab/build.yml
index 49e69d57..c10d64a6 100644
--- a/gitlab/build.yml
+++ b/gitlab/build.yml
@@ -25,5 +25,15 @@
paths:
- artifacts
-build:
+build-radv:
extends: .build
+ tags:
+ - amd-gpu
+ variables:
+ VK_LOADER_DRIVERS_SELECT: 'radeon_*'
+
+build-llvmpipe:
+ extends: .build
+ allow_failure: true
+ variables:
+ VK_LOADER_DRIVERS_SELECT: 'lvp_*'
diff --git a/gitlab/image.docker b/gitlab/image.docker
index afc0dd1b..dd6923cb 100644
--- a/gitlab/image.docker
+++ b/gitlab/image.docker
@@ -35,6 +35,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
cd ../.. && \
rm -rf wine && \
apt-get clean && \
- useradd -m gitlab
+ groupadd host-render -g 800 && \
+ useradd -m gitlab -G host-render
USER gitlab
Module: tools
Branch: master
Commit: 61478328774b2cb053fd168d2c117159f314d029
URL: https://gitlab.winehq.org/winehq/tools/-/commit/61478328774b2cb053fd168d2c1…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Aug 4 12:21:50 2023 +0200
testbot/cgi: Align the textarea width with the text field size.
The TestBot uses a 50 character width for the regular text fields so use
the same width for textarea fields.
---
testbot/lib/ObjectModel/CGI/FormPage.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/lib/ObjectModel/CGI/FormPage.pm b/testbot/lib/ObjectModel/CGI/FormPage.pm
index d6ded1b0..d35304ac 100644
--- a/testbot/lib/ObjectModel/CGI/FormPage.pm
+++ b/testbot/lib/ObjectModel/CGI/FormPage.pm
@@ -409,7 +409,7 @@ sub GenerateValueInput($$$$)
else
{
my $Size=$PropertyDescriptor->GetMaxLength();
- $Size=45 if ($Size > 45);
+ $Size = 50 if ($Size > 50);
print "<input type='$InputType' name='", $PropertyDescriptor->GetName(),
"' maxlength='", $PropertyDescriptor->GetMaxLength(),
"' size='$Size'";
Module: tools
Branch: master
Commit: 8ef2ef2a23be218b6f9ddd18bb201e5c4012c71a
URL: https://gitlab.winehq.org/winehq/tools/-/commit/8ef2ef2a23be218b6f9ddd18bb2…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue Aug 1 12:36:41 2023 +0200
winetest/build-patterns: Show a count of failure modes and test-related bugs.
---
winetest/build-patterns | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/winetest/build-patterns b/winetest/build-patterns
index d541d5a2..78425ecd 100755
--- a/winetest/build-patterns
+++ b/winetest/build-patterns
@@ -1502,6 +1502,18 @@ EOF
$tests{0}->{desc} .= "</ul>";
if (!$nolist)
{
+ my (%failure_bugs, %all_bugs);
+ foreach my $test (values %tests)
+ {
+ foreach my $bug (@{$test->{bugs}})
+ {
+ $all_bugs{$bug->{id}} = 1;
+ next if ($bug->{desc} =~ /(?:invalid (?:read|write)|leak|uninitialized|use after free|valgrind)/);
+ $failure_bugs{$bug->{id}} = 1;
+ }
+ }
+ $tests{0}->{desc} .= "<p>For a total of <a title='This does not count bugs for failures in the \"old\" list and potential memory issues (Valgrind)'>roughly <b>". scalar(%failure_bugs) ." failure modes</b></a> (out of ". scalar(%all_bugs) ." test related bugs).\n";
+
my @table = ("<details><summary>Page customization</summary>
<div class='detailsbox'><p>This section lets you select the reports to show on this page.</p><p>
<label><input id='reruns' type='checkbox' checked> Hide WineTest reruns</label><br>");