Commit Graph

246 Commits

Author SHA1 Message Date
David Anderson dabba949a4 - client: when a job finishes, read last (not first) 63KB of stderr
- client: parse <cpid_time> in scheduler reply;
        add cpid_time field to PROJECT.
        This defaults to the user_create_time.
        In deciding which CPID to send in a scheduler request,
        use the one with oldest cpid_time (not user_create_time).
        This is the client half of fixing a bug that causes
        CPID to flip/flop between to values in a certain case.

svn path=/trunk/boinc/; revision=13531
2007-09-03 23:00:22 +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 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 53c7492299 - parse_str(): remove unnecessary checks
- client: allow app_info.xml to have multiple versions

lib/
    parse.C
client/
    client_state.C
    scheduler_op.C

svn path=/trunk/boinc/; revision=12930
2007-06-13 19:54:24 +00:00
David Anderson 4f81994be6 - Add a mechanism for a project to shut down gracefully.
If <ended>1</ended> is included in config.xml,
    this gets send to clients,
    and they display a "Project ended - OK to detach" message.

client/
    client_state.C
    client_types.C,h
    scheduler_op.C
clientgui/
    VIewProjects.cpp
    VIewProjectsGrid.cpp
lib/
    gui_rpc_client.h
    gui_rpc_client_ops.C
    gui_rpc_client_print.C
sched/
    sched_config.C,h
    server_types.C

svn path=/trunk/boinc/; revision=12742
2007-05-24 16:07:21 +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
David Anderson bc98f0e90c *** empty log message ***
svn path=/trunk/boinc/; revision=12367
2007-04-13 22:55:18 +00:00
David Anderson 82816b451e *** empty log message ***
svn path=/trunk/boinc/; revision=12311
2007-04-04 19:34:01 +00:00
David Anderson 1be9af1b1a *** empty log message ***
svn path=/trunk/boinc/; revision=12303
2007-04-03 19:35:33 +00:00
David Anderson bcb25e86a1 *** empty log message ***
svn path=/trunk/boinc/; revision=12264
2007-03-22 02:38:45 +00:00
David Anderson 035642f298 *** empty log message ***
svn path=/trunk/boinc/; revision=12244
2007-03-19 19:13: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 2b67a5e84e *** empty log message ***
svn path=/trunk/boinc/; revision=12185
2007-03-04 02:30:48 +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 6a10211584 *** empty log message ***
svn path=/trunk/boinc/; revision=11960
2007-01-24 22:55:00 +00:00
David Anderson eba028a27d *** empty log message ***
svn path=/trunk/boinc/; revision=11946
2007-01-23 22:29:19 +00:00
David Anderson a810ae3be7 *** empty log message ***
svn path=/trunk/boinc/; revision=11806
2007-01-08 22:15:21 +00:00
David Anderson 80c401e946 *** empty log message ***
svn path=/trunk/boinc/; revision=11722
2006-12-26 00:59:18 +00:00
David Anderson 19785132bc *** empty log message ***
svn path=/trunk/boinc/; revision=11712
2006-12-21 16:56:33 +00:00
David Anderson b75fa89a8b *** empty log message ***
svn path=/trunk/boinc/; revision=11699
2006-12-19 17:41:30 +00:00
David Anderson 879404e9cf *** empty log message ***
svn path=/trunk/boinc/; revision=11691
2006-12-17 03:34:31 +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
David Anderson dbea89c8b2 *** empty log message ***
svn path=/trunk/boinc/; revision=11262
2006-10-09 18:58:52 +00:00
David Anderson db24601537 *** empty log message ***
svn path=/trunk/boinc/; revision=11123
2006-09-07 20:39: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 886604d12c *** empty log message ***
svn path=/trunk/boinc/; revision=11038
2006-08-29 20:39:44 +00:00
David Anderson d079ddd589 startup sequence
svn path=/trunk/boinc/; revision=11000
2006-08-24 20:33:46 +00:00
David Anderson 568f39f21c *** empty log message ***
svn path=/trunk/boinc/; revision=10789
2006-07-28 16:09:10 +00:00
David Anderson 65e0f38e2e *** empty log message ***
svn path=/trunk/boinc/; revision=10749
2006-07-25 21:07:14 +00:00
David Anderson 9d71fb8e78 *** empty log message ***
svn path=/trunk/boinc/; revision=10684
2006-07-19 20:19:18 +00:00
David Anderson 4f5401188c *** empty log message ***
svn path=/trunk/boinc/; revision=10659
2006-07-17 22:18:17 +00:00
David Anderson 7d18efe4e8 *** empty log message ***
svn path=/trunk/boinc/; revision=10610
2006-07-10 01:08:29 +00:00
David Anderson 885b54c4e8 work fetch
svn path=/trunk/boinc/; revision=10609
2006-07-10 00:46:07 +00:00
David Anderson a2bf431a6e *** empty log message ***
svn path=/trunk/boinc/; revision=10607
2006-07-09 20:59:41 +00:00
David Anderson 04d1eeaf9b *** empty log message ***
svn path=/trunk/boinc/; revision=10551
2006-07-01 04:00:19 +00:00
David Anderson 0f9b83a55b project files
svn path=/trunk/boinc/; revision=10517
2006-06-26 22:58:24 +00:00
David Anderson 0101a1ae63 *** empty log message ***
svn path=/trunk/boinc/; revision=10505
2006-06-23 20:05:12 +00:00
David Anderson 978c79f062 *** empty log message ***
svn path=/trunk/boinc/; revision=10467
2006-06-22 19:40:30 +00:00
David Anderson 3c80d4726f verify-files-on-app-start option
svn path=/trunk/boinc/; revision=10413
2006-06-20 17:36:28 +00:00
David Anderson e811df5409 server can request result abort
svn path=/trunk/boinc/; revision=10202
2006-05-25 20:10:08 +00:00
David Anderson bd245ca055 next RPC delay
svn path=/trunk/boinc/; revision=10186
2006-05-23 06:46:19 +00:00
David Anderson 85be4593fa symstore support
svn path=/trunk/boinc/; revision=10174
2006-05-22 09:54:31 +00:00
David Anderson 7c6619c122 *** empty log message ***
svn path=/trunk/boinc/; revision=10167
2006-05-21 21:11:28 +00:00
David Anderson bfa58e67dd *** empty log message ***
svn path=/trunk/boinc/; revision=10152
2006-05-17 01:48:39 +00:00
David Anderson 98074cbfb6 improve network error messages
svn path=/trunk/boinc/; revision=9963
2006-04-19 04:53:42 +00:00
David Anderson b56cf2e3d9 *** empty log message ***
svn path=/trunk/boinc/; revision=9961
2006-04-18 23:30:32 +00:00