Rom 4 Jan 2006 - Branding update for GridRepublic client/win/ boinc_cli.rc boinc_cmd.rc boinc_ss.rc clientgui/ AccountInfoPage.cpp, .h BOINCGUIApp.cpp, .h WizardAccountManager.cpp WizardAttachProject.cpp resource.h clientgui/res/ gridrepublic.ico gridrepublic.xpm gridrepublicamwizard.xpm (Added) clientgui/res/ gridrepublic.ico gridrepublicamwizard.bmp (Added) win_build/installerv2/ GridRepublic.ism win_build/installerv2/redist/GridRepublic/ GridRepublic.ico GridRepublic.url Rom 4 Jan 2006 (HEAD) - Tag for 5.3.7 release, all platforms boinc_core_release_5_3_7 David 4 Jan 2006 - replace safe_strncpy() with strlcpy() everywhere. Same semantics, but the former is less efficient. - simplified Bruce's recent fix to escape_string() checkin_notes_2005 (new - Woo Hoo!) api/ boinc_api.C client/win/ hostinfo_win.cpp db/ db_base.C lib/ app_ipc.C diagnostics.C filesys.C language.C parse.C util.C,h sched/ handle_request.C tools/ backend_lib.C David 4 Jan 2006 - scheduler: scan_work_array(): if add_result_to_reply() fails, do NOT reinsert the entry in the array by resetting the "present" flag. We previously cleared this flag, so the array entry may have been refilled by the feeder, and it might be in the CHECKED_OUT state. (from Paul Buck) sched/ sched_array.C Bruce 5 Jan 2006 - Fixed David's mistake in simplifying my fix to escape_string()! db/ db_base.C David 4 Jan 2006 - fixed inefficient unescape_string() db/ db_base.C Bruce 5 Jan 2006 - Fixed new unescape_string(): didn't null terminate string. db/ db_base.C Bruce 6 Jan 2006 - Nasty bug in API lib. See checkin_nodes_2004 December 22. Functions meant to be used from within C should never be declared bool! Fix: change boinc_is_standalone() to return int not bool. Note: some API functions still return bools, but since E@H doesn't use them and I am afraid of doing damage, I have left them alone. api/ boinc_api.C boinc_api.h graphics_impl.h graphics_impl_lib.C Rom 6 Jan 2006 - Branding update for GridRepublic clientgui/ AccountInfoPage.cpp AccountManagerProcessingPage.cpp AccountManagerPropertiesPage.cpp BOINCGUIApp.cpp, .h BOINCGUIApp.rc CompletionPage.cpp, .h MainFrame.cpp resource.h clientgui/res/ gridrepublic2.ico (Added) win_build/installerv2/ GridRepublic.ism win_build/installerv2/redist/GridRepublic/ acct_mgr_url.xml GR_splash.bmp Rom 6 Jan 2006 (HEAD) - Tag for 5.3.8 release, all platforms boinc_core_release_5_3_8 David 6 Jan 2006 - fix unitialized var client/ net_stats.C David 6 Jan 2006 - feeder: exit on database errors. This is a workaround for a problem where the feeder loses its DB connection after 10-20 hours of idleness. With this change, the feeder will exit, and will be restarted by cron. sched/ feeder.C David 6 Jan 2006 - Tweak the account manager system to support "farm managers" that use GUI RPC to control clients. The farm manager needs the GUI RPC port and password of each client. Add an optional element to the acct_mgr_url.xml file, which causes the GUI RPC port and password to be included in account manager RPC requests. (From James Drews) client/ acct_mgr.C,h David 6 Jan 2006 - Change "bool" to "int" in the BOINC API. C and C++ compilers differ in their allocation for bool, making it difficult for C applications (which must be compiled with particular compilers) to use the BOINC API. No such problem for int. (from Bruce Allen) api/ boinc_api.C,h David 8 Jan 2006 - Account manager additions (from Willy de Zutter) - Include in AM request. This is the host CPID sent in the previous AM request. It lets the AM track hosts even when their CPIDs change. - Include in AM request - AM replies can include elements. The contents are printed in the Messages tab. - Print message that AM request has succeeded (or failed) client/ acct_mgr.C,h lib/ hostinfo.C David 9 Jan 2006 - user web: show bbcode correctly for UOTD html/user/ sample_index.php Bruce 9 Jan 2006 - fix bug on page that shows profile for a given user. The total number of posts made by a given user is not shown correctly. The PHP code assumes that this number is given by user.posts. However in html/inc/db_forum.inc, the value of user.posts is NOT incremented each time a user makes a new post (either starting a new thread or replying to an existing one). For the moment, my the fix is to simply scan the database and count the number of posts by the user, to give the right value on the profile page. An alternative fix (which would be less DB intensive, overall) is to (1) fix db_forum.inc so that it properly increments user.posts and then (2) add an update_db.php script entry that correctly sets user.posts by counting the number of posts for each user. html/ inc/ user.inc Rom 9 Jan 2006 (HEAD) - Initial CPDN/BBC branded client client/win/ boinc_cli.rc boinc_cmd.rc boinc_dll.rc boinc_ss.rc clientgui/ AccountInfoPage.cpp BOINCBaseView.cpp, .h BOINCGUIApp.cpp BOINCGUIApp.rc DlgAbout.cpp, .h MainFrame.cpp ViewMessages.cpp ViewProjects.cpp ViewResources.cpp ViewStatistics.cpp ViewTransfers.cpp ViewWork.cpp, .h win_build/ cpdnbbc.sln (added) cpdnbbc_boinc_cli_curl.vcproj (added) cpdnbbc_boinc_dll.vcproj (added) cpdnbbc_boinc_ss.vcproj (added) cpdnbbc_boinccmd.vcproj (added) cpdnbbc_boincmgr_curl.vcproj (added) win_build/installerv2/ CPDNBBC.ism (added) win_build/installerv2/redist/CPDNBBC/ Climate Change Experiment.url (added) project_init.xml Rom 9 Jan 2006 (HEAD) - Tag for 5.3.9 release, all platforms boinc_core_release_5_3_9 Bruce 9 Jan 2006 - Fixes to BOINC zip library from Carl Christensen. Carl says: "I found a problem with boinc_zip; it seems some Linux STL's aren't very nice about classes that are inherited from their objects on multiple use; or huge file lists that we use on CPDN. So I rewrite it to just use "straight" std::string's in a vector. It's fully backwardly compatible and seems to work fine." zip/ boinc_zip.h boinc_zip.cpp David 9 Jan 2006 - changed upper_case so that the -cpu_time option takes an arg: the # of CPU seconds to use. apps/ upper_case.C Charlie 10 Jan 2006 -Mac: Fix minor bugs in internal scripts in XCode 2.2 project. Changes to BOINC Manager to accomodate Rom's changes for branding. clientgui/ BOINCGUIApp.cpp mac/ MacSysMenu.cpp, .h mac_build/ boinc.xcodeproj/ project.pbxproj David 10 Jan 2006 - core client: fix vector erase code in GUI RPC. Thanks to Darrel Holz for finding this. client/ gui_rpc_server.C David 10 Jan 2006 - Add XML option for team lookup web interface html/ inc/ xml.inc user/ team_lookup.php Bruce 11 Jan 2006 - Skip test for excessive CPU time, IF hostid has changed because host has been cloned. If result is resent to the 'new' host then this can make it appear that the result was completed shortly after it was sent. sched/ handle_request.C Charlie 10 Jan 2006 -Mac: Get BrandID from file put inside application bundle by installer. clientgui/ BOINCGUIApp.cpp Bruce 11 Jan 2006 - Documentation: describe boinc_is_standalone() in documentation. doc/ api.php David 11 Jan 2006 - file upload handler: allow upload if offset if < size (this can now happen, since the client skips size check for files < 1 MB) sched/ file_upload_handler.C David 11 Jan 2006 - Core client: add a flow control mechanism for the case where output files are generated faster than they can be uploaded (otherwise we'll fill up the disk). The mechanism: don't start new results for a project that has > 2 uploads in progress. Note: this actually happens with Cunning Plan (5 MB output files, 60 sec CPU) over a DSL line client/ client_types.h cs_apps.C David 11 Jan 2006 - core client: on file upload, always get file size (even if small file). Before the file upload handler checkin earlier today, this was actually a bug: if a client had uploaded part of a small file and then failed, it would never be able to upload the rest. But it was probably a bad idea in the first place, since 1 MB is a large file from the viewpoint of a modem user. client/ file_xfer.C Charlie 10 Jan 2006 -Mac: Mac System Menu uses menubar icon selected by CBrandingScheme::OnInit() . clientgui/ BOINCGUIApp.cpp mac/ MacSysMenu.cpp res/ gridrepublic_mac.xpm (new) David 11 Jan 2006 - Core client: remove "unknown project" from message where general prefs don't come from a known project. They might come from an account manager. (from Willy de Zutter) client/ cs_prefs.C Bruce 12 Jan 2006 - file_upload_handler: log a message when the client is starting an upload from the wrong offset. This problem should gradually go away as users update to more current clients. sched/ file_upload_handler.C David 12 Jan 2006 - Web RPC: fixed bug in am_set_info.php that caused password_hash to not update. (from Willy de Zutter) html/user/ am_set_info.php David 12 Jan 2006 - Initialize user/team/host.expavg_time with current time. This avoids inaccurate initial values for RAC. From Bruce Allen. html/user create_account.php create_account_action.php team_create_action.php sched/ handle_request.C Rom 13 Jan 2006 (HEAD) - Tag for 5.3.10 release, all platforms boinc_core_release_5_3_10 David 13 Jan 2006 - core client: handle HTTP "continue" status. I don't understand what this is, but hopefully this fixes some network problems. (from Ian Hay). client/ http_curl.h net_xfer_curl.C David 14 Jan 2006 - user web: forum fix (from Rob Ogilvie) html/inc/ forum.inc Janus 15 Jan 2006 - web: Fixed a special situation where the caching mechanism used on (amongst others) the frontpage would always refresh from the serverside cache regardless of whether the client had a fresh copy. (from Rob) html/inc/ cache.inc David 14 Jan 2006 - core client: If there's only one potentially runnable project, ask it for work no matter how negative its debt (from Glenn Dill) client/ cs_scheduler.C Rom 15 Jan 2006 - CPDB BBC update clientgui/ AccountInfoPage.cpp, .h BOINCBaseWizard.h BOINCGUIApp.cpp, .h CompletionPage.cpp ProjectProcessingPage.cpp ProjectPropertiesPage.cpp WizardAttachProject.cpp, .h Rom 15 Jan 2006 (HEAD) - Tag for 5.3.11 release, all platforms boinc_core_release_5_3_11 David 15 Jan 2006 - core client: add "-daemon" option (uses daemon() system call to detach from controlling terminal) From Jan Gall client/ cs_cmdline.C main.C David 15 Jan 2006 - GUI RPC: added optional element to elements in GUI RPC replies client/ client_state.h client_types.C scheduler_op.h lib/ gui_rpc_client.h gui_rpc_client_ops.C David 15 Jan 2006 - user web: moved eah_server_status.php and sample_server_status.php from user/ to ops/. These pages have queries that are too slow for big projects like SETI@home. html/ ops/ eah_server_status.php (new) sample_server_status.php (new) user/ eah_server_status.php (removed) sample_server_status.php (removed) server_status.php (removed) David 15 Jan 2006 - user web: add optional team_id argument to team_lookup.php (returns XML description of a particular team) html/ user/ team_lookup.php David 15 Jan 2006 - compile fixes for gcc4.0 client/ gui_rpc_server.C lib/ network.C Bruce 16 Jan 2006 - ops page: add external IP to data shown for host - user host info page: when giving IP data, show both private AND external IP (only for owner of host machine). - user web pages: if can't delete host because there are still results, give clearer error message and link to list of results. - user web pages: in list of hosts, add link to show results if project is configured to show results. html/ inc/ db_ops.inc host.inc user/ host_delete.php David 16 Jan 2006 - compile fix for Win client/ gui_rpc_server.C David 16 Jan 2006 - Call get_host_info() (not just get_filesystem_info()) before each scheduler RPC (from Bruce Allen) client/ cs_scheduler.C David 16 Jan 2006 - add element to account manager RPC request. client/ acct_mgr.C David 16 Jan 2006 - core client: enhancements to duration correction factor (DCF): - on project reset, set DCF to one. - when do CPU benchmarks, scale all DCFs by new/old benchmark (from Josef Segur) client/ client_state.C,h cs_benchmark.C cs_scheduler.C Rom 17 Jan 2006 (HEAD) - Tag for 5.3.12 release, all platforms boinc_core_release_5_3_12 David 17 Jan 2006 - user web: add Mauritius to country list html/inc/ countries.inc David 17 Jan 2006 - Core client error messages: - "task" instead of "result" - Don't include function names in messages - Don't end with \n - Removed files superceded by curl client/ *.C http.C,h (removed) net_xfer.C,h (removed) ssl_http.C,h (removed) ssl_net_xfer.C,h (removed) David 18 Jan 2006 - GUI RPC client lib: add PROJECT::copy() function (copies data, doesn't change vectors) client/ file_xfer.C,h pers_file_xfer.h lib/ gui_rpc_client.h gui_rpc_client_ops.C sched/ handle_request.C David 18 Jan 2006 - If a download isn't complete and gained less than 5 KB, truncate back to the original starting size. This addresses a bug where some proxies append error messages on download failures (reported by Rattledagger) client/ file_xfer.C lib/ error_numbers.h filesys.C,h util.C David 18 Jan 2006 - implement boinc_truncate() for Windows lib/ filesys.C David 18 Jan 2006 - remove #define bool char stuff, and change a couple of functions to return int instead of bool. Rule: if any function is potentially callable from an ANSI C application, don't use bool in its interface, since there's inconsistency in the size of bool between C and C++ compilers api/ graphics_api.h lib/ filesys.C,h David 18 Jan 2006 - added HTTP error codes to boincerror(), since these are sometimes used as return values. client/ http_curl.h pers_file_xfer.C lib/ util.C Rom 19 Jan 2006 - CPDNBBC Update clientgui/ BOINCGUIApp.cpp, .h CompletionPage.cpp MainFrame.cpp win_build/installerv2/redist/CPDNBBC CPDNBBC_splash.bmp David 19 Jan 2006 - feeder/scheduler: try to fix bug where shmem array slots get stuck in "CHECKED_OUT" state. Get rid of this state. Instead, use the PID of the scheduler process that has it checked out (as we're already doing for "reserved" slots) and let the feeder clean up slots checked out by dead processes. - several of the DB enumerate() function were returning 1 or -1 (rather than ERR_DB_NOT_FOUND) when no results. Bad!!! Some programs, including the feeder, treat values other than 0 and ERR_DB_NOT FOUND as fatal DB errors. db/ boinc_db.C sched/ feeder.C sched_array.C sched_shmem.C,h show_shmem.C