Commit 322617d6 authored by David Anderson's avatar David Anderson

- lib: fix compile warning

svn path=/trunk/boinc/; revision=23773
parent 22c1ff5c
......@@ -3703,8 +3703,8 @@ David 21 Jun 2011
submit_status.php
Charlie 21 Jun 2011
- MGR: Revert Rom's manager changes of 20 June related to GUI RPC changes, for
compatibility with older Clients.
- MGR: Revert Rom's manager changes of 20 June related to GUI RPC changes,
for compatibility with older Clients.
clientgui/
AdvancedFrame.cpp
......@@ -3714,7 +3714,7 @@ Charlie 21 Jun 2011
ProjectInfoPage.cpp
Charlie 22 Jun 2011
- MGR: Rename CC_STATE::have_cuda to CC_STATE::have_nvidia to clsrify its meaning,
- MGR: Rename CC_STATE::have_cuda to CC_STATE::have_nvidia to clarify its meaning,
add comment that it is referenced in GUI RPCs as have_cuda for compatibility.
Wizard ProjectInfo page tests values appropriate for connected client version.
- lib: fill in missing entries in COPROCS GUI RPCs, ensure that old data is reset
......@@ -3743,3 +3743,9 @@ Charlie 23 Jun 2011
DlgAdvPreferences.cpp
MainDocument.cpp, .h
ProjectInfoPage.cpp
David 23 Jun 2011
- lib: fix compile warning
lib/
coproc.h
......@@ -6541,7 +6541,7 @@ David 15 Sept 2010
(a:b:c::e:f:g format),
or domain names of hosts that support only IPv6
Note: GUI RPCs are still constrained to use IPv4,
but this should be easy to change if it's every needed
but this should be easy to change if it's ever needed
Also: replace deprecated gethostbyname() with getaddrinfo().
......@@ -7037,7 +7037,7 @@ David 3 Oct 2010
merge_by_name.php
Rom 4 Oct 2010
- MGR: On Linix, minimize the main window instead of trying to hide it when
- MGR: On Linux, minimize the main window instead of trying to hide it when
close is selected on the window instead of the menu. Ideally the main
window would just be hidden until the notification icon is clicked, but
apparently wxWidgets/GTK/X doesn't like it when you attempt to hide the
......@@ -7765,7 +7765,7 @@ David 03 Nov 2010
David 03 Nov 2010
- python DB layer: fields with values None or ''
where being omitted from query strings.
were being omitted from query strings.
This is incorrect.
For example, suppose you have an app version with nonempty plan_class,
then you try to add a version with no plan class.
......@@ -8362,7 +8362,7 @@ David 23 Nov 2010
David 23 Nov 2010
- server scripts (e.g. update_versions):
compute MD5 checksums be reading files in pieces instead
compute MD5 checksums by reading files in pieces instead
of reading whole file into memory. From Tolu Aina
py/Boinc/
......
......@@ -23,6 +23,7 @@ error_reporting(E_ALL);
require_once("../inc/util.inc");
require_once("../inc/boinc_db.inc");
require_once("../inc/result.inc");
require_once("../inc/submit_db.inc");
function show_batch($user) {
......@@ -32,14 +33,13 @@ function show_batch($user) {
error_page("no batch");
}
page_head("Batch $batch->id");
$wus = BoincWorkunit::enum("batch=$batch->id");
foreach ($wus as $wu) {
echo "<br>workunit: $wu->name";
$results = BoincResult::enum("workunitid=$wu->id");
foreach ($results as $result) {
echo "<br>&nbsp;&nbsp;result: $result->name";
}
$results = BoincResult::enum("batch=$batch->id order by workunitid");
$i = 0;
result_table_start(true, true, null);
foreach ($results as $result) {
show_result_row($result, true, true, true, $i++);
}
end_table();
page_tail();
}
......
......@@ -334,7 +334,7 @@ struct COPROCS {
}
}
}
void COPROCS::clear() {
void clear() {
n_rsc = 0;
for (int i=0; i<MAX_RSC; i++) {
coprocs[i].clear();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment