Commit Graph

526 Commits

Author SHA1 Message Date
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 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 8d20224376 - core client: if platform is different from platform in state file,
print a message but don't reset projects
        (otherwise people running on 64-bit machines would lost
        in-progress jobs when switching to 64-bit client)
        
    client/
        client_state.C

svn path=/trunk/boinc/; revision=12513
2007-04-30 21:49:27 +00:00
Eric J. Korpela 8a8ffc8ef9 Eric K 24 Apr 07
-  Exteded the "altername_platform" mechanism to x86_64 linux
       and solaris.  The current alternate platforms found by configure
       are...
	 x86_64-pc-linux-gnu    -> i686-pc-linux-gnu
	 sparc64-sun-solaris    -> sparc-sun-solaris
	 sparc-sun-solaris      -> sparc-sun-solaris2.7
	 powerpc64-apple-darwin -> powerpc-apple-darwin
    -  The alternate platform can be overridden on the configure command line
         --with-boinc-alt-platform="platformname"

    m4/
        boinc_platform.m4
    sched/
        Makefile.am
    client/
        client_state.C
        cs_scheduler.C
        client_state.h


svn path=/trunk/boinc/; revision=12467
2007-04-25 02:02:24 +00:00
Rom Walton 3307404373 Fix build break introduced when windows_x86_64 support was added.
svn path=/trunk/boinc/; revision=12456
2007-04-23 22:25:19 +00:00
Rom Walton f98df5beff Fix: Win x64's alternate platform is really windows_intelx86 not windows_x86_64.
svn path=/trunk/boinc/; revision=12437
2007-04-20 20:36:38 +00:00
Rom Walton ac6974b62b Rom 19 Apr 2007
- Fix a minor compile problem on 64-bit Windows platforms with the
        call to SetTimer.
    - fixes #80: Introduce the notion of an alternate platform for 64-bit
        Windows clients, which can also run 32-bit Windows apps.
        
      TODO: We'll need to refactor the whole platform section in the
        scheduler request creation section so that it can handle
        multiple alternate platforms and for Linux/Mac.
        
    api/
        windows_opengl.C
    client/
        client_state.C, .h
        cpp.h
        cs_scheduler.C

svn path=/trunk/boinc/; revision=12421
2007-04-19 20:53:16 +00:00
David Anderson 3eaea4fb71 *** empty log message ***
svn path=/trunk/boinc/; revision=12347
2007-04-11 21:49:57 +00:00
David Anderson 11869bc0be *** empty log message ***
svn path=/trunk/boinc/; revision=12333
2007-04-09 02:17:26 +00:00
David Anderson 1411e4c003 *** empty log message ***
svn path=/trunk/boinc/; revision=12324
2007-04-05 23:15:20 +00:00
David Anderson d5bd5c1a79 *** empty log message ***
svn path=/trunk/boinc/; revision=12323
2007-04-05 18:17:15 +00:00
Rom Walton f05cba02bf *** empty log message ***
svn path=/trunk/boinc/; revision=12297
2007-04-03 13:14:30 +00:00
David Anderson 8ee50511de *** empty log message ***
svn path=/trunk/boinc/; revision=12277
2007-03-28 21:30: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 a00e58d887 *** empty log message ***
svn path=/trunk/boinc/; revision=12155
2007-02-24 20:53:12 +00:00
David Anderson 6b4803d969 *** empty log message ***
svn path=/trunk/boinc/; revision=12146
2007-02-23 20:24:52 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson b2f27dcbf4 *** empty log message ***
svn path=/trunk/boinc/; revision=12120
2007-02-20 04:18:02 +00:00
David Anderson e66b1572ef *** empty log message ***
svn path=/trunk/boinc/; revision=12073
2007-02-12 23:53:16 +00:00
David Anderson 7579884c81 *** empty log message ***
svn path=/trunk/boinc/; revision=12069
2007-02-10 04:13:08 +00:00
David Anderson c71b676c22 *** empty log message ***
svn path=/trunk/boinc/; revision=12042
2007-02-06 20:43:54 +00:00
David Anderson 1567aa1d91 *** empty log message ***
svn path=/trunk/boinc/; revision=12040
2007-02-06 16:41:33 +00:00
David Anderson b161d44800 *** empty log message ***
svn path=/trunk/boinc/; revision=11994
2007-01-29 16:19: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 71fc6345b7 *** empty log message ***
svn path=/trunk/boinc/; revision=11957
2007-01-24 21:20:57 +00:00
David Anderson 9dd009457d *** empty log message ***
svn path=/trunk/boinc/; revision=11949
2007-01-24 16:32:33 +00:00
David Anderson 7550b38daf *** empty log message ***
svn path=/trunk/boinc/; revision=11899
2007-01-18 19:29:15 +00:00
David Anderson 86ad19ce5f *** empty log message ***
svn path=/trunk/boinc/; revision=11672
2006-12-14 00:42:43 +00:00
David Anderson b404379448 *** empty log message ***
svn path=/trunk/boinc/; revision=11658
2006-12-13 00:54:27 +00:00
David Anderson 41eb40b051 *** empty log message ***
svn path=/trunk/boinc/; revision=11643
2006-12-11 23:42:54 +00:00
Eric J. Korpela b5290af2e8 Fixed potential format string vulnerability. Reported by Nicolas Alvarez.
svn path=/trunk/boinc/; revision=11599
2006-11-28 21:16:04 +00:00
David Anderson 6f6f62c955 *** empty log message ***
svn path=/trunk/boinc/; revision=11515
2006-11-10 17:55:22 +00:00
David Anderson 92a34648a6 *** empty log message ***
svn path=/trunk/boinc/; revision=11494
2006-11-08 00:20:16 +00:00
David Anderson 61865a41bd *** empty log message ***
svn path=/trunk/boinc/; revision=11341
2006-10-23 16:00:51 +00:00
David Anderson fde92c7d86 *** empty log message ***
svn path=/trunk/boinc/; revision=11225
2006-10-02 17:44:27 +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 8e4813bf39 *** empty log message ***
svn path=/trunk/boinc/; revision=11120
2006-09-07 17:38:54 +00:00
David Anderson 7ce1144b73 *** empty log message ***
svn path=/trunk/boinc/; revision=11076
2006-09-01 21:06:30 +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 20dea204ca *** empty log message ***
svn path=/trunk/boinc/; revision=10972
2006-08-22 20:58:57 +00:00
Rom Walton 5d36a44f5d *** empty log message ***
svn path=/trunk/boinc/; revision=10939
2006-08-17 21:24:18 +00:00
David Anderson 33b0af9fe3 *** empty log message ***
svn path=/trunk/boinc/; revision=10892
2006-08-11 04:16:23 +00:00