Commit Graph

95 Commits

Author SHA1 Message Date
Rom Walton feb3441601 - MGR: If the project_init.xml file suggests a project to attach too
attempt to attach to it.
    - CLIENT: Move the code that deletes the project_init.xml from detach
        project to attach project.  It is only needed for as long as
        it takes to attach to a project.
        
    client/
        gui_rpc_server_ops.C
    clientgui/
        AdvancedFrame.cpp
        sg_BoincSimpleGUI.cpp

svn path=/trunk/boinc/; revision=14582
2008-01-16 22:10:34 +00:00
Charlie Fenton 3ad653d8ac Mac Sandbox: make BOINC Data directory and files not world-readable to hide account keys from unauthorized users
svn path=/trunk/boinc/; revision=14566
2008-01-16 10:38:21 +00:00
David Anderson 80c6f55d7d - client: a project (Ralph) had accidentally included a .svn directory in a zip archive,
resulting in a lot of read-only files in its slot directories.
        When the client attempts to delete these files,
        each delete fails and the client retries for about 5 seconds.
        This adds up to a delay of about 20 minutes,
        during which the client (and Manager) appear to be hung.

        Solution:
        1) if a file delete fails with error ERROR_ACCESS_DENIED,
            use SetFileAttributes() to clear the read-only flag, then try again.
        2) Don't use the 5-second retry mechanism when clearing out
            slot directories.  These can contain unbounded numbers of files,
            and this can lead to long periods where the client appears hung.

svn path=/trunk/boinc/; revision=14557
2008-01-15 19:12:43 +00:00
David Anderson d0241d359c - renamed clean_out_dir() to client_clean_out_dir(),
and put the original clean_out_dir() back in lib/filesys.C

svn path=/trunk/boinc/; revision=14549
2008-01-14 18:32:20 +00:00
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