Module: appdb
Branch: master
Commit: 66e884d65a578549824db57dc53f9ca988883b8c
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=66e884d65a578549824db57d…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Date: Thu Dec 20 01:30:29 2007 +0100
distribution: Sort test results by Wine version as well as rating
---
include/distribution.php | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/include/distribution.php b/include/distribution.php
index 25526cf..1169bf5 100644
--- a/include/distribution.php
+++ b/include/distribution.php
@@ -51,24 +51,33 @@ class distribution {
if($_SESSION['current']->hasPriv("admin"))
{
$sQuery = "SELECT testingId
- FROM testResults
- WHERE distributionId = '?'
- ORDER BY testedRating;" ;
+ FROM testResults, ?.versions
+ WHERE
+ versions.value = testResults.testedRelease
+ AND
+ versions.product_id = '?'
+ AND
+ distributionId = '?'
+ ORDER BY testedRating,bugs.versions.id DESC";
} else /* only let users view test results that aren't queued and for apps that */
/* aren't queued or versions that aren't queued */
{
$sQuery = "SELECT testingId
- FROM testResults, appFamily, appVersion
+ FROM testResults, appFamily, appVersion, ?.versions
WHERE testResults.state = 'accepted' AND
+ versions.value = testResults.testedRelease
+ AND
+ versions.product_id = '?'
+ AND
testResults.versionId = appVersion.versionId AND
appFamily.appId = appVersion.appId AND
appFamily.state = 'accepted' AND
appVersion.state = 'accepted' AND
distributionId = '?'
- ORDER BY testedRating;";
+ ORDER BY testedRating,bugs.versions.id DESC";
}
- if($hResult = query_parameters($sQuery, $this->iDistributionId))
+ if($hResult = query_parameters($sQuery, BUGZILLA_DB, BUGZILLA_PRODUCT_ID, $this->iDistributionId))
{
while($oRow = query_fetch_object($hResult))
{
Module: wine
Branch: master
Commit: 6ceb8e1f31fe3d6067c5ac201449e29409f5cc7f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6ceb8e1f31fe3d6067c5ac201…
Author: Roy Shea <roy(a)cs.hmc.edu>
Date: Mon Dec 17 14:38:33 2007 -0800
qmgr: Generate C file with local GUID definitions from bits.idl.
---
.gitignore | 2 ++
dlls/qmgr/Makefile.in | 2 ++
dlls/qmgr/qmgr_local.idl | 19 +++++++++++++++++++
3 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 21e0dbe..eee1787 100644
--- a/.gitignore
+++ b/.gitignore
@@ -381,6 +381,8 @@ dlls/psapi/tests/*.ok
dlls/psapi/tests/psapi_crosstest.exe
dlls/psapi/tests/testlist.c
dlls/qcap/version.res
+dlls/qmgr/qmgr_local.h
+dlls/qmgr/qmgr_local_i.c
dlls/qmgrprxy/qmgrprxy.h
dlls/qmgrprxy/qmgrprxy_i.c
dlls/qmgrprxy/qmgrprxy_p.c
diff --git a/dlls/qmgr/Makefile.in b/dlls/qmgr/Makefile.in
index 5ac07d3..d01f2b8 100644
--- a/dlls/qmgr/Makefile.in
+++ b/dlls/qmgr/Makefile.in
@@ -9,6 +9,8 @@ EXTRALIBS =
C_SRCS = \
qmgr_main.c
+IDL_I_SRCS = qmgr_local.idl
+
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/dlls/qmgr/qmgr_local.idl b/dlls/qmgr/qmgr_local.idl
new file mode 100644
index 0000000..f72325f
--- /dev/null
+++ b/dlls/qmgr/qmgr_local.idl
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2007 Google (Roy Shea)
+ *
+ * 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
+ */
+
+#include "bits.idl"