Commit Graph

421 Commits

Author SHA1 Message Date
David Anderson be1c8ff44f *** empty log message ***
svn path=/trunk/boinc/; revision=10641
2006-07-12 23:18:57 +00:00
David Anderson b9b5d0ed48 *** empty log message ***
svn path=/trunk/boinc/; revision=10622
2006-07-11 21:49:20 +00:00
David Anderson 7f00b2fa3f outcome CLIENT_DETACHED
svn path=/trunk/boinc/; revision=10593
2006-07-06 17:30:03 +00:00
David Anderson 440c667e8a mass email
svn path=/trunk/boinc/; revision=10580
2006-07-05 21:38:08 +00:00
David Anderson aeac868c11 *** empty log message ***
svn path=/trunk/boinc/; revision=10559
2006-07-01 20:03:48 +00:00
Bruce Allen 086c94a309 When calling project-provided validator functions, populate the
WU.rsc_fpops_est field. This can be useful in
determining how much credit to assign, and preventing cheating.

DAVID: I was going to be a good guy and document this, but you
forgot to check validate_simple.php and validate_advanced.php
into CVS (:-).

svn path=/trunk/boinc/; revision=10297
2006-06-10 12:14:22 +00:00
David Anderson 923075d005 *** empty log message ***
svn path=/trunk/boinc/; revision=10258
2006-06-06 18:45:40 +00:00
Bruce Allen 033c6719a5 Scheduler: refuse to upload results if DB item is
(1) over and (2) validate state init and (3) NOT file_delete==INIT.

(David, please bless addition of file_delete_state to SCHED_RESULT_ITEM.)

svn path=/trunk/boinc/; revision=10245
2006-06-03 16:22:34 +00:00
Bruce Allen e37637661d Transitioner: nasty bug in logging, wrong result id/name
Scheduler: clearer logging for debugging purposes

svn path=/trunk/boinc/; revision=10243
2006-06-03 14:59:22 +00:00
David Anderson 9929015c1e xml_escape bug
svn path=/trunk/boinc/; revision=10238
2006-06-01 19:59:57 +00:00
Bruce Allen 26d08b603f Also need outcome...
svn path=/trunk/boinc/; revision=10229
2006-05-31 21:50:42 +00:00
Bruce Allen 490d4858bf scheduler: do a better job of accepting results from host machines
which may modify an EXISTING & OVER result in the database.

file_upload_handler: check for 'stop_upload' trigger file in the
project root directory.  If so, return ERR_TRANSIENT to hosts which
attempt uploads.  This is the equivalent of 'stop_sched' for the
scheduler.  (Eric, you may want to check that this is FCGI compatible).

svn path=/trunk/boinc/; revision=10227
2006-05-31 20:39:32 +00:00
David Anderson 210e22e537 *** empty log message ***
svn path=/trunk/boinc/; revision=10226
2006-05-31 17:19:29 +00:00
David Anderson f6a01ea730 *** empty log message ***
svn path=/trunk/boinc/; revision=10084
2006-05-02 22:33:00 +00:00
David Anderson 1abd12eab6 *** empty log message ***
svn path=/trunk/boinc/; revision=9671
2006-03-17 08:11:38 +00:00
Bruce Allen 527e83ce0c Missing return value causes sched horror...
svn path=/trunk/boinc/; revision=9667
2006-03-17 05:54:06 +00:00
David Anderson 1b3e1fe484 scheduler race condition
svn path=/trunk/boinc/; revision=9666
2006-03-17 04:47:51 +00:00
David Anderson f471b89bf9 propagate batch to result
svn path=/trunk/boinc/; revision=9318
2006-01-26 00:19:05 +00:00
David Anderson 88c741f0ac CPID consistency, larger trickle messages
svn path=/trunk/boinc/; revision=9303
2006-01-24 21:38:03 +00:00
David Anderson f9b7413d58 feeder/DB fixes
svn path=/trunk/boinc/; revision=9269
2006-01-19 21:46:25 +00:00
Bruce Allen 2be5446559 Fixed new unescape_string(): didn't null terminate string.
svn path=/trunk/boinc/; revision=9176
2006-01-05 09:30:41 +00:00
David Anderson 3527c41581 *** empty log message ***
svn path=/trunk/boinc/; revision=9175
2006-01-05 08:52:20 +00:00
Bruce Allen c14eb4a651 Kill unused variable
svn path=/trunk/boinc/; revision=9174
2006-01-05 08:21:10 +00:00
Bruce Allen 20004d75e4 Fixed David's mistake in simplifying my fix to escape_string()!
svn path=/trunk/boinc/; revision=9173
2006-01-05 08:15:18 +00:00
David Anderson 9edb1c083f *** empty log message ***
svn path=/trunk/boinc/; revision=9170
2006-01-05 06:42:45 +00:00
Bruce Allen c92a22c91a Nasty bug fix to sched. escape_string() replaces \ by \\ and
' by \'.  This makes the string longer.  To guarantee that the
resulting longer string does not overflow storage, escape_string()
uses safe_strncpy() to copy the longer string back.  But this
is too heavy-handed, since safe_strncpy() will blindly truncate
the string.  Thus it might clobber \\ into \ or \' into \ which
causes trouble.

David, Rom, please double-check my changes, since escape_string()
is used all over the place.

svn path=/trunk/boinc/; revision=9163
2005-12-30 18:07:46 +00:00
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 4bc558ffc8 disk usage fixes
svn path=/trunk/boinc/; revision=8442
2005-10-04 21:44:58 +00:00
Bruce Allen dc12b0895c Nuke unused variable
svn path=/trunk/boinc/; revision=8333
2005-09-29 22:14:59 +00:00
Reinhard Prix b6832575c1 fixed my erronous mysql include (should have no relative path prefix).
svn path=/trunk/boinc/; revision=8314
2005-09-29 12:03:23 +00:00
Reinhard Prix c8d09966cf Install header-files necessary for building workunit-generator externally linked to BOINC.
svn path=/trunk/boinc/; revision=8313
2005-09-29 11:56:28 +00:00
David Anderson b96bdc7c58 *** empty log message ***
svn path=/trunk/boinc/; revision=8137
2005-09-22 00:30:01 +00:00
David Anderson 20dcd8ae39 fix "no new work" bug
svn path=/trunk/boinc/; revision=8136
2005-09-22 00:15:43 +00:00
David Anderson 8a72aef655 remove email munge code
svn path=/trunk/boinc/; revision=7518
2005-08-26 22:26:26 +00:00
David Anderson 041b6f24c6 *** empty log message ***
svn path=/trunk/boinc/; revision=7492
2005-08-25 23:07:58 +00:00
Jeff Cobb 0680f23b68 *** empty log message ***
svn path=/trunk/boinc/; revision=7280
2005-08-11 23:53:24 +00:00
David Anderson b3dc4bcbe4 new account setup
svn path=/trunk/boinc/; revision=7205
2005-08-07 01:33:15 +00:00
David Anderson 3dfea63937 scheduler fix
svn path=/trunk/boinc/; revision=6860
2005-07-28 08:09:46 +00:00
Rom Walton 1e1b77375b *** empty log message ***
svn path=/trunk/boinc/; revision=6510
2005-07-04 21:47:53 +00:00
David Anderson b91a653741 *** empty log message ***
svn path=/trunk/boinc/; revision=6468
2005-06-28 05:48:41 +00:00
David Anderson 3a1b32e7d6 *** empty log message ***
svn path=/trunk/boinc/; revision=6466
2005-06-28 05:43:22 +00:00
David Anderson 483a775065 *** empty log message ***
svn path=/trunk/boinc/; revision=6444
2005-06-26 19:34: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 c1f7d8a890 *** empty log message ***
svn path=/trunk/boinc/; revision=6397
2005-06-22 02:40:14 +00:00
David Anderson 197db0a3c5 *** empty log message ***
svn path=/trunk/boinc/; revision=6281
2005-06-02 07:04:29 +00:00
David Anderson 356f447680 *** empty log message ***
svn path=/trunk/boinc/; revision=6254
2005-05-26 20:25:00 +00:00
David Anderson 1103eac5c8 *** empty log message ***
svn path=/trunk/boinc/; revision=6129
2005-05-12 00:32:03 +00:00
Eric J. Korpela 3515ef9b38 Fix for machines with finite() defined in <ieeefp.h>.
svn path=/trunk/boinc/; revision=6094
2005-05-10 17:45:22 +00:00
David Anderson 57f2da16f9 *** empty log message ***
svn path=/trunk/boinc/; revision=6045
2005-05-05 20:42:06 +00:00
Bruce Allen 734dd4bdde Correcting the documentation
svn path=/trunk/boinc/; revision=6031
2005-05-05 05:23:45 +00:00
David Anderson 1ae7d9b042 *** empty log message ***
svn path=/trunk/boinc/; revision=6026
2005-05-04 22:38:14 +00:00
David Anderson 6971fddbde *** empty log message ***
svn path=/trunk/boinc/; revision=6003
2005-05-03 21:50:51 +00:00
David Anderson 709ef2675c *** empty log message ***
svn path=/trunk/boinc/; revision=5911
2005-04-21 05:48:00 +00:00
David Anderson 615982f0b4 *** empty log message ***
svn path=/trunk/boinc/; revision=5910
2005-04-20 22:46:47 +00:00
David Anderson 5fa6e0ec46 *** empty log message ***
svn path=/trunk/boinc/; revision=5794
2005-04-07 20:46:25 +00:00
David Anderson 99ef0b7b37 *** empty log message ***
svn path=/trunk/boinc/; revision=5738
2005-03-30 06:36:11 +00:00
David Anderson 06cfd3d141 *** empty log message ***
svn path=/trunk/boinc/; revision=5677
2005-03-17 22:04:58 +00:00
David Anderson b152c3f453 *** empty log message ***
svn path=/trunk/boinc/; revision=5530
2005-02-26 00:24:37 +00:00
Jeff Cobb d517061a45 *** empty log message ***
svn path=/trunk/boinc/; revision=5498
2005-02-23 00:11:17 +00:00
David Anderson 41fb9a9e8c *** empty log message ***
svn path=/trunk/boinc/; revision=5496
2005-02-22 20:12:31 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson b961c2ce3d *** empty log message ***
svn path=/trunk/boinc/; revision=5349
2005-02-08 00:39:05 +00:00
David Anderson aa6b06a2a9 *** empty log message ***
svn path=/trunk/boinc/; revision=5236
2005-01-28 19:01:08 +00:00
David Anderson cc63aaf090 *** empty log message ***
svn path=/trunk/boinc/; revision=5182
2005-01-21 07:54:15 +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
David Anderson 6bdc90bb4f *** empty log message ***
svn path=/trunk/boinc/; revision=5130
2005-01-17 21:29:46 +00:00
David Anderson aa1fceb978 *** empty log message ***
svn path=/trunk/boinc/; revision=5120
2005-01-14 03:32:16 +00:00
David Anderson f3d6116223 *** empty log message ***
svn path=/trunk/boinc/; revision=5113
2005-01-13 23:06:15 +00:00
Bruce Allen 400896a94f comma -> semicolon typo
svn path=/trunk/boinc/; revision=5087
2005-01-12 21:16:45 +00:00
David Anderson 71fec1defe *** empty log message ***
svn path=/trunk/boinc/; revision=5070
2005-01-11 05:18:34 +00:00
David Anderson 504957c0bd *** empty log message ***
svn path=/trunk/boinc/; revision=5054
2005-01-10 00:00:42 +00:00
David Anderson 205d90a11d *** empty log message ***
svn path=/trunk/boinc/; revision=5040
2005-01-09 08:44:41 +00:00
David Anderson b298ed30ab *** empty log message ***
svn path=/trunk/boinc/; revision=5033
2005-01-08 19:45:26 +00:00
David Anderson 86c3728abe *** empty log message ***
svn path=/trunk/boinc/; revision=5020
2005-01-07 19:45:46 +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
David Anderson c417859785 *** empty log message ***
svn path=/trunk/boinc/; revision=4944
2004-12-27 21:14:18 +00:00
David Anderson f28da20820 *** empty log message ***
svn path=/trunk/boinc/; revision=4878
2004-12-17 19:15:22 +00:00
David Anderson a3368bbf65 *** empty log message ***
svn path=/trunk/boinc/; revision=4867
2004-12-16 21:58:10 +00:00
David Anderson c0c47595ac *** empty log message ***
svn path=/trunk/boinc/; revision=4840
2004-12-14 00:57:03 +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 76b14d416b Remove incorrect comment
svn path=/trunk/boinc/; revision=4771
2004-12-06 22:29:05 +00:00
David Anderson 02b6393a11 *** empty log message ***
svn path=/trunk/boinc/; revision=4764
2004-12-05 23:52:17 +00:00
Bruce Allen 3983504893 Redid 'fix' to scheduler bug from 3 December 2004. In fact the
fix was incomplete. In order for it to work as intended, I would
have also had to modify SCHED_RESULT_ITEM::parse to copy the
additional needed fields into the in-memory structure.  But this
is fragile.  The next time some additional fields are added to the
result table, they would have to be incorporated here as well, to
ensure that SET followed by UPDATE is the identity operation.  So
I did a more graceful and robust fix.  Simply set result.id=0 for
those results that have already been received or which for other
reasons should not be modified in the database, then skip these
when updating.

svn path=/trunk/boinc/; revision=4763
2004-12-05 21:53:32 +00:00
Bruce Allen f85b7d8da3 - Fixed a nasty bug in the scheduler. Under a number of possible
error conditions, handle_request.C would read only some fields of
      and existing request into memory, and then write more of those fields,
      some of which were null, back into memory.  This had the effect of nulling
      out outcome, client_state, exit_status, cpu_time, xml_doc_out, stderr_out,
      validate_state, claimed_credit and client_version.  The point is that
      DB_SCHED_RESULT_ITEM_SET::enumerate() followed by
      DB_SCHED_RESULT_ITEM_SET::update_result
      did not preserve an 'existing result'.  It wiped out the fields above.

svn path=/trunk/boinc/; revision=4724
2004-12-03 14:50:12 +00:00
David Anderson c9089ef197 *** empty log message ***
svn path=/trunk/boinc/; revision=4691
2004-12-01 05:46:04 +00:00
David Anderson 5132e09199 *** empty log message ***
svn path=/trunk/boinc/; revision=4690
2004-12-01 05:03:53 +00:00
Bruce Allen c2d7965c09 - Fixed autoconf/automake build process so that it works correctly
under Mac OSX. Also make dist now works (make distcheck still
     broken).  Karl, since you were the last
     person to fix up this mess, how about taking a look??

svn path=/trunk/boinc/; revision=4665
2004-11-26 17:45:13 +00:00
David Anderson 319328e169 *** empty log message ***
svn path=/trunk/boinc/; revision=4620
2004-11-22 19:17:13 +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
Bruce Allen 7c5faae35b Cleaned up .cvsignore files
svn path=/trunk/boinc/; revision=4608
2004-11-19 16:27:06 +00:00
David Anderson 86a8a74781 *** empty log message ***
svn path=/trunk/boinc/; revision=4476
2004-11-02 20:27:08 +00:00
Jeff Cobb a695532b47 *** empty log message ***
svn path=/trunk/boinc/; revision=4400
2004-10-22 22:43:29 +00:00
Jeff Cobb 8c357f3b2f *** empty log message ***
svn path=/trunk/boinc/; revision=4396
2004-10-22 18:48:26 +00:00
David Anderson 5bd6449277 *** empty log message ***
svn path=/trunk/boinc/; revision=4357
2004-10-19 23:18:54 +00:00
David Anderson 57be0ccde2 *** empty log message ***
svn path=/trunk/boinc/; revision=4339
2004-10-18 01:54:28 +00:00