Commit Graph

6766 Commits

Author SHA1 Message Date
David Anderson 4526c0bb3d - client, web: add preference for not using GPU while computer busy
svn path=/trunk/boinc/; revision=17235
2009-02-12 18:04:30 +00:00
David Anderson 57bf393544 - client: debt_eligible() was returning false if the backoff was max.
This can lead to a situation where a project never gets work.
    Remove that clause.

svn path=/trunk/boinc/; revision=17226
2009-02-12 16:28:28 +00:00
Charlie Fenton 5d66b22b3b SS: Continue refining screensaver coordinator logic
svn path=/trunk/boinc/; revision=17224
2009-02-12 12:58:24 +00:00
Charlie Fenton 6edb534164 SS: Minor fix to screensaver coordinator
svn path=/trunk/boinc/; revision=17223
2009-02-12 11:54:57 +00:00
Charlie Fenton b5856252d6 ss_app: Change Windows build executable file name to boincscr.exe
svn path=/trunk/boinc/; revision=17222
2009-02-12 02:05:54 +00:00
Charlie Fenton 6d003c8987 ss_app: Fix compiler warning
svn path=/trunk/boinc/; revision=17221
2009-02-12 01:25:03 +00:00
Charlie Fenton 7c127b6149 ss_app: Remove code which adds a Mac icon
svn path=/trunk/boinc/; revision=17220
2009-02-12 01:23:28 +00:00
Charlie Fenton 03e8940a8a ss_app: Remove code which adds a Mac icon, restore previous permissions for boinscr
svn path=/trunk/boinc/; revision=17218
2009-02-12 01:19:56 +00:00
David Anderson 017b61283b - client, API: populate APP_INIT_DATA::hostid.
Remove userid and teamid fields, since the client doesn't know these.

svn path=/trunk/boinc/; revision=17216
2009-02-11 23:01:21 +00:00
Rom Walton cd49bbc260 - MGR: Remove remaining UI thread calls to setlocale which could
confuse the parsing system or vise versa.
        
    clientgui/
        AdvancedFrame.cpp
        DlgItemProperties.cpp
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17215
2009-02-11 22:52:40 +00:00
David Anderson 2c068b76dc - lib: implement APP_INIT_DATA::copy() with assignments instead of
memcpy().  This protects against any future double-free bugs.

svn path=/trunk/boinc/; revision=17212
2009-02-11 22:36:33 +00:00
Rom Walton 84bc54b173 - MGR: Check to see if the app version pointer is legit before attempting
to use it.
        
    clientgui/
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17211
2009-02-11 22:03:34 +00:00
David Anderson 3adaa89e08 - boinc_zip: put null arg at end of argv.
Fixes crashing bug.
    From Michael Tyka.

svn path=/trunk/boinc/; revision=17210
2009-02-11 21:57:03 +00:00
David Anderson 20dbb07142 - client and API: eliminate dynamically-allocated parts of GLOBAL_PREFS.
This fixes a double-free bug in the API.

svn path=/trunk/boinc/; revision=17208
2009-02-11 20:45:26 +00:00
David Anderson 07820cb2fa - client: change garbage collection so that an app version
is deleted only if there's another version *of the same plan class*
 with a higher version number


svn path=/trunk/boinc/; revision=17207
2009-02-11 19:54:23 +00:00
David Anderson cc81331dd4 - client: change the formula for debt update
so that largest debt among eligible projects tends towards zero
    - client: change definition of "overworked"; debt must be < 1 day

svn path=/trunk/boinc/; revision=17206
2009-02-11 19:07:34 +00:00
Charlie Fenton e3a35a4340 ss_app: Fix compiler warning
svn path=/trunk/boinc/; revision=17204
2009-02-11 10:47:06 +00:00
Charlie Fenton 3891fcfe88 SS: Fix new screensaver coordinator sandbox permissions
svn path=/trunk/boinc/; revision=17201
2009-02-11 10:33:50 +00:00
David Anderson 218af029f1 - client: show proxy info correctly on startup
- client: fix minor bug that produced spurious
        adjust debt interval too long messages when zero projects

svn path=/trunk/boinc/; revision=17197
2009-02-10 21:59:55 +00:00
David Anderson 1fc3722e71 - client: add SCHEDULER_OP::rpc_failed();
this gets called when the op fails, either at initialization or later on;
        it clears the project's sched_rpc_pending flag if needed.
        This fixes a bug that caused user-requested RPCs to retry every 10 seconds
        when the network is down.
    - client: if debt-adjust period is too long, reset accounting.
        Otherwise we'll get this infinitely.
    - API: all optional alpha argument to TEXTURE_DESC::draw()

svn path=/trunk/boinc/; revision=17195
2009-02-10 19:30:59 +00:00
Charlie Fenton 8b056b7845 SS: Fix new screensaver coordinator to work properly on Windows
svn path=/trunk/boinc/; revision=17193
2009-02-10 12:35:12 +00:00
David Anderson 864864ab76 - client: all scheduler RPCs except user request are subject to backoff.
- client: if a project-requested RPC doesn't return work,
    don't do resource backoff.
- client: if a user-requested scheduler RPC errors out, clear the request

svn path=/trunk/boinc/; revision=17191
2009-02-09 22:00:31 +00:00
David Anderson 98bd9bb328 - web: remove <nobr> around user links; doesn't play well with long user names
svn path=/trunk/boinc/; revision=17182
2009-02-08 17:35:54 +00:00
Rom Walton ee35c024bb - MGR: fix build break for GCC based compilers.
clientgui/
        ProjectInfoPage.cpp

svn path=/trunk/boinc/; revision=17179
2009-02-07 16:39:39 +00:00
David Anderson b33db18209 - web: don't show x-project links for anonymous hosts; fix &bull's
svn path=/trunk/boinc/; revision=17177
2009-02-07 04:04:54 +00:00
Charlie Fenton 5d3ab73570 SS: Screensaver coordinator reads ss_config.xml file; if default ss ran during science phase, shorten next default phase
svn path=/trunk/boinc/; revision=17168
2009-02-06 11:17:13 +00:00
David Anderson bf93abb67a - web: fix bug in cached user page stuff from 12/29/08
svn path=/trunk/boinc/; revision=17166
2009-02-06 03:40:54 +00:00
Charlie Fenton b3d6f09444 SS: Fix ss_app compile errors on Mac, continue work on screensaver coordinator
svn path=/trunk/boinc/; revision=17163
2009-02-06 02:17:45 +00:00
David Anderson 515de57e76 - screensaver: flesh out new SS a bit
svn path=/trunk/boinc/; revision=17162
2009-02-06 00:29:00 +00:00
David Anderson 258dac62b2 - client: it the state file or an RPC reply has an app version
using a coprocessor we don't know about, ignore it
    (and all results using that app_version will be flushed).
    This deals with the situation where we have some GPU jobs,
    but the GPU card is removed (previously this resulted in a crash).
    This requires some code shuffling so that we check for coprocessors
    before reading state file.


svn path=/trunk/boinc/; revision=17161
2009-02-06 00:22:21 +00:00
David Anderson f851c4558a - web: add another team stats link
- client: if ncpus is zero in cc_config.xml, honor it.


svn path=/trunk/boinc/; revision=17160
2009-02-05 22:34:10 +00:00
David Anderson 7300925304 - web: must have a DB connection before calling mysql_real_escape_string()
svn path=/trunk/boinc/; revision=17159
2009-02-05 22:16:45 +00:00
David Anderson 34af99f2a2 - client: if time intervals for debt adjustment or job elapsed time
are negative, ignore (must be clock reset)

svn path=/trunk/boinc/; revision=17158
2009-02-05 21:48:42 +00:00
David Anderson 03a0175d26 - web: add links to cross-project host stats sites
(currently just boincstats)

svn path=/trunk/boinc/; revision=17156
2009-02-05 21:19:19 +00:00
David Anderson 20c2566ada - web: added BOINCstats to list of team stats sites
svn path=/trunk/boinc/; revision=17155
2009-02-05 20:25:30 +00:00
David Anderson af86d4326f - client: when accounting job elapsed time,
ignore intervals longer than 10 secs;
    that could only happen if the client or host was suspended/hibernated.
- client: in adjust_debts(), ignore intervals longer than
    2*work fetch period, not 2*CPU sched period.
    adjust_debts() is called from work fetch.

svn path=/trunk/boinc/; revision=17154
2009-02-05 20:16:28 +00:00
Rom Walton c474594a0c - MGR: On newer versions of the wxWidget framework the project list
wasn't being properly sized, so create it with a fixed size.
        
    clientgui/
        ProjectListCtrl.cpp

svn path=/trunk/boinc/; revision=17153
2009-02-05 19:49:37 +00:00
David Anderson 3ad73d70ba - client: redefine "overworked" as
debt < -1.5 * work_buf * cpu_sched_period
- web: on team page, link to cross-project team stats sites

svn path=/trunk/boinc/; revision=17152
2009-02-05 19:40:01 +00:00
Rom Walton bdd5a5e4a8 - MGR: Back out David's change which broke clipboard functionality
on Linux.  Take care of the real performance problem with
        copying 20000+ records to the clipboard in a Debug build
        by pre-allocating the buffer.
        
    clientgui/
        ViewMessages.cpp, .h

svn path=/trunk/boinc/; revision=17150
2009-02-05 19:25:08 +00:00
David Anderson 4cfeac5118 - manager: use sprintf() instead of WxString::Printf()
when copying messages to clipboard, and use tab instead of |

NOTE TO ROM: use WxWidgets features only where necessary.
E.g., for a time that's not going to be displayed,
use double instead of WxDateTime

svn path=/trunk/boinc/; revision=17149
2009-02-05 17:36:42 +00:00
Charlie Fenton c6bf99b452 SS: Add ss_app to XCode Project, with a temporary icon
svn path=/trunk/boinc/; revision=17148
2009-02-05 13:37:45 +00:00
Charlie Fenton 25c5eb2617 SS: Implement basic new functionality in screensaver coordinator (tested on Mac only so far)
svn path=/trunk/boinc/; revision=17147
2009-02-05 12:44:39 +00:00
Charlie Fenton 2c89b4103e SS: Implement basic new functionality in screensaver coordinator (tested on Mac only so far)
svn path=/trunk/boinc/; revision=17146
2009-02-05 12:32:16 +00:00
Charlie Fenton 0fb3a8c169 SS: Begin work on upgrading screensaver coordinator for new functionality: add file names, sandbox security
svn path=/trunk/boinc/; revision=17144
2009-02-05 07:44:26 +00:00
Rom Walton 6ec9e4a1c9 - MGR: Display all projects in the project list but disable the text control
is the project doesn't list a supported platform.  If the user clicks
        on it display a message box stating that once attached the user may not
        get any work.
        
    clientgui/
        AccountManagerInfoPage.cpp
        ProjectInfoPage.cpp, .h
        ProjectListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=17143
2009-02-05 05:57:30 +00:00
Charlie Fenton dd6b98488a SS: Begin work on upgrading screensaver coordinator for new functionality: add file names, sandbox security
svn path=/trunk/boinc/; revision=17141
2009-02-05 01:21:24 +00:00
David Anderson b9fc36ef84 - GUI RPC: made password file read into function
- lib: minimized FCGI library

svn path=/trunk/boinc/; revision=17133
2009-02-03 21:22:50 +00:00
David Anderson 455c2f7373 - renamed boinc_ss_opengl to ss_app
svn path=/trunk/boinc/; revision=17131
2009-02-03 19:50:30 +00:00
Rom Walton 5539900569 - SCROPENGL: Checkin the files needed for the new OpenGL based
BOINC screensaver.
        
    clientscr/
        boinc_ss_opengl.h
        boinc_ss_opengl.rc
        screensaver_opengl.cpp
        screensaver_opengl.h
    win_build/
        boinc.sln
        boinc_ss_opengl.vcproj

svn path=/trunk/boinc/; revision=17128
2009-02-03 18:53:48 +00:00
David Anderson 5eeb9c0815 - client: fix bug that caused infinite sched RPCs if project down
svn path=/trunk/boinc/; revision=17127
2009-02-03 18:08:40 +00:00