Commit Graph

104 Commits

Author SHA1 Message Date
David Anderson 2cd158a358 - client: timezone reflects daylight savings time (Win)
from David Barnard; fixes #334
- GUI RPC: add <success/> replies for ops that don't return anything
- GUI RPC: check args for project_attach
- GUI RPC: return error (not blank) if no prefs override file
- add error string for ERR_TOO_MANY_EXITS

svn path=/trunk/boinc/; revision=13293
2007-08-10 16:02:09 +00:00
Charlie Fenton 55e7a41874 GUI RPC: Add get_global_prefs_working_struct(); rename get_global_prefs_network() to get_global_prefs_file()
svn path=/trunk/boinc/; revision=13262
2007-08-02 08:12:03 +00:00
David Anderson b4241eadd6 - GUI RPC: added get_global_prefs_network()
and get_global_prefs_working()

svn path=/trunk/boinc/; revision=13257
2007-08-01 20:26:08 +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 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
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
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
David Anderson b4087e0e1b svn path=/trunk/boinc/; revision=12850 2007-06-08 07:55:27 +00:00
David Anderson 610d4cfa77 - client: allow suspension of non-CPU-intensive project or app
(undoes checkin of 25 Jan 2005; I don't remember why we
    made that change.  Next time put in checkin notes!)
- client: Linux: show error msg if can't open /proc/cpuinfo
    or /proc/meminfo; set memory size of 1 GB in latter case.
    Remove duplicate code that read /proc/meminfo
- 'start' script; handle <disabled>0</disable> in tasks and daemon
    elements of config.xml (can't handle <disable/>, however).
    
client/
    gui_rpc_server_ops.C
    hostinfo_unix.C
sched/
    feeder.C
    start

svn path=/trunk/boinc/; revision=12807
2007-06-03 19:37:45 +00:00
David Anderson 88860ed316 - user web: fix bug in host merge function
- core client: fix bug in set_debt() GUI RPC
- scheduler: some of the "quick checks" in scan_work_array()
    are applicable to locality scheduling also,
    so they should be moved to wu_is_infeasible().
    I did this for one: the check for one result
    per user (or host) per WU.  Should do for others.
    
client/
    gui_rpc_server_ops.C
html/
    host_edit_action.php
    host_edit_form.php
sched/
    sched_array.C
    sched_send.C,h

svn path=/trunk/boinc/; revision=12784
2007-05-30 17:25:51 +00:00
David Anderson 56408dbbbe - Add GUI RPC to set projects debts (short and long term).
Lets you set all of them at once, as suggested by Nicolas Alvarez.
    fixes #131

client/
    gui_rpc_server_ops.C
html/user/
    sample_index.php
lib/
    boinc_cmd.C
    gui_rpc_client.h
    gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12749
2007-05-26 21:15:58 +00:00
David Anderson bd8b0aed41 - core client: on attach to project,
if the initial sched request failed,
		the manager would show "communicating" for 60 sec,
		then time out and show "failed to attach".
		But the project would actually be attached.
		This was due to a logic error,
		but I fixed it in a more fundamental way:
		by considering an attach to be complete immediately,
		without waiting for a successful scheduler RPC.

		This was originally done to ensure that the URL and account key were valid.
		But when using the BOINC Manager, we've already verified
		both of these before doing the attach project RPC.

		When using boinc_cmd, you now have to check for messages
		indicating a bad URL or account key.
		I changed things to print these messages on every sched RPC.

		Implementation: the notion of "tentative project" no longer exists.

	client/
		client_state.C,h
		client_types.C,h
		cs_account.C
		cs_benchmarks.C
		cs_scheduler.C
		gui_rpc_server_ops.C
		scheduler_op.C
		sim.C
		sim_util.C

svn path=/trunk/boinc/; revision=12663
2007-05-14 19:18:45 +00:00
David Anderson c31aa48a50 - core client: in statefile read, set avp->platform
before linking.
	- core client: when parse app_info.xml,
		set platform to primary platform.
		Otherwise anonymous platform mechanism doesn't work.
	- GUI RPC: in attach project RPC, check for
		already attached even in config file case

	client/
		cs_statefile.C
		gui_rpc_server_ops.C
		scheduler_op.C
		time_stats.C

svn path=/trunk/boinc/; revision=12662
2007-05-14 17:36:16 +00:00
Charlie Fenton 1bf67eddda Mac: Determine size of BOINC Manager bundle in core client if it was launched by Manager rather than in the Manager itself, to get correct information when controlling a remote computer.
svn path=/trunk/boinc/; revision=12651
2007-05-11 07:05:29 +00:00
David Anderson c08eddf7fe - GUI RPC: add new element d_boinc to DISK_USAGE;
tells how much disk space BOINC is using
        (not including projects).
    - added project.max_infeasible_count to client simulator

    client/
        gui_rpc_server_ops.C
        sim.C,h
        sim_util.C
    clientgui/
        ViewResources.cpp
    lib/
        filesys.C
        bui_rpc_client.h
        bui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12615
2007-05-08 23:12:40 +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 afb1d21d9a *** empty log message ***
svn path=/trunk/boinc/; revision=11890
2007-01-17 18:13:33 +00:00
David Anderson 5ac8ba3150 *** empty log message ***
svn path=/trunk/boinc/; revision=11721
2006-12-26 00:37:25 +00:00
David Anderson f8c64d3622 *** empty log message ***
svn path=/trunk/boinc/; revision=11689
2006-12-17 02:48:19 +00:00
David Anderson 46695c2155 *** empty log message ***
svn path=/trunk/boinc/; revision=11683
2006-12-14 20:44:39 +00:00
David Anderson d3b1c45d64 *** empty log message ***
svn path=/trunk/boinc/; revision=11634
2006-12-07 17:30:48 +00:00
David Anderson e9a0efd06d *** empty log message ***
svn path=/trunk/boinc/; revision=11562
2006-11-22 03:23:38 +00:00
David Anderson 27d33df2d4 *** empty log message ***
svn path=/trunk/boinc/; revision=11553
2006-11-20 16:52:03 +00:00
David Anderson 6f6f62c955 *** empty log message ***
svn path=/trunk/boinc/; revision=11515
2006-11-10 17:55:22 +00:00
David Anderson 2e9810d8b5 *** empty log message ***
svn path=/trunk/boinc/; revision=11485
2006-11-07 00:38:08 +00:00
David Anderson b12a0b786c *** empty log message ***
svn path=/trunk/boinc/; revision=11461
2006-11-03 17:08:49 +00:00
David Anderson e26a45b021 *** empty log message ***
svn path=/trunk/boinc/; revision=11128
2006-09-08 22:28:10 +00:00
David Anderson db24601537 *** empty log message ***
svn path=/trunk/boinc/; revision=11123
2006-09-07 20:39:25 +00:00
David Anderson b4105a1a3b *** empty log message ***
svn path=/trunk/boinc/; revision=11122
2006-09-07 18:19:25 +00:00
David Anderson b86bd36cf6 *** empty log message ***
svn path=/trunk/boinc/; revision=11082
2006-09-01 22:21:20 +00:00
David Anderson 7ce1144b73 *** empty log message ***
svn path=/trunk/boinc/; revision=11076
2006-09-01 21:06:30 +00:00
Rom Walton 76e753ec14 *** empty log message ***
svn path=/trunk/boinc/; revision=11051
2006-08-31 19:24:38 +00:00
David Anderson 366c9f272c *** empty log message ***
svn path=/trunk/boinc/; revision=11048
2006-08-31 18:31:28 +00:00
David Anderson d079ddd589 startup sequence
svn path=/trunk/boinc/; revision=11000
2006-08-24 20:33:46 +00:00
Rom Walton 5acec81450 *** empty log message ***
svn path=/trunk/boinc/; revision=10993
2006-08-23 22:16:19 +00:00
David Anderson e526df3db5 *** empty log message ***
svn path=/trunk/boinc/; revision=10934
2006-08-16 19:45:43 +00:00
David Anderson 2d47ee0d8b *** empty log message ***
svn path=/trunk/boinc/; revision=10932
2006-08-16 03:44:47 +00:00
David Anderson 2d93dda176 *** empty log message ***
svn path=/trunk/boinc/; revision=10896
2006-08-11 22:56:41 +00:00
David Anderson 29f8c9a47c *** empty log message ***
svn path=/trunk/boinc/; revision=10894
2006-08-11 17:58:48 +00:00
David Anderson 33b0af9fe3 *** empty log message ***
svn path=/trunk/boinc/; revision=10892
2006-08-11 04:16:23 +00:00
David Anderson 7d3e61fe57 *** empty log message ***
svn path=/trunk/boinc/; revision=10854
2006-08-07 16:55:56 +00:00
David Anderson b10e4c7b75 *** empty log message ***
svn path=/trunk/boinc/; revision=10848
2006-08-07 03:56:34 +00:00
David Anderson 894726670f *** empty log message ***
svn path=/trunk/boinc/; revision=10708
2006-07-20 22:52:57 +00:00
David Anderson 4f5401188c *** empty log message ***
svn path=/trunk/boinc/; revision=10659
2006-07-17 22:18:17 +00:00
David Anderson defbae7e7d *** empty log message ***
svn path=/trunk/boinc/; revision=10637
2006-07-12 22:25:27 +00:00
David Anderson 885b54c4e8 work fetch
svn path=/trunk/boinc/; revision=10609
2006-07-10 00:46:07 +00:00
David Anderson 41a5e8c63d get simple GUI info
svn path=/trunk/boinc/; revision=10527
2006-06-27 21:46:50 +00:00