Commit Graph

4848 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 04b03bc630 Mention placeholder
svn path=/trunk/boinc/; revision=4985
2005-01-03 11:09:07 +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 b070f4f515 updated docs for dir_hier_path(). Now has 6 arguments not 4.
David, please proof and correct if needed.

svn path=/trunk/boinc/; revision=4983
2005-01-03 09:04:53 +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 f35611d074 I am not cut out to be a software janitor...
svn path=/trunk/boinc/; revision=4981
2005-01-02 19:26:39 +00:00
Bruce Allen 84271225c5 Left off line continuation character...
svn path=/trunk/boinc/; revision=4980
2005-01-02 18:33:47 +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 0340cbcae1 Fix build of clientgui, broken by David's reshuffling of md5 functions.
svn path=/trunk/boinc/; revision=4978
2005-01-02 18:20:36 +00:00
David Anderson 9c1f389c2b *** empty log message ***
svn path=/trunk/boinc/; revision=4977
2005-01-02 08:19:43 +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
Bruce Allen 0704f0882d More improvements from Christian Beer:
My next request is to do a corresponding cleanup of the 'detailed' RESULT
page.  In particular, it should show ALL the fields at the bottom of this
page: ops/db_form.php?table=result&detail=low which are:

Some specific things that would be helpful:

(1) again, decode meaning, AND numeric value:
    Server state:      Over [X]
    Outcome:           Client error [X]
    File Delete state: Initial [0]
    where possible.

(2) It would be extremely useful to decode the exit status
    values into text, according to: lib/error_numbers.h:
    so if the error is one of these values, a human-readable string
    is also displayed.  If not one of these values, just the number.

(3) This might be too hard -- could you search in stderr out
    for things like <error_code>-108</error_code> and if found
    add a separate row with the human-readable decoding of this?

(4) If easy, link App version back to the app version table.
    If hard, don't bother.

(5) Fix bug on User Id line (currently has host_name_by_id(...))

svn path=/trunk/boinc/; revision=4974
2004-12-31 16:46:11 +00:00
Bruce Allen 5ce5d79c0f Some improvements on the md5-info caching. If the 'data' file is
more recent than the 'md5info', then ignore md5info.  If md5info
has *exactly* the right format (no extra or missing characters) then
remove it in this case (only).  Don't write an md5info file if
another file is found with the same name.  Thus if someone has two
data files called X and X.md5, unless X.md5 has the exact correct
syntax for an md5-info cache file, it won't be removed or used.
Still disabled by default.  Use -DBOINC_CACHE_MD5 to enable it.

svn path=/trunk/boinc/; revision=4973
2004-12-31 15:39:05 +00:00
Bruce Allen 94ea96d986 Needed to keep clickable line nums working
svn path=/trunk/boinc/; revision=4972
2004-12-31 01:27:50 +00:00
Bruce Allen b60bb59c28 No need for user to type file name(s), default is now *.log
svn path=/trunk/boinc/; revision=4971
2004-12-31 01:15:50 +00:00
Bruce Allen 9b914de238 Fixed comment
svn path=/trunk/boinc/; revision=4970
2004-12-31 00:58:15 +00:00
Bruce Allen ecfcc4b22b Changes from Christian Beer with small fixes from Bruce. These show
results in some range of MOD time rather than some range of received
time, and display all fields associated with Workunits.

svn path=/trunk/boinc/; revision=4969
2004-12-31 00:40:10 +00:00
Bruce Allen 0fd97a6078 Unmangle symbol for public use from C.
svn path=/trunk/boinc/; revision=4968
2004-12-30 18:13:29 +00:00
David Anderson 3400c27518 *** empty log message ***
svn path=/trunk/boinc/; revision=4967
2004-12-30 17:45:30 +00:00
David Anderson 7e8c74482e *** empty log message ***
svn path=/trunk/boinc/; revision=4966
2004-12-30 16:05:40 +00:00
Bruce Allen e009537167 When creating large numbers of WU which have large input files,
the cost of computing the md5 sums becomes expensive.  Inserted
a simple caching mechanism into the utility function
process_wu_template().  For a given filename FILENAME, this looks
for a file called FILENAME.md5, which contains the md5sum and
length.  If the file exists, these values are used.  If not, such
a file is created.  Since (I think) David is planning to have a
database for files, this mechanism will eventually be obsolete.
Right now it disabled by default.  Use -DBOINC_CACHE_MD5 to
enable it.

svn path=/trunk/boinc/; revision=4965
2004-12-30 04:16:00 +00:00
David Anderson 097c237fda *** empty log message ***
svn path=/trunk/boinc/; revision=4964
2004-12-30 03:33:53 +00:00
Rom Walton 6f0e37535a *** empty log message ***
svn path=/trunk/boinc/; revision=4963
2004-12-30 03:27:12 +00:00
David Anderson 637aa3b688 *** empty log message ***
svn path=/trunk/boinc/; revision=4962
2004-12-30 03:03:26 +00:00
Matt Lebofsky b58f9f1aad added intval + 0.1 to rating score (to avoid scores of 0.999999999, etc.)
svn path=/trunk/boinc/; revision=4961
2004-12-29 18:46:22 +00:00
Bruce Allen 81b2b59c8b Hyperlink to WUs. Thanks to Christian (DjangoFett@gmx.net)
svn path=/trunk/boinc/; revision=4960
2004-12-29 16:52:53 +00:00
Bruce Allen 7b04266738 Added RCSID strings to these files.
svn path=/trunk/boinc/; revision=4959
2004-12-29 15:39:35 +00:00
Bruce Allen c4c6f4be40 make X/Unix graphics not fail if GLUT calls abort(3). This
generated a SIGARBT.  We now catch this signal.  In the
graphics thread, this just restarts the graphics init process
(with some sleep(2)ing if needed to prevent a busy fail loop).
If the signal is caught in the main thread, we restore the old
signal handler then raise(SIGABRT).

David, note that when run standalone, killing the graphics
window does NOT kill the process.  I think this is fine, but
it doesn't correspond to what the documentation says.

svn path=/trunk/boinc/; revision=4958
2004-12-29 12:21:46 +00:00
Rom Walton ca01cc1df6 *** empty log message ***
svn path=/trunk/boinc/; revision=4957
2004-12-28 21:30:51 +00:00
Rom Walton 0d8066cf7f *** empty log message ***
svn path=/trunk/boinc/; revision=4956
2004-12-28 19:49:40 +00:00
Bruce Allen 20777fef17 Added some details about how to link a shared library object and how to
communicate data between worker and graphics threads in that situation.

svn path=/trunk/boinc/; revision=4955
2004-12-28 19:44:44 +00:00
Bruce Allen fd4265d93b fixes from Reinhard Prix to disable building of boincglut under
Darwin/Unix.  It's only needed under Windows. Also warn user if
GLUT libraries missing, and then build only non-graphical client
side code.

svn path=/trunk/boinc/; revision=4954
2004-12-28 15:58:24 +00:00
Bruce Allen 9c1fb7a931 We need to change the fixed 60 second interval to increasing intervals.
When glutInit fails it prints a line (~100 chars) to stdout.  If it does
this 60 times per hour, that's 6kB/hour.  After ten hours it will overflow
the blob for stderr.

svn path=/trunk/boinc/; revision=4953
2004-12-28 09:32:29 +00:00
David Anderson 652e2e5c65 *** empty log message ***
svn path=/trunk/boinc/; revision=4952
2004-12-28 05:25:44 +00:00
David Anderson 177b530d0b *** empty log message ***
svn path=/trunk/boinc/; revision=4951
2004-12-28 03:39:52 +00:00
Rom Walton 39813646bc *** empty log message ***
svn path=/trunk/boinc/; revision=4950
2004-12-27 23:16:11 +00:00
David Anderson 1776219b2d *** empty log message ***
svn path=/trunk/boinc/; revision=4949
2004-12-27 22:57:47 +00:00
David Anderson e9d26909b2 *** empty log message ***
svn path=/trunk/boinc/; revision=4948
2004-12-27 22:52:55 +00:00
David Anderson 6f66c759c8 *** empty log message ***
svn path=/trunk/boinc/; revision=4947
2004-12-27 22:49:25 +00:00
David Anderson c60fb03c27 *** empty log message ***
svn path=/trunk/boinc/; revision=4946
2004-12-27 21:53:38 +00:00
Bruce Allen 7bcd27cf8d Correct cut-and-paste error: table with border should not have zero border width
svn path=/trunk/boinc/; revision=4945
2004-12-27 21:21:40 +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 9f78f06d53 *** empty log message ***
svn path=/trunk/boinc/; revision=4942
2004-12-27 03:58:11 +00:00
David Anderson 15e29841be *** empty log message ***
svn path=/trunk/boinc/; revision=4941
2004-12-27 03:42:11 +00:00
David Anderson 308a867493 *** empty log message ***
svn path=/trunk/boinc/; revision=4940
2004-12-26 06:08:11 +00:00