Quick Updates

git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25609 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: only send active tasks in get_simple_gui_info GUI RPC

    client/
        client_types.h
        gui_rpc_server_ops.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25610 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: remove <std_debug> log flag
    - client: remove <zero_debts> config option

    lib/
        cc_config.cpp,h
    client/
        log_flags.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25611 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - Update copyrights.

    client/win/
        boinc_cli.rc
        boinc_cmd.rc
        boinc_log.rc
    clientctrl/
        boincsvcctrl.rc
    clientgui/
        BOINCGUIApp.rc
        DlgAbout.cpp
    clientscr/
        boinc_ss.rc
        boinc_ss_opengl.rc
    clienttray/
        boinc_tray.rc


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25612 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: add <suspend_debug> log flag

    client/
        cs_prefs.cpp
    lib/
        cc_config.cpp,h



git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25613 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client/server: remove assert()s from message log code

    lib/
        msg_log.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25614 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - MGR: Show() does not restore the window state from a minimized state.  Use
        maximize(false) to handle that situation.
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCGUIApp.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25615 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: if we're contacting a project to ask it for work
        of a particular processor type,
        ask it for work of other types only if we're below
        max buffer for those types.

    client/
        work_fetch.cpp
        cs_prefs.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25616 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: fix bug that could erroneously cause a GPU to
        be "blocked by config file".

    client/
        work_fetch.cpp
        coproc_detect.cpp



git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25617 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: fix function prototypes for CUDA detection.
    
    client/
        coproc_detect.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25618 677681c0-c3c0-48b4-bd46-92119ef6d97a
	- client: fix bug that caused a project's jobs to all be run EDF
		if the project has the <dont_use_dcf> flag set.

	client/
		cpu_sched.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25619 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: when showing how much work a scheduler request returned,
        scale by availability (as is done to show the amount of the request)
    - client in account manager request, <not_started_dur> and
        <in_progress_dur> are in wall time, not run time
        (i.e. scale them by availability)

    Note: there's some confusion in the code between runtime and wall time,
        where in general wall time = runtime / availability.
        New convention: let's use "runtime" for the former,
        and "duration" for the latter.

    client/
        client_types.cpp,h
        time_stats.h
        work_fetch.cpp
        rr_sim.cpp
        cs_scheduler.cpp
        cpu_sched.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25620 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: fix crashing bug that happened when a scheduler reply
        had a parse error, and it included project files.
        While parsing the scheduler reply we'd add FILE_REFs to
        PROJECT::project_files,
        but wouldn't link them to FILE_INFOs since this is done
        only if the reply parses correctly.
        The next garbage_collect() would dereference these NULL pointers.

        Solution: parse the FILE_REFS into SCHEDULER_REPLY::project_files.
        Copy this to PROJECT::project_files only if the reply parses.

    client/
        client_types.cpp,h
        scheduler_op.cpp,h
        cs_scheduler.cpp
        cs_statefile.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25622 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - Bad logic in Win code:
        if you have
            *pbuf = HeapAlloc(...)
        then you need
            if (*pbuf == NULL)
        not
            if (pbuf == NULL)
    - various code cleanups from 

    from Steffen Moeller

    lib/
        diagnostics_win.cpp
        procinfo_win.cpp
    client/
        coproc_detect.cpp
        client_types.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25623 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: enforce <no_gpus> in config file not just at startup,
        but also when config file is re-read.

    client/
        log_flags.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25624 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - A first attempt to fix the bug where apps die with exit(1)
        (whereas they didn't do this w/ older clients).
        On Windows, the client uses TerminateProcess(h, 1) to kill processes;
        the 1 is the exit code the process will appear to have.

        So instead, add a "will_restart" bool arg to the various kill
        functions, and if set use 0 (= STATUS_SUCCESS),
        otherwise use EXIT_ABORTED_BY_CLIENT.

        Note: in principle this shouldn't make any difference
        for quitting tasks,
        since handle_exited_app() checks for task state QUIT_PENDING
        and ignores the exit code in that case.
        The only place I can see where it would make any difference
        is when we kill a process because it hasn't been handling
        queued shared-memory messages for 180 seconds.

    - client: add more info to the message about an exited app

    - client: function return values (ERR_*) are different from
        process exit codes (EXIT_*).
        But in many places we were using return values as exit codes.
        Fix these.
        Also, break out the different types of limits a job can exceed
        (time, disk, memory) into difference exit codes.

    lib/
        error_numbers.h
    client/
        client_state.cpp
        app.h
        gui_rpc_server_ops.cpp
        cs_apps.cpp
        client_types.cpp
        cs_scheduler.cpp
        app_control.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25625 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - compile fix


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25626 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - WINSCR: Use the DefProcHandler function when processing WM_CLOSE/WM_DESTROY
        window messages.  In effect, let Windows do the default thing.  This removes
        the hacks which kept the screensaver running with old versions of
        Microsoft's keyboard/mouse driver software installed.
        
    clientscr/
        screensaver_win.cpp, .h


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25628 677681c0-c3c0-48b4-bd46-92119ef6d97a
    - client: if acct mgr sends us an account with no authenticator,
        show an error message instead of trying to attach

    client/
        acct_mgr.cpp


git-svn-id: http://boinc.berkeley.edu/svn/branches/boinc_core_release_7_0a@25629 677681c0-c3c0-48b4-bd46-92119ef6d97a