Commit Graph

24318 Commits

Author SHA1 Message Date
David Anderson af5d5b35f2 scheduler: add stub code for debugging a particular user or host, for Rytis 2014-05-09 01:06:37 -07:00
David Anderson 3c64bbb837 scheduler: fix bug where first NCI job in shared mem never gets sent
In SCHED_SHMEM::no_work() we "lock" the job by setting its state to our PID.
When checking the job in send_job_for_app() we need to
accept this state was well as STATE_PRESENT.  From Jack Yang.
2014-05-09 00:18:20 -07:00
David Anderson cf5a7d3770 admin web: fix bug in login function 2014-05-08 16:37:22 -07:00
David Anderson 79906a8f1a Client: fix a few compile warnings 2014-05-08 15:38:30 -07:00
David Anderson e26ef45415 Manager: rename a struct member named "config" to avoid confusion 2014-05-08 15:33:25 -07:00
Eric J Korpela f0626cf5fc Added explanatory comment 2014-05-08 14:17:03 -07:00
Eric J Korpela 31d9b7527c Fixed somebody's typo. 2014-05-08 14:06:06 -07:00
Eric J Korpela 06c7ce97b9 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-05-08 13:47:42 -07:00
Eric J Korpela ebad3ff63f Fixes for Visual C++ problems caused by xcompile checkins. 2014-05-08 13:46:26 -07:00
Rom Walton 69855095d4 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-05-08 15:17:25 -04:00
Rom Walton 1d28b1296d WINBUILD: Make sure we reset the permissions on the data directory if we remove the service accounts. 2014-05-08 15:17:08 -04:00
Rom Walton 972b104db2 WINBUILD: When revoking user rights, make sure we are really revoking them. 2014-05-08 14:32:03 -04:00
Rom Walton ab02b21c02 WINBUILD: Make CreateBOINCAccounts work even when the BOINC Master property and BOINC Project property are already filled in.
Design change to make the uninstall stuff work.
2014-05-08 14:12:57 -04:00
Rom Walton 8654ac2826 WINBUILD: Do we need more permissions for the LSA database to remove groups from user rights assignment? 2014-05-08 13:55:49 -04:00
Charlie Fenton 75182726d1 MGR: Finish fixing redraw bug on Windows when Options dialog or Computing Preferences dialog is moved partly off screen and back on.
- Controls inside a wxStaticBox don't refresh properly on Windows unless they are a child of the wxStaticBox
2014-05-08 04:34:43 -07:00
David Anderson eebec1c63c Manager: compile fixes 2014-05-08 01:05:11 -07:00
David Anderson 1e2fcb4b68 client/lib: change CONFIG to CC_CONFIG, config to cc_config.
Eliminates ambiguity of "config" global var, which is used in server code.
This confuses IDEs that are looking at all the code at once.
2014-05-08 00:51:18 -07:00
David Anderson ac476a23b5 Web: send News notices containing images/video only to 7.3+ clients 2014-05-08 00:50:22 -07:00
Rom Walton 0d5f41a0c1 WINBUILD: Restore SETUP registry values before uninstall 2014-05-07 16:13:44 -04:00
Rom Walton 55e0d2c711 WINBUILD: Properly move the BOINC Master and BOINC Project account information back into the UI installer process. 2014-05-07 15:20:08 -04:00
Rom Walton d1b5abd0b4 WINBUILD: Persist the BOINC Master and BOINC Project usernames across installs/uninstalls. 2014-05-07 14:57:20 -04:00
Rom Walton 11aa732929 WINBUILD: Add new custom actions to the uninstall execution process 2014-05-07 12:55:44 -04:00
Rom Walton 544aa91e90 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-05-07 11:10:43 -04:00
Rom Walton 16c20abd7c WINBUILD: Add the revoke custom actions as well as the delete groups (boinc_admins, boinc_users, boinc_projects) and delete users (boinc_master, boinc_project) custom actions. 2014-05-07 11:10:22 -04:00
Rom Walton 068f5be698 WINBUILD: Remove references to boinccas95.dll, all custom actions now exist in boinccas.dll 2014-05-07 10:52:56 -04:00
Rom Walton abea3f9785 WINBUILD: Update custom actions for the Windows Installer 2014-05-07 10:33:35 -04:00
Charlie Fenton 07762c2b38 client: begin fixing redraw bug on Windows when Options dialog is moved partly off screen and back on.
- Controls inside a wxStaticBox don't refresh properly on Windows unless they are a child of the wxStaticBox
2014-05-07 04:57:23 -07:00
David Anderson 4a52c8708d CPU list: fix Totals row 2014-05-06 13:13:24 -07:00
David Anderson c25ce3177c file_deleter: delete gzipped versions of files also 2014-05-06 12:58:13 -07:00
Rom Walton fc3fe9d32b WINSETUP: Remove old migration (5.x->6.x) custom actions, they are not needed anymore. 2014-05-06 13:18:11 -04:00
Rom Walton 1bbc5e96e2 client & MGR: On Windows, handle expansion of environment variables in the registry value that stores DATADIR. 2014-05-06 11:28:47 -04:00
David Anderson 640d6dc16a web: show elapsed and CPU time has X hrs Y min Z sec on result page.
Not sure if we should adopt this everywhere
2014-05-06 00:58:18 -07:00
David Anderson 9ad491be30 CPU list: text tweak 2014-05-06 00:38:46 -07:00
David Anderson 84946df1f5 CPU list: typo 2014-05-06 00:32:06 -07:00
David Anderson d74d89c8e2 CPU list: show FLOPS per core as well as per host 2014-05-06 00:27:50 -07:00
David Anderson 604661bbff web: link to CPU list from stats page 2014-05-05 23:22:41 -07:00
David Anderson 4cc7b2d04e web: fixes to CPU list 2014-05-05 22:39:14 -07:00
David Anderson bd77c5c52c web: add CPU list page 2014-05-05 22:33:07 -07:00
Rom Walton b6510c3b40 MGR: Do not skip an HTML link clicked event that we are also trying to veto. 2014-05-06 00:06:24 -04:00
Rom Walton b8a7d0e9d3 MGR: Make the HTML page we inject notices into a valid HTML page 2014-05-06 00:02:35 -04:00
David Anderson cfffccac35 client: if acct mgr RPC gets HTTP error, don't create a notice
Such an error typically means the acct mgr server is down.
2014-05-05 12:13:32 -07:00
David Anderson 31fa76e7c9 web: express app version computing in GFLOPS, not credit 2014-05-05 01:13:47 -07:00
David Anderson 1d8a042465 web: show credit in app version list 2014-05-05 01:01:44 -07:00
David Anderson d877983771 client: let app_config.xml specify fraction_done_exact for apps 2014-05-04 10:39:29 -07:00
Charlie Fenton 978b41f4b4 Mac: add new source files coproc_sched.cpp, coproc_sched.h to Xcode project 2014-05-04 00:46:08 -07:00
David Anderson e5810f3061 client/server: change implementation of "exact fraction done".
My last commit did this using a new API call.
But this would require rebuilding apps any time you want to change it;
too much work.
So instead make it an attribute of apps,
which you can set via the admin web interface.

Corresponding changes to client.
2014-05-04 00:02:32 -07:00
Eric J Korpela f9be572a76 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-05-03 13:10:33 -07:00
Eric J Korpela 65bb211e00 More fixes for diagnostics cross compile. 2014-05-03 13:09:10 -07:00
David Anderson 77c4dd7b32 API/client: let apps say that fraction done is precise
Currently the duration estimate for a task is a combination of
- a static estimate, based on wu.rsc_fpops_est and the estimated FLOPS
- a dynamic estimate, based on fraction done (FD) and elapsed time
The weighting of the dynamic estimate is FD^2;
the assumption is that fraction done is imprecise and improves
toward the end of a task.

This isn't ideal for apps that can supply accurate FD.

Solution: add a new API function
boinc_fraction_done_exact().
This notifies the client that the FD is accurate,
and that it should use only the dynamic estimate.
(New clients will do this; old clients will use the FD as the currently do).
2014-05-02 23:11:34 -07:00
Eric J Korpela 73b0a65e0e Cross compile fixes for mingw32.
Libraries now compile on the RHEL 6 standard cross compiling environment.
2014-05-02 15:40:59 -07:00