Commit Graph

13405 Commits

Author SHA1 Message Date
David Anderson 508626c053 - screensaver tweaks
svn path=/trunk/boinc/; revision=17217
2009-02-12 01:04:59 +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 315f205a68 compile fix
svn path=/trunk/boinc/; revision=17214
2009-02-11 22:46:34 +00:00
David Anderson 84a02bdbeb svn path=/trunk/boinc/; revision=17213 2009-02-11 22:39:59 +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 712e6e872a - finish prefs fixes
svn path=/trunk/boinc/; revision=17209
2009-02-11 21:21:36 +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
David Anderson b09db4ce9a - tweak screensaver
svn path=/trunk/boinc/; revision=17205
2009-02-11 16:33:08 +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 1c431d8ca8 lib: add time stamps to BOINCTRACE on non-Windows systems
svn path=/trunk/boinc/; revision=17203
2009-02-11 10:36:16 +00:00
Charlie Fenton d49183f125 ss_app: Replace temporary icon with standard BOINC icon
svn path=/trunk/boinc/; revision=17202
2009-02-11 10:35:07 +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
Charlie Fenton 7540e39963 Mac Samples: adjust XCode project for current source file names (*.cpp instead of *.C)
svn path=/trunk/boinc/; revision=17200
2009-02-11 10:15:13 +00:00
David Anderson 4dfa84da81 svn path=/trunk/boinc/; revision=17199 2009-02-11 00:46:57 +00:00
BOINC Translator 8ebe68c6a4 Commit from BOINC Translation Services by user treppolse. 131 of 131 messages translated (0 fuzzy).
svn path=/trunk/boinc/; revision=17198
2009-02-10 23:59: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 872ed1a65c - client: if master file doesn't have URLs, clear RPC request
svn path=/trunk/boinc/; revision=17196
2009-02-10 19:33:46 +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 1686bfbb1e SS: Fix new screensaver coordinator to work properly on Windows
svn path=/trunk/boinc/; revision=17194
2009-02-10 13:45:43 +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
BOINC Translator ea9388bc42 Commit from BOINC Translation Services by user DavidM. 716 of 716 messages translated (0 fuzzy).
svn path=/trunk/boinc/; revision=17181
2009-02-07 19:20:34 +00:00
BOINC Translator b3bbe87faa Commit from BOINC Translation Services by user DavidM. 716 of 716 messages translated (0 fuzzy).
svn path=/trunk/boinc/; revision=17180
2009-02-07 17:45:37 +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 13ed05b8dc svn path=/trunk/boinc/; revision=17178 2009-02-07 04:28:08 +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 0436973b04 - compile fix
svn path=/trunk/boinc/; revision=17167
2009-02-06 05:37:48 +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 48eacf88dd Fix typo in boincscr build product name
svn path=/trunk/boinc/; revision=17165
2009-02-06 02:43:31 +00:00
Charlie Fenton 213b02c801 Fix typo in boincscr build product name
svn path=/trunk/boinc/; revision=17164
2009-02-06 02:32:32 +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 85acfeb1be - web: update stats sites URLs
svn path=/trunk/boinc/; revision=17157
2009-02-05 21:38:55 +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 d36040fd78 Quick Updates
svn path=/trunk/boinc/; revision=17151
2009-02-05 19:27:58 +00:00