Module: wine
Branch: master
Commit: 7179475dd03b11df124aa345615065203eed0c98
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7179475dd03b11df124aa345…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Wed May 9 17:31:32 2018 -0500
wmcodecdspuuid: Add static library.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
configure | 4 ++++
configure.ac | 1 +
dlls/wmcodecdspuuid/Makefile.in | 4 ++++
dlls/wmcodecdspuuid/wmcodecdspuuid.c | 27 +++++++++++++++++++++++++++
4 files changed, 36 insertions(+)
diff --git a/configure b/configure
index d53583d..eda1f7b 100755
--- a/configure
+++ b/configure
@@ -1594,6 +1594,7 @@ enable_winusb
enable_wlanapi
enable_wldap32
enable_wmasf
+enable_wmcodecdspuuid
enable_wmi
enable_wmiutils
enable_wmp
@@ -8839,6 +8840,8 @@ CROSSTARGET=""
if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
then
case "$host_cpu" in
+ aarch64*)
+ ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
arm*)
ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
i[3456789]86*)
@@ -19171,6 +19174,7 @@ wine_fn_config_makefile dlls/wlanapi/tests enable_tests
wine_fn_config_makefile dlls/wldap32 enable_wldap32
wine_fn_config_makefile dlls/wldap32/tests enable_tests
wine_fn_config_makefile dlls/wmasf enable_wmasf
+wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
wine_fn_config_makefile dlls/wmi enable_wmi
wine_fn_config_makefile dlls/wmiutils enable_wmiutils
wine_fn_config_makefile dlls/wmiutils/tests enable_tests
diff --git a/configure.ac b/configure.ac
index b4a8ef0..bea3aa2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3773,6 +3773,7 @@ WINE_CONFIG_MAKEFILE(dlls/wlanapi/tests)
WINE_CONFIG_MAKEFILE(dlls/wldap32)
WINE_CONFIG_MAKEFILE(dlls/wldap32/tests)
WINE_CONFIG_MAKEFILE(dlls/wmasf)
+WINE_CONFIG_MAKEFILE(dlls/wmcodecdspuuid)
WINE_CONFIG_MAKEFILE(dlls/wmi)
WINE_CONFIG_MAKEFILE(dlls/wmiutils)
WINE_CONFIG_MAKEFILE(dlls/wmiutils/tests)
diff --git a/dlls/wmcodecdspuuid/Makefile.in b/dlls/wmcodecdspuuid/Makefile.in
new file mode 100644
index 0000000..d8f5d02
--- /dev/null
+++ b/dlls/wmcodecdspuuid/Makefile.in
@@ -0,0 +1,4 @@
+MODULE = libwmcodecdspuuid.a
+
+C_SRCS = \
+ wmcodecdspuuid.c
diff --git a/dlls/wmcodecdspuuid/wmcodecdspuuid.c b/dlls/wmcodecdspuuid/wmcodecdspuuid.c
new file mode 100644
index 0000000..c715641
--- /dev/null
+++ b/dlls/wmcodecdspuuid/wmcodecdspuuid.c
@@ -0,0 +1,27 @@
+/*
+ * GUID definitions
+ *
+ * Copyright 2018 Zebediah Figura
+ *
+ * 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
+ */
+
+/* Don't define those GUIDs here */
+#include "strmif.h"
+#include "mediaobj.h"
+
+#include "initguid.h"
+
+#include "wmcodecdsp.h"
Module: wine
Branch: master
Commit: 21ac699f6fb35363480ac151b5169979aa7c0b8b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=21ac699f6fb35363480ac151…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Wed May 9 17:31:31 2018 -0500
include: Add wmcodecdsp.idl and CMP3DecMediaObject.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/Makefile.in | 1 +
include/wmcodecdsp.idl | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index d816bbf..78ab095 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -701,6 +701,7 @@ SOURCES = \
winuser.rh \
winver.h \
wlanapi.h \
+ wmcodecdsp.idl \
wmdrmsdk.idl \
wmistr.h \
wmium.h \
diff --git a/include/wmcodecdsp.idl b/include/wmcodecdsp.idl
new file mode 100644
index 0000000..8ec303c
--- /dev/null
+++ b/include/wmcodecdsp.idl
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2018 Zebediah Figura
+ *
+ * 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
+ */
+
+import "mediaobj.idl";
+import "strmif.idl";
+
+[
+ uuid(bbeea841-0a63-4f52-a7ab-a9b3a84ed38a)
+]
+coclass CMP3DecMediaObject {}
Module: tools
Branch: master
Commit: 2cd1475bf6269db4979499e8a63a6873f4e74362
URL: https://source.winehq.org/git/tools.git/?a=commit;h=2cd1475bf6269db4979499e…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri May 11 00:15:22 2018 +0200
testbot: Reschedule at the latest when the next task times out.
This ensures we catch stuck tasks in a timely fashion.
Note that we still reschedule every 10 minutes to catch any issues but
the scheduler handles this itself instead of relying on SafetyNet().
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/Engine.pl | 14 ++++++++------
testbot/lib/WineTestBot/Engine/Scheduler.pm | 24 ++++++++++++++++++++++++
2 files changed, 32 insertions(+), 6 deletions(-)
diff --git a/testbot/bin/Engine.pl b/testbot/bin/Engine.pl
index c3db46b..0f8de82 100755
--- a/testbot/bin/Engine.pl
+++ b/testbot/bin/Engine.pl
@@ -611,11 +611,10 @@ sub ClientRead($)
This is called on startup and regularly after that to catch things that fall
through the cracks, possibly because of an Engine restart.
-Specifically it updates the status of all the current Jobs, Steps and
-Tasks, then schedules Tasks to be run, checks the staging directory for
-wine-patches emails dropped by WinePatchesMLSubmit.pl, for notifications of
-changes on Wine's Patches web site dropped by WinePatchesWebSubmit.pl, and
-checks whether any pending patchsets are now complete and thus can be scheduled.
+Specifically it checks the staging directory for wine-patches emails dropped
+by WinePatchesMLSubmit.pl, for notifications of changes on Wine's Patches web
+site dropped by WinePatchesWebSubmit.pl, and checks whether any pending
+patchsets are now complete and thus can be scheduled.
=back
=cut
@@ -623,7 +622,6 @@ checks whether any pending patchsets are now complete and thus can be scheduled.
sub SafetyNet()
{
CheckJobs();
- ScheduleJobs();
HandleWinePatchWebSubmission();
my $Set = CreatePendingPatchSets();
@@ -760,6 +758,10 @@ sub main()
SaveRecord('engine', 'start');
Cleanup(1);
+ # Cleanup starts processes to update the VMs. Run ScheduleJobs() now so it
+ # can detect if these processes get stuck.
+ ScheduleJobs();
+
# Check for patches that arrived while the server was off.
HandleWinePatchMLSubmission();
diff --git a/testbot/lib/WineTestBot/Engine/Scheduler.pm b/testbot/lib/WineTestBot/Engine/Scheduler.pm
index 52e7619..a191f0e 100644
--- a/testbot/lib/WineTestBot/Engine/Scheduler.pm
+++ b/testbot/lib/WineTestBot/Engine/Scheduler.pm
@@ -31,6 +31,7 @@ use Exporter 'import';
our @EXPORT = qw(ScheduleJobs CheckJobs);
use WineTestBot::Config;
+use WineTestBot::Engine::Events;
use WineTestBot::Jobs;
use WineTestBot::Log;
use WineTestBot::RecordGroups;
@@ -971,6 +972,29 @@ sub ScheduleJobs()
{
$Sched->{recordgroups}->DeleteItem($Sched->{recordgroup});
}
+
+ # Reschedule at the latest when the next task times out
+ my $FirstDeadline;
+ foreach my $VM (@{$Sched->{VMs}->GetItems()})
+ {
+ if (defined $VM->ChildDeadline and
+ (!defined $FirstDeadline or $VM->ChildDeadline < $FirstDeadline))
+ {
+ $FirstDeadline = $VM->ChildDeadline;
+ }
+ }
+ my $Timeout;
+ if ($FirstDeadline)
+ {
+ $Timeout = $FirstDeadline - time();
+ $Timeout = 1 if ($Timeout <= 0);
+ }
+ if (!$Timeout or $Timeout > 600)
+ {
+ # Reschedule regularly as a safety net
+ $Timeout = 600;
+ }
+ AddEvent("ScheduleJobs", $Timeout, 0, \&ScheduleJobs);
}