Commit Graph

337 Commits

Author SHA1 Message Date
David Anderson 53919051a9 -command_line arg to create_work
svn path=/trunk/boinc/; revision=9112
2005-12-21 21:46:22 +00:00
Bruce Allen c88787d169 Make update_versions touch ../reread_db to force the
feeder to notice new app versions.

svn path=/trunk/boinc/; revision=9104
2005-12-20 22:36:31 +00:00
Bruce Allen d40a80fde4 To address some concerns about security, strip USER # from the
online scheduler logs.  The only info that appears in these
online logs is then the HOSTID.  If the user has chosen to hide
their hosts, then there is no way to figure out which user a
given hostid belongs to.

Note that this is exactly the same as the current approach of
displaying the results by hostid, but hiding the identity of the
user who owns a given host.

Also, increase default time for retaining logs to two weeks.

svn path=/trunk/boinc/; revision=9082
2005-12-17 15:51:18 +00:00
David Anderson 86855fc26d *** empty log message ***
svn path=/trunk/boinc/; revision=9068
2005-12-14 23:43:50 +00:00
Bruce Allen c5ed94a649 Fix to script that cleans 'user-visible' scheduler logs, to prevent
it from inadvertently leaving old files hanging around.

svn path=/trunk/boinc/; revision=9067
2005-12-14 23:25:25 +00:00
Bruce Allen 6d7199af08 Added a script that maintains a set of sanatized scheduler logs
for users, helpers, and admins to view on the web.
A second script removes these log files if more than one week
      old.
The logs are 'sanatized' by removing IP addresses and authenticators.
These scripts should be controlled by using the standard start/stop
      scripts.  To do this, make entries in config.xml.  The files both
      contain comments at the top detailing how to do this.

svn path=/trunk/boinc/; revision=9049
2005-12-07 04:19:17 +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 72ad81d930 command_line arg to create_work()
svn path=/trunk/boinc/; revision=8773
2005-10-29 20:16:07 +00:00
David Anderson 270c583dcf app version in window title
svn path=/trunk/boinc/; revision=8663
2005-10-12 18:40:53 +00:00
Reinhard Prix df4bc39cad removed spurious dependencies in tool to avoid pointless re-linking
svn path=/trunk/boinc/; revision=8346
2005-09-30 00:19:42 +00:00
Jeff Cobb 5218ad9bdf Jeff - pull out old hier dir/url hash function
svn path=/trunk/boinc/; revision=8163
2005-09-23 21:09:00 +00:00
David Anderson 63d3310d8b *** empty log message ***
svn path=/trunk/boinc/; revision=7001
2005-08-03 06:04:07 +00:00
David Anderson 511429769c *** empty log message ***
svn path=/trunk/boinc/; revision=6712
2005-07-21 08:24:09 +00:00
Bruce Allen f221e6bd89 If we've created new results for a file, remove filename from the
'working_set_removal' list.

svn path=/trunk/boinc/; revision=6459
2005-06-27 17:06:29 +00:00
Bruce Allen 042bfde576 when using locality scheduler, have transitioner or backend
lib advertise data file when new result is created.
code organization: create new lib function boinc_touch_file()
      from code that was in locality scheduler module.

svn path=/trunk/boinc/; revision=6456
2005-06-27 16:31:49 +00:00
David Anderson 28cc1fb011 *** empty log message ***
svn path=/trunk/boinc/; revision=6343
2005-06-14 20:31:15 +00:00
David Anderson 7eaac3296c *** empty log message ***
svn path=/trunk/boinc/; revision=5634
2005-03-11 23:13:27 +00:00
David Anderson 494ee90567 *** empty log message ***
svn path=/trunk/boinc/; revision=5548
2005-03-01 21:00:06 +00:00
David Anderson 308a6abe8d *** empty log message ***
svn path=/trunk/boinc/; revision=5460
2005-02-17 20:35:41 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
Bruce Allen 87d0753b1a Add CVS-id RCS tags to files.
svn path=/trunk/boinc/; revision=5398
2005-02-11 04:46:01 +00:00
Eric J. Korpela c05d6d23a0 Because FCGI doesn't support fscanf() and fgetc(), the FILE pointers need to be
wrapped in a call to FCGI_ToFILE().  In the case where FCGI isn't being used
FCGI_ToFILE(x) is defined to (x).

svn path=/trunk/boinc/; revision=5387
2005-02-10 19:39:37 +00:00
David Anderson 36ed6019c2 *** empty log message ***
svn path=/trunk/boinc/; revision=5380
2005-02-09 23:49:46 +00:00
David Anderson 5a2a60ad91 *** empty log message ***
svn path=/trunk/boinc/; revision=5367
2005-02-08 22:07:40 +00:00
Bruce Allen 21e1990508 Made the caching of md5 info for source files a configuration option in
config.xml.  Use the boolean tag <cache_md5_info> to enable it.
This prevents the work generation library from having to go back and
continuously regenerate the md5 sums of your input data files.  Note
that reading these from disk can be expensive if you have many such files
that are large and that you re-use. See check-in notes from 30/31 Dec 2004
for some details.

svn path=/trunk/boinc/; revision=5281
2005-02-02 21:57:11 +00:00
David Anderson 09d0878732 *** empty log message ***
svn path=/trunk/boinc/; revision=5244
2005-01-29 23:29:54 +00:00
David Anderson e342603db0 *** empty log message ***
svn path=/trunk/boinc/; revision=5231
2005-01-28 01:07:16 +00:00
David Anderson e1c65eb341 *** empty log message ***
svn path=/trunk/boinc/; revision=5228
2005-01-27 23:09:19 +00:00
David Anderson 24a1bb1abf *** empty log message ***
svn path=/trunk/boinc/; revision=5227
2005-01-27 22:29:06 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Karl Chen 8d3e716729 added support for make_project --db_user --db_passwd
svn path=/trunk/boinc/; revision=5127
2005-01-17 00:21:19 +00:00
David Anderson 205d90a11d *** empty log message ***
svn path=/trunk/boinc/; revision=5040
2005-01-09 08:44:41 +00:00
David Anderson 4e294d1e5a *** empty log message ***
svn path=/trunk/boinc/; revision=5030
2005-01-08 07:44:22 +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
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 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 6f66c759c8 *** empty log message ***
svn path=/trunk/boinc/; revision=4947
2004-12-27 22:49:25 +00:00
David Anderson 072d84e238 *** empty log message ***
svn path=/trunk/boinc/; revision=4937
2004-12-26 02:55:31 +00:00
David Anderson 164c643695 *** empty log message ***
svn path=/trunk/boinc/; revision=4788
2004-12-08 07:03:43 +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 20eb2f30b2 *** empty log message ***
svn path=/trunk/boinc/; revision=4785
2004-12-08 00:14:52 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
David Anderson 9492a0106f *** empty log message ***
svn path=/trunk/boinc/; revision=4685
2004-11-30 07:17:05 +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
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