Module: tools
Branch: master
Commit: de71fa30a51a81128688dda2c7912a33e5d5f8da
URL: https://source.winehq.org/git/tools.git/?a=commit;h=de71fa30a51a81128688dda…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Thu Oct 24 14:12:05 2019 +0200
testbot: Always update the VM guest time after a revert.
All VMs support it nowadays and having the current time is important not
only for the tests but also for builds (due to a ccache bug).
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/LibvirtTool.pl | 16 ++++++++++++++++
testbot/bin/WineRunTask.pl | 13 -------------
testbot/bin/WineRunWineTest.pl | 13 -------------
3 files changed, 16 insertions(+), 26 deletions(-)
diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl
index d590191..127c15c 100755
--- a/testbot/bin/LibvirtTool.pl
+++ b/testbot/bin/LibvirtTool.pl
@@ -420,6 +420,22 @@ sub SetupTestAgentd($$$$)
# A side effect is that it will force TestAgentd.exe.old to stay around.
}
+ # Always update the guest's system time
+ # This is needed not only for the tests (date is important when checking
+ # HTTPS certificates), but also for the build (if the time moves forward
+ # during the build some ccache versions will return a compilation error).
+ if (!$TA->SetTime())
+ {
+ # Not a fatal error. Try the next port in case the VM runs a privileged
+ # TestAgentd daemon there.
+ my $PrivilegedTA = $VM->GetAgent(1);
+ if (!$PrivilegedTA->SetTime())
+ {
+ FatalError("Unable to set the VM system time: ". $PrivilegedTA->GetLastError() ."\n");
+ }
+ $PrivilegedTA->Disconnect();
+ }
+
if ($Booting and $VM->Type eq "wine")
{
# Make sure the X session has had time to start
diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index 81a2996..1ee1c12 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -433,19 +433,6 @@ my $Mission = $Missions->[0]->{Missions}->[0];
#
my $TA = $VM->GetAgent();
-Debug(Elapsed($Start), " Setting the time\n");
-if (!$TA->SetTime())
-{
- # Not a fatal error. Try the next port in case the VM runs a privileged
- # TestAgentd daemon there.
- my $PrivilegedTA = $VM->GetAgent("privileged");
- if (!$PrivilegedTA->SetTime())
- {
- LogTaskError("Unable to set the VM system time: ". $PrivilegedTA->GetLastError() .". Maybe the TestAgentd process is missing the required privileges.\n");
- $PrivilegedTA->Disconnect();
- }
-}
-
my $FileName = $Step->FileName;
Debug(Elapsed($Start), " Sending '". $Step->GetFullFileName() ."'\n");
if (!$TA->SendFile($Step->GetFullFileName(), $FileName, 0))
diff --git a/testbot/bin/WineRunWineTest.pl b/testbot/bin/WineRunWineTest.pl
index ff5317c..a2297cb 100755
--- a/testbot/bin/WineRunWineTest.pl
+++ b/testbot/bin/WineRunWineTest.pl
@@ -432,19 +432,6 @@ $TaskMissions = $Missions->[0];
# Setup the VM
#
my $TA = $VM->GetAgent();
-Debug(Elapsed($Start), " Setting the time\n");
-if (!$TA->SetTime())
-{
- # Not a fatal error. Try the next port in case the VM runs a privileged
- # TestAgentd daemon there.
- my $PrivilegedTA = $VM->GetAgent(1);
- if (!$PrivilegedTA->SetTime())
- {
- LogTaskError("Unable to set the VM system time: ". $PrivilegedTA->GetLastError() .". Maybe the TestAgentd process is missing the required privileges.\n");
- $PrivilegedTA->Disconnect();
- }
-}
-
my $FileName = $Step->FileName;
if (defined $FileName)
{
Module: wine
Branch: master
Commit: e798001f8621ddcf4fc777ef7c1e788cd3ff4b72
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e798001f8621ddcf4fc777ef…
Author: Louis Lenders <xerox.xerox2000x(a)gmail.com>
Date: Tue Oct 22 21:29:31 2019 +0000
uianimation: Register interfaces.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/uianimation/Makefile.in | 3 ++
dlls/uianimation/uianimation_reg.idl | 57 ++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/dlls/uianimation/Makefile.in b/dlls/uianimation/Makefile.in
index 85bf1675db..9abb0d6b59 100644
--- a/dlls/uianimation/Makefile.in
+++ b/dlls/uianimation/Makefile.in
@@ -4,3 +4,6 @@ EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
main.c
+
+IDL_SRCS = \
+ uianimation_reg.idl
diff --git a/dlls/uianimation/uianimation_reg.idl b/dlls/uianimation/uianimation_reg.idl
new file mode 100644
index 0000000000..7b311b50df
--- /dev/null
+++ b/dlls/uianimation/uianimation_reg.idl
@@ -0,0 +1,57 @@
+/*
+ * UiAnimation register.
+ *
+ * Copyright (C) 2018 Louis Lenders
+ *
+ * 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
+ */
+
+#pragma makedep register
+
+[
+ uuid(bfcd4a0c-06b6-4384-b768-0daa792c380e),
+ threading(both)
+]
+coclass UIAnimationTimer
+{
+ [default] interface IUIAnimationTimer;
+}
+
+[
+ uuid(4c1fc63a-695c-47e8-a339-1a194be3d0b8),
+ threading(both)
+]
+coclass UIAnimationManager
+{
+ [default] interface IUIAnimationManager;
+}
+
+[
+ uuid(8a9b1cdd-fcd7-419c-8b44-42fd17db1887),
+ threading(both)
+]
+coclass UIAnimationTransitionFactory
+{
+ [default] interface IUIAnimationTransitionFactory;
+}
+
+[
+ uuid(1d6322ad-aa85-4ef5-a828-86d71067d145),
+ threading(both)
+]
+coclass UIAnimationTransitionLibrary
+{
+ [default] interface IUIAnimationTransitionLibrary;
+}