Commit Graph

91 Commits

Author SHA1 Message Date
David Anderson bed9ce8307 minor code cleanup
svn path=/trunk/boinc/; revision=14375
2007-12-12 04:52:30 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
Charlie Fenton 3158d103ab client/manager/API: Finish & fix bugs in code cleanup to disentangle sandbox code from lib/.
svn path=/trunk/boinc/; revision=13798
2007-10-09 00:34:38 +00:00
David Anderson d302a5e107 - client/manager/API: code cleanup to disentangle sandbox code from lib/.
- move client sandbox-specific code to a new file, sandbox.C
    - remove g_use_sandbox from util.C; move to MainDocument.cpp (manager)
        and sandbox.C (client)
    - don't declare check_security() in util.h; it's not in util.C
    - don't call remove_project_owned_file_or_dir() in
        boinc_delete_file_aux() or boinc_rmdir();
        rather, at the points in the client that delete
        dirs that are usually owned by boinc_projects,
        call remove_project_owned_file_or_dir() first,
        then clean_out_dir().
    - rename boinc_exec() to switcher_exec() and move it to sandbox.C

Note: this change was sparked by needing to remove a call to getgrnam()
from boinclib, to avoid requiring the same version of glibc
on both compile and target hosts

svn path=/trunk/boinc/; revision=13784
2007-10-05 16:47:07 +00:00
David Anderson 449e3fa257 - client: change the way upload/download throughput
estimates are maintained.
	The old way took concurrency into account but ignored compression;
	the new way does the converse.
- client: maintain new stat: recent average transfer rates.
	This track average up/down throughputs
	(over wall clock time, not just while xfers are active)
	with a half-life of 1 day.
	Will eventually add a new pref: don't fetch new work if
	either of these is above a threshold

svn path=/trunk/boinc/; revision=13407
2007-08-17 18:05:39 +00:00
Charlie Fenton 82f1708512 Create boinc_exec() function for invoking switcher and setprojectgrp utilities instead of calling system()
svn path=/trunk/boinc/; revision=13311
2007-08-14 10:08:36 +00:00
Charlie Fenton d97454793c Delete orphan shared memory segments at BOINC startup
svn path=/trunk/boinc/; revision=13047
2007-06-28 11:10:01 +00:00
David Anderson b686f89d85 David 20 Apr 2007
- make_project: add periodic tasks to default config.xml:
        dp_dump, update_uotd, update_forum_activities, update_stats,
        update_profile_pages
    - backend_lib.C: refuse to create a job for which some necessary
        parameter (rsc_fpops_est, rsc_fpops_bound, etc.) is missing
    - Unix build: don't include std_fixes.h in config.h.
        std_fixes.h is (I think) deprecated
    - sched_util: default sched log level is MSG_NORMAL
    - client: add ".txt" to job log filename
    - compile fixes

    configure.ac
    api/
        reduce_main.C
    client/
        file_names.C
    lib/
        str_util.h
    sched/
        sample_work_generator.C
        sched_msgs.h
    tools/
        backend_lib.C

svn path=/trunk/boinc/; revision=12430
2007-04-20 17:14:08 +00:00
David Anderson e6f9499b02 *** empty log message ***
svn path=/trunk/boinc/; revision=12361
2007-04-13 04:22:20 +00:00
David Anderson 71afcf8c06 *** empty log message ***
svn path=/trunk/boinc/; revision=12235
2007-03-15 23:01:51 +00:00
David Anderson 138f17af40 *** empty log message ***
svn path=/trunk/boinc/; revision=12216
2007-03-13 19:33:27 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson a26b6a2215 *** empty log message ***
svn path=/trunk/boinc/; revision=11972
2007-01-25 23:39:06 +00:00
David Anderson 4baf3b3048 *** empty log message ***
svn path=/trunk/boinc/; revision=11727
2006-12-27 22:24:49 +00:00
David Anderson 6d48e0e244 *** empty log message ***
svn path=/trunk/boinc/; revision=11656
2006-12-12 23:32:25 +00:00
David Anderson 41eb40b051 *** empty log message ***
svn path=/trunk/boinc/; revision=11643
2006-12-11 23:42:54 +00:00
Rom Walton dfc2cdb4b6 *** empty log message ***
svn path=/trunk/boinc/; revision=10805
2006-08-01 16:09:41 +00:00
Charlie Fenton 6ecd5de4d9 *** empty log message ***
svn path=/trunk/boinc/; revision=10803
2006-08-01 12:36:19 +00:00
David Anderson 986e2e5047 *** empty log message ***
svn path=/trunk/boinc/; revision=10665
2006-07-18 01:46:55 +00:00
Charlie Fenton a4896c49c4 *** empty log message ***
svn path=/trunk/boinc/; revision=10590
2006-07-06 11:44:47 +00:00
Charlie Fenton 74ae3b868b *** empty log message ***
svn path=/trunk/boinc/; revision=10589
2006-07-06 11:04:46 +00:00
Charlie Fenton d7850434bd *** empty log message ***
svn path=/trunk/boinc/; revision=10554
2006-07-01 05:32:02 +00:00
Charlie Fenton e8e9cae692 *** empty log message ***
svn path=/trunk/boinc/; revision=10422
2006-06-21 03:10:24 +00:00
Charlie Fenton 9797277532 *** empty log message ***
svn path=/trunk/boinc/; revision=10372
2006-06-16 13:40:30 +00:00
Charlie Fenton ab4df7f5bd *** empty log message ***
svn path=/trunk/boinc/; revision=10337
2006-06-14 07:36:44 +00:00
Charlie Fenton 03e6f39866 *** empty log message ***
svn path=/trunk/boinc/; revision=10323
2006-06-13 09:08:00 +00:00
David Anderson f5ce6cacff sandbox
svn path=/trunk/boinc/; revision=10310
2006-06-12 04:05:10 +00:00
Rom Walton 6c3751ca06 *** empty log message ***
svn path=/trunk/boinc/; revision=10146
2006-05-16 21:14:18 +00:00
David Anderson 4052efbaf7 don't clear project dir if app_info.xml found
svn path=/trunk/boinc/; revision=9598
2006-03-03 21:34:03 +00:00
David Anderson 45fc5016e5 terminology
svn path=/trunk/boinc/; revision=9258
2006-01-17 22:48:09 +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 b879ff0ac1 fix startup crash
svn path=/trunk/boinc/; revision=8643
2005-10-11 01:42:55 +00:00
David Anderson 7114c0459f *** empty log message ***
svn path=/trunk/boinc/; revision=8613
2005-10-10 03:21:52 +00:00
David Anderson 38e9a6370b *** empty log message ***
svn path=/trunk/boinc/; revision=8574
2005-10-09 21:03:11 +00:00
David Anderson ca08a07ff9 *** empty log message ***
svn path=/trunk/boinc/; revision=6450
2005-06-26 23:13:48 +00:00
David Anderson d37df9e36f *** empty log message ***
svn path=/trunk/boinc/; revision=6286
2005-06-06 19:18:01 +00:00
David Anderson 8352bb38ae *** empty log message ***
svn path=/trunk/boinc/; revision=5838
2005-04-12 18:08:51 +00:00
David Anderson 67f6558e04 *** empty log message ***
svn path=/trunk/boinc/; revision=5785
2005-04-06 19:41:31 +00:00
David Anderson 3e2ad042ba *** empty log message ***
svn path=/trunk/boinc/; revision=5769
2005-04-04 06:02:36 +00:00
David Anderson 34c158e142 *** empty log message ***
svn path=/trunk/boinc/; revision=5618
2005-03-10 00:43:22 +00:00
David Anderson 2944a46d99 *** empty log message ***
svn path=/trunk/boinc/; revision=5575
2005-03-07 21:19:09 +00:00
David Anderson 7c5a66f9a2 *** empty log message ***
svn path=/trunk/boinc/; revision=5536
2005-02-27 20:06:51 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
Rom Walton c57c6a3612 *** empty log message ***
svn path=/trunk/boinc/; revision=5263
2005-02-01 06:16:13 +00:00
David Anderson 60a503f955 *** empty log message ***
svn path=/trunk/boinc/; revision=5260
2005-02-01 00:29:04 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22: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
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 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 6ac1953734 *** empty log message ***
svn path=/trunk/boinc/; revision=4525
2004-11-11 19:24:02 +00:00