Skip to content

Commit

Permalink
- lib: fix compile warning
Browse files Browse the repository at this point in the history
svn path=/trunk/boinc/; revision=23773
  • Loading branch information
davidpanderson committed Jun 23, 2011
1 parent 22c1ff5 commit 322617d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
12 changes: 9 additions & 3 deletions checkin_notes
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions checkin_notes_2010
Original file line number Diff line number Diff line change
Expand Up @@ -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().

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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/
Expand Down
14 changes: 7 additions & 7 deletions html/user/submit_status.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

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) {
Expand All @@ -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();
}

Expand Down
2 changes: 1 addition & 1 deletion lib/coproc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 322617d

Please sign in to comment.