Commit Graph

128 Commits

Author SHA1 Message Date
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson a40fb4ca57 include integer ops in benchmark API
svn path=/trunk/boinc/; revision=8796
2005-11-03 05:31:21 +00:00
David Anderson 1f963d4203 server security fix
svn path=/trunk/boinc/; revision=8748
2005-10-26 06:29:35 +00:00
David Anderson f8776ebd8c fix warnings
svn path=/trunk/boinc/; revision=8739
2005-10-23 07:19:03 +00:00
David Anderson 270c583dcf app version in window title
svn path=/trunk/boinc/; revision=8663
2005-10-12 18:40:53 +00:00
David Anderson 6f6f65e52c *** empty log message ***
svn path=/trunk/boinc/; revision=8564
2005-10-09 05:53:35 +00:00
David Anderson 4bc558ffc8 disk usage fixes
svn path=/trunk/boinc/; revision=8442
2005-10-04 21:44:58 +00:00
David Anderson 941d7e21d8 fix DEBUG symbol collision
svn path=/trunk/boinc/; revision=8189
2005-09-26 23:28:48 +00:00
Bruce Allen d20a23d0bc Bump delay time up to nearest second in case clocks at client end have
low resolution.

svn path=/trunk/boinc/; revision=8000
2005-09-13 13:36:11 +00:00
Bruce Allen eaa0ddead1 Scheduler: if admin has set min_sendwork_interval in config file, then
include a delay request at least this big in EVERY sched reply.  Else
if the hardwired standard delay in the client is smaller than
min_sendwork_interval, the client will keep getting connections
refused at the server side.  David, please give this a glance.

svn path=/trunk/boinc/; revision=7999
2005-09-13 13:25:01 +00:00
David Anderson 99c9679b63 versions are major/minor/release
svn path=/trunk/boinc/; revision=7614
2005-08-31 00:18:36 +00:00
David Anderson 3f785e8bdd resend lost results
svn path=/trunk/boinc/; revision=6866
2005-07-28 10:13:30 +00:00
David Anderson 793fbf57ee *** empty log message ***
svn path=/trunk/boinc/; revision=6862
2005-07-28 09:00:19 +00:00
David Anderson 814f30d3b7 *** empty log message ***
svn path=/trunk/boinc/; revision=6486
2005-06-29 04:17:28 +00:00
David Anderson 4549700894 *** empty log message ***
svn path=/trunk/boinc/; revision=6435
2005-06-25 17:48:17 +00:00
David Anderson 6722611151 *** empty log message ***
svn path=/trunk/boinc/; revision=6423
2005-06-24 04:34:45 +00:00
David Anderson 6a0176e6c8 *** empty log message ***
svn path=/trunk/boinc/; revision=6415
2005-06-23 07:42:45 +00:00
David Anderson 213f2b1d1a *** empty log message ***
svn path=/trunk/boinc/; revision=6399
2005-06-22 06:02:59 +00:00
David Anderson 3828904a84 *** empty log message ***
svn path=/trunk/boinc/; revision=6270
2005-05-31 21:59:29 +00:00
David Anderson 1103eac5c8 *** empty log message ***
svn path=/trunk/boinc/; revision=6129
2005-05-12 00:32:03 +00:00
Bruce Allen d839c2a8d8 ignore fields p_fpop_err in scheduler requests (still there from
4.19 core clients) else these generate lots of logfile noise.
David, please revert if you don't like it.

svn path=/trunk/boinc/; revision=6009
2005-05-04 04:26:58 +00:00
David Anderson 6971fddbde *** empty log message ***
svn path=/trunk/boinc/; revision=6003
2005-05-03 21:50:51 +00:00
David Anderson d8a43ac0fe *** empty log message ***
svn path=/trunk/boinc/; revision=5971
2005-04-29 06:55:44 +00:00
David Anderson 1c119cb037 *** empty log message ***
svn path=/trunk/boinc/; revision=5889
2005-04-18 18:42:29 +00:00
David Anderson 647c8122b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5886
2005-04-18 17:54:03 +00:00
David Anderson e18a297017 *** empty log message ***
svn path=/trunk/boinc/; revision=5625
2005-03-10 22:05:42 +00:00
Bruce Allen 57d412e804 messages containing newlines were being lost when sent to 4.19
core clients. Fix strips newlines from messages sent to clients
<= 4.19.  NOTE: stripping may ALSO be needed for more recent
clients.  But it would be better to fix the clients so that
embedded newlines in messages are respected.

svn path=/trunk/boinc/; revision=5543
2005-02-28 21:58:27 +00:00
Bruce Allen b3f75a8aee - Bug fixes to scheduler code
- For locality scheduler, if anonymous platform lacks app, don't do deterministic
      search for work!
    - For locality scheduler, remove 'unsent' constraint from initial query so that
      existing index in result table can be used to perform a more efficient search.
    - Send multi-message replies to core clients > 4.19
    - Change 'no work available' message to 'no work sent' since this is often due
      to constraints at the client end, NOT lack of work at project end.

svn path=/trunk/boinc/; revision=5492
2005-02-22 17:37:03 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
Bruce Allen 15c5fd2f11 Add curly brackets a la David
svn path=/trunk/boinc/; revision=5439
2005-02-16 01:26:43 +00:00
Bruce Allen 52d0c274c1 More sensible use of request_delay. If a host contacts the
scheduler, and fails to get work because there are N secs
      of pending work, then send a delay request of min(3600, N/5) secs.
      Otherwise the same host was coming back every hour, without being able
      to get additional work.
Implemented by adding a method set_delay() to
      SCHEDULER_REQUEST. This sets the delay to the maximum of the
      previous requested delay or the current requested delay. The
      delay is NEVER set longer than two days.

svn path=/trunk/boinc/; revision=5437
2005-02-16 01:14:12 +00:00
David Anderson 0ddf2ed101 *** empty log message ***
svn path=/trunk/boinc/; revision=5423
2005-02-14 04:39:07 +00:00
Bruce Allen 7a68df5b2a Got rid of annoying 'no <host_venue>' tag messages from scheduler
svn path=/trunk/boinc/; revision=5399
2005-02-11 05:45:49 +00:00
Bruce Allen 02d0ac6fd8 Don't send an empty message if there is no message to send.
svn path=/trunk/boinc/; revision=5274
2005-02-02 15:16:59 +00:00
Bruce Allen 1d9d71cce4 Fixed trivial bug in scheduler which caused messages sent to clients
< 4.62 to be interchanged with their priority.  So if the message was
supposed to be 'No work available' with priority 'low', the actual

svn path=/trunk/boinc/; revision=5273
2005-02-02 14:43:22 +00:00
David Anderson 5b015af00f *** empty log message ***
svn path=/trunk/boinc/; revision=5264
2005-02-01 20:30:33 +00:00
David Anderson 4a0fb78aa6 *** empty log message ***
svn path=/trunk/boinc/; revision=5258
2005-01-31 23:20:49 +00:00
David Anderson 896d0b8a46 *** empty log message ***
svn path=/trunk/boinc/; revision=5257
2005-01-31 22:19:03 +00:00
Bruce Allen 60c569a644 Extended scheduler run-time debug option to include writing of requests as
well as replies to a file.

svn path=/trunk/boinc/; revision=5248
2005-01-31 16:10:49 +00:00
David Anderson 3521428f85 *** empty log message ***
svn path=/trunk/boinc/; revision=5234
2005-01-28 18:27:00 +00:00
David Anderson e1c65eb341 *** empty log message ***
svn path=/trunk/boinc/; revision=5228
2005-01-27 23:09:19 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson b7a7cd825f *** empty log message ***
svn path=/trunk/boinc/; revision=5151
2005-01-20 18:50:49 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
the top of all .C files.  This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string.  Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
David Anderson 49b256f338 *** empty log message ***
svn path=/trunk/boinc/; revision=4280
2004-10-01 07:49:01 +00:00
David Anderson a9fee1bd8a *** empty log message ***
svn path=/trunk/boinc/; revision=4252
2004-09-27 20:09:49 +00:00
David Anderson 900042214d *** empty log message ***
svn path=/trunk/boinc/; revision=4251
2004-09-27 19:44:40 +00:00