Commit Graph

5154 Commits

Author SHA1 Message Date
David Anderson 3990e817e3 - add support for "BOINC teams" (to be explained later)
svn path=/trunk/boinc/; revision=13218
2007-07-25 20:58:36 +00:00
David Anderson 12ed1228d2 - user web: code cleanup related to user creation.
Make a single function that creates users and cleanses args.

svn path=/trunk/boinc/; revision=13216
2007-07-25 15:11:14 +00:00
David Anderson 2af893b0f2 - user web: code cleanup related to team creation.
Make a single function that creates teams
    and cleanses arguments.
- API: don't include config.h in parse.h.
    This file is included from apps
    (indirectly, via graphics_api.h)
    so it shouldn't assume that config.h exists

svn path=/trunk/boinc/; revision=13212
2007-07-25 03:17:31 +00:00
David Anderson ef247eed41 - user web: moved functions to send specific messages out of email.inc
- user web: code cleanup involving team founder transfer,
    and improved the text of some messages

svn path=/trunk/boinc/; revision=13210
2007-07-23 20:30:30 +00:00
David Anderson aefd2d4c88 - client: add mechanism to abort results if they get > 100
"premature exits" (exit(0) without finish file) between checkpoints


svn path=/trunk/boinc/; revision=13207
2007-07-20 23:42:20 +00:00
Charlie Fenton 2b35e02bb7 Mac: changes for libcurl 7.16.4
svn path=/trunk/boinc/; revision=13205
2007-07-20 23:32:11 +00:00
David Anderson 462bbffd1c svn path=/trunk/boinc/; revision=13202 2007-07-20 20:20:07 +00:00
David Anderson 7594e57b05 - update_versions: don't accept a multi-file application
unless there's a main program with same name as dir
    (previously it was treating the first executable file found
    as the main program, with occasionally disastrous consequences).

svn path=/trunk/boinc/; revision=13201
2007-07-20 20:19:35 +00:00
David Anderson fa86831af6 svn path=/trunk/boinc/; revision=13200 2007-07-20 18:48:19 +00:00
David Anderson c38c8fc4df - sample app: adapt the one from boinc_samples
svn path=/trunk/boinc/; revision=13199
2007-07-20 18:47:52 +00:00
David Anderson eaed993f4c - User web and client: added a new pref "suspend_if_no_recent_input"
that lets you suspend computation after a specified period of idleness.
        This is necessary to allow some machines to go into low-power mode
        when they're not being used.
    - Change the wording of some existing prefs; for example, changed
        "Do work while computer is in use?" to
        "Suspend work while computer is in use".
        The former is confusing - if you say yes, BOINC may in fact
        NOT do work while the computer is in use,
        due to other factors (time of day, etc.)
    TODO: HOST_INFO::users_idle() should be changed so that it
        returns the idle time
        (rather than telling you whether we've been idle for X)

svn path=/trunk/boinc/; revision=13193
2007-07-19 23:22:19 +00:00
Charlie Fenton b530dde5f1 Manager: don't call GetWorkCount() unnecesaarily in ViewWorkGrid.cpp.
svn path=/trunk/boinc/; revision=13188
2007-07-19 01:38:30 +00:00
Charlie Fenton d0d99aec23 Manager: Update disk pie chart only if something has changed (from Frank Weiler)
svn path=/trunk/boinc/; revision=13187
2007-07-19 01:29:57 +00:00
David Anderson 391ea79384 - back out my last change
svn path=/trunk/boinc/; revision=13185
2007-07-18 23:26:49 +00:00
Rytis Slatkevičius b24c43f06f - user web: add a feature to mark all threads as read (forums). (fix #52)
svn path=/trunk/boinc/; revision=13182
2007-07-18 15:48:07 +00:00
David Anderson 4eb40183f2 - user web: team founder transfer request requires nonzero total credit
svn path=/trunk/boinc/; revision=13181
2007-07-18 15:16:04 +00:00
Charlie Fenton 71502f5700 Charlie 17 July 2007
Manager GridCtrl: Fix Compile error on some platforms.

svn path=/trunk/boinc/; revision=13176
2007-07-17 23:12:55 +00:00
Charlie Fenton 814e92815d Manager GridCtrl: Don't save/restore width of hidden/invisible columns.
svn path=/trunk/boinc/; revision=13174
2007-07-17 22:20:06 +00:00
David Anderson 2d74b133a1 - scheduler: move startup checks (stop_sched, shmem) inside FCGI loop.
Hopefully this will make it feasible to run scheduler
    even when project is down.
- lib: fix cygwin build error

svn path=/trunk/boinc/; revision=13172
2007-07-17 20:34:37 +00:00
Charlie Fenton 1624e3bd8c Manager: Fixed bug in task grid view: added hidden column COLUMN_RESULTS_INDEX to hold index into results vector.
svn path=/trunk/boinc/; revision=13167
2007-07-17 10:45:29 +00:00
David Anderson 40cc228523 - Manager: changed wording the "Choose a project" page
of attach wizard.
		At least one person was confused by 'WWW';
		he thought you clicked there to choose project.

svn path=/trunk/boinc/; revision=13163
2007-07-16 20:57:19 +00:00
David Anderson 79adf59f98 - client: if can't write state file, don't immediately exit,
but don't do anything other than handle GUI RPCs.
    After 50 secs, print an "about to exit" message.
    After 60 seconds, exit

svn path=/trunk/boinc/; revision=13162
2007-07-16 20:30:21 +00:00
David Anderson 0a7422f5f7 - Manager: in grid views, don't sort unless needed (from Frank)
- client: show OS name/version in message at startup

svn path=/trunk/boinc/; revision=13161
2007-07-16 18:09:54 +00:00
Charlie Fenton 9d868cd52d Mac client: always show UNIX error if state file rename fails.
svn path=/trunk/boinc/; revision=13157
2007-07-16 08:59:14 +00:00
David Anderson 32d1665178 - client: print time zone message at startup
- Manager: removed ForceRefresh() calls in grid views;
		reduces CPU usage, still seems to work (from Frank Weiler)

svn path=/trunk/boinc/; revision=13155
2007-07-14 20:04:47 +00:00
David Anderson 2cb1a64fe3 - user web: fix image URL on home page. Fixes #340
svn path=/trunk/boinc/; revision=13154
2007-07-14 19:34:33 +00:00
David Anderson 7951b86c03 - GUI RPC: added "detach_when_done" and "dont_detach_when_done"
project-control options.
    Made these available in boinc_cmd.
    Fixes #335.

svn path=/trunk/boinc/; revision=13152
2007-07-13 21:11:40 +00:00
David Anderson 905910f806 - API: some out-of-mem checks
svn path=/trunk/boinc/; revision=13151
2007-07-13 20:18:46 +00:00
David Anderson 6285969149 - client: if CA bundle file isn't in BOINC directory,
don't tell Curl to look for it there.
        It might be in the default place where Curl looks.

svn path=/trunk/boinc/; revision=13150
2007-07-13 17:25:47 +00:00
David Anderson dc46bdb019 - client simulator: rename "variety" to "monotony",
and redefine it so the range is
    zero (no monotony) to one (maximal monotony)

svn path=/trunk/boinc/; revision=13148
2007-07-12 19:52:58 +00:00
David Anderson a574d16ccd - client simulator: add --line_limit option;
splits up HTML output into multiple fixed-size files

svn path=/trunk/boinc/; revision=13147
2007-07-12 18:38:53 +00:00
David Anderson 4760e6d960 - client simulator: added '--work_fetch_old' option.
If set, the simulator uses an approximation of the old
    work fetch policy, where the client tries to maintain
    an amount of work for each project equal to
    the buffer size times its relative resource share

svn path=/trunk/boinc/; revision=13144
2007-07-11 20:13:53 +00:00
Eric J. Korpela 7451c3c62b Web: result display: Changed text for display of results cancelled by
server (exit_status=-221).


svn path=/trunk/boinc/; revision=13143
2007-07-11 17:14:02 +00:00
David Anderson afe62aeaea - Manager: made some strings translatable
svn path=/trunk/boinc/; revision=13142
2007-07-11 16:26:44 +00:00
Charlie Fenton 6cd9f9bdef Mac Installer: installer creates skins directory; use sh shell instead of csh for scripts; MGR: Check correct menu item in View menu
svn path=/trunk/boinc/; revision=13137
2007-07-11 09:53:17 +00:00
David Anderson bda30b3065 - added a stats site
- added return value for copy_stream()

svn path=/trunk/boinc/; revision=13133
2007-07-10 23:42:05 +00:00
David Anderson 4f61f60851 - scheduler: FCGI version would crash if stop_sched is set
svn path=/trunk/boinc/; revision=13132
2007-07-10 18:44:58 +00:00
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
David Anderson bf8d4cc73c - client: fix two XML parsing bugs:
1) XML_PARSER::parse_int() and parse_double() wouldn't parse
			<foo></foo>, and in fact would consume the </foo>,
			so that the resulting skip_unexpected()
			would skip the entire rest of the document.

			This was exercised because my checking of 17 Apr
			set the default for work_buf_min_days as "" rather than 0.

		2) XML_PARSER::scan_tag() was removing spaces,
			so <venue name="home"> parsed as venuename="home"
			This actually didn't do any damage.

	lib/
		parse.C
		prefs.C

svn path=/trunk/boinc/; revision=12986
2007-06-22 21:19:19 +00:00
David Anderson e1a0c552e2 - compile fixes for Win
client/
		acct_setup.C
		cs_prefs.C
		cs_trickle.C
	lib/
		filesys.C
		str_util.C,h
		util.C,h
	tools/
		updater.C
	win_build/
		sim.vcproj

svn path=/trunk/boinc/; revision=12985
2007-06-22 20:17:08 +00:00
David Anderson 7b74befedc - client: when you read a file into a string with:
loop
            read a line X
            S += X
    it performs real bad if the file is large
    (allocation of std::string seems to stupid)
    So I changed this to
        find file size n
        read file into malloced buf size n
        S = buf
        free buf
- lib: moved functions to appropriate file
        
client/
    acct_setup.C
    cs_prefs.C
lib/
    parse.C,h
    str_util.C,h
    util.C,h

svn path=/trunk/boinc/; revision=12983
2007-06-22 18:53:55 +00:00
Charlie Fenton ad416918ff Sandbox: fix switcher call to kill to eliminate error message and to correctly send SIGKILL instead of SIGTERM.
svn path=/trunk/boinc/; revision=12979
2007-06-22 10:09:13 +00:00
David Anderson c912a6506b - user web: fixed bug in private-message code
- back end: moved HR_INFO to a separate file;
    did some debugging in HR code

html/
    inc/
        forum_user.inc
        util.inc
    user/
        forum_pm.php
sched/
    Makefile.am
    census.C
    feeder.C
    hr.C,h
    hr_info.C,h (new)

svn path=/trunk/boinc/; revision=12978
2007-06-22 03:46:42 +00:00
Janus B. Kristensen 7d302fb1ba Added the scraping mechanism for Bittorrent support (not all Bittorrent clients
actually support this, but those that do get an increased performance boost and
don't have to contact the more expensive announce.php nearly as often as those
that do not support it. Since it hasn't yet been decided which BT library we
will be using I just added scraping anyways.

svn path=/trunk/boinc/; revision=12977
2007-06-21 06:01:35 +00:00
David Anderson 6b4e912b27 - random compile warning fixes
client/
    auto_update.C
    file_names.h
    scheduler_op.C
    time_stats.C
lib/
    util.C,h
tools/
    create_work.C
    updater.C

svn path=/trunk/boinc/; revision=12971
2007-06-20 23:16:30 +00:00
David Anderson f5d94818dd - added "census", a program that counts up how much RAC
there is for each HR class, and writes it to a file.
    This will be used soon for HR support in the feeder.
- split the HR code into hr.C,h (stuff used by both census and scheduler)
    and sched_hr.C (stuff used only by the scheduler)
- database: change DB_CREDITED_JOB to treat workunitid
    as a double (which it is) rather than a long.
    BTW, long == int.
- fixed lots of compile warnings in the server code

db/
    boinc_db.C,h
lib/
    boinc_cmd.C
    miofile.C
    util.C
sched/
    Makefile.am
    census.C (new)
    feeder.C
    file_deleter.C
    file_upload_handler.C
    handle_request.C
    hr.C,h (new)
    main.C
    sample_assimilator.C
    sample_work_generator.C
    sched_array.C
    sched_hr.C,h
    sched_send.C
    server_types.C
    transitioner.C
    validator.C

svn path=/trunk/boinc/; revision=12970
2007-06-20 22:34:06 +00:00
David Anderson 6ad51e0452 - feeder: more code cleanup
sched/
    feeder.C


svn path=/trunk/boinc/; revision=12969
2007-06-20 20:23:07 +00:00
David Anderson 45f04aa04b - back end: make it possible to run multiple instances of make_work,
for WUs of different applications
    (need to count unsent results separately by app)
- feeder: major code cleanup
    - application interleaving (for -allapps) is now done
        by building a static slot-to-app array "app_indices".
        Fractional weights now work correctly.
    - enum sizes (for -allapps) are now precomputed
        in an array "enum_sizes"
    - rename "found" (confusing!!) to "collision"
    - swapped the names of mod_select_clause and select_clause,
        to reflect what they actually are
- file deleter: in finding oldest WU, order by id instead of create_time
    (there's no index on create_time)
- user web: show "merge by name" only to host owner
- add cpu_scheduler_period() member to GLOBAL_PREFS
    (so you don't have to multiply by 60 everywhere)
- infinite() fix for HPUX

client/
    cpu_sched.C
    cs_cmdline.C
    cs_scheduler.C
    rrsim_test.C
    sim.C
    work_fetch.C
html/user/
    hosts_user.php
lib/
    parse.h
    prefs.h
sched/
    feeder.C
    file_deleter.C
    make_work.C
    sample_work_generator.C
    sched_util.C,h
tools/
    updater.C

svn path=/trunk/boinc/; revision=12968
2007-06-20 16:27:27 +00:00
David Anderson 55a060a003 - manager: v6 graphics fixes.
Works now, with a few problems

	clientgui/
		ViewWork.cpp
	lib/
		util.C

svn path=/trunk/boinc/; revision=12966
2007-06-20 03:35:16 +00:00
David Anderson dd2064ab6c - manager: v6 graphics fixes. doesn't work yet
client/
		client_state.C
	lib/
		gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12963
2007-06-19 20:30:55 +00:00
Rom Walton 31de94bed1 - MGR: Misc v6 graphics fixes
clientgui/
        sg_ViewTabPage.cpp
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=12962
2007-06-19 17:33:48 +00:00