David Jan 1 2008 - fixed bug in upgrade checkin_notes_2007 (new) tools/ upgrade David Jan 1 2008 - web: My Account page, other user account page, and profile pages now have community info in a 2nd column on the right. This accomplishes two things: 1) it puts community info in more places; 2) it provides a reasonable way to format long lists of friends; they just continue down the right column. html/ inc/ profile.inc user.inc util.inc ops/ profile_screen_form.php user/ home.php profile_rate.php show_user.php view_profile.php Charlie Jan 2 2008 - Mac Client: revert to using older API NXIdleTime() to get user idle time because the newer APIs CGSSecondsSinceLastInputEvent() and CGEventSourceSecondsSinceLastEventType() don't work properly when running as a daemon. - Mac: Update script which sets BOINC up to run as a daemon so it works properly under OS 10.5. client/ hostinfo_unix.C main.C lib/ hostinfo.h mac_build/ Make_BOINC_Service.sh David Jan 1 2008 - web: add "Find friends" link to private friends list - web: in user search form, give input focus to name field html/ inc/ user.inc user/ user_search.php David Jan 3 2008 - make_project: prepend "./" to config.xml script names in case "." is not in Apache's search path - web: show UOTD text correctly - web: memoize profile_screening() in attempt to fix out-of-memory error when building profile pages on S@h - web: move gallery.inc into update_profile_pages and remove it html/ inc/ gallery.inc (removed) profile.inc uotd.inc ops/ update_profile_pages.php tools/ make_project David Jan 3 2008 - web: fix broken link for profile like/don't like. TODO: currently these don't do anything useful. Fix this. html/inc/ profile.inc David Jan 3 2008 - API: on Mac, call getrusage() from timer thread (since calling it from worker thread causes crashes). On Linux, call getrusage() from the worker thread (since calling it from the timer thread returns zero on some systems). - stripcharts: make it work even if Perl is not in path (from Eric Myers) api/ boinc_api.C stripchart/ stripchart David Jan 4 2008 - web: add RSS feed for notifications - make_project: disable community-related periodic tasks for newly-created projects html/ inc/ forum.inc friend.inc notify.inc (new) pm.inc user.inc user/ img/ rss_icon.gif sample_index.php tools/ make_project Charlie Jan 6 2008 - Mac Client: more idle time tweaks to allow running as a daemon by using Mac OS X's launchd mechanism. - Mac Installer: if system is set up to run BOINC Client as a daemon using launchd, use launchctl to launch newly installed Client as a daemon. client/ hostinfo_unix.C main.C mac_installer/ PostInstall.cpp David Jan 6 2008 - web: bug fixes html/ inc/ util.inc ops/ update_profile_pages.php David Jan 6 2008 - scheduler: change to be per CPU, not per host sched/ sched.send.C sched_config.h David Jan 7 2008 - Added Isle of Man to country list html/inc/ countries.inc David Jan 7 2008 - XML fix in backend lib tools/ backend_lib.C Rom Jan 7 2008 - Empty strings cause CreateProcess to fail on parameter checks. clientgui/ BOINCGUIApp.cpp David Jan 7 2008 - API: fix to changeset 14462: I put the getrusage() in the wrong place api/ boinc_api.C David Jan 7 2008 - small web fixes; fixes #421 html/ ops/ show_log.php manage_user.php inc/ util_ops.inc David Jan 7 2008 - web: if user A is ignoring user B, don't accept a friend request from B to A - boinc_cmd: --help fix html/user friend.php lib/ boinc_cmd.C Charlie Jan 7 2008 - Mac MGR: if using Mac OS X's launchd mechanism to run Client as a daemon, allow time for daemon to launch. - Mac: Update script which sets BOINC up to run as a daemon so it uses Mac OS X's launchd mechanism. This requires BOINC version 5.10.34 or later and Mac OS 10.4 or later. clientgui/ BOINCGUIApp.cpp,.h mac_build/ Make_BOINC_Service.sh David Jan 7 2008 - web: add "Mark all threads as read" button to Help Desk (fixes #531) - add "self" link to RSS notify feed - web: if fail to send email, don't show error message (might reveal recipient's email addr) html/ inc/ email.inc forum.inc user/ forum_help_desk.php forum_index.php notify_rss.php David Jan 8 2008 - API: call update_app_progress() only from the timer thread. Previously it was called from both timer and worker thread, with no synchronization. Bad. boinc_finish(): sleep for 2 seconds, enough to ensure that the timer thread sends the final messages. - API: a compile flag GETRUSAGE_IN_TIMER_THREAD selects how to get CPU time; by default set only for Mac OS X - scheduler: cap #CPUs scaling for at 8 api/ boinc_api.C sched/ sched_send.C David Jan 8 2008 - client, Win: check for two process exit codes (0x40010004 and 0xc000013a) that appear to happen when the process is killed externally; seems to happen mostly or entirely on Vista client/ app_control.C Charlie Jan 8 2008 - Mac: additional error checking in build script; fix url in error message. mac_build/ BuildMacBOINC.sh David Jan 9 2008 - API, Unix: fix bug where boinc_sleep() hangs forever. This was because SIGALRM always interrupts sleep() and keeps boinc_sleep() stuck in its while loop. Solution: change boinc_sleep() so that it works even if rapid signals (e.g. interval timer) are happening - API: remove deprecated graphics files from Makefile. Old-style graphics are no longer supported. - web: add empty show_user_donations_private() to donations.inc api/ Makefile.am boinc_api.C,h html/ project.sample/ donations.inc user/ home.php David Jan 9 2008 - Fix the credit_study.php script to 1) be correct and 2) explain its output html/ops/ credit_study.php David Jan 9 2008 - client: patches to make it work on FreeBSD - client: fix bug where attaching to a project with existing app_info.xml would fail to parse the app_info.xml (both from Pav Lucistnik) client/ cs_account.C hostinfo_unix.C Charlie Jan 10 2008 - MGR: display MSG_USER_ERROR messages in red, all others in black in both SimpleGUI and Advanced GUI message dialogs; eliminate unused FormatPriority method. - MGR: Auto-scroll messages only if already at bottom of list (don't jump to bottom while examining earlier messages.) NOTE: these changes may need to be applied in CViewMessagesGrid class if we implement that in the future. clientgui/ sg_DlgMessages.cpp,.h ViewMessages.cpp David Jan 10 2008 - client: don't count header in bytes_xferred for file uploads (this causes confusing output in the Manager, bytes xferred greater than file size) - API and client: make boinc_sleep() work regardless of signals - some code cleanup in http_curl.C client/ http_curl.C,h html/inc/ stats_sites.inc lib/ util.C Charlie Jan 10 2008 - Mac API: Delete old target gfxlibboinc and obsolete source files from XCode project. - Mac: Update build script to build libboinc_graphics2.a instead of libboinc_graphics_api.a. Fixes #536. mac_build/ boinc.xcodeproj/ project.pbxproj BuildMacBOINC.sh David Jan 10 2008 - Fix long-standing bug in CPU throttling client/ cs_prefs.C Rom Jan 11 2008 - MGR: Inform the user that they'll need to be added to the boinc_users group if access to gui_rpc_auth.cfg is denied. - Fix a crash condition when BOINC is started as a standard user account without the 'create global named objects' user right on Vista. - WINSETUP: Make sure that BOINC Tray is started for all users on the system. - WINSETUP: If the 'All users can control BOINC' checkbox is checked then put the BOINC Manager startup short cut in the 'all users' startup directory otherwise put it in the 'users' startup directory. clientgui/ BOINCBaseFrame.cpp, .h MainDocument.cpp, .h clientlib/win/ IdleTracker.cpp win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll Rom Jan 11 2008 (HEAD) - Tag for 6.1.6 release, all platforms boinc_core_release_6_1_6 David Jan 11 2008 - web: fix bug there message link not correct in search results fixes #539 html/user/ forum_search_action.php David Jan 11 2008 - client, Win: check for network connectivity (for time stats log file) - client: add platform/version lines to time stats log file client/ http_curl.C sim_util.C time_stats.C lib/ network.C,h win_build/ boinc_cli_curl.vcproj David Jan 11 2008 - web: in host merge pages, provide "Show details" button, which shows the reasons why pairs of hosts were not eligible for merging html/ inc/ host.inc user/ host_edit_form.php Charlie Jan 11 2008 - Mac: Fix compile error on some Macs by changing XCode Project reference "texfont.c" to "texfont.C". - MGR: New message about needing to be added to the boinc_users group applies only to Windows. mac_build/ boinc.xcodeproj/ project.pbxproj clientgui/ BOINCBaseFrame.cpp David Jan 12 2008 - Client: add config flag. This is for debugging apps (currently works only in Unix). What it does: when running an app, the client does everything except actually fork/exec the app, i.e. it sets up the slot dir, creates shared mem segment etc. It then continues as if the app were actually running, and you can then manually run your app under a debugger in the slot directory. Note: the client won't notice the termination of your app. - API, Unix: in situations where the timer thread wants to exit (e.g. it notices a missing heartbeat). don't directly call boinc_exit(), since this touches data structures that the worker thread may be using concurrently. Instead, set a flag telling the worker thread to call boinc_exit() (which it will do from its signal handler) This is an attempt to fix problems reported by Bernd; I haven't tested it. - scheduler: add config flag for uploading usage data - web: show account key and weak account key on user page - added some code for multithread support (not finished) api/ boinc_api.C,h client/ app.h app_control.C app_start.C cpu_sched.C log_flags.C,h html/ inc/ user.inc user/ white.css lib/ app_ipc.C,h sched/ Makefile.am handle_request.C sched_config.C,h server_types.C,h David Jan 12 2008 - client: implement for Windows too - client: check /dev/input/mice/ for idle detection; apparently that's replaced /dev/mouse in Linux (from Toby Murray) - API: make old-style graphics compile again api/ boinc_api.C,h graphics_api.C graphics_impl.C graphics_lib.C client/ app_start.C hostinfo_unix.C David Jan 14 2008 - server/web: the weak auth scheme had a major flaw: It didn't work on a host's first scheduler RPC (when it passes an auth but no host ID). How do we look up user in this case? The weak auth is not stored explicitly in the DB. Solution: include the user ID in the weak auth. (this invalidates existing weak auths) html/ inc/ user.inc user/ weak_auth.php sched/ handle_request.C David Jan 14 2008 - scheduler: forgot to add a couple of files sched/ time_stats_log.C,h David Jan 14 2008 - renamed clean_out_dir() to client_clean_out_dir(), and put the original clean_out_dir() back in lib/filesys.C client/ app.C app_control.C file_names.C sandbox.C,h lib/ filesys.C,h David Jan 14 2008 - updated INSTALL INSTALL Rom Jan 14 2008 - Add a "Forgot your password" hyperlink to the wizards account info page. clientgui/ AccountInfoPage.cpp, .h BOINCWizards.h David Jan 14 2008 - scheduler: fix weak auth bug sched/ handle_request.C Charlie Jan 14 2008 Fix Compiler warning. api/ boinc_api.C David Jan 15 2008 - client: a project (Ralph) had accidentally included a .svn directory in a zip archive, resulting in a lot of read-only files in its slot directories. When the client attempts to delete these files, each delete fails and the client retries for about 5 seconds. This adds up to a delay of about 20 minutes, during which the client (and Manager) appear to be hung. Solution: 1) if a file delete fails with error ERROR_ACCESS_DENIED, use SetFileAttributes() to clear the read-only flag, then try again. 2) Don't use the 5-second retry mechanism when clearing out slot directories. These can contain unbounded numbers of files, and this can lead to long periods where the client appears hung. client/ app.C client_types.C cs_trickle.C file_names.C sandbox.C,h Rom Jan 15 2008 - WINSETUP: Add some additional comments to the setup log when we know we cannot do a migration and why. win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc CAMigrateBOINCData.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll David Jan 15 2008 - Manager: "Forgot your password" needs a question mark - Win diagnostics: diagnostics_dump_thread_information() had a printf with bad format string, caused a crash, not what diagnostics should do clientgui/ AccountInfoPage.cpp lib/ diagnostics_win.cpp David Jan 15 2008 - web: fixed screwed-up UOTD logic. The meaning of the config flag is: If set: profiles must be screened by admins before their photo is shown. When this is done, profile.verification is set to 1 (and they become eligible to be UOTD) If not set: profile photos are always shown. Profiles must be screened by admins before they are eligible for UOTD. When this is done, profile.verification is set to 1 So default_uotd_candidates_query() is the same in either case. - web: fix profile_screen_form.php (admin page for screening profiles) - web: make a copy of login_action.php in ops/ html/ inc/ uotd.inc ops/ login_action.php (new) profile_screen_form.php David Jan 15 2008 - client: restore proper sense of --check_all_logins (should this be set by default?) - web: removed addslashes() when building language translation arrays. These caused 's to be displayed as \' everywhere. They may serve some purpose, but I can't think of what it is. - web: changed max profile image dimensions from 800x600 to 640x480. The new profile page puts a column to the right of the image, so it shouldn't be quite that wide. client/ hostinfo_unix.C html/ inc/ profile.inc translation.inc stats_sites.inc user/ create_profile.php lib/ filesys.C David Jan 15 2008 - API: fix to zip code (from Carl C) zip/zip/ z_fileio.c Charlie Jan 15 2008 MGR: When connection to Client is lost, don't clear message window; show messages grayed out instead. NOTE: these changes may need to be applied in CViewMessagesGrid class if we implement that in the future. clientgui/ MainDocument.cpp clientgui/ sg_DlgMessages.cpp ViewMessages.cpp Charlie Jan 16 2008 Mac Sandbox: make BOINC Data directory and files not world-readable to hide account keys from unauthorized users. client/ check_security.C client_types.C file_names.C main.C clientgui/ mac/ SetupSecurity.cpp doc/ sandbox.php Rom Jan 16 2008 - MGR: If the project_init.xml file suggests a project to attach too attempt to attach to it. - CLIENT: Move the code that deletes the project_init.xml from detach project to attach project. It is only needed for as long as it takes to attach to a project. client/ gui_rpc_server_ops.C clientgui/ AdvancedFrame.cpp sg_BoincSimpleGUI.cpp Charlie Jan 17 2008 Mac Sandbox: make user boinc_master part of group boinc_project. client/ check_security.C clientgui/ mac/ SetupSecurity.cpp doc/ sandbox.php Rom Jan 17 2008 (HEAD) - Tag for 6.1.7 release, all platforms boinc_core_release_6_1_7 David Jan 17 2008 - API: make the libraries for old-style graphics compile again (these are no longer supported, but they probably still work) api/ boinc_api.C,h graphics_impl.h client/ acct_mgr.C Charlie Jan 17 2008 API: fix compiler warning. Mac Sandbox: group membership apparently only affects real UID not effective UID, so it made no difference; remove code which makes user boinc_master part of group boinc_project. Mac Sandbox: make BOINC Data directory and files not world-readable to hide account keys from unauthorized users; but make files in slots and project directories world-readable so Client can read files written by project applications with user and group boinc_project. api/ texfont.C client/ app_start.C check_security.C clientgui/ mac/ SetupSecurity.cpp doc/ sandbox.php mac_build/ Mac_SA_Secure.sh David Jan 18 2008 - scheduler: if get request w/o host ID, use most recently created host with same domain name, IP addr, OS name, and CPU model, if one exists. (from Kevin Reed) sched/ handle_request.C Rom Jan 18 2008 - WINSETUP: Fix failed termination attempts on Win64 win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc terminate.h win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll Charlie Jan 18 2008 GFX API: change args passed to GlutInit() to be original unmodified args which were passed to the application, as specified in the man page. api/ graphics2_unix.C David Jan 19 2008 - web: fixed extremely minor bug in forum search; fixes #539 html/user/ forum_search_action.php David Jan 21 2008 - create_work: added -opaque option (to specify workunit.opaque) client/ log_flags.C tools/ create_work.C Rom Jan 21 2008 - MGR: Shrink the amount of space between the different projects in the project list. clientgui/ ProjectListCtrl.cpp Rom Jan 21 2008 - MGR: Make sure the attach to project wizard launches if BOINC is not attached to any projects. clientgui/ AdvancedFrame.cpp sg_BoincSimpleGUI.cpp Rytis Jan 22 2008 - User web: fix donations page with multiple donation targets. html/user/ donation_ipn.php David Jan 23 2008 - upgrade script: rename cgi and file_upload_handler before trying to copy new ones, in case there's an instance currently running py/Boinc/ setup_project.py Charlie Jan 23 2008 GFX API: Fix to makefile for Macintosh (from Bernd Machenschalk). api/ makefile.am Rom Jan 24 2008 - LIB: Make sure that the worker and graphics processes are created using the idle process priority class. lib/ util.C David Jan 24 2008 - scheduler: get FCGI version to compile lib/ miofile.C util.C sched/ Makefile.am David Jan 24 2008 - Manager: make email input field bigger clientgui/ AccountInfoPage.cpp David Jan 28 2008 - API: allow Win apps to have icon api/ Makefile.am graphics2.h graphics2_win.C David Jan 28 2008 - web: fix bug in handling of links on "forget password?" emails - web: show number of friends html/ inc/ user.inc user/ login_action.php David Jan 28 2008 - client: add config flag. Causes client to use NTLM auth and HTTP 1.0 - client: we weren't doing exponential backoff if scheduler requests failed at initialization; fix this client/ http_curl.C log_flags.C,h scheduler_op.C David Jan 28 2008 - API: fix Win build error - API: fix Makefile.am - add LGPL license on some files api/ Makefile.am graphics_api.C graphics2_win.C graphics2_unix.C graphics2_util.C graphics2.C Charlie Jan 29 2008 - Mac: Update libCurl to 7.18.0, build with c-ares-1.5.1 to enable async DNS name resolving. - Mac API: move mac_icon.C from target api_libboinc to gfx2libboinc (link it into libboinc_graphics2.a instead of libboinc_api.a). mac_build/ buildc-ares.sh (new) buildcurl.sh HowToBuildBOINC_XCode.rtf setupForBOINC.sh boinc.xcodeproj/ project.pbxproj Charlie Jan 29 2008 - MGR: Delete web site buttons when disconnected; this was causing crashes when a user connected to a different computer. clientgui/ BOINCBaseView.cpp MainDocument.cpp ViewProjects.cpp ViewProjectsGrid.cpp ViewWork.cpp ViewWorkGrid.cpp David Jan 29 2008 - graphics API: default max graphics CPU fraction is 0.2 (see accompanying changes in example app; app should parse project-specific prefs) api/ graphics2.C David Jan 29 2008 - web: add "max CPU % for graphics" project-specific preference. Projects should copy or merge project.sample/project_specific_prefs.inc - screensaver: change Running research for PROJECT Workunit: X to Computing for PROJECT Task: X clientscr/ screensaver_win.cpp html/ project.sample/ project_specific_prefs.inc inc/ prefs.inc David Jan 29 2008 - web: add "% of CPUs to use on multiprocessors" pref - client: enforce the above pref; remove the max_cpus pref. client/ cpu_sched.C html/inc/ prefs.inc lib/ prefs.C,h David Jan 29 2008 - manager: change advanced preferences to handle the above pref clientgui/ DlgAdvPreferences.cpp DlgAdvPreferencesBase.cpp Charlie Jan 29 2008 - SCR: When running V5 GFX applications as a service / daemon, display appropriate error message instead of trying to display graphics. - API: Add executing_as_daemon bool to get_state rpc. - MGR: Disable Show Graphics button for V5 GFX applications when BOINC is running as a service / daemon. client/ cs_statefile.C clientgui/ MainDocument.h ViewWork.cpp ViewWorkGrid.cpp clientscr/ boinc_ss.rc mac_saver_module.cpp Mac_Saver_Module.h screensaver.cpp screensaver_win.h lib/ gui_rpc_client.h gui_rpc_client_ops.C Rom Jan 30 2008 - MGR: Change the CC startup logic so that more informative error messages. Policy Change: When installed as a service or daemon, the service or daemon manager should start BOINC, not the BOINC Manager. (Windows Only for right now, should eventually be applied to all platforms) - LIB: Revert my previous change that launched graphics apps as an idle process. - LIB: Take care of some warnings. clientgui/ BOINCBaseFrame.cpp, .h BOINCClientManager.cpp, .h (Added) BOINCGUIApp.cpp, .h MainDocument.cpp, .h lib/ util.C Charlie Jan 30 2008 - MGR: Fix a few bugs in the new CC startup logic; if configured to run client as a daemon on the Mac, then start / restart it as a daemon when necessary. Add new source files to XCode project. clientgui/ BOINCClientManager.cpp,.h BOINCGUIApp.cpp mac_build/ boinc.xcodeproj/ project.pbxproj Rom Jan 30 2008 (HEAD) - Tag for 6.1.8 release, all platforms boinc_core_release_6_1_8 Rom Jan 31 2008 - WINSETUP: Fix the migration check where sometimes the data directory was being detected as within the install directory even though it was not. win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc CAMigrateBOINCData.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll Eric K Jan 31 2008 - Fixed missing symbols in MINGW32 application builds. - Fixed some type warnings. lib/ boinc_win.h diagnostics_win.h md5_file.C miofile.C procinfo_win.C stackwalker_win.cpp Rom Jan 31 2008 - WINSETUP: Don't configure MSI so that it'll attempt to stop the BOINC service, we already do it much earlier in the install process - WINSETUP: Fix two typos in the CACreateBOINCGroups custom action. - WINSETUP: Include CACreateClientAuthFile in the build now. win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.def boinccas.vcproj win_build/installerv2/redist/Windows/src/boinccas/ CACreateBOINCAccounts.cpp CACreateBOINCGroups.cpp CACreateClientAuthFile.cpp, .h (Added) CAMigrateBOINCData.cpp stdafx.h win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll David Jan 31 2008 - manager: fix unix build (new file) clientgui/ Makefile.am Rom Feb 1 2008 - WINSETUP: disable creation of client_auth.xml on Win2k. Win2k requires any user account that is going to attempt to logon as another account to have admin privs. - WINSETUP: Give 'boinc_project' the right to be able to logon as a service, we denied the right to logon interactively. - WINSETUP: Disable the 'failed to shutdown BOINC service' dialog box. - CC: Use the client_auth.xml file if present to launch boinc applications as boinc_project if it exists. - LIB: Use the client_auth.xml file if present to launch boinc graphics applications as boinc_project if it exists. client/ app_start.C lib/ diagnostics_win.C lib/ util.C, .h win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc CACreateBOINCGroups.cpp CACreateClientAuthFile.cpp CAGrantBOINCMasterRights.cpp CAGrantBOINCProjectRights.cpp CAShutdownBOINC.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll win_build/ boinc_ss.vcproj boincmgr_curl.vcproj libboinc.vcproj David Feb 2 2008 - add weak auth to am_get_info web RPC (from Nicolas) html/user/ am_get_info.php David Feb 2 2008 - DB code: safe_atof() was returning a float, causing a potential loss of precision. Change it to double (same as atof()) - When moderator locks a thread, let them specify reason db/ db_base.h html/user/ forum_moderate_thread.php forum_moderate_thread_action.php forum_thread.php David Feb 3 2008 - client: limit global prefs mod time to now - server: limit global prefs mod time to now These changes address the situation where a server sends out prefs with mod time far in the future, and there's no way to undo them client/ app_start.C lib/ prefs.C,h sched/ handle_request.C server_types.C,h show_shmem.C Rom Feb 3 2008 - client: remove the auth_type and auth_flag code. - client: remove forbid reuse flag. client/ http_curl.C, .h Rom Feb 3 2008 - WIN: Update libcurl to 7.18.0 curl/ Charlie Feb 5 2008 - MGR: Set disconnected state when appropriate even when minimized (if GetCoreClientStatus() call from CTaskBarIcon timer routine fails.) - MGR: Auto-restart Client only if last connection was to local host. - MGR: Test if Client is running after auto-restart, if so reconnect automatically and skip dialog asking user. - Mac MGR: Don't skip notifications on Mac when mimimized; show them when user opens Manager window. Remove incorrect alert text on Mac (telling user to start Manager in same directory as Client.) clientgui/ BOINCBaseFrame.cpp MainDocument.cpp David Feb 5 2008 - scheduler: send log messages to file, rather than httpd error log, when using FCGI (from Carl Christensen) lib/ msg_log.C,h sched/ Makefile.am file_upload_handler.C handle_request.C main.C sched_util.C,h tools/ Makefile.am David Feb 5 2008 - scheduler: simplified Carl's checkin (avoid virtual destructors) - API: small tweak for standalone api/ graphics2_util.C lib/ msg_log.C,h sched/ Makefile.am edf_sim.C handle_request.C sched_msgs.C,h sched_util.C,h tools/ Makefile.am David Feb 5 2008 - trickle handler: make it compile, and add to Makefile.am (from Eric Myers) sched/ Makefile.am trickle_handler.C David Feb 5 2008 - Manager/client: add the ability to specify a port in the manager's "select host" dialog. Lets you connect over an SSH tunnel. From Der Meister. clientgui/ AdvancedFrame.cpp MainDocument.cpp,.h lib/ gui_rpc_client.C,h David Feb 5 2008 - GUI RPC: fix some XML errors (missing / in single-tag elements) Fixes #524 (from Nicolas) client/ gui_rpc_server_ops.C lib/ gui_rpc_client_ops.C David Feb 5 2008 - GUI RPC: initialize disk usage structure to avoid wacky pie charts at startup Fixes #549 (from Der Meister) lib/ gui_rpc_client.h David Feb 5 2008 - delete_file: fix bugs and info text Fixes #551 (from Nicolas) sched/ delete_file.C David Feb 5 2008 - win compile fixes client/ sim_util.C clientgui/ BOINCBaseFrame.cpp MainDocument.cpp Rom Feb 5 2008 - MGR: Cache the local computer name in statics to avoid functions that take awhile to execute. clientgui/ MainDocument.cpp David Feb 5 2008 - client: fix compile warning lib/ msg_log.h Charlie Feb 5 2008 - MGR: fix compile warning clientgui/ DlgAdvPreferences.cpp Rom Feb 6 2008 - MGR: Fix a refresh bug when opening BOINC Manager from the taskbar. clientgui/ BOINCTaskBar.cpp David Feb 6 2008 - file upload handler: the FCGI version wasn't handling signatures, because the code to read keys in FCGI was commented out (and was in fact wrong). I fixed it and uncommented it. - make_project and upgrade: copy lib/crypt_prog to project/bin/ lib/ crypt.C crypt_prog.C py/Boinc/ setup_project.py tools/ sign_executable.C David Feb 6 2008 - API: critical section begin/end calls can be nested Fixes #508 (from Nicolas) api/ boinc_api.C Rom Feb 7 2008 - client: expand the functionality so that we can force any authentication type. The new tag is called whihc can contain basic, digest, ntlm, and gss-negotiate. client/ http_curl.C log_flags.C, .h Charlie Feb 7 2008 - MGR: If user shuts down connected client, don't auto-relaunch it. clientgui/ MainDocument.cpp,.h AdvancedFrame.cpp David Feb 8 2008 - scheduler: do "careful update" of workunit.hr_class in case someone else changed since we read it. Hopefully this will fix a race condition where WU results get sent to different HR classes. (Alternatively we could use transactions, or acquire the semaphore during read/update, but this could impact performance). db/ db_base.C,h sched/ sched_hr.C Rom Feb 9 2008 - client: only construct the path to ca-bundle.crt once. client/ http_curl.C David Feb 9 2008 - scheduler: fix bone-head mistake in HR code client/ app_control.C sched/ sched_hr.C David Feb 12 2008 - client: removed sprawl client/ app_start.C client_state.C,h file_names.h sandbox.C lib/ util.C,h David Feb 12 2008 - client: if a non-CPU-intensive project already has a job (even if suspended or downloading) don't ask for another one (from John McLeod) client/ work_fetch.C David Feb 12 2008 - client code: my next-to-last checkin was flawed client/ app_start.C client_state.C,h sandbox.C clientgui/ BOINCClientManager.cpp MainDocument.cpp lib/ common_defs.h util.C,h David Feb 12 2008 lib/ str_util.h David Feb 13 2008 - web: remove all references to the PHP "session" mechanism, which added only confusion. Implement login directly, using cookies. - All cookie setting/clearing now goes through two functions, send_cookie() and clear_cookie(). These deal with path and expiry (e.g. if you want to have different language or forum settings on two projects on the same server, that now works). html/ inc/ util.inc ops/ login_action.php user/ account_finish_action.php apps.php create_account_action.php create_account_form.php forum_forum.php forum_thread.php home.php language_select.php login_action.php logout.php team.php team_lookup.php David Feb 13 2008 - web: make "next URL" mechanism work when user creates new account instead of logging in html/ inc/ util.inc user/ create_account_action.php create_account_form.php login_form.php Charlie Feb 14 2008 - MAC SCR: Use Quartz drawing instead of deprecated QuickDraw APIs. Show moving logo with text underneath like Windows screensaver instead of horizontally scrolling banner text. clientscr/ mac_saver_module.cpp Mac_Saver_Module.h Mac_Saver_ModuleView.m,h screensaver.cpp res/ boinc_ss_logo.png (new) gridrepublic_ss_logo.png (new) mac_build/ boinc.xcodeproj/ project.pbxproj David Feb 15 2008 - rename cgi.log to scheduler.log - fix ops login sched/ main.C html/ login_action.php Rom Feb 15 2008 - client: prevent information disclosure by creating a new environment block for applications launched using the 'boinc_project' account. Windows contains environment variables that describe username, domain name, profile directory and even logon server. - client: correctly parse domain name information from the client_auth.xml file when a different account is used for 'boinc_master'. - SCR/MGR: Add two API's to adjust the ACLs on the current users desktop and windowstation so that graphics applications can properly create controls and dialogs for applications launched using 'boinc_project'. client/ app_start.C lib/ boinc_win.h util.C, .h lib/ win_util.C, .h win_build/ boinc_cli_curl.vcproj David Feb 17 2008 - web: single quotes in team name HTML didn't work because of magic quotes (need stripslashes()). html/user/ team_edit_action.php David Feb 17 2008 - scheduler: fix earlier fix to HR race condition. I was doing "careful update" but not checking that the # of affected rows is 1 sched/ sched_hr.C David Feb 18 2008 - web: fix in XML RPC to get pending credit html/user/ pending.php Charlie Feb 19 2008 - MAC SCR: Further changes and cleanup of new Mac screensaver; when applications don't support graphics, cycle progress text through tasks like Windows screensaver. Fix crash bug when activity is suspended from a remote host. - WIN SCR: Fix bug in Windows code which cycles progress text. clientscr/ mac_saver_module.cpp Mac_Saver_Module.h Mac_Saver_ModuleView.m,h screensaver.cpp screensaver_win.cpp Charlie Feb 20 2008 - Mac client: Fix bug which erroneously set powerpc_emulated_on_i386 true for X86_64 native applications. client/ app_graphics.C David Feb 20 2008 - Server: add "job assignment" feature. Lets you assign a WU to a particular host, to one or all hosts belonging to a user or team, or to all hosts. See http://boinc.berkeley.edu/trac/wiki/AssignedWork Disabled unless you include in config.xml Uses a new DB table. Tested but only a little. - Server: code cleanup; moved result-handling to a new file, and removed the PLATFORM_LIST arg to everything (put it in SCHEDULER_REQUEST instead) api/ boinc_api.C db/ boinc_db.C,h schema.sql html/ inc/ db_ops.inc ops/ assign.php (new) db_update.php sched/ Makefile.am feeder.C file_upload_handler.C handle_request.C sched_assign.C,h (new) sched_result.C,h (new) sched_* transitioner.C tools/ Makefile.am backend_lib.C,h create_work.C Charlie Feb 20 2008 - V6 GFX API: exit if parent application is no longer running. When running under a V5 client, the worker app launches the graphics app so this code kills the graphics when the worker application exits. Under a V6 client, the Manager or Screensaver launched the graphics app so this code kills the graphics when the Manager or Screensaver exits. - V6 GFX API: If running under V5 client, notify the client if the graphics app exits (e.g., if user clicked in the graphics window's close box.) - Mac V6 GFX: Under sandbox, use switcher to kill graphics app when worker app has exited. api/ boinc_api.C graphics2_unix.C clientgui/ MainDocument.cpp David Feb 21 2008 - web: fix message html/user/ user_search.php Rom Feb 21 2008 - Update release libcurl to include the c-ares library on Windows curl/ David Feb 21 2008 - scheduler: add config option. Use this with N=1 if your application primarily uses a coprocessor sched/ sched_config.C,h sched_send.C David Feb 21 2008 - scheduler: code cleanup, remove "SCHED_MSG_LOG::" from a zillion places sched/*.C Charlie Feb 21 2008 - Mac SCR: Horizontaly center the text under the logo in screensaver. - Mac: Update GridRepublic branding scripts for new screensaver and to fix bugs when building under OS 10.5 and/or using PackageMaker V3 (XCode Tools V3). clientscr/ Mac_Saver_ModuleView.m mac_installer/ make_GridRepublic.sh release_GridRepublic.sh Charlie Feb 22 2008 - Mac SCR: Faster screensaver frame rate, slower maximum logo slew rate (when not displaying application graphics) for smoother motion. clientscr/ mac_saver_module.cpp Mac_Saver_ModuleView.m David Feb 22 2008 - scheduler: code cleanup: use global var for SCHED_SHMEM instead of passing it around as argument (should do same for request and reply at some point) sched/sched_* David Feb 23 2008 - client: fix crashing bug in SCHEDULER_OP::backoff(). Was using cur_proj (which is potentially NULL) instead of p client/ scheduler_op.C David Feb 25 2008 - scheduler: add a general method for excluding hosts from job distribution. config.xml has optional and elements, which contain regular expressions matched against os_name\tos_version and p_vendor\tp_model. If a host matches either one, it's not sent jobs. - scheduler: fix bug in job assignment - scheduler: initial (incompleted, commented-out) code for matchmaker scheduling - server programs: declare "SCHED_CONFIG config" in sched_config.C; remove declarations of it from all other .C files (because I added a vector to it, I can no longer use memset to initialize it to zero; instead, it must be a global variable, not an automatic) sched/*.C Rom Feb 25 2008 - Update release libcurl to include the c-ares library on Windows (debug) curl/ David Feb 25 2008 - Manager: compile fix for linux clientgui/ MainDocument.cpp Rom Feb 25 2008 - MGR: Fix the crash on linux when BOINC Manager is shut down. (Patch from Michael Roberts) clientgui/ AdvancedFrame.cpp Charlie Feb 25 2008 - MGR: When connecting to a different host, delete all old messages in message pane (from previously connected client) before getting new messages. clientgui/ sg_DlgMessages.cpp ViewMessages.cpp Charlie Feb 25 2008 - Mac SCR: Display "Starting screensaver graphics. Please wait ..." for 45 seconds each time we start graphics from a different application. The application graphics window will hide this when it opens, so we stop showing it after 45 seconds to avoid wasting CPU cycles. clientscr/ mac_saver_module.cpp Mac_Saver_Module.h screensaver.cpp David Feb 26 2008 - server: make the special substring for assigned WUs into a #define's symbol (ASSIGNED_WU_STR) - scheduler: when send client command to abort a WU, include a reason code in the scheduler log lib/ common_defs.h sched/ handle_request.C sched_send.C server_types.h transitioner.C tools/ backend_lib.C create_work.C Charlie Feb 26 2008 - Mac sandbox: set ownership and permissions for gfx_switcher in screensaver if it exists. mac_build/ Mac_SA_Secure.sh Charlie Feb 26 2008 - Mac SCR: Add a test to directly determine when a graphics application window obscures our moving logo animation; if so, stop showing moving logo to avoid wasting CPU cycles. clientscr/ mac_saver_module.cpp Mac_Saver_Module.h Mac_Saver_ModuleView.m,h mac_build/ boinc.xcodeproj/ project.pbxproj Charlie Feb 27 2008 Mac: In build scripts: fix bug, add checks for needed SDKs; update build documentation (from Bernd Machenschalk.) mac_build/ HowToBuildBOINC_XCode.rtf buildc-ares.sh buildcurl.sh buildjpeg.sh buildWxMac.sh setupForBOINC.sh David Feb 27 2008 - Scheduler: fix bugs in work assignment feature html/ops/ assign.php sched/ handle_request.C main.C sched_assign.C sched_msgs.C,h sched_send.C tools/ create_work.C David Feb 27 2008 - changes to many files to fix gcc4.3 compile Rom Feb 27 2008 - MGR/SCR: run_program should explicitly set the desktop and window station to whichever desktop and window station the app launching it belongs. If access is denied then change the ACLs on the current desktop and window station then attempt to relaunch the application. lib/ util.C Charlie Feb 28 2008 - MGR: When connected host has changed, clear all cached messages and resume auto-scrolling messages. clientgui/ MainDocument.cpp ViewMessages.cpp Rytis Feb 28 2008 - User web: fix (at least part of) long threads issue. html/inc/ forum.inc Charlie Feb 28 2008 - MGR: When connected connecting to a different host, clear all cached messages (a more efficient implementation). clientgui/ MainDocument.cpp Rom Feb 28 2008 - CLI: CreateEnvironmentBlock always creates a Unicode Environment block. - MGR: CreateProcessAsUser doesn't always error out when the ACLs haven't been changed for a specific Desktop and WindowStation so go ahead and Modify the ACLs with every call. It appears the ACLs revert themselves after CreateProcessAsUser is called anyway. client/ app_start.C lib/ util.C Rom Feb 28 2008 (HEAD) - Tag for 6.1.9 release, all platforms boinc_core_release_6_1_9 / configure.ac version.h David Feb 28 2008 - make_project: initialize send_result_abort=1 in config file - web: "least recent" => "oldest", "most recent" => "newest" - scheduler: change DELAY_NO_WORK_CACHE from 20 min to 0. Otherwise, a host that has max_wus_in_progress, completes one, and sends a work request before the upload is finished will delay (and maybe sit idle) for 20 min. Better to have a few extra scheduler requests and let the client's backoff take care of things. html/inc/ forum.inc py/Boinc/ setup_project.py sched/ main.h sched_send.C server_types.C Rom Feb 29 2008 - lib: remove references to LogonUserEx which does not exist on Win2k or older machines. - lib: comment out the CreateProcessAsUser code for graphics apps. (this is temporary) lib/ util.C win_util.C, .h Rom Feb 29 2008 - Change libcurl to use sync DNS on Windows (Release version only) curl/ Rytis Mar 2 2008 - make_project: copy javascript files to html/user. py/Boinc/ setup_project.py David Mar 3 2008 - transitioner: we're not supposed to ever see "assigned" WUs. But if we do, set their transitioner time to plus infinity so that we don't see them again. (otherwise we go into an infinite loop) - DB code: remove "high_priority" from queries not from scheduler (should probably remove them from there too) - file_deleter: print error msg if apache user doesn't exist db/ boinc_db.C sched/ feeder.C file_deleter.C transitioner.C tools/ create_work.C Charlie Mar 4 2008 - MGR: Disallow multiple selections in grid views. clientgui/ ViewProjectsGrid.cpp,.h ViewTransfersGrid.cpp,.h ViewWorkGrid.cpp,.h David Mar 4 2008 - web: fixed typo that cause bad (and slow) query when notifying user of friend acceptance on web html/inc friend.inc David Mar 4 2008 - server: added a mechanism for submitting jobs as: > boinc_submit --infile foo --outfile blah program --args This will run "program" on a remote host, with the given input, output files, and command-line args It manages everything for you. You don't have to worry about apps, app_versions, template files, wrapper job files, etc. See: http://boinc.berkeley.edu/trac/wiki/SingleJob Initial checkin - not debugged yet. html/ inc/ boinc_db.inc ops/ single_job_setup (new) sched/ Makefile.am feeder.C single_job_assimilator.C (new) tools/ backend_lib.C boinc_submit (new) create_work.C Charlie Mar 4 2008 - MGR: Allow multiple selections in Transfers grid view only (requested by Jorden van der Elst). The Transfers tab is the only grid view where the buttons did work properly with multiple selections, so there is no reason to disable it. The other tabs disabled all buttons when multiple items were selected, so allowing multiple selections was confusing to users. - MGR: When order of rows in grid views changes (due to sorting or changes in data), reselect the same data in the rearranged rows using: Projects tab: project name only Tasks tab: project name and work unit (task) name Transfers tab: project name and file name Messages tab: sequence number only. - MGR: set m_bForceUpdateSelection=true when deleting rows from grid views. Fixes bug: if the last row was selected and is deleted, the new last row is automatically selected but the buttons were not updated to reflect the new selection. clientgui/ BOINCGridCtrl.cpp,.h ViewMessagesGrid.cpp ViewProjectsGrid.cpp ViewTransfersGrid.cpp ViewWorkGrid.cpp Charlie Mar 5 2008 - MGR: Add hidden project URL column to Tasks, Projects and Tansfers Grid Views; use the project URL instead of the project name to identify items. The criteria for identifying an entry and its underlying data are now: Projects tab: project URL only Tasks tab: project URL and work unit (task) name Transfers tab: project URL and file name Messages tab: sequence number only. clientgui/ BOINCGridtrl.cpp MainDocument.cpp,.h ViewMessagesGrid.cpp ViewProjectsGrid.cpp,.h ViewTransfersGrid.cpp,.h ViewWorkGrid.cpp,.h David Mar 5 2008 - server: debugged single-job submission feature. It works, at least in my test case. - boinc_submit script: show status every 10 seconds until completed add --wait option to show status for previous submission - Added get_logical_name() in validate_util.C - create_work: change default target_nresults from 5 to 2, max_error_results from 10 to 3, max_total_results from 20 to 10, max_success_results from 10 to 6 - boinc_cmd: show full usage if no args - project setup: copy single_job_assimilator html/ inc/ boinc_db.inc ops/ single_job_setup lib/ boinc_cmd.C error_numbers.h py/Boinc/ setup_project.py sched/ single_job_assimilator.C validate_util.C,h tools/ boinc_submit create_work.C Eric K 5 Mar 08 - Matched function linkage in api/graphics2.h to those in api/graphics_api.h api/ graphics2.h David 5 Mar 2008 - web: minor code cleanup html/ inc/ util.inc user/ hosts_user.php white.css Charlie Mar 6 2008 - MGR: Fully implement support for multiple selections in Tasks and Projects grid views. Handles conflicts as follows: - Disables buttons which change functions (Suspend / Resume, No New Tasks / Allow New Tasks) if user selects a mix of items inconsistent with either function. - Disables any buttons (Show Graphics, Abort) which would be disabled for any one of the selected items. - Disables and hides project web site buttons if items from more than one project are selected. - For operations which require confirmation (Abort, Reset, Detach) asks in a separate dialog for each selected item. User can answer NO to some and YES to others and it will perform the operation only on those with a YES response. - Added two defines: PREVENT_MULTIPLE_TASK_SELECTIONS and PREVENT_MULTIPLE_PROJECT_SELECTIONS in the corresponding header files. Both are currently defined false. Define these as true to restrict that tab to single-selections. clientgui/ ViewProjectsGrid.cpp,.h ViewWorkGrid.cpp,.h Rom 6 Mar 2008 - CLI: Make the CreateProcessAsUser process work again on Windows. It broke after the change of removing the call to LogonUserEx. client/ app_start.C lib/ util.C Rom 6 Mar 2008 - MGR: Fix build breaks on Windows clientgui/ ViewProjectsGrid.h ViewWorkGrid.cpp, .h win_build/ boincmgr_curl.vcproj Rytis 6 Mar 2008 - User web: translate some strings in forum.inc (fix #496). html/ inc/ forum.inc languages/ en.po David 6 Mar 2008 - lib: add Win function to suspend or resume all threads in a process lib win_util.C,h Rom 6 Mar 2008 - lib: Remove SEH exception handling from MS sample code. lib/ win_util.C David 6 Mar 2008 - admin web: fix profile screen form formatting - web: remove get_transform_settings_from_user(). There's only get_output_options() NOTE: why is text_transform() doing stripslashes()? The slashes shouldn't be in the DB in the first place. There's some fundamental confusion here. - web: fix uotd.php html/ inc/ forum.inc profile.inc text_transform.inc ops/ profile_screen_form.php user/ uotd.php David 6 Mar 2008 - web: error-check the destination thread for moderation moves html/user/ forum_moderate_post_action.php David 7 Mar 2008 - removed boinc_ncpus_available() and boinc_nthreads() calls. The design has been changed to constant #threads per app version api/ boinc_api.C,h client/ app_control.C html/inc/ stats_sites.inc David 7 Mar 2008 Various changes from Kevin Reed/WCG: - server: add workunit.rsc_bandwidth_bound: if nonzero, send this WU only to hosts with that much download bandwidth - assimilators: if a handler returns DEFER_ASSIMILATION, the WU remains in INIT state and will be handled when the next instance completes. Useful if you want the assimilator to see all instances. - scheduler: when setting result.outcome = DETACHED, set received_time to now - scheduler: removed the reliable_time and reliable_min_avg_credit options - scheduler/web: add optional in project preferences. If present, user will accept work from non-selected apps if no work is available for selected apps - scheduler: improved messages for projects with multiple apps - scheduler: added config options and . Used in calculating host.claimed_credit_per_cpu_sec, but I'm not sure how. - Added two new credit-granting formulas (validate_util.C): stddev_credit() and two_credit() - server DB: add rollback_transaction() and affected_rows() to DB_CONN NOTE: DB update required db/ boinc_db.C,h db_base.C,h schema.sql html/ops/ db_update.php lib/ str_util.h sched/ assimilate_handler.h assimilator.C feeder.C handle_request.C sched_assign.C sched_config.C,h sched_send.C,h server_types.C,h transitioner.C validate_util.C,h backend_lib.C create_work.C Charlie Mar 7 2008 - MGR: restore intended sense of #defines and #if which were incorrectly changed to fix Windows build breaks. clientgui/ ViewProjectsGrid.h ViewWorkGrid.h David Mar 9 2008 - Manager: avoid asserts on Linux - Lib: compile fixes for MinGW clientgui/ AdvancedFrame.cpp lib/ util.C David Mar 10 2008 - server: fix botched checkin from 7 March. The new field (workunit.rsc_bandwidth_bound) goes at the END of the record. Always do it this way! - make_work: after creating a batch of new WUs, we were waiting 60 sec for the transitioner to create the results for them (so that our next count of unsent results would be correct). This is bogus; if e.g. the transitioner isn't running, we'll never get the results, and we'll keep creating WUs forever. Instead: explicitly wait for there to be results for the last WU from the batch just created. - scheduler: parse , correctly. db/ schema.sql html/ops/ db_update.php sched/ make_work.C send.C David Mar 10 2008 - client: preliminary support for detecting and reporting coprocessors (for now, CUDA devices) client/ client_state.C,h cs_scheduler.C procinfo_unix.C (deleted) lib/ Makefile.am coproc.C,h (new) David Mar 10 2008 - lib: moved "run program as user" stuff to a separate file, so it doesn't screw up the linkage of apps that don't use it - start of server-side support for coprocessors client/ auto_update.C main.C clientgui/ BOINCClientManager.cpp MainDocument.cpp lib/ Makefile.am coproc.C,h proc_control.C,h (new) util.C,h sched/ server_types.C,h David Mar 10 2008 - Second pass at the above. We still need run_program() in util.C. The problem was that there's a lot of extra stuff needed for running apps on Windows (e.g. related to sandboxing). This needed to be a new function. clientgui/ MainDocument.cpp clientscr/ screensaver.cpp lib/ Makefile.am proc_control.C,h util.C,h David Mar 10 2008 - Added API makefile for MinGW (from Pasquale Tricarico) api/ Makefile.mingw lib/ proc_control.h Charlie Mar 10 2008 - Client: Rework write_state_file logic to always retry if there is an error writing or renaming the state file, and to show warning messages Can't rename / Can't write state file only if it failed all retries or if the state_debug log flag is set. These messages have appeared from time to time and worry users, but they never seemed to signal any real problems, probably because the subsequent retry succeeded. - Client: Fix build breaks and compiler warnings on Mac. - Client: Add new source files to XCode project. client/ app_start.C client_state.C cs_statefile.C clientgui/ MainDocument.cpp ViewProjectsGrid.cpp ViewWorkGrid.cpp lib/ coproc.C util.C mac_build/ boinc.xcodeproj/ project.pbxproj David Mar 11 2008 - web: show venues in private host list - compile fixes client/ cs_statefile.C clientgui/ MainDocument.cpp html/ inc/ host.inc user/ show_host_detail.php hosts_user.php Charlie Mar 11 2008 - Client: Retry entire write_state_file routine from the beginning if there is an error writing or renaming the state file, not just the step that failed. client/ cs_statefile.C Charlie Mar 11 2008 (HEAD) - Tag for 6.1.10 release, all platforms boinc_core_release_6_1_10 / configure.ac version.h Rom Mar 11 2008 - CLI: Adjust the shared memory ACLs so that everybody can read/write to them, the default ACL limits read/write access to SYSTEM and boinc_master when run in secure mode. lib/ boinc_win.h shmem.C Rom Mar 13 2008 - API: Include 'Global\' in the shared memory segment name for worker and graphics applications so that the memory can be shared across terminal server sessions. - API: Add some trace messages to window creation and shutdown events, it is all logged to stderr. - API: Add some trace messages for loading graphic files. - API: Add some trace messages for loading font files. - API: There can be only one hInstance and it is assigned to the app at startup via winmain(). Use it throughout the graphics2 impl. - CC: Use the service security token to startup worker applications. - MGR: Use the interactive security token to startup graphics applications. - LIB: Create two different logon methods, one for logging on interactively (graphics applications) and one for services (worker application). api/ graphics2_util.C graphics2_win.C gutil.C txf_util.C client/ app_start.C lib/ proc_control.C, .h win_build/ boincmgr_curl.vcproj David Mar 13 2008 Various preparation for handling multithreaded apps and apps that use coprocessors. There now can be several app_versions for the same (app, platform, version_num) combination. This changes a number of things. - Added app_version.plan_class field to DB - update_versions now looks for a :plan-class in the file or directory name, and puts it in the app_version's DB record - Change uniqueness constraint to include plan_class - Feeder: the feeder was putting non-deprecated app_versions in shared mem, and leaving it to the scheduler to find the latest version for a given platform. This is dumb. Instead, for each app/platform pair the feeder now finds the highest version number of a non-deprecated app version, and enumerates all non-deprecated app_versions with that app/platform/version - Scheduler: add a BEST_APP_VERSION data structure that keeps track, for each app, what the best app_version is for this host. This saves the work of recomputing it for each job. db/ boinc_db.C,h constraints.sql schema.sql html/ops/ db_update.php py/Boinc/ database.py sched/ sched_array.C sched_assign.C sched_send.C,h sched_shmem.C,h server_types.h tools/ update_versions Charlie Mar 13 2008 MGR: Hopefully fix a crash bug. clientgui/ BOINCGridCtrl.cpp David Mar 13 2008 - Validator framework: remove some consts, and other changes, to allow validator to assign different credit to different instances of a job - Scheduler: if can't open DB, return (fixes #578) - clean up logic of modify_claimed_credit - feeder: for -priority_order_create_time, use workunitid rather than create time (faster for the DB) from Kevin Reed sched/ feeder.C handle_request.C sample_bitwise_validator.C sample_trivial_validator.C sched_send.C server_types.C,h transitioner.C validate_util2.C,h validator.C Charlie Mar 13 2008 MGR: Fix flicker in projects tab website buttons. API: fix a compiler warning which was an actual logic error. clientgui/ ViewProjectsGrid.cpp api/ texfont.C Rom Mar 13 2008 - API: Attempt to use the 'Global' tag first, if the API returns an ERROR_ACCESS_DENIED error code fallback to the original shmem_name. api/ graphics2_util.C lib/ shmem.C David Mar 14 2008 - Add "opaque" field to APP_INIT_DATA (for passing #threads, etc.) lib/ app_ipc.C,h David Mar 14 2008 - web: fixed bugs in Bulgarian translation file html/inc/ translation.inc languages/translations/ bg.po Rom Mar 14 2008 - SS: Launch the graphics app as the user instead of 'boinc_project'. - MGR: Launch the graphics app as the user instead of 'boinc_project'. clientgui/ MainDocument.cpp clientscr/ screensaver.cpp Reinhard Mar 15 2008 - fixed internal library dependencies in Makefile.am's Makefile.incl clientgui/ Makefile.am tools/ Makefile.am apps/ Makefile.am client/ Makefile.am sched/ Makefile.am api/ Makefile.am David Mar 16 2008 - compile fix clientgui/ ViewWorkGrid.cpp Charlie Mar 17 2008 - compile fix clientscr/ screensaver.cpp Rom Mar 18 2008 - MGR: Fix a crash in the simple GUI. NOTE: Do not use the at() function on a vector unless you also use a try/catch handler. - MGR: Remove code duplication clientgui/ sg_ClientStateIndicator.h sg_ProgressBar.cpp, .h sg_ViewTabPage.cpp Rom Mar 18 2008 - MGR: For Grid enabled views, ignore selection events when saving and restoring selections. - MGR: Cleanup warnings in Grid views. clientgui/ BOINCBaseView.cpp, .h BOINCGridCtrl.cpp ViewMessagesGrid.cpp ViewProjectsGrid.cpp ViewTransfersGrid.cpp ViewWorkGrid.cpp David Mar 18 2008 - admin web: touch reread_db in manage_app_versions.php - DB code: remove "is_high_priority" stuff. - scheduler: merge find_app_version() into get_app_version(). Have the latter memoize its results (both positive and negative). Have it call app_plan() for apps with nonempty plan_class. - scheduler: first steps towards improved selectability of log messages. It will eventually be like the client, where you can select among various types of messages. - feeder: if can't unlink the reread_db trigger file, exit (else we'd go into an infinite loop) db/ db_base.C,h html/ops/ manage_app_versions.php sched/ Makefile.am feeder.C sched_*.C Charlie Mar 19 2008 - Client: Update coprocessor CUDA library code for Mac (not yet tested.) - Fix Mac crash backtrace code to work with OS 10.5. Use the new officially supported APIs backtrace() and backtrace_symbols_fd() under OS 10.5 or later, continue to use older code on earlier systems without these APIs. - Mac: Change back to saving unstripped Client and Manager executables for symbol tables rather than separate .dSYM files, which cannot be loaded by atos command-line utility. This also lets user substitute the unstripped executable into application bundle to get backtraces with symbols when debugging a crash in the field. Set visibility of all variables in Client and Manager to not be hidden so they appear in crash dumps. lib/ coproc.C mac/ mac_backtrace.C mac_build/ boinc.xcodeproj/ project.pbxproj buildWxMac.sh mac_installer/ release_boinc.sh release_GridRepublic.sh David Mar 19 2008 - client (Unix): use symbolic links instead of XML link files. This will allow applications to access shared libraries by their logical names, which simplifies things when you have multiple platforms, and the apps (or libraries) refer to shared libraries by names that don't include the platform. This shouldn't impact the API - boinc_resolve_filename() will open the file, see that it's not an XML link file, and the symbolic link will be used directly. At some point we can change boinc_resolve_filename() on Unix to be a no-op if the client is 6.2+ - client (Unix): Append the slot dir to LD_LIBRARY_PATH. - update_versions: added a feature where you can put a file "extra_xml" in the app dir, and it will get included in the app versions's xml_doc. Turns out I don't need this right now, but may as well leave it in. client/ app_start.C client_types.C,h lib/ boinc_cmd.C error_numbers.h py/Boinc/ tools.py tools/ update_versions David Mar 19 2008 - client: fixes to the above. Need to use lstat() instead of stat() so that we see the symlink, not what it's pointing to client/ app_start.C lib/ filesys.C David Mar 19 2008 - forgot to add new files - scheduler: wreq.core_client_version was being computed in resend_lost_results() (which isn't necessarily called) but its value was used elsewhere. sched/ sched_plan.C,h (new) sched_resend.C sched_send.C Charlie Mar 20 2008 - Client: fix a compiler warning which indicated a real logic error (variable used uninitialized). - Mac: More work on backtrace code: run atos utility via a bidirectional pipe instead of backtrace_symbols_fd() API to get better symbols in backtrace. Set visibility of all variables in Client and Manager back to hidden (as before) to reduce size of executables, since atos utility can use hidden symbols. This also involves return to previous wxWidgets build script. client/ app_start.C lib/ mac/ mac_backtrace.C buildWxMac.sh David Mar 20 2008 - updated GeoIP stuff html/inc/ GeoIP.dat geoip.inc Charlie Mar 20 2008 - Mac: Update sandbox security for symlinks replacing xml soft links. client/ check_security.C clientgui/ mac/ SetupSecurity.cpp Charlie Mar 21 2008 - Mac: Another sandbox security update for symlinks: setprojectgrp calls lchown() instead of chown(). client/ setprojectgrp.C Charlie Mar 21 2008 - Mac: More sandbox security changes for symlinks: lchown is not available under OS 10.3.9, so don't use it. The system ignores ownership and permissions of symbolic links, so setprojectgrp does nothing if it is called for a symbolic link. Also make additional changes to check_security and SetupSecurity. client/ check_security.C setprojectgrp.C clientgui/ mac/ SetupSecurity.cpp Charlie Mar 27 2008 - Mac: When invoked with the -lib argument, BOINC build script builds the utility application MakeAppIcon_h in addition to the three libraries libboinc_api.a, libboinc_graphics2.a and libboinc.a. mac_build/ BuildMacBOINC.sh Rom Mar 27 2008 - WINSETUP: Hide the 'boinc_master' and 'boinc_project' user profiles after the accounts have been created. - WINSETUP: Return the user rights to a known good state for 'boinc_master', 'boinc_project', 'boinc_admins', 'boinc_users', and 'boinc_projects'. win_build/installerv2/redist/Windows/src/boinccas/ boinccas.cpp boinccas.def boinccas.vcproj CAGrantBOINCAdminsRights.cpp, .h (Added) CAGrantBOINCMasterRights.cpp CAGrantBOINCProjectRights.cpp CAGrantBOINCProjectsRights.cpp, .h (Added) CAGrantBOINCUsersRights.cpp, .h (Added) CAHideBOINCMasterProfile.cpp, .h (Added) CAHideBOINCProjectProfile.cpp, .h (Added) lsaprivs.cpp, .h win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll David Mar 27 2008 Changes for multithread app support: - update_versions: use __ (not :) as separator for plan class - client: add plan_class to APP_VERSION; an app version is now identified by platform/version/plan_class - client CPU scheduler: don't assume apps use 1 CPU - client: add avg_ncpus, max_cpus, flops, cmdline to RESULT - scheduler: implement app planning scheme Other changes: - client: if symlink() fails, make a XML soft link instead (for Unix running off a FAT32 FS) - client: don't accept nonpositive resource share from AMS - daemons and DB: check for error returns from enumerations, and exit if so. Thus, if the MySQL server goes down, all the daemons will soon exit. The cron script will restart them every 5 min, so when the DB server comes back up so will the project. - web: show empty max CPU % as --- - API: get rid of all_threads_cpu_time option (always the case now) api/ boinc_api.C,h client/ acct_mgr.C app.C,h app_start.C client_state.C,h client_types.C,h cpu_sched.C cs_scheduler.C cs_statefile.C configure.ac db/ boinc_db.C,h html/inc/ countries.inc prefs.inc lib/ app_ipc.C,h error_numbers.h shmem.C sched/ assimilator.C db_purge.C feeder.C file_deleter.C make_work.C message_handler.C sched_array.C sched_assign.C sched_locality.C sched_plan.C,h sched_resend.C sched_send.C,h server_types.C,h validator.C tools/ update_versions version.h David Mar 27 2008 - Library: switch from lstat() back to stat() most places; this broke some projects' back-end code. Make a new function (boinc_file_or_symlink_exists()) for use by the client when clearing out slot dirs client/ sandbox.C lib/ filesys.C,h David Mar 27 2008 - client: fix problems with queue shrinkage when projects are running in EDF (from JM7) client/ work_fetch.C David Mar 27 2008 - DB: workunit.rsc_bandwidth needed to go after mod_time db/ schema.sql David Mar 27 2008 - scheduler: add "distinct_beta_apps" option; lets users filter out beta apps as well as others (from Nicolas Maire) sched/ sched_send.C sched_config.C,h David Mar 27 2008 - web: on completion of team foundership transfer, clear ping_user and ping_time fields - web: fix outdated update_forum_activities script html/ ops/ db_update.php update_forum_activities.php user/ team_founder_transfer_action.php Charlie Mar 28 2008 - Mac Sandbox: Fix bug setting permissions for symlinks. - Mac: Show (make visible) Manager if displaying sandbox errror dialog. clientgui/ BOINCGUIApp.cpp mac/ SetupSecurity.cpp David Mar 28 2008 - server and client: in server->client reply messages and in the client itself, move app-planning info from RESULT to APP_VERSION. This was necessary to allow anonymous platform info (app_info.xml) to specify avg_ncpus, etc. e.g., if someone wants to write a multithread version of SETI@home, or a GPU/CUDA version, they can run it using the anonymous platform mechanism and it will be scheduled correctly. If a server sends an existing APP_VERSION but with different app-planning info, the client will accept and use the new info. client/ app_start.C client_types.C,h cpu_sched.C db/ boinc_db.h sched/ sched_send.C sched_plan.C server_types.C David Mar 28 2008 - scheduler: fix crash bug sched/ sched_send.C David Mar 28 2008 - some debugging code client/ client_state.C lib/ coproc.C,h David Mar 28 2008 - client: debug coprocessor code client/ client_state.C cs_scheduler.C lib/ coproc.C,h David Mar 29 2008 - try to get API to compile on Cygwin api/ boinc_api.C client/ app.C cpu_sched.C lib/ coproc.h Janus Mar 30 2008 - Fixed the error message when the scheduler rejects further work due to the client already having enough work per CPU as per the max_wus_in_progress configuration variable. sched/ sched_send.C David Mar 31 2008 - DB/feeder/scheduler: change app_version.xml_doc from blob to mediumblob, and change the correspending structure field from 64KB to 256KB (could increase this if needed). This is needed to handle app versions with lots (> 100) of files - change LARGE_BLOB_SIZE to BLOB_SIZE a bunch of places - Change COPROCS from vector to vector. Otherwise the right virtual functions of COPROCs don't get called db/ boinc_db.C,h schema.sql html/ops/ db_update.php lib/ coproc.h sched/ *.C server_types.h David Mar 31 2008 - graphics API: add a boinc_close_window_and_quit() function api graphics2.h graphics2_win.C Rom Mar 31 2008 - WINSETUP: Explicitly set the permissions on the BOINC Data directory structure during every install. win_build/ boincmgr_curl.vcproj win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.def boinccas.rc boinccas.vcproj win_build/installerv2/redist/Windows/src/boinccas/ CASetPermissionBOINCData.cpp, .h (Added) CASetPermissionBOINCDataProjects.cpp, .h (Added) CASetPermissionBOINCDataSlots.cpp, .h (Added) dirops.cpp, .h stdafx.h win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll Rom Mar 31 2008 (HEAD) - Tag for 6.1.12 release, all platforms boinc_core_release_6_1_12 / configure.ac version.h David April 1 2008 - client: add coprocessor support: i.e., parse the list of coprocs in s from the server, keep track of the number free of each type of coproc, and don't run an app that needs more than are available. (not quite working yet) client/ app_control.C app_start.C client_state.C,h client_types.C cpu_sched.C cs_scheduler.C lib/ coproc.C,h Rom April 1 2008 - client: Per Carl's recommendation add CURLOPT_POST301 to the list of curl options used so that the followups to redirects still post instead of get. client/ http_curl.C David April 1 2008 - client: finish and debug coprocessor support - manager and GUI RPC: show plan class in app version string client/ client_types.C cpu_sched.C cs_scheduler.C cs_statefile.C scheduler_op.C sim.h clientgui/ ViewWork.cpp ViewWorkGrid.cpp lib/ coproc.C,h gui_rpc_client.h gui_rpc_client_ops.C win_build/ sim.vcproj David April 1 2008 - client (Unix): don't follow symbolic links when computing directory size. This will avoid counting the size of executables and input files in slot directories. lib/ filesys.C Eric K April 1 2008 - Build fixes for non-Win32, non-Linux, non-MacOS systems. - configure script: - Added checks for functions strdup(), strdupa(), daemon(), stat64(), strcasestr() - Fixed problems with kc_mysql.m4 and wxWidgets.m4 returning invalid CFLAGS and LIBS flags. - Fixed incorrect order of pthread flag checking on solaris. - New files: lib/unix_util.[Ch]. Currently contains implementation of daemon() for systems that lack it. - Access to binary files in /proc was failing on some systems when compiled with 64 bit file access. Rearranged headers and defines to force 32bit file access in hostinfo_unix.C - all_tty_idle() didn't work as advertised on any system as far as I can tell. I rewrote it to check ttys that are not named /dev/tty[1-9]. The old implementation was modifying a statically allocated read-only string, anyway. - added implementation of non-standard function strcasestr() to str_util.C - added #define of MAP_FILE to shmem.C, because it is missing from most unix systems, (and is unnecessary on linux anyway). - other minor bug fixes. configure.ac client/ main.C hostinfo_unix.C m4/ kc_mysql.m4 acx_pthread.m4 wxWidgets.m4 lib/ str_util.[Ch] shmem.C unix_util.[Ch] parse.h Makefile.am api/ graphics2_util.C Charlie April 1 2008 - Graphics API: Add boinc_close_window_and_quit() API to UNIX / Mac lib. - Mac: Fix compiler warning. - Mac: Remove -fvisibility* compiler flags from BOINC library builds and boinc_cmd build. api/ graphics2_unix.C client/ hostinfo_unix.C mac_build/ boinc.xcodeproj/ project.pbxproj David April 2 2008 - Client/server protocol: send if client understands app version plan class. The server checks for this instead of version > 6.11. (suggested by Nicolas Alvarez) - clean up unix_util: .h files declare only (extern) interfaces; no reason for daemon() to be C client/ cs_scheduler.C lib/ unix_util.C,h sched/ sched_plan.C sched_send.C server_types.C,h David April 2 2008 - compile fixes for gcc 4.x; fixes #592 lib/ coproc.h sched/ single_job_assimilator.C tools/ backend_lib.h David April 2 2008 - scheduler: bug fix for case when app version XML is > 64KB sched/ server_types.C David April 2 2008 - server: when creating log dir, we were using wrong bit for sticky flag sched/ sched_util.C Rom April 2 2008 - WINSETUP: Make sure the executable permissions are setup correctly after the binaries are installed. win_build/installerv2/redist/Windows/src/boinccas/ boinccas.def boinccas.vcproj CASetPermissionBOINC.cpp, .h (Added) Rom April 3 2008 - WINSETUP: Inform MSI that a reboot is suggested after creation of 'boinc_master', 'boinc_project', 'boinc_admins', 'boinc_users', 'boinc_projects'. - WINSETUP: Reread the INSTALLDIR property from the registry to determine if their is data to migrate. INSTALLDIR is changed to whereever the user wants to install BOINC now, whihc may be different then where it was in 5.10. - WINSETUP: If the user is running on Win2k but hasn't upgraded to SP4, inform them of the new requirement. win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.cpp, .h CACreateBOINCAccounts.cpp CACreateBOINCGroups.cpp CAMigrateBOINCData.cpp David April 3 2008 - API: change boinc_resolve_filename() so that it detects symbolic links and treats them as a special case. Also, if the virtual file doesn't exist (as in the standalone case) just return zero; otherwise if the app is running standalone and checks the return value, it will error out. NOTE: apps that check the return value of boinc_resolve_filename() won't work on 6.12+ under Unix; recompiling with this change will fix the problem. lib/ app_ipc.C filesys.C,h Charlie April 3 2008 Mac: Update build documentation, move building project applications build instructions to a separate document (wiki page) mac_build/ HowToBuildBOINC_XCode.rtf Charlie April 4 2008 Mac: Fix bugs in new backtrace code. lib/ mac/ mac_backtrace.C Eric K April 4 2008 - Added init.d script (boinc-client.in) and Makefile.am to install it. - I got this from the Fedora package. I have modified it to create the run directory if it does not exist, and to not run boinc as root. Checking for running processes needs to be improved. - boinc-client.in is still very linux centric and probably won't work on non-linux systems or under Bourne shell without significant changes. configure.ac client/ scripts/ Makefile.am boinc-client.in Rom April 4 2008 - WINSETUP: Fix the bug during uninstall where the data files were not being migrated back to the executable directory. win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc CAMigrateBOINCData.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll David April 5 2008 - fixes for gcc 4.3 client/ app_start.C client_msgs.h html/inc/ stats_sites.inc lib/ crypt.h parse.h procinfo_unix.C Charlie April 7 2008 GUI: Disable Show Graphics button if any selected task is suspended for any reason. Mac: Fix new backtrace code for x86_64 Client and project applications. clientgui/ ViewWork.cpp ViewWorkGrid.cpp lib/ mac/ mac_backtrace.C Rom April 7 2008 (HEAD) - Tag for 6.1.13 release, all platforms boinc_core_release_6_1_13 / configure.ac version.h David April 7 2008 - client: send client_cap_plan_class as 1 rather than in scheduler request; the latter breaks older schedulers. - old parse code: make skip_unexpected() work with client/ cs_scheduler.C lib/ parse.C Rom April 7 2008 (HEAD) - Tag for 6.1.14 release, all platforms boinc_core_release_6_1_14 / configure.ac version.h Rom April 9 2008 - DIAG: Make sure that if the symstore isn't defined at all, don't construct the symstore search path. lib/ stackwalker_win.cpp Rom April 10 2008 - WINSETUP: Don't check for SP4 against Win9X. win_build/installerv2/ BOINC.ism Rom April 10 2008 - LIB: Fix build break on Linux compat VM. lib/ util.C Rom April 11 2008 - BLD: Update confgiure.ac to require libcurl 7.17.1. / configure.ac David April 13 2008 - client: use symlinks only if project has element. - API: fixed boinc_resolve_filename() bug: didn't work right for symlinks client/ app_start.C client_types.C,h lib/ filesys.C Charlie April 14 2008 - Fix is_symlink() to use S_ISLNK() macro instead of incorrect (sbuf.st_mode & S_IFLNK), which made it return true for regular files and caused boinc_resolve_filename() to work incorrectly. lib/ filesys.C David April 14 2008 - manager: fix menu appearance clientgui/ AdvancedFrame.cpp Eric K April 14 2008 - Unix init script: modified to make less linux specific. - Does not presume the existence of "pidof" or "runuser". - If started with an old style Bourne shell, will try to restart in bash, zsh or ksh. - Starts with no parameters by default. - Logs stdout and stderr to /var/log/boinc_client.log and /var/log/boinc_client_err.log by default. - With appropriate "boinc-client.conf", the script can be run by a non-root user. - More changes are likely to be required. client/ scripts/ boinc-client.in Makefile.am David April 14 2008 - client: improved user idle checking on Linux (from Frank Thomas) client/ hostinfo_unix.C Charlie April 15 2008 (HEAD) - Tag for 6.1.15 release, all platforms boinc_core_release_6_1_15 / configure.ac version.h Charlie April 15 2008 - API: fix boinc_resolve_filename_s() to handle symlinks the same as boinc_resolve_filename(). lib/ app_ipc.C Rytis April 15 2008 - user web: change flush statement to function call in translation system (fixes #425). html/inc/ translation.inc David April 15 2008 - client: do the /proc/interrupts stuff (see above) only on Linux-like systems; use device_idle() only on non-Linux Unix systems client/ hostinfo_unix.C Charlie April 15 2008 - Fix is_file() to use S_ISREG() macro instead of incorrect (sbuf.st_mode & S_IFREG); fix is_dir() to use S_ISDIR() macro instead of incorrect (sbuf.st_mode & S_IFDIR). lib/ filesys.C Charlie April 16 2008 - Fix is_file() and is_dir() to compile properly on Windows by using the actual expressions instead of the macros which aren't defined. lib/ filesys.C David April 17 2008 - scheduler: fix FCGI compile problem. FCGI can't use libboinc.a; is needs its own specially-compiled versions of everything in lib/ lib/ coproc.C,h sched/ Makefile.am Rom April 17 2008 - MGR: Make help system work again - MGR: Add pre-release to the BOINC Manager title bar and about dialog if it is a pre-release version of BOINC. - CLI: Add some pre-release text to the CC startup routine and suggest they revert back to a released build if they don't plan on testing the client. / version.h version.h.in client/ auto_update.C client_state.C clientgui/ AdvancedFrame.cpp DlgAbout.cpp sg_BoincSimpleGUI.cpp sg_DlgMessages.cpp sg_DlgPreferences.cpp SkinManager.cpp lib/ common_defs.h David April 21 2008 - user web: clear team founder change if requester left team - user web: check for deleted thread in subcription list - user web: fix founder change link html/ inc/ team.inc user.inc user/ forum_index.php team_change_founder_form.php view_profile.php Rom April 21 2008 (HEAD) - Bump version to 6.1.16. / configure.ac version.h David April 21 2008 - client: fix array size client/ hostinfo_unix.C Charlie April 22 2008 - MGR: fix a compiler warning (size_t is unsigned). - Tag for 6.1.16 release, all platforms boinc_core_release_6_1_16 clientgui/ AdvancedFrame.cpp Charlie April 22 2008 - MGR: Work around a bug where Projects Grid View occasionally failed to update when a new selection is made. For unknown reasons, OnGridSelectRange() would be called for deselecting the old item but occasionally not for selecting the new one. Also disable web buttons if all projects are deselected. clientgui/ ViewWorkGrid.cpp David April 23 2008 - scheduler: fix bug where scheduler sends a WU when an app version is not available for that platform sched/ handle_request.C sched_config.C,h sched_send.C David April 24 2008 - user web: send no-cache headers except if we're doing whole-page caching. Fixes #626 html/inc/ util.inc cache.inc Rom April 25 2008 - MGR: On Linux, start the manager from the current directory instead of using argv[0] to build the path. clientgui/ BOINCClientManager.cpp David April 25 2008 - client: fix bugs with scheduling app that use coprocessors - client: factor out "schedule_if_possible()" logic from two places in schedule_cpus() client/ cpu_sched.C David April 25 2008 - web: restore OS/CPU details to host list; add Tasks link html/inc/ host.inc David April 25 2008 - web: tweaks to host list - scheduler: condition lots of log file writes on config flags (i.e. divide "debug" output into a bunch of categories, individually selectable) html/inc/ host.inc sched/ sched_config.C,h sched_send.C Rom April 28 2008 (HEAD) - Tag for 6.1.17 release, all platforms boinc_core_release_6_1_17 / configure.ac version.h Rom April 30 2008 - DIAG: Add an easy way for projects to initialize the diagnostics framework for graphics applications. - DIAG: Make SetDllDirectory work for Win2k3, Vista, and Win2k8 lib/ diagnostics.C, .h stackwalker_win.cpp Rom April 30 2008 - API: If the diagnostics framework hasn't been initialized for the graphics application, initialize it. api/ graphics2_unix.C graphics2_win.C David April 30 2008 - client: Win: fix CUDA detection: look in the registry to find the CUDA install directory, and look for cudart.dll in that dir. - client: for CUDA, don't confuse coproc.name ("CUDA") from coproc.prop.name (e.g., "Device Emulation (CPU)" on my PC, which doesn't have a recent-enough GPU) - client: if no coprocessors present, say so in startup messages client/ client_state.C lib/ coproc.C Rom April 30 2008 - API: Fix build break from my last check-in. api/ graphics2_unix.C graphics2_win.C David April 30 2008 - client (Unix) Add /usr/local/cuda/lib/ to LD_LIBRARY_PATH before looking for CUDA library - scheduler: some additional work on matchmaker scheduling Changed check_app_filter() so that it doesn't depend on the current multi-phase approach; move that logic to scan_array() lib/ coproc.C sched/ sched_array.C sched_locality.C sched_send.C,h David April 30 2008 - boinc_cmd: changed help strings to say "boinccmd". I'd like to change the filename too but can't figure out Makefile stuff lib/ boinc_cmd.C Charlie May 1 2008 - API: fix Mac compile errors. - client: implement Mac CUDA detection, fix compiler warning. - boinc_cmd: change name to "boinccmd". api/ graphics2_unix.C lib/ coproc.C mac_build/ boinc.xcodeproj/ project.pbxproj mac_installer/ release_boinc.sh release_GridRepublic.sh Reinhard May 1 2008 - commented-out AM_MAINTAINER_MODE in configure.ac to *activate* all maintainer-mode features by default configure.ac David May 1 2008 - scheduler: matchmaking scheduler now works; uncomment MATCHMAKER to enable it. More testing needed. - client (unix): avoid crash if LD_LIBRARY_PATH not set _autosetup client/ cs_cmdline.C lib/ gui_rpc_client_print.C coproc.C sched/ sched_send.C Rom May 2 2008 - MGR/CLI: remove direct references to CreateEnvironmentBlock and DestroyEnvironmentBlock since Win98 doesn't support them. This functionality is only required for the Windows sandbox implementation anyway. - LIB: Remove direct reference to OpenThread in win_util.C since it isn't supported on Win98. - MGR: Another fix for CC execution on a Linux machine. client/ app_start.C clientgui/ BOINCClientManager.cpp lib/ proc_control.C win_util.C Rom May 2 2008 (HEAD) - Bump version to 6.3.0 - Branch Source Tree boinc_core_release_6_2 / configure.ac version.h David May 2 2008 - scheduler: clean up message log. Merge redundant messages. Condition various messages on config flags. - client (Unix) fix to CUDA detection if LD_LIBRARY_PATH is "" lib/ coproc.C sched/ handle_request.C main.C sched_config.C,h sched_result.C sched_send.C server_types.C,h David May 2 2008 - web: improve error messages if login link fails (URL may have been truncated in email reader) html/user/ login_action.php white.css David May 4 2008 - client: if we request that an app exit, and it doesn't do so within 10 seconds, kill it. This deals with the situation where the app is ignoring messages (e.g. because it forgot to end a critical section). - client: if either the FP or int benchmark runs less than 3 CPU seconds (out of 10 seconds of wall time) ignore the benchmark. This is an effort to deal with a problem where (for unknown reasons) the int benchmark runs for a tiny amount of CPU time, leading to an absurdly large result - Manager: don't prepend "[error]" to MSG_INTERNAL_ERROR messages; the client already does this. THESE ARE ALL BUG FIXES client/ app.C,h app_control.C cpu_benchmark.h cs_benchmark.C dhrystone.C sim_util.C whetstone.C clientgui/ ViewMessages.cpp Charlie May 5 2008 - client: Fix compiler warning. - MGR: Fix CMainDocument::WorkShowGraphics() for Mac, UNIX and Linux to allow showing graphics with or without sandbox. client/ cs_benchmark.C clientgui/ MainDocument.cpp David May 5 2008 - Added command-completion script for bash client/scripts/ boinc.bash sched/ sched_send.C html/user/ profile_rate.php Eric K May 6 2008 - Added implementation of setenv() for systems without it. - Fixed bug in x_opengl.C. On systems where putenv() adds the string to the environment rather than copies it, the environment would end up containing a random peice of the stack where the DISPLAY variable had been temporarily stored. configure.ac lib/ unix_util.[Ch] api/ x_opengl.C David May 6 2008 - scheduler: add preliminary support for "job size matching" (attempt to send big jobs to fast hosts, small jobs to slow hosts). - have "census" compute mean/stdev of host speeds, write it to a file perf_info.txt - have feeder compute mean/stdev of sizes of jobs in shmem - have feeder read perf_info.txt into shmem - scheduler: add some debugging messages for app version selection - Add LGPL license to a few files - upgrade/setup scripts: copy census to bin/ py/Boinc/ setup_project.py sched/ assimilate_handler.C census.C feeder.C hr_info.C,h sched_array.h sched_config.C,h sched_plan.C sched_resend.h sched_shmem.h sched_timezone.h server_types.C single_job_assimilator.C validate_util2.h validator.h David May 6 2008 - scheduler: finished support for job size matching. Let x be the host speed (expressed in stdevs from mean) Let y be the job size (expressed in stdevs from mean) Decrement score by (x-y)^2 sched/ sched_send.C Charlie May 7 2008 - MGR: Statistics and Disk tab panes: clear when disconnected from Client, update quickly when connecting to a (different) Client. clientgui/ MainDocument.cpp David May 7 2008 - client (Unix): linking libcudart.so wasn't working, so CUDA detection failed. For reasons I don't understand, adding "/usr/local/cuda/lib" to LD_LIBRARY_PATH and then doing dlopen("libcudart.so") wasn't working, even though the library is in that dir. I worked around this by calling dlopen("/usr/local/cuda/lib/libcudart.so") and if that fails call dlopen("libcudart.so"), - Unix: commented out Eric's setenv() stuff. After doing a configure, HAVE_SETENV is not in config.h, so something's messed up with it. - client: trimmed down "pre-release software" message client/ client_state.C lib/ coproc.C unix_util.C,h David May 7 2008 - client: added some file_xfer_debug messages for file upload client/ file_xfer.C Charlie May 7 2008 - client: Fix compiler warning. lib/ coproc.C David May 8 2008 - scheduler: add new log flags debug_edf_sim_workload, debug_edf_sim_details for getting info on EDF simulation; change output from seconds to hours - API: remove extern "C" from graphics API (convince me it's needed before restoring) api/ graphics2.h client/ makefile_sim lib/ diagnostics.C sched/ edf_sim.C sched_array.C sched_config.C,h Rom May 8 2008 - LIB: Windows 9X doesn't like it when you specify a security descriptor, so special case Win9X so that it'll pass a NULL to CreateFileMapping. lib/ shmem.C Rom May 9 2008 - DIAG: Passing a null value to fclose in VS 2005 will cause a crash, so check to make sure that stdout_file and stderr_file are not null before attempting to close them. If they are null return ERR_FOPEN so that the next message logged can attempt to cycle the log without error. - CLIENT: Make sure the diagnostics framework is initialized before the config file is parsed or the command line is parsed, that way if and unexpected XML tab or command line parameter is found the client doesn't crash. NOTE: The client would only crash if the log file was already greater than 2MB which would cause the client to attempt to cycle the log files. Since the diagnostics framework wasn't initialized yet nothing was logged to the log file, no call stack was generated, and the default Windows debugging environment was fired up. client/ main.C lib/ diagnostics.C Charlie May 8 2008 - MGR: Update comments on how to link with Development / debug build of wxWidgets; add this info to build documentation. clientgui/ mac/ MacGUI.pch mac_build/ HowToBuildBOINC_XCode.rtf Rom May 9 2008 - DIAG: Include the list of libraries loaded as well as their locations when the runtime debugger is engaged. lib/ stackwalker_win.cpp David May 9 2008 - client: increase timeout from 5 sec to 60; this gives the diagnostic system time to download symbol files (which may be several MB) and write a stack trace. client/ app.C app_control.C app_start.C Rytis May 9 2008 - ops pages: add missing error numbers. html/inc/ db_ops.inc David May 9 2008 - client (Unix): when running app, open fd 0 to /dev/null rather than just closing it (from Gabor Gombas) client/ app_start.C Rom May 9 2008 - DIAG: Include the PDB filename that is linked to the EXE at compile time to the module information dumped during a crash. NOTE: This should give a project admin a tickle that the PDB and EXE names need to be set before compiling and not renamed after the fact. lib/ stackwalker_win.cpp David May 9 2008 - client and server: in coprocessor records, change "name" to "type" to avoid confusion with "name" field of CUDA. This is a bug fix - please port. - start script: don't error out if run_state.xml file is empty (which happens if project runs out of disk space) lib/ coproc.C,h py/Boinc/ boincxml.py sched/ sched_plan.C sched_send.C server_types.C David May 9 2008 - client part of the above client/ client_state.C client_types.C cpu_sched.C lib/ coproc.h David May 9 2008 - tools: performance enhancement to crypt functions, and have crypt_prog exit nonzero on failure (from Nicolas Alvarez) lib/ crypt.C crypt_prog.C David May 9 2008 - scheduler: performance optimization for EDF simulation. Keep track of the "easiest" job that has been rejected by EDF sim. Any jobs harder than this one can be rejected without doing the sim. sched/ sched_send.C server_types.h David May 11 2008 - Client (Windows) change the way core/app shmem segs are created. Old: get_shmem_seg_name() tries names of the form shm_boinc_N until it finds one for which creating succeeds. Then it detaches (deletes) the segment and records the name. Later, the segment is created again. This creates a race condition if two core clients are running on the same host. It's also kind of silly. New: get_shmem_seg_name() doesn't detach the segment, and we dont have to create it again later. client/ app_start.C lib/ shmem.C Eric K May 12 2008 - Fixes to init script. - Commands in Makefile.am to install init scripts - Initial checkin of sample configuration file boinc-client.conf client/ scripts/ Makefile.am boinc-client.in boinc-client.conf Rom May 12 2008 - WINSETUP: Add the ability for the users in 'boinc_projects' to be able to read/execute the DLLs needed in the diagnostics framework. (dbghelp.dll, srcsrv.dll, symsrv.dll, symsrv.yes) win_build/installerv2/redist/Windows/src/boinccas/ boinccas.def boinccas.vcproj CASetPermissionBOINCDiagnostics.cpp, .h (added) Rom May 12 2008 - WINSETUP: Exclude the skins, and locale directory from data migration. win_build/installerv2/redist/Windows/src/boinccas/ CAMigrateBOINCData.cpp, .h David May 12 2008 - client (win): bug fixes to yesterday's checkin client/ app_start.C lib/ shmem.C,h David May 12 2008 - client: add cc_config.xml option - client: remove stress_shmem code client/ client_state.C log_flags.C,h main.C lib/ shmem.C,h David May 12 2008 - client: change --allow_multiple_clients to a command line option (it can't go in the config file) client/ cs_cmdline.C log_flags.C main.C David May 13 2008 - Added element to get_disk_usage GUI RPC client/ gui_rpc_server_ops.C hostinfo_win.C clientgui/ ViewResources.cpp lib/ gui_rpc_client.h gui_rpc_client_ops.C David May 13 2008 - manager: in disk tab, divide free space into available/unavailable to BOINC client/ gui_rpc_server_ops.C clientgui/ ViewResources.cpp David May 13 2008 - make some strings in user.inc translatable (from Simek) - close fd 1, not 0, for apps client/ app_start.C html/ inc/ user.inc languages/translations/ en.po David May 13 2008 - validator: canonical_credit was being set incorrectly when -max_granted_credit used. sched/ sched_send.C validator.C Charlie May 14 2008 - Mac: revise build scripts for c-ares and cURL to work when there are spaces in the paths. These changes are based on information from the cURL developers. mac_build/ buildc-ares.sh buildcurl.sh David May 13 2008 - manager: fix disk display clientgui/ ViewResources.cpp Rom May 14 2008 - Tag for 6.3.0 release, all platforms boinc_core_release_6_3_0 / configure.ac version.h David May 14 2008 - API: compile fix api/ graphics2_util.C Rom May 14 2008 (HEAD) - Bump version to 6.3.1 / configure.ac version.h Rom May 14 2008 - MGR: Fix trace statements in StartupBOINC() - MGR: Add some more trace statements for Linux startup. clientgui/ BOINCClientManager.cpp Rom May 14 2008 - MGR: BOINC commandline options require the '--' in front of the option. '-' just causes the CC to exit while printing its help fr the commandline options. clientgui/ BOINCClientManager.cpp Charlie May 15 2008 MGR: Adjust pie control slices so small wedges are visible if at all possible, clientgui/ common/ wxPieCtrl.cpp David May 15 2008 - client: added some http_debug messages in case where POST2 temp file can't be opened or read - client: don't show --sandbox option if it's not available client/ http_curl.C cs_cmdline.C cs_scheduler.C Rom May 15 2008 - Tag for 6.3.1 release, all platforms boinc_core_release_6_3_1 / configure.ac version.h Rom May 15 2008 (HEAD) - Bump version to 6.3.2 / configure.ac version.h Rom May 15 2008 - SCR: BOINC's screensaver module in preview mode only displays the BOINC icon, since the preview window is only 300x200 or so. We shouldn't launch the data management thread when launched in preview mode. clientscr/ screensaver_win.cpp David May 15 2008 - web: add option to config.xml. If present, don't show anything related to computing. Use this for Bossa/Bolt projects, and the BOINC message boards. html/ inc/ team.inc user.inc util.inc user/ home.php py/Boinc setup_project.py David May 15 2008 - client: If a scheduler reply doesn't include (as is the case if its DB is down, or it has no work and skips the DB check) don't overwrite the host_venue on the client. Fixes #656, I hope (Rom: please port) client/ schedule_op.C David May 15 2008 - client: when parsing state file, don't change result states unless there's an inconsistency Fixes #621 client/ client_types.C David May 15 2008 - scheduler: there were several situations where the scheduler would send a reply without having looked up the user and team in the DB; e.g.: - client version# is too low - DB is down - host is blacklisted It would then send a full scheduler reply, including a blank team name and other missing info. Fix this by setting reply.nucleus_only initially (this causes a minimal reply to be sent) and clearing it only if the host/user/team lookup succeeds. Fixes #417, #633 (I think) sched/ handle_request.C server_types.C Rom May 16 2008 - MGR: Fix a casting issue that was causing crashes on x64 platforms. fixes# 658 (From: bbaetz) clientgui/ SkinManager.cpp David May 16 2008 - client: JM7 was seeing repeated file upload failures. It turned out that when we close and reopen the temp file that stores the HTTP reply, the open was failing. I have no idea why. Attempted workaround: open the file for R/W originally, and instead of close/open do a seek. client/ http_curl.C David May 16 2008 - client: go one step further, and don't create temp files in some system-supplied directory; create them in the BOINC data directory. client/ http_curl.C David May 16 2008 - client: on Windows (at least) if you kill a task (e.g. reset project) ACTIVE_TASK::handle_exited_app() never gets called, so the coprocessors weren't getting freed. Fix this. client/ app.C,h app_control.C app_start.C Charlie May 19 2008 MGR: Don't enlarge pie control slices if value is zero. clientgui/ common/ wxPieCtrl.cpp David May 19 2008 - client: eliminate spurious "unparsed XML" messages Fixes #664. Rom, please backport to 6.2 - web: convert some tr() to tra() on BOINC web pages client/ cs_account.C scheduler_op.C languages/translations/ en.po David May 20 2008 - web: fix for cross-site scripting vulnerability (from Nicolas Alvarez) html/ inc/ team.inc user/ team_search.php David May 20 2008 - web: fix bugs introduced by recent tra() changes. PLEASE CHECK THESE CHANGES BEFORE SUBMITTING THEM html/ inc/ host.inc user.inc user/ cert1.php David May 20 2008 - Add alternative stylesheet for project web - Tweak error messages in client and server client/ app_start.C html/user/ style2.css sched/ sched_send.C David May 20 2008 - fix FCGI compile sched/ feeder.C hr_info.C Rom May 20 2008 - DIAG: For Windows, lookup and store the install directory location so that the diagnostics framework can use the debugger libraries. NOTE: This is only a problem for applications running under the v6 clients. lib/ diagnostics.C, .h diagnostics_win.C David May 21 2008 - web: fix errors in translation changes html/inc/ user.inc David May 21 2008 - web: remove separate blockquote style; fixes #668 html/user/ white.css David May 21 2008 - scheduler: if client has bad code sign key, don't send work sched/ handle_request.C David May 21 2008 - boinccmd (Windows): chdir to the data directory (from registry) client/ hostinfo_unix.C main.C lib/ boinc_cmd.C win_util.C,h David May 22 2008 - client: copy api_version of APP_VERSIONs in scheduler reply, even if we already have the APP_VERSION. Otherwise, when upgrading from 5.10 to 6.2, we won't have the api_version, and we won't learn about it until project releases new version. client/ cs_scheduler.C David May 22 2008 - client: print a message at startup if computation is suspended client/ client_state.C,h cpu_sched.C cs_prefs.C David May 23 2008 - scheduler: added - config option for matchmaker scheduling - config options , , to control matchmaker scheduling - scheduler: tweaks to matchmaker scheduling from Kevin Reed - web: fixes to alternative stylesheet from Simek html/user/ style2.css sched/ sched_config.C,h sched_send.C David May 23 2008 - client: if GUI RPC auth error, close the socket. This prevents a DoS by sending over and over, filling the send buffer and eventually causing the client to block. - Unix build: if m4 missing, check for gm4 _autosetup client/ gui_rpc_server.C,h gui_rpc_server_ops.C David May 23 2008 - client: shuffle to code to give an abstraction (RR_SIM_STATUS) of a project's state during round-robin simulation (first step to handling coprocs in RR sim) client/ client_types.C,h cpu_sched.C work_fetch.C David May 23 2008 - client: shuffle code to abstract coprocessor reservation client/ app.C client_state.h cpu_sched.C lib/ coproc.h David May 23 2008 - client: handle coprocs in RR simulation. Not tested. TODO: handle multithread apps in RR simulation; should be easy now. client/ client_types.h cpu_sched.C lib/ coproc.h David May 23 2008 - client: test the above; compile fixes for Win client/ client_types.h cpu_sched.C sim_util.C David May 24 2008 - client: reduce min CPU time for valid benchmark from 3 to 2 client/ cs_benchmark.C Rom May 27 2008 - DIAG: When an application crashes, dump out the install and data directory as part of the crash report. lib/ diagnostics_win.C David May 27 2008 - web: team transfer request was being rejected if email to founder failed, so there was no way of rescuing a team with invalid founder email. I changed it to record the request anyway. This is potentially hazardous - if the founder's email server is temporarily down, the request would go through without the founder being notified. To offset this, I added a notification via private message. html/ inc/ email.inc user/ team_founder_transfer_action.php Rom May 27 2008 - WINSETUP: The call to GetFreeDiskSpaceEx was failing becuase the path didn't exist yet, so all the values in the returned data structures was random junk. If the directory had never been created before then it was returning 27/57 bytes free. If the drectory had existed at one time then the return values were several gigabytes. If the first request to GetFreeDiskSpaceEx fails, then check for the parent directory, if that fails pass a NULL value which means check the default volume. win_build/installerv2/redist/Windows/src/boinccas/ boinccas.def boinccas.rc boinccas.vcproj CAMigrateBOINCData.cpp CASetPermissionBOINCDiagnostics.cpp, .h (deleted) win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll Eric May 27 2008 - clientgui: renamed locale files from "BOINC Manager.*" to "BOINC-Manager.*" - Added Makefile to locale/client to install the BOINC Manager.po files into $(datadir)/locale (typically $(prefix)/share/locale) clientgui/ BOINCGUIApp.cpp locale/ client/ Makefile.am */ BOINC Manager.po (renamed BOINC-Manager.po) BOINC Manager.mo (renamed BOINC-Manager.mo) Eric May 27 2008 - Makefiles: added client/scripts to default client build removed sea from the default clientgui build added locale/client to the default clientgui build moved installed header from $(includedir) to $(pkgincludedir) which is $(includedir)/boinc by default. removed redefinitions of $(includedir) from makefiles. - configure: added locale/client/Makefile to AC_CONFIG_FILES configure.ac Makefile.am api/ Makefile.am db/ Makefile.am sched/ Makefile.am lib/ Makefile.am zip/ Makefile.am Eric May 27 2008 - configure: added LIBBOINC_VERSION definition for libtool use. configure.ac Eric May 27 2008 - fixed problem with missing includes and missing namespace notations clientgui/ common/ wxPieCtrl.cpp Eric May 28 2008 - moved icons from sea into clientgui/icons - added Makefile to clientgui/icons to install them in $(pkgdatadir) which is usually $(prefix)/share/boinc. - Even though these icons are packaged with the sea, they don't appear to be referenced in any code and don't appear to ever be used. configure.ac Makefile.am clientgui/ icons/ Makefile.am boincmgr.{16x16,32x32,48x48}.png Eric May 28 2008 - Added a stage target for staging a distribution. Executing "make stage" will "make all" and will install the client under the stage directory (i.e. binaries is stage/$(prefix)/bin, libraries in stage/$(prefix)/lib, etc) Makefile.am David May 28 2008 - web: style tweaks; fixes #667 client/ cs_account.C html/user/ forum_forum.php white.css Eric May 28 2008 - Added database table credit_multiplier and script to be run daily (calculate_credit_multiplier) to determine what factor to multiply claimed credit by before insertion into the database. Changes to scheduler to implement have not yet been checked in. tools/ Makefile.am calculate_credit_multiplier db/ schema.sql Rom May 28 2008 - Tag for 6.3.2 release, all platforms boinc_core_release_6_3_2 / configure.ac version.h Rom May 28 2008 (HEAD) - Bump version to 6.3.3 / configure.ac version.h David May 28 2008 - client: on startup, detect when the system clock has been set backwards, and clear all timeout variables. This should fix the situation where, say: 1) the user sets the system clock forward by a year; 2) all projects get their min_rpc_time set; 3) the user sets the system clock back to the correct time. Previously, BOINC would not do anything for a year. Note: a restart of BOINC is required to fix things. It would be harder to do this on the fly. client/ client_state.C,h client_types.h pers_file_xfer.h time_stats.h David May 28 2008 - web: add project.inc variables to customize certificates; add team certificate; add links to certificates from user page html/ inc/ cert.inc user.inc user/ cert_team.php (new) cert1.php Eric May 28 2008 - have been told clientgui/res is the appropriate place for icons so have moved clientgui/icons/* clientgui/res Makefile.am configure.ac clientgui/ icons/ Makefile.am moved to clientgui/res boincmgr.{16x16,32x32,48x48}.png moved to clientgui/res Rom May 28 2008 - WINSETUP: Fix a struct alignment issue when dumping the base64 encoded password for boinc_project to a file. ATL's string conversion functions act of a class and not a buffer which makes memory management easier but doesn't interop well with fprintf unless you specify the buffer name directly. win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ CACreateClientAuthFile.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll Charlie May 28 2008 - Mac Installer: delete old locale directory to remove "boinc manager.mo" files before installing new "boinc-manager.mo" files (or vice versa). mac_installer/ preinstall David May 29 2008 - Validator framework: change get_output_file_path() to return a struct FILE_INFO (including "optional") instead of just the filename. This lets you avoid erroring out if optional file is missing. - Sample bitwise validator: support > 1 output file correctly sched/ sample_assimilator.C sample_bitwise_validator.C sample_dummy_assimilator.C single_job_assimilator.C validate_util.C,h validator.C Charlie May 29 2008 - MGR: eliminate spurious --graphics argument when showing V6 graphics. clientgui/ MainDocument.cpp David May 29 2008 - Redo the above so that get_output_file_path() is unchanged; add new functions get_output_file_info(); - change get_output_file_path() to look at the result's xml_doc_in rather than its xml_doc_out; this is the one that will have - fix crashing bug in the above sched/ sample_assimilator.C sample_bitwise_validator.C sample_dummy_assimilator.C sched_util.C single_job_assimilator.C validate_util.C,h validator.C David May 29 2008 - validator/assimilator: parse s rather than s; the latter is where the flag is. sched/ validate_util.C sched/ validate_util.C David May 31 2008 - server: added -simulation option to feeder, validator, and assimilator (for use in server simulator) client/ cs_scheduler.C sched feeder.C transitioner.C validator.C David 2 June 2008 - Add cross-project certificate html/ inc/ user.inc user/ cert_all.php (new) img/boinc_fade_600.png David 2 June 2008 - validator/assimilator: get_output_file_info() was looking at the wrong XML field sched/ validate_util.C David 4 June 2008 - Back end: add adaptive validation feature (DB update required) - Fixed typo in Eric's 5/28 checkin db/ boinc_db.C,h schema.sql html/ ops/ db_update.php user/ forum_post.php py/Boinc/ database.py sched/ sched_send.C server_types.C validator.C David 4 June 2008 - make_project: when it's done it prints out a bunch of instructions. These are more than 24 lines, so in the VMWare BOINC VM they scroll off the window and are lost. Instead, write them to a file (project/project.readme). Also, only write the message about example app if -test_app tools/ make_project Charlie 4 June 2008 - MGR: Fix help menus in Simple GUI (not applicable on Windows). clientgui/ sg_BoincSimpleGUI.cpp,.h David 4 June 2008 - web: fixed a couple of references to "global $logged_in_user". It's $g_logged_in_user. html/ inc/ pm.inc user/ forum_reply.php David 5 June 2008 - validator/assimilator: fix bug in 2 June checkin (xml_doc_in wasn't included in DB query) db/ boinc_db.C tools/ make_project David 5 June 2008 - web: clean up stuff related to stripslashes(): 1) it's not correct to apply stripslashes() to all form input. That should be done only if magic quotes is on. I fixed this by adding a function undo_magic_quotes() that does the right thing. 2) There's no reason to strip backslashes from user-supplied text (forum titles and bodies, private messages, passwords etc.) I'm not sure why this was being done. It prevented messages from containing backslashes. html/ inc/ db.inc db_ops.inc forum.inc forum_email.inc pm.inc text_transform.inc translation.inc util.inc user/ create_account_action.php create_profile.php donation_ipn.php edit_forum_preferences_action.php edit_forum_preferences_form.php edit_passwd_action.php forum_edit.php forum_moderate_thread.php forum_post.php forum_reply.php login_action.php pm.php team_edit_action.php team_search.php David 5 June 2008 - manager: fix messages: "shut down" is 2 wds etc. clientgui/ AdvancedFrame.cpp David 5 June 2008 - web: moved some basic utility functions to a separate file that doesn't need to include all sorts of crap html/inc/ boinc_db.inc util.inc util_basics.inc (new) xml.inc David 6 June 2008 - client (Win) look for CUDA as nvcuda.dll lib/ coproc.C Rom 8 June 2008 - Tag for 6.3.3 release, all platforms boinc_core_release_6_3_3 / configure.ac version.h David 8 June 2008 - Fix emacs mode line in Makefile.am's Rom 9 June 2008 - DIAG: Fix 2 year old bug when projects are using a symstore. CC was writing 'symstore' in the init_data.xml and the diagnostic code was looking for 'project_symstore'. Why did it take so long to find? Oh well, make it obvious if it ever happens again by dumping the symstore url in the crash report. Ugh... lib/ diagnostics.C diagnostics_win.C David 10 June 2008 - web: change order of includes html/inc/ util.inc sched/ sched_shmem.C David 10 June 2008 - make_project: allow account creation initially. Otherwise it's another nit-picky little step in the project "quick start" process. py/Boinc/ setup_project.py David 12 June 2008 - added Free-DC CPID stats html/inc/ stats_sites.inc David 12 June 2008 - web: fixes html/ inc/ results.inc user/ workunit.php David 12 June 2008 - web: cleaned up logic of string processing. There are two aspects: 1) undoing magic quotes (if it's being used). This must be done for all GET and POST string inputs. It is now done automatically by get_str() and post_str(). The places that refer to $_GET and $_POST directly must do it themselves using undo_magic_quotes(). 2) Escaping user-supplied strings before using them in DB queries. This is done by process_user_text() (which should be renamed db_escape_string()). The new principle: call process_user_text() in the function that does the DB query (not at any higher level). html/ many files David 12 June 2008 - web: add $prefix arg to sample project_header(), project_footer() (fix links on profile-index pages) - web: use cache-control "no-store" only for home.php. This makes it so that, e.g. if you scroll to the middle of a long page, follow a link, then click Back, you'll go back the original scroll position rather than top of page. html/ inc/ util.inc ops/ update_profile_pages.php project.sample/ project.inc user/ home.php David 12 June 2008 - web: handle magic quotes correctly in profile create/edit html/user/ create_profile.php David 12 June 2008 - API/runtime system: remove "fraction done update period" stuff. This was always 1 second, which is fine. Rom: please back-port. api/ boinc_api.C client/ app_start.C lib/ app_ipc.C,h David 12 June 2008 - client/API: add "computation_deadline" to APP_INIT_DATA. This supports apps that can do variable amounts of computing; they can boinc_finish() if their deadline is near. Rom: please back-port. client/ app_start.C client_types.h lib/ app_ipc.C,h David 13 June 2008 - web: fixed numerous bugs in team founder transfer mechanism html/ inc/ team.inc user/ team_founder_transfer_form.php team_founder_transfer_action.php team_display.php David 14 June 2008 - manager: fix some strings ("comm" is not an OK abbrev.) Also got rid of references to Yahoo. clientgui/ WelcomePage.cpp,.h BOINCWizards.h David 16 June 2008 - client: fix crashing bug when detach from project. The problem: the variable ordered_scheduled_results has a list of pointers to RESULTs. These pointers become dangling when the project is detached. It's not sufficient to do schedule_cpus() because this returns immediately if # projects == 0. So clear the list directly. Rom: please port to 6.2 client/ client_state.C David 17 June 2008 - scheduler: if host.n_bwdown is zero, skip the bandwidth check; the host hasn't been measured yet. sched/ sched_send.C David 17 June 2008 - web: shuffle code to eliminate redundancy html/inc/ boinc_db.inc bossa_db.inc util.inc David 18 June 2008 - change EXIT_ABORTED_VIA_GUI to EXIT_ABORTED_BY_CLIENT - change ERR_CHILD_FAILED TO EXIT_CHILD_FAILED (it's an exit code, not a function error code) - client: reduce severity of benchmark error - scheduler: compile fix api/ boinc_api.C client/ cs_benchmark.C lib/ str_util.C error_numbers.h sched/ sched_send.C Rom 18 June 2008 - WINSETUP: Validate that the installed executables are the ones we are expecting. - WINSETUP: Do not allow the data directory and install directory to be the same directory. - WINSETUP: Reduce the amount of time allocated to shutdown the BOINC Manager from 30 secs to 5 secs before killing it. Otherwise the user thinks the install process is hung. - WINSETUP: Change text for describing the protected mode install - WINSETUP: Add text describing the reason for a reboot - WINSETUP: Add text describing the need to run a repair in the case where a third party BOINC CC was installed or a private drop of the CC was used. win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc boinccas.vcproj boinccas95.def boinccas95.vcproj CAShutdownBOINCManager.cpp CAValidateInstall.cpp, .h (added) CAVerifyInstallDirectories.cpp, .h (added) win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll David 18 June 2008 - web: in team remove-user form, link names and show IDs html/user/ team_remove_inactive_form.php David 18 June 2008 - If a hidden post is deleted, don't decrement its thread's post count; it was already decremented when the post was hidden - Added a function to forum_repair.php to fix inconsistencies due to the above bug html/ inc/ forum.inc ops/ forum_repair.php Rom 19 June 2008 - WINSETUP: Properties that are changed during the execution phase of setup do NOT bubble back up to the UI phase of setup when completed. Create some custom actions that store those properties in the registry and then read them back after we are back in the UI phase. Without them we cannot control what text is displayed in the setup completion dialog. win_build/installerv2/ BOINC.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.cpp boinccas95.def boinccas95.vcproj CARestoreExecutionState.cpp, .h (Added) CASaveExecutionState.cpp, .h (Added) win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll Rom 19 June 2008 - WINSETUP: Suppress the reboot prompt and just reboot, since we have already informed the user it is needed on the conformation screen win_build/installerv2/redist/Windows/src/boinccas/ boinccas.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll David 19 June 2008 - diagnostics library: in signal handler, use _exit() instead of exit(); an atexit() function might have been what caused the signal lib/ diagnostics.C David 20 June 2008 - client (Win): if running as service, and service is suspended/resumed, restore previous run state rather than going to auto. - client: improve startup messages (non-system user??) client/ client_state.C main.C David 20 June 2008 - client (Win): if we're not in protected mode, don't create shmem segs in global name space. Hopefully this will fix a bug (on Vista, UAC off, non-protected install) where apps fail to attach to shmem. client/ app_start.C lib/ proc_control.C shmem.C,h David 22 June 2008 - scheduler: change message if bad auth (fixes #685) client/ hostinfo_unix.C sched/ handle_request.C David 22 June 2008 - client: print msgs if can't find CUDA libs client/ client_state.C lib/ coproc.C,h David 23 June 2008 - API: compile fix api/ reduce_main.C Rom 23 June 2008 - MGR: Fix the Alt-Tab icon on Windows XP. Fixes# 586. Thanks Der Meister. clientgui/ AdvancedFrame.cpp, .h BOINCGUIApp.cpp sg_BoincSimpleGUI.cpp, .h SkinManager.cpp, .h clientgui/res/ boinc32.xpm win_build/ boincmgr_curl.vcproj Rom 23 June 2008 - MGR: Change from using balloons to tooltips. Fixes #9. Thanks David Barnard. clientgui/ BOINCTaskBar.cpp clientgui/msw/ taskbarex.cpp, .h David 23 June 2008 - API, Unix: when boinc_finish(x) is called, exit with code x even if signals happen in the atexit() handling - API: don't print XML parse warnings for init_data.xml file api/ boinc_api.C lib/ app_ipc.C diagnostics.C,h Charlie 23 June 2008 - MGR: Fix build breaks on Mac. clientgui/ BOINCTaskBar.cpp, h mac/ MacSysMenu.cpp,.h David 23 June 2008 - web: insert() functions return ID html/inc/ user.inc team.inc Rom 25 June 2008 - WINSETUP: Store and cleanup a set of flags to avoid repeatedly migrating data back and forth. - WINSETUP: If the migration uninstall routine detects a newer version of BOINC being installed, skip the uninstall process. win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc boinccas95.def boinccas95.vcproj CAMigrateBOINCData.cpp CAMigrateBOINCDataCleanup.cpp, .h (Added) CAMigrateBOINCDataVersion.cpp, .h (Added) CAValidateInstall.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll Rom 25 June 2008 - MGR: If more than two active tasks are running then tell the user how many active tasks are running instead of attempting to display the percent complete of each one. - MGR: If the computer name is the local host then skip displaying it in the tooltip. clientgui/ BOINCTaskBar.cpp David 25 June 2008 - client: improve error messages when can't copy files - client: change CUDA detection on Linux and Mac. Look for libcuda.so in /usr/lib/nvidia and /usr/lib64/nvidia. If we find it, assume that libcudart is bundled with the app. client/ app_start.C lib/ coproc.C David 26 June 2008 - client, CUDA detection: look in /usr/lib, not /usr/lib/nvidia/ lib/ coproc.C Rom 26 June 2008 - Tag for 6.3.4 release, all platforms boinc_core_release_6_3_4 / configure.ac version.h Rom 26 June 2008 - Include missing include file on Linux. lib/ diagnostics.C David 26 June 2008 - client: fix battery detection on newer Linux (from Roberto Virga) client/ hostinfo_unix.C David 26 June 2008 - fix gcc warnings lib/ coproc.C,h David 26 June 2008 - more gcc fixes client/ client_state.C sandbox.C,h hostinfo_unix.C David 26 June 2008 - back-end code: fix compiler warnings (and maybe bugs); do some retentive code cleanup sched/ feeder.C sched_send.C transitioner.C trickle_handler.C validator.C validate_util.C Charlie 27 June 2008 -MGR: Add all features of Grid Views to Accessible Views Projects Tab, Tasks Tab and Tranfers Tab, including: progress bars, light gray stripes on alternate rows, sorting, multiple selections. For those fields where it is practical to do so, store data in native form for better efficiency comparing, sorting and updating cached data;format data only when needed for list display. Add a separate array of integers which are indexes into the list; sort only this array to make sorting faster & more efficient, and to maintain associations with underlying data after sorting (view's data struct at index X always corresponds to result at index X). Refresh only those rows with changed values or which have moved due to sorting. Restore previous sorting settings when relaunching Manager. clientgui/ BOINCBaseView.cpp,.h BOINCListCtrl.cpp,.h ViewProjects.cpp,.h ViewTransfers.cpp,.h ViewWork.cpp,.h David 27 June 2008 - make_project: change the --test_app option so that it gets the app executable from boinc_samples/example_app/uc2, rather than boinc/apps/upper_case. (boinc_samples must be installed in the same dir as boinc). The reason: the BOINC autoconf-based build process produces executables that have zillions of shared library dependencies, and generally won't run on machines other than the one where they were built. Executables built in boinc_samples/ don't have this problem. tools/ make_project David 29 June 2008 - client: add "Suspending computation" messages for system idle and initial delay cases. Rom: please back-port client/ cs_prefs.C David 30 June 2008 - server: add optional element to output file s. This tells the sample bitwise validator to ignore this file. - client: parse the above field (avoid "unparsed XML" msgs) client/ client_types.C sched/ sample_bitwise_validator.C validate_util.C,h David 30 June 2008 - scheduler: fix bug where a pointer to a 32-bit time field was being cast to a pointer to 64-bit time field (this caused wrong results on 64-bit servers) From Sharov Artyom. html/inc/ db_conn.inc sched/ handle_request.C sched_send.C tools/ process_results_template.C Charlie 30 June 2008 - MGR: Reset messages whenever connecting or reconnecting to client. Fixes 2 bugs: stale messages if client on remote host was stopped and restarted while local manager was connected to it but minimized, and stale messages when local client exited and was automatically restarted by Manager. - MGR: On Mac, don't display alerts when minimized, as they hang Manager. On Windows and Mac, if minimized when trying to display the Connection Failed dialog, set a flag to display it when the user maximizes the application, so the user can respond. In addition, Windows still immediately displays a Connection Failed balloon if minimized. clientgui/ BOINCBaseFrame.cpp,.h MainDocument.cpp Charlie 1 July 2008 - MGR: Fix build break on Linux. clientgui/ ViewWork.cpp David 1 July 2008 - web: when hide/unhide/delete posts, set the timestamp of the thread to the timetamp of the latest non-hidden post (rather than to now). Same thing for forum timestamp. - scheduler: return more informative message to user in case of request message parse error html/inc/ forum.inc sched/ handle_request.C server_types.C Eric 1 July 2008 - client: Fixes ticket Fixes ticket #537. Forces use of small files in zlib.h and when /proc filesystem is used on solaris. client/ cpp.h app_start.C client_types.C app_control.C hostinfo_unix.C lib/ mem_usage.C parse.h procinfo_unix.C David 1 July 2008 - web: don't check for the stop_web file in BoincDb::get(). That forces that file to include a bunch of unnecessary stuff. Do the check at a higher level. html/ inc/ boinc_db.inc util.inc user/ forum_index.php David 1 July 2008 - create_work: couldn't connect to database because it had an automatic var SCHED_CONFIG (hence nonzero) - make_project: include xadd in list of instructions - boinc_submit: fix bugs in --stdin tools/ boinc_submit create_work.C dir_hier_path.C kill_wu.C make_project poll_wu.C Charlie 2 July 2008 - MGR: New tasks and projects properties displays from Frank Weiler. clientgui/ DlgItemProperties.cpp,.h (new) Events.h ViewProjects.cpp,.h ViewWork.cpp,.h Makefile.am mac_build/ boinc.xcodeproj/ project.pbxproj win_build/ boincmgr_curl.vcproj David 2 July 2008 - server code: at some point I made a global var "SCHED_CONFIG config", mostly so that the parse function could assume that everything was initially zero. However, various back-end functions pass around SCHED_CONFIG& as an argument (also named "config"). This creates a shadow, which is always bad. Worse is the possibility that some projects have back-end programs that have a SCHED_CONFIG variable that's automatic, and therefore isn't zero initially, and therefore isn't parsing correctly. To fix this, I changed the 2 vectors in SCHED_CONFIG into pointers, and have the parse routine zero the structure. I was tempted to remove the SCHED_CONFIG& args to back-end functions, but this would have broken some projects' code. I did, however, change the name from config to config_loc to avoid shadowing. Also fixed various other compiler warnings. api/ boinc_api.C apps/ upper_case.C lib/ shmem.C,h sched/ handle_request.C sched_array.C sched_assign.C sched_config.C,h sched_send.C server_types.C tools/ backend_lib.C,h process_result_template.C David 2 July 2008 - typo in make_project tools/ make_project David 2 July 2008 - client and server: the client includes global_prefs.xml in scheduler request messages, without checking its contents. One user had apparently edited global_prefs.xml with an XML editor; it had an 4KB) error page. This overruns the 4KB buffer of HTTP_OP::req1. Solution: keep track of the size of the buffer, and don't overrun it. Also move the body of a huge for loop into a separate function. From Ian Hay. Fixes #705 client/ file_xfer.C http_curl.C,h Rytis 4 Aug 2008 - developer tools: a script to build en.po from PHP files to ease translation. Usage: build_po.pl [PROJECT_PATH] tools/ build_po.pl Rytis 4 Aug 2008 - user web: make team.inc translatable, and update en.po using the new script (fix #661) html/ inc/ team.inc languages/translations/ en.po David 4 Aug 2008 - scheduler: added a debug msg for anonymous platform sched/ sched_send.C,h Bruce 5 Aug 2008 - scheduler: in resending lost results, must copy core client version. David -- this can probably be done better and might indicate that some other info is not being properly copied. Please review and fix if needed. Before this fix, scheduler.log was complaining about outdated core clients version 0 < min needed core 413. - tools for scheduler logging: change cgi.log.X to scheduler.log.X in script that creates on-line logs for users to read to help diagnose problems. tools/ makelog.sh sched/ sched_send.C handle_request.C David 5 Aug 2008 - web: stylesheet fixes fixes #708 - sched: slightly revise Bruce's fix html/ inc/ util.inc user/ style2.css white.css sched/ handle_request.C sched_send.C David 5 Aug 2008 - XML parsing: when parsing ints, check for errno == ERANGE. This means the int was too big. Ignore it - the XML was corrupted. This should fix a problem reported by Kevin where the mod_time in a user's global prefs was 100 years in the future, causing those prefs to irrevocably propagate. lib/ parse.C,h David 5 Aug 2008 - client: if fail to parse global_prefs.xml, delete it and reset global prefs (which may have been modified by the attempt at parsing) client/ cs_prefs.C lib/ prefs.C,h David 5 Aug 2008 - XML parsing: when parsing int/double/bool and fail to find end tag, don't modify the reference arg. - scheduler: improved messages for preferences sched/ handle_request.C lib/ parse.C David 5 Aug 2008 - web: added copyright and license info to PHP files html/ ops/*.php inc/*.inc user/*.php David 5 Aug 2008 - added copyright and license info to some C files client/ hostinfo_unix_test.C sim.h rrsim_test.C lib/ msg_queue.h procinfo_win.C David 6 Aug 2008 - added copyright and license info to .C, .cpp, .h files - scheduler: fix bug in adaptive replication: if send an unreplicated job to untrusted host, set both wu.target_nresults and wu.min_quorum to app.target_nresults. */*.C,cpp,h David 6 Aug 2008 - file_deleter: add -delete_antiques_now options sched/ file_deleter.C David 6 Aug 2008 - API (Windows): call mouse-handling functions with coords relative to window, not screen api/ David 6 Aug 2008 - scheduler: fix bug that caused jobs to be sent to clients using anonymous platform even if they don't have the necessary app version. Also, send an explanatory message in this case. sched/ edf_sim.C sched_send.C David 6 Aug 2008 - scheduler: make credit_multiplier stuff conditional on flag in config.xml db/ schema.sql sched/ sched_config.C,h sched_result.C Rom 7 Aug 2008 - CLIENT/MGR/TRAY: When installed on Vista and UAC is turned on the user by default cannot create globally shared objects. This becomes a problem when protected application mode is turned off for keyboard and mouse detection. Basically all of the components would start up and fail to create the shared memory segment and report the error through stderr which most people don't look at by default. The client is now the only component that is allowed to create the shared memory segment, if creating the global segment fails it'll create a local one instead. Both the tray and manager now just attach to the existing segment, first trying the global one then the local one. client/ main.C clientgui/ BOINCGUIApp.cpp, .h clientlib/win/ boinc_dll.cpp IdleTracker.cpp clienttray/ tray_win.cpp, .h win_build/ boinc.sln boinctray.vcproj Rom 7 Aug 2008 - CLIENT: Initial checkin for CUDART support for Win32 coprocs/CUDA/mswin/Win32/Debug/bin/ cudart.dll coprocs/CUDA/mswin/Win32/Release/bin/ cudart.dll coprocs/CUDA/mswin/Win32/ReleaseSigned/bin/ cudart.dll win_build/ boinc_post_bld_rules.cmd David 7 Aug 2008 - web: improve white.css, and make corresponding PHP changes (mostly from Simek) fixes #716 - validator: tweak the way host error rate is computed, e.g. on error bump rate by .1 instead of .05 html/ inc/ forum.inc prefs.inc result.inc util.inc user/ create_profile.php forum_index.php forum_search_action.php forum_thread.php pm.php profile_menu.php profile_search_action.php results.php team_search.php white.css workunit.php img/ gray_gradient.png sched/ validator.C David 7 Aug 2008 - web: add -webkit-border-radius so that rounded corners work on Safari html/user/ white.css David 7 Aug 2008 - web: add table.noborder class for S@h html/user/ forum_forum.php white.css David 7 Aug 2008 - validator: get_credit_from_wu() returns an error, rather than exiting, if WU doesn't have element html/ ops/ bossa_admin.php user/ white.css sched/ validator.C validate_util.C,h David 7 Aug 2008 - web: forum tweak html/inc/ forum.inc Rom 8 Aug 2008 - Tag for 6.3.7 release, all platforms boinc_core_release_6_3_7 / configure.ac version.h Rom 8 Aug 2008 - client: Changes references of nvcuda.dll to cudart.dll. Someday NVidia might include it in its driver pack for Windows, until then we have to include it as part of BOINC. lib/ coproc.C Rom 8 Aug 2008 - Tag for 6.3.8 release, all platforms boinc_core_release_6_3_8 / configure.ac version.h David 9 Aug 2008 - client: don't use fixed-size buffer when looking for app files in project prefs (avoid buffer overrun) - web: don't show credit info if no_computing flag set client/ cs_prefs.C html/inc/ forum.inc Rytis 9 Aug 2008 - web: fix thread being marked as unread after posting to it (fix #506) html/inc/ forum.inc Rom 9 Aug 2008 - CLIENT: checkin for CUDART support for Win32 coprocs/CUDA/mswin/x64/Debug/bin/ cudart.dll coprocs/CUDA/mswin/x64/Release/bin/ cudart.dll coprocs/CUDA/mswin/x64/ReleaseSigned/bin/ cudart.dll David 9 Aug 2008 - web: forum tweaks (from Simek) html/ inc/ forum.inc user/ forum_forum.php white.css Charlie 10 Aug 2008 - client: fix compiler warning. client/ http_curl.C David 12 Aug 2008 - web: stylesheet tweaks (from Simek) html/ inc/ forum.inc prefs.inc util.inc user/ forum_index.php team_members.php white.css David 12 Aug 2008 - scheduler: don't send jobs for "hard apps" (weight==-1) to hosts with total_credit=0 - client: add a buffer size check client/ client_msgs.C main.C sched/ sched_send.C David 12 Aug 2008 - web: improve sample project_specific_prefs.inc to add "allow_non_preferred_apps pref and remove frame rate pref html/project/ project_specific_prefs.inc Charlie 12 Aug 2008 - client: fix compile error. client/ client_msgs.C David 12 Aug 2008 - fix bug that made email address validation worthless (from Janus K.). Fixes #718 html/user/ validate_email_addr.php Charlie 13 Aug 2008 - Mac Installer: fix bugs in script which converts BOINC installer to a GridRepublic installer. mac_installer/ make_GridRepublic.sh David 13 Aug 2008 - client and server: add "len" arg to xml_escape() and xml_unescape() (prevent buffer overrun). Also remove 1024 char limit for team description in db_dump. client/ client_types.C lib/ app_ipc.C parse.C,h proxy_info.C sched/ db_dump.C db_purge.C server_types.C David 13 Aug 2008 - client and server: add "len" arg to xml_escape() and xml_unescape() (prevent buffer overrun). Also remove 1024 char limit for team description in db_dump. client/ client_types.C lib/ app_ipc.C parse.C,h proxy_info.C sched/ db_dump.C db_purge.C server_types.C Rom 13 Aug 2008 - SAMPLES: Add all the samples to the BOINC solution and delete the old solution. - LIB: Clean up a bunch of warnings. api/ texfont.C lib/ crypt.C lib/ filesys.C samples/wrapper/ wrapper.C win_build/ boinc.sln glut.vcproj image_libs.vcproj jpeglib.vcproj libboinc_staticcrt.vcproj libboincapi.vcproj libboincapi_staticcrt.vcproj libgraphics2.vcproj multi_thread.vcproj sleeper.vcproj uc2.vcproj uc2_graphics.vcproj upper_case.vcproj worker.vcproj wrapper.vcproj Rom 13 Aug 2008 - WIN: Remove deprecated v5 graphics files from the solution. win_build/ libboincapi_staticcrt.vcproj Rom 13 Aug 2008 - Update copyright strings in various Windows resource files. client/win/ boinc_cli.rc boinc_cli_2003.rc boinc_cmd.rc clientgui/ BOINCGUIApp.rc BOINCGUIApp_2003.rc clientlib/win/ boinc_dll.rc boinc_dll_2003.rc clientscr/ boinc_ss.rc boinc_ss_2003.rc clienttray/ boinc_tray.rc Rom 13 Aug 2008 - WIN: Remove Visual Studio 2003 solution and project files - WIN: Fix build files so all build configurations work again - WIN: Create the 'Samples - Debug' and 'Samples - Release' configurations to build sample files. Leave the previous configurations to build just the client software. - WIN: Remove Seed project files client/win/ boinc.exe.manifest boinc_cli_2003.rc boinc_cmd_2003.rc boinccmd.exe.manifest clientgui/ BOINCGUIApp_2003.rc boincmgr.exe.manifest clientlib/win/ boinc.dll.manifest boinc_dll_2003.rc clientscr/ boinc.scr.manifest boinc_ss_2003.rc samples/win_build/ samples_2003.sln win_build/ boinc.sln boinc_2003.sln seed.sln Rom 13 Aug 2008 - WIN: Remove any remaining references to Seed and CPDNBBC. client/win/ boinc_cli.rc boinc_cmd.rc clientgui/ BOINCGUIApp.rc clientgui/res/ seed16.xpm seed32.xpm seedamwizard.xpm seedapwizard.xpm clientlib/win/ boinc_dll.rc clientscr/ boinc_ss.rc clientscr/res/ seed.bmp Rom 14 Aug 2008 - WIN: Update OS Detection code. NOTE: Holy cow, Between Vista and Server 2008 there are now 26 different SKUs. client/ hostinfo_win.C Rom 14 Aug 2008 - WIN: Finish up the fixes to the project files. Everything should build, and all output files should end up in the win_build/build directory. win_build/ boinc.sln *.vcproj Rom 14 Aug 2008 - WINSCR: Certain checks should be done regularly like keyboard/mouse activity and the notification window check. They should not depend on whether or not the graphics window has been displayed or not. clientscr/ screensaver.cpp screensaver_win.cpp, .h David 14 Aug 2008 - scheduler: fixed bug that caused spurious messages saying "no work was available for the apps you requested" with locality scheduling (i.e. Einstein@home) even if the user hasn't select apps. Note: the logic for printing these messages won't work for matchmaker scheduling. sched/ sched_send.C server_types.h Rom 15 Aug 2008 - WIN: remove accelerators from the HOST_INFO class. It doesn't appear to be used by anybody, and was only meant as a stop-gap until we had some formal way to deal with co-processors. client/ hostinfo_win.C lib/ hostinfo.C, .h Charlie 15 Aug 2008 - MGR: async GUI RPCs: Merge GUI RPC code from private workspace into trunk. All RPCs now go through separate thread. There are two categories: - Periodic RPCs are called from a timer event and optionally generate a secondary event upon completion. - Demand RPCs are run one at a time and don't return to requesting call until each RPC is completed. - MGR: async GUI RPCs: don't perform preiodic RPCs in Advanced View when hidden / minimized. - MGR: async GUI RPCs: FireRefreshView() runs preiodic RPCs before posting wxEVT_FRAME_REFRESHVIEW event. - MGR: Under SimpleGUI, call acct_mgr_info RPC every 10 minutes - MGR: eliminate Grid views, since all their functionality is now implemented in List Views. View menu now has 2 choices: Simple and Advanced. NOTE: The Grid View source files still should be removed from makefiles for Linux, etc. and possibly from SVN trunk. clientgui/ AdvancedFrame.cpp,.h AsyncRPC.cpp,.h (Added) BOINCBaseFrame.cpp,.h BOINCBaseView.cpp,.h BOINCDialupManager.cpp BOINCGUIApp.cpp,.h BOINCTaskBar.cpp Events.h MainDocument.cpp,.h Makefile.am sg_BoincSimpleGUI.cpp,.h sg_DlgMessages.cpp,.h sg_ProjectsComponent.cpp,.h ViewWork.cpp mac_build/ boinc.xcodeproj/ project.pbxproj win_build/ boincmgr_curl.vcproj David 15 Aug 2008 - web: start working towards the goal of passing the "HTML 4.01 Transitional" test. The BOINC home page, project home page, and forum index now pass. - web: .po files need to have CHARSET, LANG_NAME_NATIVE, and LANG_NAME_INTERNATIONAL html/ inc/ uotd.inc forum.inc util.inc languates/translations/ en.po user/ sample_index.php Rom 15 Aug 2008 - WINSETUP: For some reason BOINCTray.exe was only being installed when the 'Protected Applcation Mode' was selected. I don't remember why we did this, so install it on all scenarios. win_build/installerv2/ BOINC.ism BOINCx64.sm David 15 Aug 2008 - web: fix bugs in translation system (language_select.php wasn't working) - tr.po had some syntax error, and was way out of date. replaced it with en.po html/ inc/ translation.inc languages/translations/ en.po tr.po user/ language_select.php Rom 15 Aug 2008 - WINBUILD: Remove 'Samples - Debug' and 'Samples - Release' build configurations. win_build/ BOINC.sln David 16 Aug 2008 - client: don't leak handles to shared-mem files - client: don't leak process handles when abort jobs - client: if an app exits or we kill it, always destroy the shmem segment. - web: more HTML 4.01 Transitional conformity changes client/ app.C,h app_control.C app_start.C html/ inc/ util.inc team.inc user/ team.phhp white.css Rom 17 Aug 2008 - WINSCR: Comment updates from Nicolas Alvarez clientscr/ screensaver_win.cpp Bruce 18 Aug 2008 - User web pages, scheduler logs: link was missing because of incorrect path html/ inc/ host.inc Rom 18 Aug 2008 - client: Update the Windows version detection code to account for Windows 7 and Windows Server 2008 "R2". client/ hostinfo_win.C Rom & Charlie 18 Aug 2008 - SCR: Fix 8/14 checkin that causes the CPU util to spike on Macs and possibly Windows. clientscr/ screensaver.cpp Eric 18 Aug 2008 - Fixed potential memory leak and other minor problems with APP_INIT_DATA. lib/ app_ipc.[Ch] Charlie 18 Aug 2008 - MGR: async GUI RPCs: Fix show_graphics RPC. clientgui/ AsyncRPC.h David 18 Aug 2008 - scheduler: add config option to enable messages about job resending sched/ sched_send.C sched_config.C,h sched_resend.C sched_assign.C sched_util.C Charlie 18 Aug 2008 - MGR: async GUI RPCs: Bug fix. clientgui/ AsyncRPC.cpp David 19 Aug 2008 - lib: added string_substitute() function - lib: changed boinc_copy() to replace " " with "\ " in its args (to allow pathnames containing spaces). From Tolu Aina lib/ filesys.C str_util.C,h Charlie 19 Aug 2008 - lib: changed boinc_copy() to enclose path strings in quotes instead of escaping spaces. - Mac lib: set visibility of symbols to hidden by default. - Mac Samples: adjust XCode project for new SVN tree layout, set visibility of symbols to hidden by default. lib/ filesys.C mac_build/ boinc.xcodeproj/ project.pbxproj samples/ mac_build/ UpperCase2.xcodeproj Charlie 20 Aug 2008 - MGR: async GUI RPCs: Create SafeMessageBox function to suspend periodic RPCs during modal dialogs. clientgui/ AccountInfoPage.cpp AdvancedFrame.cpp BOINCBaseFrame.cpp BOINCDialupManager.cpp BOINCGUIApp.cpp,.h BOINCTaskBar.cpp DlgAdvPreferences.cpp hyperlink.cpp MainDocument.cpp sg_StatImageLoader.cpp sg_ViewTabPage.cpp ValidateAccountKey.cpp ValidateEmailAddress.cpp ValidateURL.cpp ViewProjects.cpp ViewTransfers.cpp ViewWork.cpp WizardAccountManager.cpp WizardAttachProject.cpp common/ wxFlatNotebook.cpp David 20 Aug 2008 - lib: fix typo lib/ filesys.C David 20 Aug 2008 - client: fix CPU scheduling logic related to coprocessors Old: when checking whether an app can be run, check for sufficient coprocessors relative to the current coprocessor usage. Bug: it there are 2 CUDA jobs, the scheduler will decide to run both. enforce_scheduler() will only be able to run one, and the other CPU will be idle. New: include coprocessor usage (along with RAM and CPUs) in the check, and do a simulated reservation. In the above scenario, the scheduler will select one CUDA app and one non-CUDA app. client/ cpu_sched.C app.C lib/ coproc.h David 20 Aug 2008 - fix compile warnings and Manager error client/ client_state.C clientgui/ AsyncRPC.cpp BOINCBaseFrame.cpp lib/ boinc_cmd.C str_util.C samples/multi_thread/ multi_thread.C Rom 20 Aug 2008 - web: fix a parsing error in sample_index.php which would cause new projects to report an error when they first attempt to start up. - tools: Add the missing x86_64-apple-darwin platform type used for 64-bit Mac OS X applications. I used the description from the alpha project. - MGR: delete obselete make files. clientgui/ Makefile.linux.fedora Makefile.linux.suse Makefile.linux.ubuntu html/user/ sample_index.php tools/ project.xml David 20 Aug 2008 - make_project: fix --test_app - fix formatting (no long indents) clientgui/ AsynchRPC.cpp tools/ make_project html/ ops/ create_forums.php user/ team_search.php Charlie 20 Aug 2008 - lib: remove unused variable char cmd_esc[1024]. lib/ filesys.C David 20 Aug 2008 - client: if the host has two CUDA GPUs, they were being recorded as two COPROC structures of type CUDA. Unfortunately, the logic doesn't handle this correctly; it expects there to be a single structure with count==2. Change things to do this. Unfortunately this means that if the two GPUs are different, that difference will get lost. This is a design flaw, and would take some work to fix. lib/ coproc.C Rom 21 Aug 2008 - WINSETUP: For safety sake, disable the logon via terminal services user right for both boinc_master and boinc_project. win_build/installerv2/redist/Windows/src/boinccas/ CAGrantBOINCMasterRights.cpp CAGrantBOINCProjectRights.cpp Rom 21 Aug 2008 - Tag for 6.3.9 release, all platforms boinc_core_release_6_3_9 / configure.ac version.h David 21 Aug 2008 - validator: add a global variable WORKUNIT* g_wup; that points to the workunit being processed; you can use this in your init_result(), compare_result() etc. if you need it. sched/ main.C validator.C,h David 21 Aug 2008 - client: in GUI RPC, allow and if the peer is already authenticated. This is needed to make BOINCView work; it authenticates before every operation for some reason. client/ gui_rpc_server_ops.C David 21 Aug 2008 - client: if is set, log heartbeats too client/ app_control.C Rom 22 Aug 2008 - client: Both Windows x86 and Windows x64 CUDA Runtime libraries should be 2.0. This avoids crashes related to data structure changes in the Runtime. coprocs/CUDA/mswin/Win32/Debug/bin/ cudart.dll coprocs/CUDA/mswin/Win32/Release/bin/ cudart.dll coprocs/CUDA/mswin/Win32/ReleaseSigned/bin/ cudart.dll coprocs/CUDA/mswin/x64/Debug/bin/ cudart.dll coprocs/CUDA/mswin/x64/Release/bin/ cudart.dll coprocs/CUDA/mswin/x64/ReleaseSigned/bin/ cudart.dll lib/ coproc.C, .h Rom 23 Aug 2008 - Tag for 6.3.10 release, all platforms boinc_core_release_6_3_10 / configure.ac version.h Rom 24 Aug 2008 - win_build: Finally figured out what the problem was with how I was previously configuring pre-compiled headers. Visual Studio automaticaaly specifies the stdafx.cpp as the source file that is supposed to create the pre-compiled header for auto generated project files. The project is just configured to use a pre-compiled header. All I had done in the past was enable pre-compiled headers, but didn't create a stub cpp file to create the pre-compiled header with. Now all the client projects are configured to use pre-compiled headers. BOINC now compiles in 20 seconds. BOINC Manager in a minute. Everything else builds in 5 seconds or less. After sync'ing up Rebuild the solution. lib/ boinc_win.cpp win_build/ boinc.sln boinc_cli_curl.vcproj boinc_dll.vcproj boinc_ss.vcproj boinccmd.vcproj boincmgr_curl.vcproj boinctray.vcproj libboinc.vcproj libboinc_staticcrt.vcproj libboincapi_staticcrt.vcproj libgraphics2.vcproj multi_thread.vcproj sim.vcproj sleeper.vcproj uc2.vcproj uc2_graphics.vcproj updater.vcproj worker.vcproj wrapper.vcproj Rom 26 Aug 2008 - SEA: Grab the libcudart.so from a directory based on the detected platform, so we can support multiple posix compatible platforms. coprocs/CUDA/posix/i686-pc-linux-gnu libcudart.so coprocs/CUDA/posix/i686-pc-linux-gnu libcudart.so lib/ coproc.C libcudart32.so libcudart64.so sea/ Makefile.am David 26 Aug 2008 - client: get BOINCView to work again; allow one auth failure before closing connection. client/ gui_rpc_server.C,h gui_rpc_server_ops.C David 28 Aug 2008 - client (Unix): don't assume that LD_LIBRARY_PATH is defined client/ app_start.C Rom 29 Aug 2008 - winsetup: Change the delete file after reboot code to use MoveFileEx instead of the RunOnce registry key. It does what I was originally trying to do directly to: HKLM\SYSTEM\CurrentControlSet\Control\ Session Manager\PendingFileRenameOperations But I ran into issues across various versions of Windows. Thanks to Nicolas Alvarez for pointing out the API. - scrsave: Some more screensaver clean-up. - lib: Fix an infinate loop problem in get_exit_status, luckly BOINC wasn't using it. clientscr/ screensaver.cpp lib/ util.C win_build/installerv2/redist/Windows/src/boinccas/ CAValidateRebootRequest.cpp Eric 2 Sep 2007 - calculate_credit_multiplier: fixed bug that caused credit multiplier overshoot. Added check of replica database gap, use main database if replica is more than a day behind. tools/ calculate_credit_multiplier Charlie 2 Sep 2008 switcher: update comment on calling API. client/ switcher.C David 3 Sept 2008 - web: improve stylesheet for quoted messages (from Michael Roberts) html/user/ white.css Charlie 3 Sep 2008 MGR: Fix Async GUI RPC bugs when connecting to a different host. clientgui/ AdvancedFrame.cpp AsyncRPC.cpp MainDocument.cpp Charlie 3 Sep 2008 Mac Installer: add COPYING.LESSER to release packages. mac_installer/ release_boinc.sh release_GridRepublic.sh David 4 Sep 2008 - web: stylesheet tweak html/user/ white.css David 4 Sep 2008 - DB interface: in update(), check that 1 row was updated - API: in APP_INIT_DATA, enclose project preferences in tags so that it's legal XML - scheduler: add option. Use this if your project runs on Condor or grids and (to use multicore machines) you're running multiple clients per host. This will skip the host lookup based on IP address. db/ db_base.C lib/ app_ipc.C parse.C,h sched/ handle_request.C sched_config.C,h David 4 Sep 2008 - Add support for code-signing using x509 certificates (from Attila Marosi) client/ client_types.C,h cs_files.C log_flags.C,h lib/ Makefile.am cert_sig.C,h (new) crypt.C,h Charlie 4 Sep 2008 MGR: Save and restore selected items by key values when refreshing, to prevent wrong items from becoming selected when projects, tasks or transfers are added to or deleted from the list in Advanced View. clientgui/ AdvancedFrame.cpp,.h AsyncRPC.cpp BOINCBaseFrame.cpp,.h BOINCBaseView.cpp,.h BOINCListCtrl.cpp,.h ViewProjects.cpp,.h ViewTransfers.cpp,.h ViewWork.cpp,.h Charlie 4 Sep 2008 Mac: Add new files cert_sig.C,h to XCode project. mac_build/ boinc.xcodeproj/ project.pbxproj David 4 Sep 2008 - added some code for generating x.509 signatures client/ cs_files.C lib/ crypt.C,h crypt_prog.C Charlie 4 Sep 2008 SCR: Fix trace statements in screensaver.cpp; enable diagnostics in Mac screensaver. clientscr/ mac_saver_module.cpp Mac_Saver_Module.h Mac_Saver_ModuleView.m screensaver.cpp mac_build/ boinc.xcodeproj/ project.pbxproj Charlie 4 Sep 2008 MGR: Fix updates of Statistics tab when pressng buttons or connecting to a different host under async GUI RPCs. clientgui/ AdvancedFrame.cpp BOINCBaseFrame.cpp MainDocument.cpp,.h Charlie 5 Sep 2008 MGR: Eliminate flicker in list controls due to Freeze() / Thaw() calls. clientgui/ BOINCBaseView.cpp David 6 Sept 2008 client: CPU scheduler keeps trying to schedule jobs if either not all CPUs are used or not all coprocessors are used (avoid GPU idleness) client/ cpu_sched.C David 6 Sept 2008 - scheduler: fix typos in CUDA parsing lib/ coproc.C Rytis 6 Sept 2008 - web: significantly reduce file size of blue_gradient.png to reduce loading times (more dialup friendly). html/user/img/ blue_gradient.png David 7 Sept 2008 - web: various security fixes html/ inc/ db_ops.inc ops/ db_form.php db_action.php user/ forum_search_action.php hosts_user.php login_form.php top_users.php Charlie 8 Sep 2008 MGR: Make formatting of List Views more efficient; fix bug which showed progress bars in wrong rows in transfers tab. MGR: Use item attributes to create gray backgroound stripes in List Views instead of overlaying them in CBOINCListCtrl::DrawBarGraphs(); this eliminates most remaining flicker on Windows. clientgui/ BOINCBaseView.cpp,.h BOINCListCtrl.cpp ViewMessages.cpp,.h ViewProjects.cpp,.h ViewTransfers.cpp,.h ViewWork.cpp,.h David 8 Sept 2008 - web: fix bug in host list page html/user/ hosts_user.php David 9 Sept 2008 - web: report error correctly html/user/ show_user.php Charlie 8 Sep 2008 MGR: Draw only those progress bars which are actually needed, further reducing flicker and improving efficiency. clientgui/ BOINCBaseView.cpp BOINCListCtrl.cpp,.h ViewProjects.cpp ViewTransfers.cpp ViewWork.cpp Rytis 9 Sep 2008 Web: fix David's fix from Sep 7. html/user/ forum_search_action.php Eric K 10 Sep 2008 - Fixed fcgi builds to use an installed version of fcgi_stdio.h rather than a modified boinc version. - Added new header "boinc_fcgi.h" to be used instead of "fcgi_stdio.h". This header defines I/O functions in the namespace FCGI rather than using redefined functions the way "fcgi_stdio.h" does. This was causing a lot of headaches when both and "fcgi_stdio.h" was called. Using overloaded functions fixes this problem, except when the only difference between functions is the return type (for example ::fopen() returns FILE* and FCGI::fopen() returns FCGI_FILE*). - Fixed some missing "#ifdef _WIN32" blocks in filesys.C tools/ backend_lib.C sched/ Makefile.am edf_sim.C fcgi_stdio.h (removed) file_upload_handler.C handle_request.C hr_info.C main.C sched_array.C sched_config.C sched_hr.C sched_msgs.h sched_resend.C sched_send.C server_types.C sched_shmem.C sched_timezone.C sched_util.C time_stats_log.C lib/ Makefile.am base64.C boinc_fcgi.[Ch] (new files) coproc.h crypt.C filesys.C md5_file.C miofile.[Ch] msg_log.[Ch] parse.C shmem.C str_util.C synch.C util.C Charlie 11 Sep 2008 MGR: Fix bugs when connection to client is lost or reestablished under async GUI RPCs. MGR: Fix Simple GUI messages window; faster display of messages (don't reset messages twice on connect). clientgui/ AsyncRPC.cpp BOINCBaseFrame.cpp BOINCGUIApp.cpp MainDocument.cpp sg_BoincSimpleGUI.cpp Charlie 12 Sep 2008 MGR: To reduce flicker when saving & restoring selections, select or deselect rows only if their selection status changed. MGR: Disable Show Graphics button if task is "Waiting to Run." clientgui/ BOINCBaseView.cpp ViewWork.cpp David 12 Sept 2008 - web: if user requests foundership of a team with userid=0 (which in theory shouldn't happen, but apparently can) immediately make them the founder html/user/ team_founder_transfer_form.php Charlie 12 Sep 2008 MGR: Restore focus to ListCtrl after user clicks on a button and after each refresh so selection highlighting is maintained on Windows. clientgui/ BOINCBaseView.cpp ViewMessages.cpp ViewProjects.cpp ViewTransfers.cpp ViewWork.cpp Charlie 13 Sep 2008 MGR: To minimize flicker, UpdateSelections() sets each button only once to its final desired state. MGR: Restore focus to ListCtrl after each refresh only when application is active. clientgui/ BOINCBaseView.cpp ViewProjects.cpp ViewWork.cpp Charlie 14 Sep 2008 - MGR: Async GUI RPCs: Finish processing event handling for each RPC before starting next RPC, because the 2 RPCs may write into the same buffer, especially when switching between Simple and Advanced GUIs. - MGR: Simplify Messages display logic; fix "Show all messages" button tooltip. - MGR: Call Clear() instead of Empty() to fix possible memory leaks. clientgui/ AsyncRPC.cpp BOINCBaseFrame.cpp,.h BOINCBaseView.cpp BOINCListCtrl.cpp MainDocument.cpp sg_BoincSimpleGUI.cpp ViewMessages.cpp Rom 15 Sept 2008 - SCR: Fix GDI/Memory leak in the screen saver. Pointed out by David Barnard. clientscr/ screensaver_win.cpp Eric 16 Sept 2008 - Added additional spam fighting measure to profile.inc. Profiles for users with RAC less than with only be displayed if the viewing user is logged in. David 16 Sept 2008 - client: ignore CUDA devices with major versions > 100 (apparently some report 9999) - web: security changes: sanitize some params; escape some strings html/ inc/ pm.inc user/ language_select.php profile_search_action.php top_hosts.php top_teams.php user_search.php lib/ coproc.C sched/ census.C hr_info.C Charlie 16 Sep 2008 MGR: Reverse change of 9/12, 9/13: do not force focus changes because it interferes with disability access via alternate input devices. clientgui/ BOINCBaseView.cpp ViewMessages.cpp ViewProjects.cpp ViewTransfers.cpp ViewWork.cpp David 17 Sept 2008 - feeder: fix bug from changset 15984 that changed "r" to "w", causing the feeder to truncate hr_info.txt on startup html/user/ language_select.php sched/ hr_info.C David 17 Sept 2008 - back end programs: optional BOINC_CONFIG_XML environment variable specifies path of config file (default: ../config.xml) sched/ sched_config.C Charlie 17 Sep 2008 lib: - Remove incorrect "#ifdef _WIN32" blocks added 9/10/08 to filesys.C. lib/ filesys.C Charlie 17 Sep 2008 Mac branding: fix bugs in make_GridRepublic.sh script which converts standard BOINC installers to GridRepublic installers. mac_installer/ make_GridRepublic.sh David 17 Sept 2008 - scheduler: various bug fixes in score-based schedule; get rid of no_darwin_6 option lib/ cert_sig.C,h sched/ sched_config.C,h sched_send.C validate_util2.C Charlie 18 Sep 2008 Mac branding: make_GridRepublic.sh script copy acct_mgr_url.xml file to BOINC Data directory so BOINC will connect to GridRepublic account manager automatically. mac_installer/ make_GridRepublic.sh David 18 Sept 2008 - typo sched/ sched_config.C Charlie 18 Sep 2008 Mgr: Ignore GetSelectedItemCount()if message count <= 0 to fix crash bug. clientgui/ ViewMessages.cpp David 18 Sept 2008 - client: print error msg if missing acct mgr info - manager: last arg to acct_mgr_rpc is bool, not bool* client/ gui_rpc_server_ops.C clientgui/ AsyncRPC.cpp,h Charlie 19 Sep 2008 Mgr: Add control of Periodic RPC timer and Document Poll Timer to StopTimers() and StartTimers(). Mgr: The system handles timer events during modal dialogs, such as while the RPC Wait dialog is shown. This may cause unintended recursion and repeatedly posting the same RPC requests from timer routines while waitung for the first one to complete, so ignore timer events during that dialog. Mgr: Fix a rare crash bug in CTaskBarIcon::OnMouseMove() if it is called when exiting Manager after CmainDocument deleted. clientgui/ BOINCBaseFrame.cpp BOINCTaskBar.cpp MainDocument.cpp,.h sg_BoincSimpleGUI.cpp David 19 Sept 2008 - lib: change XML_PARSER to handle attributes and spaces in tags. e.g. it handles correctly, and handles (it doesn't return the attributes, but it doesn't choke on them). - GUI RPC client lib: use XML_PARSER to process authorization replies, e.g. so that it handles TODO: use XML_PARSER to parse all GUI RPC requests and replies - web: add a CSS entry for news item titles - web (news items): add an optional "category" field to news items: suggested values: "server status", "news", "emergency". These are not used to display the items, but are passed in the RSS feed and could be used by news aggregators. - manager: replace "BOINC-based account managers" with "account managers" clientgui/ AccountManagerInfoPage.cpp html/ inc/ news.inc project.sample/ project_news.inc user/ sample_rss_main.php white.css lib/ gui_rpc_client.C parse.C Rom 19 Sept 2008 - MGR: Add support for simulating somebody hitting the cancel button in the wizards. This is needed for a WCG feature. clientgui/ BOINCBaseWizard.cpp, .h wizardex.cpp, .h Rom 22 Sep 2008 - Tag for 6.3.11 release, all platforms boinc_core_release_6_3_11 / configure.ac version.h David 22 Sept 2008 - web: sub_sentence() went into an infinite loop for a particular (non-ASCII) profile text. Not sure why, but I rewrote sub_sentence() in less obscure way and it works now - web: slight cleanup of translation code. Can we please replace this with gettext()?? html/ inc/ translation.inc util.inc ops/ update_profile_pages.php user/ language_select.php David 22 Sept 2008 - API: in boinc_exit(), release the lockfile only if we're the main program (otherwise we didn't lock it in the first place, and a crash results). From Artyom Sharov. - scheduler: add support for the GCL simulator, which uses special versions of backend programs that use virtual time, and that wait for signals instead of sleep()ing. To compile: make clean configure CXXFLAGS="-DGCL_SIMULATOR" make api/ boinc_api.C db/ boinc_db.C,h lib/ util.C,h sched/ feeder.C hr_info.C pymw_assimilator.C sched_util.C,h transitioner.C trickle_handler.C validator.C tools/ backend_lib.C Charlie 22 Sep 2008 Mgr: Simplify Async GUI RPC refresh event logic; if a Periodic RPC completes while waiting for a Demand RPC, defer the refresh until all Demand RPCs have also finished to prevent possible undesirable recursion, because refresh code could request another Demand RPC. clientgui/ AsyncRPC.cpp,.h MainDocument.cpp,.h David 24 Sept 2008 - client: add element to scheduler request. Some projects (GPUgrid, QCN) don't work on some platforms if sandboxing is used. Better to send an error message than send jobs. - get rid of a few compiler warnings client/ app_start.C client_state.C cpu_sched.C cs_scheduler.C hostinfo_unix.C lib/ crypt.C,h David 24 Sept 2008 - client: attempt to fix CPU sched bug in the presence of GPUs (if there was an idle GPU, it would run unboundedly many CPU jobs) client/ client_types.h cpu_sched.C lib/ coproc.h David 24 Sept 2008 - client/manager: show # CPUs and coprocessors in task display client/ app.C clientgui/ ViewWork.cpp lib/ gui_rpc_client.h gui_rpc_client_ops.C Rom 25 Sep 2008 - Tag for 6.3.12 release, all platforms boinc_core_release_6_3_12 / configure.ac version.h David 25 Sept 2008 - web: don't send an email after account is created via web; it serves no purpose and some people apparently view it as spam. html/ inc/ email.inc user/ create_account_action.php mail_passwd.php David 25 Sept 2008 - Add the ability to exclude certain URLs from the use of proxies. E.g. if you're running a project locally, while attached to outside projects via a proxy. Currently accessible only via the Manager's Options dialog. From Frank Weiler. client/ http_curl.C,h clientgui/ AdvancedFrame.cpp DlgOptions.cpp,h gui_rpc_client.h gui_rpc_client_ops.C proxy_info.C,h Janus 25 Sept 2008 - web: Changed javascript generated input buttons into normal links with css that makes them look like buttons - css: Fixed some (of many) incompatibility issue with IE series of browsers - css: Added forum_toplinks class. Describes links at the top of forum pages - forum: You can now either reply to a post or quote a post html/ inc/ forum.inc util.inc user/ white.css forum_thread.php forum_reply.php David 25 Sept 2008 - boinc_cmd: add no_proxy item to --set_proxy_settings args (from Frank Weiler) lib/ gui_rpc_client_print.C boinc_cmd.C David 25 Sept 2008 - rename .C files to .cpp so that Doxygen will work David 25 Sept 2008 - update .vcproj files accordingly David 25 Sept 2008 - client: don't lower priority of apps that use >0 coprocessors and <1 CPU. Otherwise they don't run efficiently. client/ app_start.C client_state.C David 25 Sept 2008 - web: remove check on user agent html/inc/ util.inc David 28 Sept 2008 - another .cpp lib/mac/ mac_backtrace.cpp David 28 Sept 2008 - prepare for "don't run while playing game" feature lib/ procinfo.h procinfo_unix.cpp procinfo_win.cpp Charlie 29 Sep 2008 Mgr: Fix XCode project for all .C files renamed to .cpp. lib: Fix error in RPC_CLIENT::set_proxy_settings() changes of 9/25/08. clientgui/ AdvancedFrame.cpp DlgOptions.cpp,h gui_rpc_client.h gui_rpc_client_ops.C mac_build/ boinc.xcodeproj/ project.pbxproj David 29 Sept 2008 - client: add "exclusive app" feature. If you put foo.exe in your cc_config.xml, BOINC will suspend computing whenever foo.exe is running (e.g., a game). Eventually we might want to put the interface in preferences instead of cc_config.xml client/ app.h,cpp log_flags.h,cpp clientgui/ ViewWork.cpp lib/ common_defs.h procinfo_unix.cpp Charlie 29 Sep 2008 Mgr: Fix async GUI RPC handling of RPC_GET_PROJECT_STATUS1 and RPC_GET_SIMPLE_GUI_INFO2, both of which must replace project structs in the state struct in place. We hope this will also fix a memory leak. Mgr: Fix XCode project for browser.C files renamed to browser.cpp. clientgui/ AsyncRPC.cpp,.h MainDocument.cpp,.h mac_build/ boinc.xcodeproj/ project.pbxproj Charlie 30 Sep 2008 - MGR: async GUI RPCs: eliminate redundant RPC calls in SimpleGUI. - lib: eliminate obsolete RPC_CLIENT::get_project_status(CC_STATE& state), RPC_CLIENT::get_simple_gui_info(CC_STATE& state, RESULTS& results). clientgui/ AsyncRPC.cpp MainDocument.cpp,.h sg_BoincSimpleGUI.cpp sg_ClientStateIndicator.cpp sg_ProjectsComponent.cpp sg_StatImageLoader.cpp lib/ gui_rpc_client.h gui_rpc_client_ops.C David 30 Sept 2008 - add an interface for parsing XML attributes html/user/ white.css lib/ parse.cpp,h prefs.cpp David 30 Sept 2008 - scheduler: #ifdef'd tweaks for server simulator sched/ feeder.cpp main.cpp sched_util.cpp validator.cpp David 30 Sept 2008 - client: make statefile parsing a bit more efficient - GUI RPC and app_init file: add source project to global prefs lib/ parse.cpp prefs.cpp Charlie 30 Sep 2008 - client: Update Mac XCode project, build scripts and documentation for c-ares 1.5.3 and cURL-7.19.0. mac_build/ buildc-ares.sh buildcurl.sh HowToBuildBOINC_XCode.rtf setupForBOINC.sh boinc.xcodeproj/ project.pbxproj David 1 Oct 2008 - scheduler: add option. If set, don't send work to sandboxed Vista clients (e.g., because of CUDA issue) sched/ handle_request.cpp sched_config.cpp,h server_types.cpp,h David 1 Oct 2008 - scheduler: enforce max_wus_to_end, daily_result_quota, and max_wus_in_progress when using score-based scheduling sched/ sched_send.cpp David 1 Oct 2008 - scheduler: move core_client_version from WORK_REQ to SCHEDULER_REQUEST; WORK_REQ doesn't get initialized in all cases. sched/ handle_request.cpp main.cpp sched_send.cpp server_types.cpp,h Rom 1 Oct 2008 - Win: Update to OpenSSL 0.9.8i OpenSSL/ Rom 2 Oct 2008 - Win: Update to cURL 7.19.0 cURL/ David 2 Oct 2008 - scheduler: FCGI: use mysql_ping() to check that DB connection is still alive before handling a request. If not, try to reconnect. This will hopefully make things work better if MySQL goes down and up when using FCGI. db/ db_base.cpp,h sched/ main.cpp David 2 Oct 2008 - scheduler: add a \n after projects_files.xml, in case it doesn't have one sched/ server_types.cpp Rom 2 Oct 2008 - Tag for 6.3.13 release, all platforms boinc_core_release_6_3_13 / configure.ac version.h David 2 Oct 2008 - Makefile fix - client: remove extraneous message - wrapper: open stderr/stdout in append mode, not write client/ app_start.cpp clientgui/ Makefile.am samples/wrapper/ wrapper.cpp Charlie 2 Oct 2008 - MGR: Fix position of progress bars in Projects and Tasks tabs when scrolled horizontally. - MGR: Eliminate unnecessary clearing of web site selection buttons in Projects tab, hoping to fix an occasional drawing problem. clientgui/ BOINCListCtrl.cpp ViewProjects.cpp David 3 Oct 2008 - Manager: show resource requirements of all jobs, running or not - Back-end programs: start adding --help option to all of them clientgui/ ViewWork.cpp sched/ assimilator.cpp census.cpp db_dump.cpp David 3 Oct 2008 - client: fix bugs in coprocessor scheduling; add new log flag client/ app.cpp cpu_sched.cpp log_flags.cpp,h lib/ coproc.h Charlie 3 Oct 2008 - MGR: On Windows, adjust progress bar color for slightly better appearance when selected. clientgui/ BOINCListCtrl.cpp David 4 Oct 2008 - client: it a file upload fails for a job that's in progress, abort the task. Otherwise we end up reporting the job while the app is still running. client/ client_state.cpp cs_trickle.cpp David 4 Oct 2008 - Unix build system: build samples/example_app/, and change the samples/ makefiles so that they automatically create the symbolic link to libstdc++.a Fixes #725 Makefile.am samples/*/Makefile David 4 Oct 2008 - changed some comments for Doxygen client/*.h Janus 5 Oct 2008 - Projects can override the login form by defining their own replacement print_login_form_aux/print_login_form in their project.inc file - Fixed a case of bad coding where variables where called "1", "2"... instead of something more telling like "role1" etc. - Fixed forum posts display to work even in the case of minor database inconsistencies - Added "Highlight special user"-feature which will highlight special user posts on the forum. (requires database update) - Made the forum post body background 25% transparent in white.css for browsers that support transparency. This gives a nice effect combined with the highlight-feature. html/ inc/ forum.inc util.inc ops/ db_update.php manage_special_users_action.php manage_special_users.php user/ img/ 75pct_white.png edit_forum_preferences_action.php edit_forum_preferences_form.php white.css forum_forum.php David 5 Oct 2008 - Added the above DB change to schema.sql - Omit the "after" clause from update. - Web: add missing arg; fixes #749 - server: more --help additions db/ schema.sql sched/ db_purge.cpp db_dump.cpp html/ ops/ db_update.php inc/ host.inc Charlie 6 Oct 2008 - MGR: Async GUI RPCs: remove spurious assert. - MGR: Erase under progress bars so they overwrite selection highlight color and gray stripes for better appearance (color and visibility). clientgui/ AsyncRPC.cpp BOINCBaseView.cpp,.h BOINCListCtrl.cpp,.h ViewProjects.cpp,.h ViewTransfers.cpp,.h ViewWork.cpp,.h Rom 6 Oct 2008 - Tag for 6.3.14 release, all platforms boinc_core_release_6_3_14 / configure.ac version.h David 6 Oct 2008 - add distclean target for samples/ makefiles David 6 Oct 2008 - example_app: make the same Makefile work for both FC and Debian samples/example_app/ Makefile Makefile.debian (deleted) David 6 Oct 2008 - client: show est CPC time of jobs returned by sched RPC, if sched_op_debug; fixes #256 client/ cs_scheduler.cpp David 7 Oct 2008 - client: use different temp file names for different purposes - client: change logic in a pathological file xfer case (we asked for tail of file, proxy returned whole file) to report fopen() errors correctly, and to close all open files client/ cs_account.cpp file_names.h file_xfer.cpp time_stats.cpp David 7 Oct 2008 - added a script (from Nicolas) to generate en.po html/ops build_po.php Charlie 8 Oct 2008 - MGR: Fix crash in Projects:Properties. - MGR: Always update underlying data when changing tabs, attaching, detaching, forcing refresh, etc. - client: Fix CUDA detection on Mac. client/ coproc.cpp clientgui/ AdvancedFrame.cpp BOINCBaseFrame.cpp DlgItemProperties.cpp MainDocument.cpp ViewProjects.cpp ViewWork.cpp David 8 Oct 2008 - add a script "upgrade_db.php" that updates project DB structure (after user confirmation). This is called from "upgrade", and can also be run by itself. NOTE: this mechanism will handle all DB updates going forward. Older updates must be done the old way (edit and run db_update.php) - Web: let teams determine whether they're accepting new members html/ inc/ forum.inc team.inc ops/ db_update.php upgrade_db.php user/ am_set_info.phph team_edit_action.php team_join.php team_join_action.php team_join_form.php user_search.php sched/ feeder.cpp tools/ upgrade David 8 Oct 2008 - manager: fix strings in Project Properties clientgui/DlgItemProperties.cpp David 8 Oct 2008 - web: in checking if hosts can be merged, do time-overlap check if either host has pending results Fixes #748 html/inc/ host.inc David 8 Oct 2008 - enhancements to upgrade_db.php from Nicolas html/ops/ upgrade_db.php Charlie 8 Oct 2008 - MGR: Fix build breaks on Linux. clientgui/ DlgItemProperties.cpp ViewWork.cpp David 9 Oct 2008 - client: show message when suspending because of exclusive app - web: remove file_get_contents() workaround for PHP4 - web: If Akismet or ReCaptcha failure, display the form again with a warning message at the top. That way the user doesn't lose the text they just typed. client/ cs_prefs.cpp html/ inc/ akismet.inc util_basics.inc user/ create_profile.php forum_post.php forum_reply.php pm.php David 9 Oct 2008 - client: major changes to enforce_schedule() to handle GPUs client/ client_state.h cpu_sched.cpp clientgui/ DlgItemProperties.cpp html/ops/ db_update.php Charlie 9 Oct 2008 - MGR: Fix SimpleGUI to work with wxWidgets 2.8.7. clientgui/ sg_BoincSimpleGUI.cpp sg_ViewTabPage.cpp Charlie 9 Oct 2008 - MGR: Fix for (future) compatibility with wxWidgets 2.8.9. clientgui/ sg_SGUIListControl.cpp,.h Charlie 10 Oct 2008 - MGR: To reduce flicker, redraw only changed cells in List Control (not entire row) on non-Mac systems. - MGR: Fix flashing red Messages button in SimpleGUI. clientgui/ BOINCBaseView.cpp BOINCListCtrl.cpp,.h MainDocument.cpp David 10 Oct 2008 - client: print a message, and recompute ncpus, when reread cc_config.xml client/ gui_rpc_server_ops.cpp log_flags.cpp,h main.cpp sim.cpp David 10 Oct 2008 - client: report job resources even when no active task client/ app.cpp client_types.cpp David 10 Oct 2008 - client: correctly null-terminate file upload handler reply - web: fix typo client/ http_curl.cpp html/user/ forum_post.php David 12 Oct 2008 - web: avoid error if subscribed user doesn't exist html/inc/ forum.inc David 12 Oct 2008 - web: fix bug in profile creation. fixes #755 html/user/ create_profile.php Charlie 13 Oct 2008 - MGR: Multiple fixes to Async GUI RPCs: - Reject most events during RPC Wait dialog. This should eliminate most asserts due to undesired recursion in CMainDocument::RequestRPC(). - Always update message list every second, even when in other view tabs or when manager is minimized. - Eliminate separate task bar update timer, update with other periodic RPCs. - Always update task information in task bar icon tooltip when user hovers mouse over task bar icon. - Improve enabling / disabling of task bar icon menu items. clientgui/ AsyncRPC.cpp,.h BOINCGUIApp.cpp,.h BOINCTaskBar.cpp,.h Events.h MainDocument.cpp,.h Charlie 14 Oct 2008 - MGR: Multiple fixes to Async GUI RPCs: - Don't show RPC Please Wait dialog while BOINC is minimized. - Filter events to block all events while RPC Please Wait dialog is displayed, except: - Allow "Open BOINC Manager" Taskbar menu command. - Allow Paint and Erase events. - MGR: Use try / catch blocks for all cached data in Projects, Tasks and Transfers tabs. clientgui/ AsyncRPC.cpp BOINCGUIApp.cpp BOINCTaskBar.cpp MainDocument.cpp ViewProjects.cpp,.h ViewTransfers.cpp,.h ViewWork.cpp,.h David 14 Oct 2008 - client: clarify and fix the semantics of "next RPC time". Here's are the new semantics: a scheduler reply can include Make another RPC ASAP after this amount of time elapses. This is specified by the element in config.xml. Don't make another RPC until this amount of time elapses. This is sent automatically (and sometimes with large delays) by various parts of the scheduler. next_rpc_delay now "overrides" request_delay in the sense that request_delay is ignored if it's greater than next_rpc_delay. In addition: the client maintains a min_rpc_time which is set based on request_delay and also by various exponential backoff schemes. new_rpc_delay now overrides this as well, in the same sense. client/ cs_scheduler.cpp work_fetch.cpp David 14 Oct 2008 - web: make some things in sample front page translatable. TODO: make them all translatable. - manager: compile fix for Linux client/ client_types.h clientgui/ AsyncRPC.cpp html/ inc/ translation.inc user/ sample_index.php David 14 Oct 2008 - client: new config flags : where to go to see if network is up : where to get list of client versions : where to direct user to get new version - manager: some different text for WCG version client/ acct_setup.cpp gui_rpc_server_ops.cpp log_flags.cpp,h net_stats.cpp win/ boinc_cli.rc boinc_cmd.rc clientgui/ BOINCWizards.h ProxyInfoPage.cpp WelcomePage.cpp,h clientscr/ boinc_ss.rc Charlie 14 Oct 2008 - MGR: discard only Command, Timer and Mouse Moved events during RPC "Please Wait" dialog; no event processing during first RPC_WAIT_DLG_DELAY seconds of Demand RPC. clientgui/ AsyncRPC.cpp BOINCGUIApp.cpp Charlie 15 Oct 2008 - MGR: Fix updating task bar icon on disconnect from Client, fix a crash on exiting. clientgui/ BOINCGUIApp.cpp MainDocument.cpp David 15 Oct 2008 - web: prevent a cross-site request forgery attack html/ inc/ user.inc user/ edit_user_info_action.php edit_user_info_form.php Charlie 16 Oct 2008 - MGR: When any project's resource share changes, update all percentages that have changed (which is probably all of them) in Projects tab. clientgui/ ViewProjects.cpp,.h David 17 Oct 2008 - web: fix typo html/user/ edit_user_info_action.php David 17 Oct 2008 - forgot to add team.joinable to schema.sql db/ schema.sql David 17 Oct 2008 - manager: compile fixes from Nicolas clientgui/ WelcomePage.cpp Rom 20 Oct 2008 - Tag for 6.3.15 release, all platforms boinc_core_release_6_3_15 / configure.ac version.h David 20 Oct 2008 - client: if "leave in memory" pref changes, quit suspended tasks client/ cpu_sched.cpp David 20 Oct 2008 - web: delete all private msgs was broken html/user/ pm.php David 21 Oct 2008 - manager: fix disk display when talking to pre-6.3 client clientgui/ ViewProjects.cpp ViewResources.cpp David 21 Oct 2008 - web: add optional $project_http_proxy to project.inc; if project is behind an HTTP proxy, this fixes the SVN fetch in ops/index.php html/ ops/ index.php profile_screen_action.php project.sample/ project.inc David 21 Oct 2008 - web: if user tries to edit a BOINC-wide team, warn them that changes will get overwritten. html/inc/ team.inc David 21 Oct 2008 - make "make distclean" work in all directories samples/*/Makefile David 21 Oct 2008 - scheduler: add config flag. If set the "effective NCPUS" (which is used to scale daily_result_quota and max_wus_in_progress) is max'd with the # of CUDA GPUs. sched/ sched_array.cpp sched_config.cpp,h sched_locality.cpp sched_send.cpp,h server_types.h Charlie 21 Oct 2008 - MGR: More thorough validity checking to prevent crashes. clientgui/ ViewProjects.cpp ViewTransfers.cpp ViewWork.cpp Charlie 21 Oct 2008 - Mac branding: fix branding problem with GridRepublic installer. mac_installer/ make_GridRepublic.sh PostInstall.cpp David 21 Oct 2008 - admin web: add dbinfo.php (shows row counts and disk usage per table) html/ops/ dbinfo.php index.php Charlie 22 Oct 2008 - Mac SCR: reinitialize if startanimation() called after stopanimation(). - Mac SCR: detect when covered by application graphics under all versions of OS X and stop displaying the moving logo to reduce CPU usage. clientscr/ mac_saver_module.cpp Mac_Saver_ModuleView.m David 22 Oct 2008 - web: don't select orphaned profile as UOTD; delete profile when delete user. Fixes #761 html/inc/ uotd.inc boinc_db.inc David 22 Oct 2008 - client: restore support for max_ncpus preference. This and max_ncpus_pct can both be specified. If both are specified, we take the min. client/ cpu_sched.cpp html/ ops/ index.php project.sample/ project.inc lib/ prefs.cpp,h Rom 22 Oct 2008 - LIB: Fix the windows callstack dump routine for Visual Studio 2008 lib/ stackwalker_imports.h stackwalker_win.cpp Rom 22 Oct 2008 - WINSETUP: Don't allow parent permissions to be inhertied from the parent directory when we setup the data directories permissions. win_build/installerv2/redist/Windows/src/boinccas/ CASetPermissionBOINCData.cpp CASetPermissionBOINCDataProjects.cpp CASetPermissionBOINCDataSlots.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll Rom 22 Oct 2008 - WINSETUP: Include a fix for the ALLUSERS flag so that based on the user preference, the installation settings are honored (From Kevin Reed) win_build/installerv2/ BOINC.ism BOINCx64.ism Rom 23 Oct 2008 - MGR: Have the SkinManager parse the correct spelling of 'organization'. - MGR: Add a new tab status to the Simple GUI for when the client has been instructed to delay starting applications via the option in cc_config.xml (From Kevin Reed) clientgui/ sg_ImageButton.cpp, .h sg_ViewTabPage.cpp SkinManager.cpp Rom 23 Oct 2008 - WINSETUP: When the shortcut to BOINC Manager remove the minimize flag, it apparently was causing the small manager window. The '/s' parameter already takes care of minimizing the window. (From Kevin Reed) win_build/installerv2/ BOINC.ism BOINCx64.ism Rom 23 Oct 2008 - LIB: The max cpu preferences was named 'max_cpus' and not 'max_ncpus' back in the day. lib/ prefs.cpp Rom 23 Oct 2008 - client: the max percent needs to be based on the max cpu preference not the total number of CPUs if we are actually calculating the min of both of them. client/ cpu_sched.cpp Rom 23 Oct 2008 - Tag for 6.3.16 release, all platforms boinc_core_release_6_3_16 / configure.ac version.h David 23 Oct 2008 - client: fix prefs parsing lib/ prefs.cpp Rom 23 Oct 2008 - Tag for 6.3.17 release, all platforms boinc_core_release_6_3_17 / configure.ac version.h David 23 Oct 2008 - client: --help: show all options, and alphabetize them client/ cs_cmdline.cpp Charlie 24 Oct 2008 - MGR: Fix typo in BOINCListCtrl.cpp: remove extra semicolon. - MGR: Sort compare functions return false if values are equal (to fix asserts in stable_sort). clientgui/ BOINCListCtrl.cpp ViewProjects.cpp ViewTransfers.cpp David 25 Oct 2008 - client: ignore max_cpus if max_ncpus_pct is nonzero client/ cpu_sched.cpp Rom 27 Oct 2008 - Tag for 6.3.18 release, all platforms boinc_core_release_6_3_18 / configure.ac version.h David 27 Oct 2008 - client: for CPU throttling, don't suspend apps that are non-CPU-intensive or that use < 1 CPU (e.g., CUDA) - client: get rid of spurious "internal error, expected process to be executing" msg - diag: don't check heap on every alloc - fix a few compile warnings client/ app_control.cpp cpu_sched.cpp cs_prefs.cpp main.cpp time_stats.cpp work_fetch.cpp clientgui/ BOINCBaseView.cpp David 27 Oct 2008 - scheduler: notify user if we're not sending work because we don't have any (matchmaker only). - back end programs: for programs that do enumerations, check for error returns and exit (otherwise we'll get stuck forever if DB fails) NOTE: In the course of researching this I came across a bug in the transitioner: if there's a WU with more than 1000 results, the enumeration will always return ERR_DB_NOT_FOUND, and the transitioner won't ever do anything again. Fixing this is a little tricky, so I'm not going to do it right now. sched/ file_deleter.cpp request_file_list.cpp sched_send.cpp server_types.h transitioner.cpp trickle_handler.cpp update_stats.cpp David 27 Oct 2008 - client: fix crash when sched_op_debug is enabled client/ cs_scheduler.cpp Charlie 27 Oct 2008 - MGR: If simple_gui_only flag is set in cc_config.xml, trigger call of CSimpleFrame::OnConnect(). clientgui/ AdvancedFrame.cpp David 27 Oct 2008 - client: accept --insecure flag even if not compiled with -DSANDBOX - manager: pass --insecure flab only if compiled with -DSANDBOX (from Nicolas; fixes #762) client/ cs_cmdlines.cpp clientgui/ BOINCClientManager.cpp Rom 28 Oct 2008 - SCR: Fix the screensaver logo. clientscr/ boinc_ss.rc David 28 Oct 2008 - web: make the ordering of profiles in "browse profiles with pictures" deterministic html/ops/ update_profile_pages.php Rom 28 Oct 2008 - Tag for 6.3.19 release, all platforms boinc_core_release_6_3_19 / configure.ac version.h Charlie 28 Oct 2008 - MGR: When removing a row in Projects, Tasks and Transfers tabs, refresh all rows. Fixes a bug where display was not always properly updated. clientgui/ BOINCBaseView.cpp David 28 Oct 2008 - client: move round-robin simulation to its own file - web: check for profile existence before trying to show it - file deleter: add some debugging msgs client/ rr_sim.cpp,h (new) Makefile.am client_state.h client_types.h cpu_sched.cpp html/ inc/ profile.inc user/ view_profile.php sched/ file_deleter.cpp Charlie 29 Oct 2008 - MGR: Fix bug introduced yesterday. - MGR: Always sort after a row is added or deleted. - Mac: Add new files rr_sim.cpp,.h to XCode project. clientgui/ BOINCBaseView.cpp,.h mac_build/ boinc.xcodeproj/ project.pbxproj Charlie 29 Oct 2008 - Tag for 6.3.20 release, all platforms boinc_core_release_6_3_20 / configure.ac version.h David 29 Oct 2008 - client: /proc/N/stat has () around the command name. Remove these. lib/ procinfo_unix.cpp David 29 Oct 2008 - client: the preemptability order was wrong client/ cpu_sched.cpp David 29 Oct 2008 - client: cleaned up CPU scheduler logic somewhat client/ client_state.h cpu_sched.cpp sim.h Rom & Charlie 29 Oct 2008 - client: include precompiled header in rr_sim.cpp so memory leak detection will work. - MGR: Have the BaseFrame call a function to determine if the selection list should be saved instead of traversing the application pointer. Each view just overrides the function returning a true/false value. We don't have to worry about null pointers and the like. - MGR: BOINCGUIApp should never need to know how either the views work or the document. Move the code that determines which RPCs should be fired into each of the views. Have the document look for it there. - MGR: Reduce duplicate code for hiding and showing an application - MGR: Move some Windows and Mac specific code into functions and streamline the application startup and shutdown rountines. - MGR: Move the event processing that was in BOINCGUIApp into the BaseFrame. - MGR: General cleanup. - MGR: Doxygen comments. - MGR: Cleanup some warnings. client/ rr_sim.cpp clientgui/ AdvancedFrame.cpp, .h AsyncRPC.cpp, .h BOINCBaseFrame.cpp, .h BOINCBaseView.cpp, .h BOINCClientManager.cpp, .h BOINCGUIApp.cpp, .h BOINCTaskBar.cpp MainDocument.cpp, .h sg_BoincSimpleGUI.cpp, .h ViewProjects.cpp, .h ViewTransfers.cpp, .h ViewWork.cpp, .h WelcomePage.cpp win_build/installerv2/ BOINC.ism BOINCx64.ism win_build/ sim.vcproj Charlie 30 Oct 2008 - MGR: Fix show / hide on Mac broken by previous changes. clientgui/ BOINCBaseFrame.cpp, .h BOINCGUIApp.cpp David 30 Oct 2008 - web: change style sheet so tables are bordered only if class is "bordered" - web: fix error if translation string missing html/ inc/ util.inc translation.inc user/ language_select.php white.css Rom 30 Oct 2008 - Rebuild libcurl x86 and x64 (turn off async DNS) for Windows only. curl/ David 30 Oct 2008 - client: revise round-robin simulation to take variable avg_ncpus into account client/ rr_sim.cpp.h Charlie 31 Oct 2008 - Mac SCR: fix some real and potential crash bugs. clientscr/ mac_saver_module.cpp Mac_Saver_ModuleView.m,.h Rom 31 Oct 2008 - Tag for 6.3.21 release, all platforms boinc_core_release_6_3_21 / configure.ac version.h Rom 31 Oct 2008 - MGR: Move the wxWidget version information to the about box. printf and Unicode strings don't play well with one another. clientgui/ BOINCGUIApp.cpp DlgAbout.cpp Rom 31 Oct 2008 - MGR: Fix up the OnHelp features of the BOINC Manager so they all point to manager_links.php. clientgui/ DlgAdvPreferences.cpp sg_DlgMessages.cpp sg_DlgPreferences.cpp Charlie 31 Oct 2008 - client: fix compiler warning. client/ rr_sim.cpp Charlie 1 Nov 2008 - Mac SCR: eliminate unused argument, add comments. clientscr/ mac_saver_module.cpp Mac_Saver_Module.h Mac_Saver_ModuleView.m,h David 1 Nov 2008 - client: fix the updating of CPU time left in RR simulation; don't print msgs about non-CPU-intensive projects. client/ client_types.h rr_sim.cpp David 1 Nov 2008 - client, scheduler: there were a few places where we had 1e9 instead of 1 gig (2^20) client/ cs_prefs.cpp sched/ sched_send.cpp David 2 Nov 2008 - client: fix a long-standing error: if prefs say leave X GB free, and BOINC is using Y GB, and there are Z GB free, the limit on BOINC is Y + Z - X (not Z - X). client/ client_state.h cs_prefs.cpp gui_rpc_server_ops.cpp clientgui/ ViewResources.cpp lib/ filesys.cpp David 2 Nov 2008 - web: free result in count(). Fixes #763 html/inc/ db_conn.inc Charlie 3 Nov 2008 - client: fix compiler warning indicating real error in RR simulation. client/ rr_sim.cpp David 3 Nov 2008 - client: fix bug that caused occasional assert in pop_heap() for the preemptable_task_list. The problem was that the ordering predicate (more_preemptable()) could change on the fly, making the heap inconsistent. Instead, we create a vector, sort it by increasing preemptability, then pop off the end. client/ cpu_sched.cpp David 3 Nov 2008 - file_deleter: add -input_files_only and -output_files_only options. If you store input and output files on different servers, you can run 2 file_deleters, each one on the same machine as the files it's going to be deleting. - file_deleter: add -help option and usage() client/ cpu_sched.cpp sched/ file_deleter.cpp Rom 3 Nov 2008 - MGR: Use Sleep instead of Yield for the async thread loop. On Posix systems all Yield translates to is sched_yield but only if HAVE_SCHED_YIELD is defined in the wxWidget config file. If it isn't defined it becomes a null op. The async thread doesn't really need millisecond response times. Have it check every 100 milliseconds for an RPC to process. clientgui/ AsyncRPC.cpp David 3 Nov 2008 - web: smooth things out a bit for confused users: - add a "forgot email address?" link - change text to say that the authenticator method can be used in case of forgotten email OR forgotten password - if bad password on login, show them the login form again (with email field populated) instead of a harsh failure message - if bad email on login, show login form again instead of harsh message - update authenticator method instructions with new BOINC data directory paths html/ inc/ util.inc user/ get_passwd.php login_action.php David 3 Nov 2008 - client: preemptability ordering was messed up client/ cpu_sched.cpp Charlie 3 Nov 2008 - MGR: Reverse earlier change in RPC thread logic: restore Yield() because Sleep(100) caused undesirable latency. Pause the thread immediately on receipt of wxEVT_RPC_FINISHED event. Reduce RPC thread CPU usage while not connected to a client. clientgui/ AsyncRPC.cpp Rom 4 Nov 2008 - MGR: Create an Exit dialog for the Manager. - MGR: Allow the manager to shutdown the CC even when it was installed as a daemon. - MGR: Code cleanup. clientgui/ AdvancedFrame.cpp, .h BOINCBaseFrame.cpp BOINCClientManager.cpp BOINCGUIApp.cpp, .h DlgExitMessage.cpp, .h (Added) SkinManager.cpp win_build/ boincmgr_curl.vcproj Rom 4 Nov 2008 - MGR: Provide a way to enable/disable launching from the BOINC Manager at startup from within the BOINC Manager itself. - MGR: Add a command line argument which specifies that the Manager was launched by the OS. - SCR: Remove the code that checks for the BOINC Manager shortcuts. clientgui/ AdvancedFrame.cpp BOINCGUIApp.cpp, .h DlgOptions.cpp, .h boinc_ss.h boinc_ss.rc screensaver_win.cpp, .h Charlie 4 Nov 2008 - MGR: Fix Simple_GUI help button URL. - Mac: Add new source files DlgExitMessage.cpp,.h to XCode project. - MGR: On non-Mac and Non-Windows systems, have RPC thread call nanosleep() for 1 nanosecond instead of wxThread::Yield(), because some Linux systems may not support POSIX sched_yield(), in which case wxThread::Yield() returns immediately. - MGR: RPC thread: wait for connection with 1 ms delays initially, pause RPC thread after creation on non-Windows systems. clientgui/ AsyncRPC.cpp MainDocument.cpp sg_ProjectsComponent.cpp mac_build/ boinc.xcodeproj/ project.pbxproj Rom 4 Nov 2008 - MGR: Text cleanup clientgui DlgExitMessage.cpp DlgGenericMessage.cpp Rom 4 Nov 2008 - MGR: Bug fixes for the new Exit dialog. clientgui/ BOINCBaseFrame.cpp BOINCClientManager.h BOINCGUIApp.cpp, .h BOINCTaskBar.cpp screensaver_win.cpp Rom 4 Nov 2008 - MGR: Don't display the 'Run BOINC at startup checkbox' for any platform other than Windows. It has no effect on Mac since the Mac doesn't automatically start BOINC Manager with any command line arguments. clientgui/ DlgOptions.cpp Rom 4 Nov 2008 - MGR: Add DlgExitMessage.cpp to Makefile.am. clientgui/ Makefile.am David 4 Nov 2008 - fix makefile typo - fix scheduler error (can't end with \n) clientgui/ Makefile.am sched/ handle_request.cpp Rom 4 Nov 2008 - MGR: Give the option to shutdown the CC even if the manager didn't launch it. This only applies to when the manager and client are on the same machine. clientgui/ BOINCGUIApp.cpp Rom 4 Nov 2008 - MGR: properly save the 'DisplayShutdownClientDialog' setting. clientgui/ BOINCGUIApp.cpp Charlie 4 Nov 2008 - MGR: Async RPCs: RPC thread is now a joinable thread which does one RPC and exits. Main thread creates a new RPC thread for each RPC request after waiting for any previous RPC thread to exit. This simplifies the logic, eliminates Yield(), Sleep() and nanosleep() calls from RPC thread and will hopefully eliminate exess CPU usage on Fedora. clientgui/ AsyncRPC.cpp MainDocument.cpp, .h Charlie 5 Nov 2008 - MGR: Async RPCs: fix memory leaks, KillRPCThread() tries to end thread gracefully before killing it. - MGR: On Mac only, remove checkbox asking whether to shutdown CC. - MGR: Fix crash bug on non_Windows systems in Options dialog. clientgui/ AdvancedFrame.cpp AsyncRPC.cpp BOINCGUIApp.cpp, .h DlgExitMessage.cpp Rom 5 Nov 2008 - MGR: Tweak the shutdown logic so that it can still shutdown the BOINC service even though it didn't start it. - MGR: It BOINC Manager starts the BOINC deamon on the mac don't bother trying to shut it down. (reverting to previous behaviour) clientgui/ BOINCBaseFrame.cpp BOINCClientManager.cpp, .h BOINCTaskBar.cpp Rom 5 Nov 2008 - MGR: revise exit dialog text, use the names in the skin file. clientgui/ DlgExitMessage.cpp Rom 5 Nov 2008 - MGR: Revise text one more time. From: Kevin Reed clientgui/ BOINCGUIApp.cpp DlgExitMessage.cpp David 5 Nov 2008 - client: make host CPID a function of: MAC addresses + hostname + IP addr This means that a given host will generally always get the same CPID. Helpful e.g. on grids where the client gets installed repeatedly. From Artyom Sharov. client/ hostinfo_network.cpp lib/ hostinfo.cpp mac_address.cpp,h win_build/ boinc_cli_curl.vcproj libboinc.vcproj David 5 Nov 2008 - client: add OS name into the hash for host CPID (for multi-OS hosts) - scheduler: use sqrt(x) instead of x in spot-checking for single redundancy. client/ hostinfo_network.cpp lib/ Makefile.am sched/ sched_send.cpp Rom 5 Nov 2008 - MGR: Only tweak the BOINC was started by us variable on Windows. clientgui/ BOINCBaseFrame.cpp BOINCTaskBar.cpp Charlie 5 Nov 2008 - Mac: Add new source files mac_address.cpp,.h to XCode project. - MGR: Fix compiler warnings on non-Windows builds. - MGR: Filter wxEVT_TASKBAR_MOVE events only on Windows. clientgui/ BOINCBaseFrame.cpp BOINCGUIApp.cpp BOINCTaskBar.cpp mac_build/ boinc.xcodeproj/ project.pbxproj David 6 Nov - API: remove debugging printf from trickle down code - API: use non-verbose option to zip - scheduler: if multiple_client_per_host is set, don't mark results as over if get repeat CPID api/ boinc_api.C sched/ sched_send.cpp handle_request.cpp zip/ boinc_zip.cpp Charlie 7 Nov 2008 - MGR: On Mac, restore using original exit dialog text from skin file or use old default if none in skin file. clientgui/ SkinManager.cpp David 7 Nov 2008 - MGR: fix verbose text clientgui/ DlgExitMessage.cpp David 7 Nov 2008 - accelerate dup_element_contents() - manager: truncate task progress bar (display) at 100% clientgui/ ViewWork.cpp lib/ parse.cpp Rom 10 Nov 2008 - MGR: Move the old exit message from the SkinManager file to the new Exit dialog. - MGR: Consolidate the new exit message to one line. Sun Studio doesn't concat the seperate strings together during compilation like the other compilers to when building for Unicode. clientgui/ SkinManager.cpp DlgExitMessage.cpp Rom 10 Nov 2008 - MGR: Provide a way to re-enable the Exit Dialog. clientgui/ AdvancedFrame.cpp BOINCGUIApp.h DlgOptions.cpp, .h Rom 10 Nov 2008 - Tag for 6.3.22 release, all platforms boinc_core_release_6_3_22 / configure.ac version.h Charlie 10 Nov 2008 (checked into boinc_core_release_6_3_22 tag) - MGR: Fix build break on non_Windows systems. - MGR: Provide a way to re-enable the Exit Dialog on non-Windows systems, too. - MGR: Remove Exit() from RPC thread to possibly fix occasional crash on Windows; KillRPCThread() tries to end thread gracefully on Windows before killing it. clientgui/ AdvancedFrame.cpp AsyncRPC.cpp DlgExitMessage.cpp DlgOptions.cpp David 11 Nov 2008 - client: don't fclose() time_stats_log if it's NULL Fixes #772 client/ time_stats.cpp lib/ parse.cpp David 11 Nov 2008 - API: free project prefs before parsing init file api/ boinc_api.cpp David 11 Nov 2008 - web: don't show misleading message if forum rating disabled fixes #768; from Nicolas html/user/ forum_report_post.php David 11 Nov 2008 - upgrade: run "upgrade_db.php" correctly when "." not in search path Fixes #769; from Nicolas tools/ upgrade David 11 Nov 2008 - example_app: don't build the graphics app by default. Fixes #771 samples/example_app/ Makefile Charlie 12 Nov 2008 - MGR: Erase and refresh entire Tasks panel when selecting a new tab to try to fix cosmetic bug reported by David on Windows. clientgui/ AdvancedFrame.cpp BOINCBaseView.cpp, .h David 12 Nov 2008 - web: fix team join bug ?? Why does omitting the "$" from a PHP variable cause PHP to emit a blank page? How about an error memssage? html/user/ team_join_action.php Rom 13 Nov 2008 - SVCCTRL: Introduce a new binary that is used to start and stop the BOINC service, if it is installed as a service. NOTE: If UAC is turned on in Windows Vista then even an administrator cannot start/stop a service without elevating their priviliages. The new application includes the requiresAdmin tag in its manifest file to cause the UAC dialog to be displayed when it is launched. clientctrl/ boincsvcctrl.cpp, .h boincsvcctrl.rc boincsvcctrl.xml win_build/ boinc.sln boincsvcctrl.vcproj Rom 10 Nov 2008 - Tag for 6.3.23 release, all platforms boinc_core_release_6_3_23 / configure.ac version.h David 14 Nov 2008 - client (Unix): if app uses < 1 CPU, run at nice 10 (not 0) - client: suppress specious error message client/ app_start.cpp rr_sim.cpp lib/ util.h Charlie 15 Nov 08 - MGR: Async RPCs: RPC thread is again a detached thread which stays running until Manager exits. Use wxCondition to block RPC thread when it is idle. This still avoids any Yield(), Sleep() and calls from RPC thread and reduces CPU usage from creating a new RPC thread for each RPC operation. clientgui/ AsyncRPC.cpp, .h MainDocument.cpp, .h Rom 17 Nov 2008 - CLI: Fix a build break when creating new stable branches. client/ client_state.cpp Rom 10 Nov 2008 boinc_core_release_6_5_0 / configure.ac version.h Charlie 18 Nov 08 - MGR: Async RPCs: Eliminate nanosleep() call while waiting for Demand RPC to finish; use wxCondition with timeout to block main thread instead. - MGR: set m_pTaskBarIcon and m_pMacSystemMenu to NULL when deleted. clientgui/ AsyncRPC.cpp, .h BOINCBaseFrame.cpp BOINCGUIApp.cpp, .h MainDocument.cpp, .h mac/ MacSysMenu.cpp David 18 Nov 2008 - client: if bind fails, print port# - web: don't randomize order of profiles (fixes checkin of 28 Oct) client/ gui_rpc_server.cpp html/ops/ update_profile_pages.php David 18 Nov 2008 - back-end programs: set MySQL option to reconnect to server if the connection goes away (which it apparently does if idle for a while) db/ db_base.cpp David 19 Nov 2008 - client: use BELOW_NORMAL_PRIORITY_CLASS instead of 0; remove specious message client/ cpu_sched.cpp app_start.cpp David 20 Nov 2008 - manager: tweak strings in Options dialog clientgui/ DlgOptions.cpp Eric K 24 Nov 2008 - manager: Fixed missing "#if defined(__WXMSW__) || defined(__WXMAC__)" around CBOINCGUIApp::DeleteTaskBarIcon() clientgui/ BOINCGUIApp.cpp David 24 Nov 2008 - client: in round-robin simulation, only increment CPU shortfall (per-project or overall) if there are no pending tasks. This is needed when there are coproc (i.e. CUDA) jobs; CPUs may be idle because pending jobs are waiting for active jobs to release coprocs. In this situation the CPU idleness should not be counted as shortfall; otherwise (if there are only coproc jobs) there will always be a shortfall, and the client will fetch infinite work. client/ rr_sim.cpp,h David 24 Nov 2008 - web: rename Bossa functions to avoid name conflict - web: bug fix in example core for app selection html/ ops/ bossa_admin.php project.sample/ project_specific_prefs.php test/ shrm Rom 24 Nov 2008 - DIAG: On Windows move the symbol store directory under the BOINC data directory structure. Depending on the version of Windows, sometimes the temp directory was being set to the system temp directory which is not setup for everyone to use. It is just best to use out data directory structure. lib/ stackwalker_win.cpp David 24 Nov 2008 - GUI RPC: add optional terms_of_use field to project config. If present, the manager will display this text in a yes/no dialog before attachment continues. lib/ gui_rpc_client.h gui_rpc_client_ops.cpp David 24 Nov 2008 - client: if an exclusive app is running, suspend network as well as processing client/ cs_prefs.cpp David 24 Nov 2008 - upgrade script: don't stop/start project if --web_only tools/ upgrade David 24 Nov 2008 - web: fix remaining Bossa name conflicts html/ops/ bossa_admin.php Rom 25 Nov 2008 - MGR: Make the error message processing work for the get_project_config rpc, use the same scheme as the ACCOUNT_OUT structure. clientgui/ ProjectProcessingPage.cpp ProjectPropertiesPage.cpp, .h lib/ gui_rpc_client.h gui_rpc_client_ops.cpp Rom 25 Nov 2008 - MGR: Make the error message processing work for the get_project_config rpc, use the same scheme as the ACCOUNT_OUT structure. I missed the Account Manager scenario in the first checkin. clientgui/ AccountManagerPropertiesPage.cpp, .h David 25 Nov 2008 - client, Win: 32-bit client running on a 64-bit machine should report winx64 as primary platform client/ cs_platforms.cpp Rom 25 Nov 2008 - MGR: Remove the Account Key page from the Wizard. - MGR: Add a Terms of Use page to the Wizard. clientgui/ AccountInfoPage.cpp AccountKeyPage.cpp, .h (removed) AccountManagerPropertiesPage.cpp, .h BOINCWizards.h ProjectProcessingPage.cpp ProjectPropertiesPage.cpp, .h ProxyPage.cpp TermsOfUsePage .cpp, .h (added) WizardAccountManager.cpp, .h WizardAttachProject.cpp, .h win_build/ boincmgr_curl.vcproj Rom 25 Nov 2008 - MGR: Make the Terms of Use text control read-only clientgui/ TermsOfUsePage.cpp, David 25 Nov 2008 - server: if "terms_of_use.txt" exists in project dir, send it in get_project_config.php; 6.4 clients will display a dialog to accept terms of use during attach. html/user/ get_project_config.php Charlie 26 Nov 2008 - Mac: Add new source files TermsOfUsePage.cpp,.h to XCode project. - client: Fix erroneous #else introduced in changeset 14415 which caused Mac client to call daemon() if it was passed -daemon argument. This caused problems when using launchd to launch the client as a daemon with the keepAlive option set. Fixes #782. client/ main.cpp mac_build/ boinc.xcodeproj/ project.pbxproj David 26 Nov 2008 - server: add -sleep_interval args to file_deleter and transitioner (from Nicolas; fixes #783) client/ cs_scheduler.cpp sched/ file_deleter.cpp transitioner.cpp David 26 Nov 2008 - server: sleep intervals are integers sched/ file_deleter.cpp sched_send.cpp transitioner.cpp David 26 Nov 2008 - scheduler: fix memory leak when reporting time stats logs - scheduler: fix egregious bug where wu_is_infeasible_fast() result is ignored, and we send jobs to hosts that can't handle them. - scheduler: don't check for disk space in work_needed(); do it in check_disk(), which generates a message to user. - scheduler: add -debug_log flag, which sends stderr to "debug_log" rather than scheduler_log.txt (for debugging) sched/ handle_request.cpp main.cpp sched_array.cpp sched_send.cpp sched_shmem.cpp server_types.cpp time_stats_log.cpp David 26 Nov 2008 - web: fix scripting attack vulnerability html/user/ login_action.php Rom 27 Nov 2008 - MGR: fix exit dialog so that both the Mac and Linux clients don't display the 'close core client...' checkbox. clientgui/ BOINCGUIApp.cpp DlgExitMessage.cpp Charlie 28 Nov 2008 - MGR: Erase and refresh entire Tasks panel when changing selections to try to fix another instance of cosmetic bug reported by David on Windows. clientgui/ BOINCBaseView.cpp David 28 Nov 2008 - get_project_config.php: if config.xml has min client version, get client version from HTTP user agent string and enforce. - update translations script: fix apparent typos html/ inc/ translation.inc ops/ update_translations.php user/ get_project_config.php Charlie 1 Dec 2008 - MGR: In Messages tab, work around Mac wxWidgets bug: virtual list control does not post deselection events; I had previously done this for the Projects, Tasks and Transfers tabs. - MGR: Update Tasks panel only when necessary to try again to fix latest instance of cosmetic bug reported by David on Windows. clientgui/ ViewMessages.cpp ViewProjects.cpp ViewTransfers.cpp ViewWork.cpp David 1 Dec 2008 - client: work-fetch tweak: don't increment overall CPU shortfall if any jobs pending in simulation client/ rr_sim.cpp Charlie 1 Dec 2008 - MGR: Earlier attempts at fixing Task Pane background erase glitch were unsuccessful, and Rom told me this bug has been around for a very long time. So remove the unsuccessful changes and add new window style wxFULL_REPAINT_ON_RESIZE to Task Pane as recommended by wxWidgets documentation. - MGR: Remove m_bForceUpdateSelection logic; instead remove call to UpdateSelection() from the only place the force flag was not set, in CBOINCBaseView::OnListRender(). clientgui/ AdvancedFrame.cpp BOINCBaseView.cpp,.h sg_DlgMessages.h ViewProjects.cpp ViewTransfers.cpp ViewWork.cpp David 1 Dec 2008 - client: use FLOPs, rather than CPU time, as the basis for estimating job completion times. This should improve estimates for GPU apps, and prevent the DCF from getting messed up. client/ app.h client_types.h,cpp cpu_sched.cpp cs_scheduler.cpp rr_sim.cpp work_fetch.cpp David 2 Dec 2008 - client: estimate time to completion based on elapsed time, not CPU time (improves estimates for coproc apps) client/ app.h,cpp app_control.cpp work_fetch.cpp David 2 Dec 2008 - client: compute duration_correction_factor based on elapsed time, not CPU time (otherwise it doesn't work for coproc or multi-proc apps) - client: in estimate of job completion time, weight the estimate based on fraction done more heavily (quadratic rather than linear) client/ client_types.h cpu_sched.cpp cs_apps.cpp work_fetch.cpp David 3 Dec 2008 - manager: in task properties, display elapsed time if available, and replace "estimated CPU time remaining" with "estimated time remaining" clientgui/ DltItemProperties.cpp lib/ gui_rpc_client.h gui_rpc_client_ops.cpp David 3 Dec 2008 - Remove the notion of "CPU efficiency" from both client and server. This wasn't being measured correctly for coproc/multithread apps, and its effect is now subsumed in DCF. client/ app.h,cpp app_start.cpp client_types.h cpu_sched.cpp cs_apps.cpp sim_util.cpp time_stats.h,cpp work_fetch.cpp db/ boinc_db.h sched/ handle_request.cpp sched_send.cpp server_types.cpp David 3 Dec 2008 - client: fix calculation of CPU shortfall; don't fetch work from projects with zero CPU shortfall client/ rr_sim.cpp work_fetch.cpp Charlie 3 Dec 2008 - client: fix compiler warning. client/ rr_sim.cpp David 3 Dec 2008 - client: parse checkpoint_elapsed_time from state file; if missing, use checkpoint CPU time. - client: enforce CPU schedule: if we're running a coproc job, keep CPU utilization strictly less than NCPUS. client/ app.cpp cpu_sched.cpp Charlie 4 Dec 2008 - MGR: Restore m_bForceUpdateSelection logic because it is needed to set text in Suspend/Resume button and prevent flicker. - MGR: Set wxWidgets option "msw.staticbox.optimized-paint" to 0 in another try to fix Task Pane background erase glitch on Windows. clientgui/ BOINCBaseView.cpp,.h BOINCGUIApp.cpp ViewProjects.cpp David 4 Dec 2008 - client: fix last checkin client/ cpu_sched.cpp Charlie 4 Dec 2008 - MGR: the last changes seemed to help the Task Pane background erase glitch on Windows but introduced a new problem, so restore code which erases and refreshes entire Tasks panel when changing tabs. clientgui/ AdvancedFrame.cpp BOINCBaseView.cpp, .h Rom 5 Dec 2008 - WININSTALL: Disable "Protected Application Execution" mode by default. - WININSTALL: Turn off the check for Internet Explorer 5.x win_build/installerv2/ BOINC.ism BOINCx64.ism win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc CACreateBOINCAccounts.cpp CACreateBOINCGroups.cpp CACreateClientAuthFile.cpp CARestoreSetupState.cpp CASaveSetupState.cpp win_build/installerv2/redist/Windows/Win32/ boinccas.dll boinccas95.dll win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll David 5 Dec 2008 - client: app_info.xml's are parsed before p_fpops is known, so avp->fpops is zero. Fix this by filling in zero avp->fpops later on. client/ client_state.cpp cs_scheduler.cpp David 7 Dec 2008 - client: tweak CPU scheduling policy. When there's a coproc job: Windows: don't saturate CPUs Unix: saturate CPUs client/ cpu_sched.cpp David 7 Dec 2008 - manager: clamp percentages at [0,100] in prefs dialog fixes #794 - wrapper: if app checkpoints, write CPU time to checkpoint file fixes #792 (I hope) clientgui/ DlgAdvPreferences.cpp samples/wrapper/ wrapper.cpp David 8 Dec 2008 - client: in round-robin simulation, remove code that sets CPU shortfall for projects with no active results. This is now wrong because there coproc apps might have pending results. Also remove nidle_cpus > 0 conditional that increments CPU shortfall; I think this is vestigial code. client/ rr_sim.cpp David 8 Dec 2008 - client: include deviceOverlap and multiProcessorCount in XML for CUDA devices. They were mistakenly omitted. lib/ coproc.cpp David 8 Dec 2008 - scheduler: estimate CUDA device speed based on clock rate an #MP - web: close table in WU page - web: fix PHP error in translation script html/ inc/ translation.inc user/ workunit.php David 8 Dec 2008 - client: in round-robin simulation, don't count a project in total resource share if it has coproc jobs and no CPU jobs. client/ rr_sim.cpp,h Charlie 9 Dec 2008 Mac SG: Remove ugly hack added 8/20/07 for unknown alignment problem on Mac which caused bottom of slide show to be cut off. The original problem no longer exists and the hack now caused the top to be cut off. Mac SG: Fix long-standing cosmetic problem on Mac where project names in tabs were drawn several pixels too low. clientgui/ sg_ViewTabPage.cpp common/ wxFlatNotebook.cpp Rom 9 Dec 2008 - MGR: fix the terms of use wizard page. clientgui/ TermsOfUsePage.cpp David 9 Dec 2008 - client: fix calculation of a job's FLOPS rate in round-robin simulation client/ client_state.h client_types.h rr_sim.cpp,h sim.h David 9 Dec 2008 - client: allow CPU saturation even if GPU running, all platforms (once GPUgrid.net fixes it app, this isn't needed anymore) client/ cpu_sched.cpp David 9 Dec 2008 - web: send only 1 email on team founder transfer request - web: if no transfer request is pending, say so html/ inc/ pm.inc user/ pm.php team_founder_transfer_action.php team_founder_transfer_form.php David 9 Dec 2008 - scheduler: in sample code for CUDA, require 256MB RAM sched/ sched_plan.cpp David 11 Dec 2008 - client, CUDA detection: 1) report all devices found 2) use the specs of the fastest one client/ client_state.cpp lib/ coproc.cpp,h Charlie 11 Dec 2008 - MGR: in Attach to Account manager Wizard Completion page, word-wrap the CompletionBrandedMessage static text item so it won't run off the edge of the dialog for GridRepublic on the Mac. clientgui/ CompletionPage.cpp David 12 Dec 2008 - scheduler: add option; use this temporarily when you've fixed FLOPS estimate sched/ sched_config.cpp,h sched_send.cpp Rom 12 Dec 2008 - WINSETUP: Make sure we don't try and do anything with the SeDenyRemoteInteractiveLogonRight user right on Windows 2000 or older. Fixes #789 win_build/installerv2/redist/Windows/src/boinccas/ boinccas.rc CAGrantBOINCAdminsRights.cpp CAGrantBOINCMasterRights.cpp CAGrantBOINCProjectRights.cpp CAGrantBOINCProjectsRights.cpp CAGrantBOINCUsersRights.cpp David 14 Dec 2008 - web: replace the vaguely-named process_user_text() with BoincDb::escape_string() - web: have BoincDb::escape_string() also do a trim() html/ inc/ boinc_db.inc db.inc user.inc util.inc user/ account_finish_action.php am_set_host_info.php am_set_info.php edit_email_action.php edit_user_info_action.php forum_moderate_thread_action.php friend.php pending.php team_edit_action.php David 14 Dec 2008 - web: fix link text fixes #796 html/user/ info.php David 15 Dec 2008 - scheduler: estimate job durations based on the FLOPS estimate for the selected APP_VERSION, rather than on the CPU benchmarks. Otherwise estimates are wrong for GPU or multi-thread apps. - scheduler: start switching from having SCHED_REQUEST and SCHED_REPLY as globals instead of passing them around as args; to be continued. sched/ handle_request.cpp sched_array.cpp sched_locality.cpp sched_resend.cpp sched_send.cpp,h server_types.cpp,h David 15 Dec 2008 - scheduler: add --help option sched/ main.cpp David 15 Dec 2008 - scheduler: fix typo; enforce 256MB CUDA memory limit sched/ sched_plan.cpp David 15 Dec 2008 - client: add config option client/ client_state.cpp log_flags.cpp,h David 16 Dec 2008 - web: fix bug that caused login to fail - sched: more global vars html/user/ login_action.php sched/ handle_request.cpp sched_*.cpp David 16 Dec 2008 - web: final purge of process_user_text() html/ops/ login_action.php manage_user.php team_import.php David 16 Dec 2008 - scheduler: if client has coprocs, put a textual summary of them in host.serialnum (currently unused) - web: show coprocs on host detail page - db_dump: include coproc info in host XML db/ boinc_db.h html/inc/ hostl.inc lib/ coproc.cpp,h sched/ db_dump.cpp handle_request.cpp server_types.cpp David 16 Dec 2008 - web: remove unused code html/inc text_transform.inc David 16 Dec 2008 - web: added ops/autolock.php script; locks threads not modified in last 60 days html/ inc/ db_conn.inc ops/ autolock.php David 16 Dec 2008 - API: add "normal_thread_priority" to BOINC_OPTIONS. If set, the worker thread runs at normal priority on Win. May be useful for CUDA apps. api/ boinc_api.cpp,h Charlie 17 Dec 2008 - MGR: Reset messages whether client is restarted by manager or elsewhere to guarantee they are refreshed. - MGR: Always scroll Messages displays to last message if connection status changes. - MGR: If user requests localhost in Select Computer dialog, relaunch client if it is not running. This allows a user to restart the Client by selecting "Shut down connected client" and then selecting localhost. clientgui/ MainDocument.cpp ViewMessages.cpp sg_DlgMessages.cpp Rom 17 Dec 2008 LIB: Update to libcurl 7.19.2 curl/ David 17 Dec 2008 - scheduler: add some debugging msgs sched/ sched_plan.cpp sched_send.cpp server_types.cpp Rom 17 Dec 2008 - Tag for 6.5.0 release, all platforms boinc_core_release_6_5_0 / configure.ac version.h Charlie 17 Dec 2008 - Mac client: update build scripts, XCode project for curl-7.19.2 and c-ares 1.6.0. (Checked into boinc_core_release_6_5_0 tag.) mac_build/ HowToBuildBOINC_XCode.rtf buildcurl.sh buildc-ares.sh setupForBOINC.sh boinc.xcodeproj/ project.pbxproj David 17 Dec 2008 - feeder: include all app versions that have maximal version num within their plan class sched/ sched_shmem.cpp David 18 Dec 2008 - scheduler: in estimating job duration, clamp running fraction to [.1, 1] and clamp DCF to [.1, 100] sched/ sched_send.cpp server_types.h David 18 Dec 2008 - web/scheduler: add a project-specific preferences for whether to accept GPU jobs html/project.sample/ project_specific_prefs.inc sched/ sched_plan.cpp sched_send.cpp server_types.h Charlie 17 Dec 2008 - Mac: Fix compiler warning. mac_build/ HowToBuildBOINC_XCode.rtf boinc.xcodeproj/ project.pbxproj David 19 Dec 2008 - API: remove BOINC_OPTIONS::worker_thread_stack_size - web: check whether to show profile in separate function from displaying profile; eliminate double headers - scheduler: finish purge of redundant arguments api/ boinc_api.h grephics_impl.cpp html/ inc/ profile.inc user/ view_profile.php sched/ (many files) David 19 Dec 2008 - client: error checking for on/connected/active_frac values from XML client/ time_stats.cpp sched/ sched_plan.cpp server_types.cpp David 19 Dec 2008 - scheduler: fix message that showed running_frac as garbage; show FLOPS as GFLOPS sched/ sched_plan.cpp sched_send.cpp David 21 Dec 2008 - scheduler: if no jobs available to send, inform the user html/ops/ job_times.php sched/ sched_array.cpp sched_send.cpp David 21 Dec 2008 - scheduler: if no jobs available to send, inform the user sched/ sched_send.cpp handle_request.cpp David 22 Dec 2008 - scheduler: change default CUDA RAM requirement from 256MB to 254MB; apparently some NVIDIA cards report 255MB sched/ sched_plan.cpp David 22 Dec 2008 - scheduler: store CUDA total memory as a double, since it can be 4GB or larger client/ time_stats.cpp lib/ coproc.cpp,h sched/ sched_plan.cpp David 22 Dec 2008 - XML_PARSER: in parse_int(), set errno to zero before calling strtol(). lib/ parse.cpp David 22 Dec 2008 - scheduler: use the right value for CUDA RAM lib/ coproc.cpp Rom 23 Dec 2008 - WINSETUP: Use the installer from 6.4 going forward. Shows CUDA warning on Vista. win_build/installerv2/ BOINC.ism BOINCx64.ism David 24 Dec 2008 - client, Win: don't leak thread handlers fixes #808 client/ app_start.cpp David 26 Dec 2008 - scheduler: move EDF sim code into check_deadline(), so that the exceptional cases (e.g., send at least one job to a host with no work) apply whether using EDF or basic check - client: don't accept 0 for active/on/connected frac; set to 1 client/ time_stats.cpp sched/ sched_send.cpp David 26 Dec 2008 - autolock.php: add --ndays option; change default to 90 days - web: added support for KHTML and CSS 3 border radius (from Simek; fixes #803) html/ ops/ autolock.php user/ white.css David 26 Dec 2008 - client: work fetch: skip project if zero CPU shortfall and currently have coproc jobs. client/ work_fetch.cpp Janus 29 Dec 2008 - Various translation and cache related fixed in profile pages - Added ability to mildly force (via a non-editable field) a specific title on a forum post David 30 Dec 2008 - client: code shuffling - scheduler: fix typo in msg client/ cs_scheduler.cpp makefile_sim sim.h work_fetch.cpp sched/ sched_send.cpp Rom 30 Dec 2008 - Version Update 6.7.0 / configure.ac version.h David 31 Dec 2008 - client: first whack at new work-fetch logic. Very preliminary. client/ most files lib/ coproc.cpp,h sched/ sched_plan.cpp