Commit Graph

5067 Commits

Author SHA1 Message Date
David Anderson b9d7ecdc1a - client: run_if_user_active pref applies to both
network transfers and CPU usage.
    (Note: maybe we should have a separate pref for this).

svn path=/trunk/boinc/; revision=13131
2007-07-10 17:49:51 +00:00
Charlie Fenton 05debbadf4 Mac: log_flags.state_debug prints errno when rename of client_state_next.xml to client_state.xml fails
svn path=/trunk/boinc/; revision=13128
2007-07-10 09:01:07 +00:00
David Anderson 3e340136da - feeder: simplified DB query
- make_project: remove space after URL in schedulers.txt

svn path=/trunk/boinc/; revision=13127
2007-07-09 20:09:49 +00:00
Rom Walton d5abeb9761 - MGR: Workaround a crash issue by only dealing with the frame
pointer if the manager is told to quit by the cc.
        
    clientgui/
        MainDocument.cpp

svn path=/trunk/boinc/; revision=13126
2007-07-09 19:18:13 +00:00
David Anderson a81b825643 - client: add "dont_contact_ref_site" config flag;
suppresses connectivity-testing connections to google.com

svn path=/trunk/boinc/; revision=13125
2007-07-09 16:00:10 +00:00
Janus B. Kristensen 9221ee19d4 Fix top_hosts.php
svn path=/trunk/boinc/; revision=13123
2007-07-08 11:57:57 +00:00
David Anderson b762522c9e - Client: radically faster (on Win) version of dir_size()
(from John McLeod)

svn path=/trunk/boinc/; revision=13118
2007-07-08 03:30:06 +00:00
David Anderson e38e307d65 - fix to previous checkin
svn path=/trunk/boinc/; revision=13115
2007-07-06 23:09:59 +00:00
David Anderson d07916ca51 - client: change order so that backoff because of no work
happens before server-requested backoff (eliminate double messages)

svn path=/trunk/boinc/; revision=13114
2007-07-06 21:58:32 +00:00
David Anderson 80c7b4aae1 - added sample host-distribution file for HR
svn path=/trunk/boinc/; revision=13113
2007-07-06 18:19:10 +00:00
Rom Walton c877a96b5f - Additional support for VS Express Edition.
clientlib/win/
        boinc_dll.rc

svn path=/trunk/boinc/; revision=13109
2007-07-06 16:45:01 +00:00
David Anderson 797c464b3a - Back end: add a feature for "blackballing" hosts.
To do this, set host.max_results_day to -1.
    If you do this, scheduler requests from that host
    will get an error message, and will otherwise be ignored
    (no jobs in or out, no trickles).
- Scheduler: send_message() should be called ONLY if you're
    not going to call handle_request();
    otherwise we'll write two separate replies.
    To fix this, I added a separate function (send_error_message())
    that can be called within handle_request()
    to deal with error situations.
- Scheduler: moved debug_sched() to main.C
- Scheduler: moved logic to send "delete file" commands
    out of handle_request() into a separate function,
    send_file_deletes() in sched_locality.C.
    Remove #ifdef EINSTEIN_AT_HOMEs; maybe someday another project
    will use locality scheduling!

svn path=/trunk/boinc/; revision=13108
2007-07-06 16:37:00 +00:00
David Anderson 26a1c63b20 - feeder: add debugging feature:
if you send it a USR1 signal, it writes a summary
    of the shmem contents and HR state to the log file

svn path=/trunk/boinc/; revision=13107
2007-07-05 23:06:18 +00:00
Rytis Slatkevičius b04aeea7d6 user web: make sure that all links that have URL_BASE have slashes after it. This makes a slash in the end of URL_BASE definition in project/project.inc no longer necessary.
svn path=/trunk/boinc/; revision=13106
2007-07-05 19:37:33 +00:00
Janus B. Kristensen 67dde5f995 Top hosts translation awareness
svn path=/trunk/boinc/; revision=13104
2007-07-05 11:21:37 +00:00
David Anderson 0bbe224c21 - scheduler: the "max_wus_in_progress" option only worked if
"resend_lost_results" option was used also
    (because the count of in-progress results was
    based from the DB query used by resend_lost_results).

    Fix: initialize the count of in-progress results to
    the list provided in the scheduler request.
- scheduler: add "--mark_jobs_done" flag; if set, all jobs
    sent are marked as done, and their WUs enabled for transition.
    This is used for simulation purposes,
    in conjunction with sched_driver.
- scheduler: if --batch option is set, don't check RPC seqnos
    (for simulation purposes)

svn path=/trunk/boinc/; revision=13101
2007-07-05 04:18:48 +00:00
Janus B. Kristensen ad582a2c25 Bittorrent tracker related updates
svn path=/trunk/boinc/; revision=13093
2007-07-03 23:22:30 +00:00
David Anderson ef80e8576f - Added program sched/sched_driver.C.
This generates a sequence of scheduler requests,
    with host info taken from a file,
    that you can feed into the scheduler (cgi --batch)
    to simulate things like homogeneous redundancy
- Added args to XML_PARSER::skip_unexpected() to you can say
    whether to write messages to stderr for unparsed stuff.
    This is set to true if log_flags.unparsed_xml is set (client)
    or if debug_level is 3 (server)
- removed references to $(LIBRSA) in Makefile.am's

client/
    Makefile.am
    acct_mgr.C
    gui_rpc_server_ops.C
    log_flags.C
lib/
    Makefile.am
    app_ipc.C
    gui_rpc_client_ops.C
    parse.C,h
    prefs.C
sched/
    Makefile.am
    sched_config.C
    sched_driver.C

svn path=/trunk/boinc/; revision=13090
2007-07-03 21:55:50 +00:00
Bruce Allen a5854e5485 fix typo in comment and docs
svn path=/trunk/boinc/; revision=13089
2007-07-03 21:35:59 +00:00
Bruce Allen 1e8a495b0b Should have gone with previous commit 13087
svn path=/trunk/boinc/; revision=13088
2007-07-03 20:57:57 +00:00
David Anderson 7c7fbf250d - client: add <simple_gui_only> config flag
- GUI RPC: add disallow_attach and simple_gui_only flags
    to CC_STATUS structure

client/
    gui_rpc_server_ops.C
    log_flags.C,h
html/inc/
    stats_sites.inc
lib/
    gui_rpc_client.h
    gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=13084
2007-07-02 20:55:21 +00:00
David Anderson ee8462c20f - client: fix bug that broke <os_random_only> option
- client and Manager: attempts to fix problems
		if <guirpc_debug> is set

	client/
		gui_rpc_server_ops.C
	clientgui/
		MainDocument.cpp
	lib/
		gui_rpc_client_ops.C
		md5_file.C

svn path=/trunk/boinc/; revision=13083
2007-07-02 20:45:16 +00:00
Rom Walton 24c3a5e7bc svn path=/trunk/boinc/; revision=13080 2007-07-02 18:12:15 +00:00
Rom Walton db585e88c5 - MGR: Adjust menu names.
clientgui/
        AdvancedFrame.cpp
        Events.h

svn path=/trunk/boinc/; revision=13067
2007-07-02 13:17:36 +00:00
David Anderson 79ad608685 - GUI RPC: debug set_debts handler. Fixes #131
client/
    gui_rpc_server_ops.C

svn path=/trunk/boinc/; revision=13065
2007-06-30 18:46:07 +00:00
Charlie Fenton 3208f0c677 Mac: Update user-visible copyright dates from 2006 to 2007
svn path=/trunk/boinc/; revision=13059
2007-06-30 06:21:20 +00:00
Rom Walton f490d71ad1 - WIN: Update 2003 project files
- WIN: Re-introduce manifests for 2003 built files.

    /
        <Numerious Files>

svn path=/trunk/boinc/; revision=13054
2007-06-30 00:12:19 +00:00
David Anderson 5059102816 - client: code cleanup. Was looking for fopen()s without fclose(),
didn't find any.

client/
    cs_scheduler.C
    app_start.C
    time_stats.C

svn path=/trunk/boinc/; revision=13051
2007-06-29 15:45:15 +00:00
David Anderson 9f6fe805ad - API: set fraction_done to 1 in boinc_finish()
api/
    boinc_api.C

svn path=/trunk/boinc/; revision=13050
2007-06-28 22:51:51 +00:00
Charlie Fenton b1d0451241 Back out my changes of 6/27/07; delete orphan shared memory segments at BOINC startup
svn path=/trunk/boinc/; revision=13048
2007-06-28 11:11:10 +00:00
David Anderson e8f9807a81 - user web: host merge: consider CPUs compatible if both
are vendor "AuthenticAMD".

html/inc/
    host.inc

svn path=/trunk/boinc/; revision=13045
2007-06-28 03:46:06 +00:00
Rom Walton 4da66bfaa8 - DIAG: Visual Studio 2005 enforces parameter checking, and if
a parameter is wrong it just terminates the process with
        a 0xc000000d. This is a shot in the dark but I think it
        is a good guess as to what is happening right now.
        
    lib/
        diagnostics.C, .h
        diagnostics_win.C

svn path=/trunk/boinc/; revision=13042
2007-06-27 21:12:13 +00:00
Matt Lebofsky 0c43d65dd9 svn path=/trunk/boinc/; revision=13040 2007-06-27 20:44:45 +00:00
David Anderson 823df51238 - client: allow up to a day (rather than work_buf_min()) to elapsed
between completing a result and reporting it.
- back end: added <httpd_user> config option:
    Web server user name (used by file deleter)
- back end: don't report unparsed XML in config.xml as an error

client/
    app.h
    work_fetch.C
lib/
    shmem.C
sched/
    file_deleter.C
    file_upload_handler.C
    sched_config.C,h
    show_shmem.C

svn path=/trunk/boinc/; revision=13039
2007-06-27 20:09:18 +00:00
David Anderson 6f94f032a4 - user web: host merge: don't require OS names to match exactly;
OK if both contain "Windows", "Linux", "SunOS" or "Darwin".

html/inc/
    host.inc

svn path=/trunk/boinc/; revision=13038
2007-06-27 18:14:25 +00:00
David Anderson c9ac734ae9 - user web: host merge: skip disjoint-time check
if one of the hosts has zero credit

html/inc/
    host.inc

svn path=/trunk/boinc/; revision=13035
2007-06-27 16:12:25 +00:00
Charlie Fenton fdf8973685 CC: Mark shmem segment for eventual destruction on first msg from task (*nix only)
svn path=/trunk/boinc/; revision=13034
2007-06-27 10:29:31 +00:00
David Anderson 7ea662932c - add new stats site
- back end: use boinc_mkdir to get permissions right

html/inc/
    stats_sites.inc
lib/
    filesys.C
sched/
    db_dump.C
    db_purge.C
    feeder.C

svn path=/trunk/boinc/; revision=13033
2007-06-26 21:14:58 +00:00
David Anderson 2c63418b25 - manager and client: fixed bug where only one day-of-week
preference would be parsed.

	lib/
		prefs.C,h

svn path=/trunk/boinc/; revision=13031
2007-06-26 16:07:17 +00:00
David Anderson 709f5747c5 svn path=/trunk/boinc/; revision=13029 2007-06-26 03:48:50 +00:00
Charlie Fenton 0b81d6654b More scheduler tweaks for shared memory
svn path=/trunk/boinc/; revision=13028
2007-06-26 03:43:06 +00:00
David Anderson fdbe1dbd2d - added hr_info.*
svn path=/trunk/boinc/; revision=13023
2007-06-25 23:56:03 +00:00
David Anderson cdc65cd283 - Manager: if a job is running EDF, show "high priority" in status
- compile fixes for Charlie's next-to-last checkin
    
    client/
        client_state.h
        cpu_sched.C
        sim.h
        sim_util.C
    clientgui/
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=13021
2007-06-25 19:05:29 +00:00
Charlie Fenton 2924232b50 Mac: Fix bugs in XCode script phases which create visible copyright and version strings in installer and uninstaller.
svn path=/trunk/boinc/; revision=13018
2007-06-25 13:50:04 +00:00
Charlie Fenton 7bb1b1a0d4 CC: Add logic to scheduler, etc. for systems which limit the number of shared memory segments per process and / or system-wide.
svn path=/trunk/boinc/; revision=13015
2007-06-25 11:46:15 +00:00
Charlie Fenton 47d6fe23f3 Mac: Fix bugs when user chooses Quit from menubar icon menu and then cancels in confirmation dialog; Modify XCode project not to copy header files into Manager bundle
svn path=/trunk/boinc/; revision=13009
2007-06-24 10:56:50 +00:00
Charlie Fenton dbfb00570e Mac: Fix bugs when user chooses Quit from menubar icon menu and then cancels in confirmation dialog.
svn path=/trunk/boinc/; revision=13001
2007-06-24 09:24:52 +00:00
Charlie Fenton e3759e4bc8 Mac: if (log_flags.state_debug) print debugging info when rename of client_state_next.xml to client_state.xml fails. Sandbox: fix build break.
svn path=/trunk/boinc/; revision=12989
2007-06-23 08:41:46 +00:00
David Anderson a97556bdfd - feeder: added a new enumerator of DB_WORK_ITEM that,
on successive calls, scans through ALL the sendable
    jobs satisfying the select clause
    (it does this by ID order, so there's no order clause)
    This is used for HR, so that if a job has been committed
    to an HR class, we eventually get it.

    With extremely minimal testing, the new HR stuff seems to work.

db/
    boinc_db.C,h
sched/
    feeder.C
    sample_work_generator.C
    server_types.C

svn path=/trunk/boinc/; revision=12988
2007-06-22 23:48:37 +00:00
David Anderson 0a19dddf18 - client: read only first 63KB of stderr.txt
- user web: default work_buf_min_days is 0, not ""

html/inc/
    prefs.inc
client/
    app_control.C

svn path=/trunk/boinc/; revision=12987
2007-06-22 22:18:28 +00:00