Commit Graph

106 Commits

Author SHA1 Message Date
Charlie Fenton 36e7964e3b Client: Rework write_state_file logic to always retry on error, suppress intermediate warnings; Fix build breaks and compiler warnings on Mac
svn path=/trunk/boinc/; revision=14884
2008-03-11 03:59:35 +00:00
David Anderson c8384113e4 - changes to many files to fix gcc4.3 compile
svn path=/trunk/boinc/; revision=14811
2008-02-27 23:26:38 +00:00
Charlie Fenton 167da5c015 API: Add executing_as_daemon bool to get_state rpc. SCR: When running V5 GFX applications as a service / daemon, display appropriate error message instead of trying to display graphics.
svn path=/trunk/boinc/; revision=14641
2008-01-30 02:47:06 +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 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
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
Charlie Fenton 7671a20f37 Mac: if (log_flags.state_debug) print debugging info when rename of client_state_next.xml to client_state.xml fails.
svn path=/trunk/boinc/; revision=12990
2007-06-23 08:42:02 +00:00
David Anderson f8af50e685 - client: fetch all-projects list at startup if it doesn't exist
- client: if result in statefile is labeled with unsupported platform,
    set its platform to primary
    (this completes the fix of 11 June, hopefully fixes #262)

client/
    client_state.C
    cs_statefile.C

svn path=/trunk/boinc/; revision=12907
2007-06-12 16:15:53 +00:00
David Anderson 49d435913e - client: if statefile has an app version an unknown platform,
change it to the primary platform.
    The probably cause of this is that the user switched to
    a 64-bit client, then back to the 32-bit client.
    If we reject the app version, it would e.g. cause CPDN
    WUs to get aborted in the middle.
    
client/
    cs_statefile.C

svn path=/trunk/boinc/; revision=12893
2007-06-11 18:52:51 +00:00
David Anderson b864f21274 - manager: fix bug in parsing of all-projects list
(caused Wizard list to be empty)
	- manager: change (web) to WWW

	client/
		acct_mgr.C
		cs_statefile.C
	clientgui/
		ProjectListCtrl.cpp
	lib/
		gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12891
2007-06-11 18:34:26 +00:00
David Anderson b4087e0e1b svn path=/trunk/boinc/; revision=12850 2007-06-08 07:55:27 +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 a3c22a1bf7 - client: add constructor/destructor for APP_VERSION, WORKUNIT, RESULT
- client: with anonymous platform, don't link app version twice

client/
    client_types.h
    client_state.C
    cs_apps.C
    cs_files.C
    cs_prefs.C
    cs_scheduler.C
    cs_statefile.C
    sim_util.C
html/
    uotd.inc
sched/
    edf_sim.h
    server_types.h

svn path=/trunk/boinc/; revision=12638
2007-05-10 16:23:10 +00:00
David Anderson 44a7509e35 - core client: improve error message when can't link app version
client/
		client_state.C
		cs_statefile.C

svn path=/trunk/boinc/; revision=12614
2007-05-08 22:07:21 +00:00
David Anderson 2853649d28 - core client: add <no_alt_platform> config option;
eliminates use of alternate platforms.

    client/
        client_state.h
        cs_platforms.C
        cs_statefile.C
        log_flags.C,h

svn path=/trunk/boinc/; revision=12600
2007-05-07 19:38:27 +00:00
David Anderson a6521f58e7 - core client: when parsing statefile or scheduler reply,
if get an app_version with unknown platform name, ignore it.
		This means that, e.g. if someone moves a BOINC directory
		from Intel to PowerPC Mac, things will still work right.

	client/
		client_state.C,h
		cs_platforms.C
		cs_scheduler.C
		cs_statefile.C

svn path=/trunk/boinc/; revision=12579
2007-05-06 20:22:39 +00:00
David Anderson 4a1741e220 - Core client: handle multiple platforms correctly.
Remove the tacet assumption that a host can handle
        applications for a single platform.
        With the Apr 30 scheduler changes,
        a project may (at different times)
        send app versions for the same app and version number,
        but different platforms.
        Before we would have ignored all but the first;
        now we handle them correctly.

        Implementation notes:
        - Add APP_VERSION.platform, RESULT.platform,
            and RESULT.version_num.
            If these are missing from an XML doc
            (e.g. an existing state file or a scheduler reply
            from a project not running current server)
            then set to the primary platform.
        - Continue to write workunit.version_num
            and active_task.version_num to state file,
            even though these are no longer part of the struct.
            This allows users to revert to an older version.

    client/
        app.C
        check_state.C
        client_state.C,h
        client_types.C,h
        cs_apps.C
        cs_scheduler.C
        cs_statefile.C
        sim.C

svn path=/trunk/boinc/; revision=12542
2007-05-03 17:14:30 +00:00
Rom Walton a100628ee8 - fixes #154:
* refactored the alternate platform mechinism so that we
          can support multiple alternate platforms.
        * moved everything to cs_platforms.C since we expect the
          kind of sprawl that is in host_info.C on the *nix
          environments.
    - Clean up some warnings
          
    client/
        acct_setup.C
        client_state.C, .h
        client_types.h
        cs_platforms.C (Added)
        cs_scheduler.C
        cs_statefile.C
        http_curl.C
    lib/
        str_util.h

svn path=/trunk/boinc/; revision=12531
2007-05-02 17:53:35 +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 dceae0f13e *** empty log message ***
svn path=/trunk/boinc/; revision=12131
2007-02-21 17:06:11 +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 86ad19ce5f *** empty log message ***
svn path=/trunk/boinc/; revision=11672
2006-12-14 00:42:43 +00:00
David Anderson 41eb40b051 *** empty log message ***
svn path=/trunk/boinc/; revision=11643
2006-12-11 23:42:54 +00:00
David Anderson 6f6f62c955 *** empty log message ***
svn path=/trunk/boinc/; revision=11515
2006-11-10 17:55:22 +00:00
Rom Walton b73a308f2d *** empty log message ***
svn path=/trunk/boinc/; revision=11324
2006-10-20 06:11:48 +00:00
Rom Walton 963e22b788 *** empty log message ***
svn path=/trunk/boinc/; revision=11323
2006-10-20 05:30:41 +00:00
Rom Walton 158c9dea4c *** empty log message ***
svn path=/trunk/boinc/; revision=11319
2006-10-20 01:46:46 +00:00
Rom Walton d625c4a172 *** empty log message ***
svn path=/trunk/boinc/; revision=11318
2006-10-19 23:58:04 +00:00
David Anderson 2ab25bdfd2 *** empty log message ***
svn path=/trunk/boinc/; revision=11313
2006-10-19 15:08:26 +00:00
David Anderson 0496940440 *** empty log message ***
svn path=/trunk/boinc/; revision=11265
2006-10-09 21:43:59 +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
Rom Walton 5acec81450 *** empty log message ***
svn path=/trunk/boinc/; revision=10993
2006-08-23 22:16:19 +00:00
David Anderson 65e0f38e2e *** empty log message ***
svn path=/trunk/boinc/; revision=10749
2006-07-25 21:07:14 +00:00
David Anderson 4ca4984d88 *** empty log message ***
svn path=/trunk/boinc/; revision=10704
2006-07-20 22:02:29 +00:00
David Anderson 5f6d665ee3 *** empty log message ***
svn path=/trunk/boinc/; revision=10624
2006-07-11 22:52:17 +00:00
David Anderson 41a5e8c63d get simple GUI info
svn path=/trunk/boinc/; revision=10527
2006-06-27 21:46:50 +00:00
David Anderson 4e7323a317 *** empty log message ***
svn path=/trunk/boinc/; revision=10522
2006-06-27 17:31:43 +00:00
David Anderson 0f9b83a55b project files
svn path=/trunk/boinc/; revision=10517
2006-06-26 22:58:24 +00:00
David Anderson 978c79f062 *** empty log message ***
svn path=/trunk/boinc/; revision=10467
2006-06-22 19:40:30 +00:00
Charlie Fenton 6b77961d6f *** empty log message ***
svn path=/trunk/boinc/; revision=10421
2006-06-21 02:24:40 +00:00
David Anderson f4ffa949de CPU scheduler
svn path=/trunk/boinc/; revision=10365
2006-06-15 23:15:27 +00:00
Walt Gribben 8e583dd8dd *** empty log message ***
svn path=/trunk/boinc/; revision=9599
2006-03-04 00:53:20 +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 44052b53e6 reset all if platform changes
svn path=/trunk/boinc/; revision=9508
2006-02-18 08:33:23 +00:00
David Anderson ce89af8702 statefile atomic write
svn path=/trunk/boinc/; revision=9465
2006-02-14 21:35:26 +00:00
David Anderson 1937858354 *** empty log message ***
svn path=/trunk/boinc/; revision=9402
2006-02-06 21:03:36 +00:00