Commit Graph

823 Commits

Author SHA1 Message Date
Bruce Allen f39ef7a1c1 My motto today is 'third time lucky'
svn path=/trunk/boinc/; revision=4989
2005-01-03 18:06:57 +00:00
Bruce Allen 2aa7f70f8c Typo
svn path=/trunk/boinc/; revision=4988
2005-01-03 18:04:48 +00:00
Bruce Allen c987c69390 David, you owe me a beer.
svn path=/trunk/boinc/; revision=4987
2005-01-03 18:00:53 +00:00
Bruce Allen 07f776dd63 Added a command line option to make single pass with a small number of WU
for testing purposes.

svn path=/trunk/boinc/; revision=4986
2005-01-03 17:18:32 +00:00
Bruce Allen 46e9e69771 Documentation http://boinc.berkeley.edu/hier_dir.php says:
"Secondly, your validator and assimilator should call
 int get_output_file_path(RESULT const& result, string& path);"
I've updated the example code to do this, and modified Makefile.am
so that the correct objects are linked.

svn path=/trunk/boinc/; revision=4984
2005-01-03 10:49:38 +00:00
Bruce Allen 0fd083f620 Missing end of line in log file
svn path=/trunk/boinc/; revision=4982
2005-01-03 03:01:35 +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 2a337abeb0 *** empty log message ***
svn path=/trunk/boinc/; revision=4976
2005-01-02 08:01:27 +00:00
David Anderson 66950e2822 replace bad filename hashing function
svn path=/trunk/boinc/; revision=4975
2005-01-02 07:44:40 +00:00
David Anderson 177b530d0b *** empty log message ***
svn path=/trunk/boinc/; revision=4951
2004-12-28 03:39:52 +00:00
David Anderson c60fb03c27 *** empty log message ***
svn path=/trunk/boinc/; revision=4946
2004-12-27 21:53:38 +00:00
David Anderson c417859785 *** empty log message ***
svn path=/trunk/boinc/; revision=4944
2004-12-27 21:14:18 +00:00
David Anderson 040d847c63 *** empty log message ***
svn path=/trunk/boinc/; revision=4943
2004-12-27 06:54:23 +00:00
David Anderson 14daf38eee *** empty log message ***
svn path=/trunk/boinc/; revision=4910
2004-12-20 21:37:20 +00:00
David Anderson 70472e1617 *** empty log message ***
svn path=/trunk/boinc/; revision=4908
2004-12-20 20:47:25 +00:00
David Anderson 9d9baddf18 *** empty log message ***
svn path=/trunk/boinc/; revision=4886
2004-12-18 00:38:21 +00:00
David Anderson f28da20820 *** empty log message ***
svn path=/trunk/boinc/; revision=4878
2004-12-17 19:15:22 +00:00
David Anderson f1d1077c17 *** empty log message ***
svn path=/trunk/boinc/; revision=4868
2004-12-16 22:10:51 +00:00
David Anderson 766c11710f *** empty log message ***
svn path=/trunk/boinc/; revision=4860
2004-12-15 23:50:00 +00:00
David Anderson f5a552e006 *** empty log message ***
svn path=/trunk/boinc/; revision=4848
2004-12-14 21:31:57 +00:00
David Anderson c0c47595ac *** empty log message ***
svn path=/trunk/boinc/; revision=4840
2004-12-14 00:57:03 +00:00
David Anderson 01d9b49925 *** empty log message ***
svn path=/trunk/boinc/; revision=4813
2004-12-10 22:04:20 +00:00
Bruce Allen 10ce5e6759 Write to logs a bit less often
svn path=/trunk/boinc/; revision=4793
2004-12-08 11:59:31 +00:00
Bruce Allen 92b84e9796 Added additional normal and debug log output to db_purge
svn path=/trunk/boinc/; revision=4792
2004-12-08 11:17:41 +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
Bruce Allen 7e10e25e8b Checking new RCS ID tags OK
svn path=/trunk/boinc/; revision=4786
2004-12-08 00:26:12 +00:00
Bruce Allen 8fe62528b7 Typo killed feeder with bad MySQL syntax. David, please check.
svn path=/trunk/boinc/; revision=4784
2004-12-07 23:54:07 +00:00
Bruce Allen ce142bc42d Added additional options -gzip, -zip, -max_wu_per_file to db_purge. The
compression options are 'efficient' in that they do not write an uncompressed
file then compress -- they go straight to compressed.  SIGHUP and lockfile
shutdown signals are properly caught and close compressed files and DB cleanly.

svn path=/trunk/boinc/; revision=4782
2004-12-07 22:54:54 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +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 d73bddd4b6 Oops
svn path=/trunk/boinc/; revision=4714
2004-12-02 23:12:04 +00:00
Bruce Allen ecbd25e36d Helps if I check in the right files (with the right notes, too!)
-   Added logging of remaining result.outcome==OVER states to logging
    output of transitioner.
-   Fixed nasty bug in ops pages where top two WU error mask bits were
    not being shown in WU summary/detail pages.

svn path=/trunk/boinc/; revision=4713
2004-12-02 23:00:30 +00:00
David Anderson 8ffbaf8014 *** empty log message ***
svn path=/trunk/boinc/; revision=4694
2004-12-01 22:44:47 +00:00
David Anderson c9089ef197 *** empty log message ***
svn path=/trunk/boinc/; revision=4691
2004-12-01 05:46:04 +00:00
Bruce Allen 5affc00460 - Fixed errors in db_purge. If -max argument >= 1000, then it didn't
work because purged_workunits was reset to zero in do_pass(). Also,
      max_number_workunits_to_purge was un-initialized if no -max argument
      was given.  David, please double-check these changes.

svn path=/trunk/boinc/; revision=4688
2004-11-30 15:58:34 +00:00
Jeff Cobb a3e584c717 *** empty log message ***
svn path=/trunk/boinc/; revision=4684
2004-11-30 00:50:46 +00:00
Jeff Cobb 8a7deacd34 *** empty log message ***
svn path=/trunk/boinc/; revision=4683
2004-11-30 00:28:19 +00:00
Jeff Cobb 9d9cc9669c *** empty log message ***
svn path=/trunk/boinc/; revision=4682
2004-11-30 00:08:11 +00:00
David Anderson 92e9c8a6b6 *** empty log message ***
svn path=/trunk/boinc/; revision=4681
2004-11-29 22:26:34 +00:00
Bruce Allen 2e4b9647ee Added two items for executables
svn path=/trunk/boinc/; revision=4678
2004-11-29 10:48:10 +00:00
Bruce Allen df0f066a69 file_deleter logs strerror(errno) if unable to remove a result file.
svn path=/trunk/boinc/; revision=4677
2004-11-29 09:47:48 +00:00
Bruce Allen bdfb8e143f - Added command-line options -preserve_wu_file and -preserve_result_files
to the file deleter.  This are useful to implement <no_delete/>
      for all input or output files respectively.
- Documented <no_delete/> file tag.

svn path=/trunk/boinc/; revision=4675
2004-11-29 09:23:51 +00:00
Bruce Allen 9a8151dd63 - Added a -dont_update_db command-line option to assimilator.C which prevents it from updating
the database, and so is useful for testing.

svn path=/trunk/boinc/; revision=4668
2004-11-26 23:33:11 +00:00
Bruce Allen c28a5e7170 Added placeholders for user's assimilator and validator into build system
svn path=/trunk/boinc/; revision=4667
2004-11-26 21:29:57 +00:00
David Anderson d3ea793175 *** empty log message ***
svn path=/trunk/boinc/; revision=4648
2004-11-24 19:17:50 +00:00
David Anderson f246536c6b *** empty log message ***
svn path=/trunk/boinc/; revision=4645
2004-11-24 07:17:46 +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
Bruce Allen dc4219091a - 'Fixed' py/Boinc/add_util.py so that it takes cross_project_id value out of XML
file.  Current default value is '0'.  Karl, could you fix this to make it a random
string?

- validator.c sets global variable int boinc_validator_debuglevel for use by check_set
and check_match functions.

svn path=/trunk/boinc/; revision=4597
2004-11-18 13:44:58 +00:00