Commit Graph

15 Commits

Author SHA1 Message Date
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
David Anderson 44052b53e6 reset all if platform changes
svn path=/trunk/boinc/; revision=9508
2006-02-18 08:33:23 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 34c158e142 *** empty log message ***
svn path=/trunk/boinc/; revision=5618
2005-03-10 00:43:22 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
the top of all .C files.  This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string.  Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
Karl Chen afd778de8a *** empty log message ***
svn path=/trunk/boinc/; revision=3863
2004-07-13 13:54:09 +00:00
David Anderson 5ceaf4c43a *** empty log message ***
svn path=/trunk/boinc/; revision=3617
2004-06-16 23:16:08 +00:00
Rom Walton 475c5ed811 *** empty log message ***
svn path=/trunk/boinc/; revision=3029
2004-03-04 11:41:43 +00:00
David Anderson 580e4a2e78 *** empty log message ***
svn path=/trunk/boinc/; revision=2976
2004-02-06 23:31:27 +00:00
David Anderson a06fa48bf4 *** empty log message ***
svn path=/trunk/boinc/; revision=2491
2003-10-16 19:03:49 +00:00
David Anderson 44eea07ec8 *** empty log message ***
svn path=/trunk/boinc/; revision=2371
2003-09-28 06:23:17 +00:00
David Anderson 3f853a6beb *** empty log message ***
svn path=/trunk/boinc/; revision=2353
2003-09-23 23:19:41 +00:00