Commit Graph

40 Commits

Author SHA1 Message Date
David Anderson 208f53a51d - client/manager: add ATI stuff to GUI RPCs and manager display
svn path=/trunk/boinc/; revision=18853
2009-08-17 21:11:06 +00:00
Charlie Fenton 1c5cfe55d7 MGR: Implement "Show active tasks / Show all tasks" button
svn path=/trunk/boinc/; revision=18816
2009-08-07 08:33:31 +00:00
David Anderson 786f61cfbe - file upload handler: don't treat zero-length file as an error!
(This bug has been there since 28 Oct 2004)
- GUI RPC and manager: include project backoff in FILE_TRANSFER,
    so that manager gets up-to-date value


svn path=/trunk/boinc/; revision=18786
2009-07-31 19:46:47 +00:00
David Anderson dfb1fdb034 - client/manager/GUI RPC: show project-level backoffs
svn path=/trunk/boinc/; revision=18603
2009-07-16 18:36:23 +00:00
David Anderson 9ec90c409e - GUI RPC: add get_message_seqno() RPC. fixes #931
svn path=/trunk/boinc/; revision=18576
2009-07-07 22:58:58 +00:00
David Anderson 6a513e76a7 fixes to my last checkin
svn path=/trunk/boinc/; revision=18533
2009-06-30 20:42:25 +00:00
Rom Walton 7546b0fe72 - MGR: Previous sorting method wasn't working, use a sort
function pointer instead.
        
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=18532
2009-06-30 20:39:10 +00:00
David Anderson 46d9e8f087 - client: record the time results are received.
Process non-EDF GPU jobs in this order.


svn path=/trunk/boinc/; revision=18531
2009-06-30 20:22:54 +00:00
Rom Walton ed2df38f4e Group project list structures together.
svn path=/trunk/boinc/; revision=18530
2009-06-30 19:55:28 +00:00
Rom Walton d631a3c485 - MGR: Remove project list randomization, sort on name.
lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=18529
2009-06-30 18:54:52 +00:00
Rom Walton 674437a3bc - MGR: Introduce the cookie detection failure URL to the
acct_mgr_logon.xml file. If the cookies cannot be found provide
        a hyperlink control on the AcctountInfo page in the wizard
        which will point to a fallback URL the user can go to to
        find out what logon credentials to use.
        
    client/
        acct_mgr.cpp, .h
        gui_rpc_server_ops.cpp
    clientgui/
        AccountInfoPage.cpp, .h
        BOINCWizards.h
        WizardAttachProject.cpp, .h
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=18400
2009-06-12 21:34:33 +00:00
David Anderson ca44344068 - GUI RPC: include hostid in PROJECT
- web: include timed-out and "client detached" results in error category


svn path=/trunk/boinc/; revision=18330
2009-06-08 17:08:52 +00:00
David Anderson 2d058c5cb4 - GUI RPC: add active_only option to get_results() RPC
svn path=/trunk/boinc/; revision=18304
2009-06-04 17:59:04 +00:00
David Anderson 7ff687998f - fix display problem when talking to old clients
svn path=/trunk/boinc/; revision=18197
2009-05-23 00:16:05 +00:00
Charlie Fenton 8d8bf6f0c0 MGR: Merge "Attach to account manager" functionality into "Attach to project" wizard; Synchronize and Remove Acct Mgr not yet merged.
svn path=/trunk/boinc/; revision=18088
2009-05-13 12:42:05 +00:00
David Anderson fba2e5ee3d - Changes to get the client to build on IRIX:
don't use the variable name "sgi";
    include <xxx.h> instead of <cxxx>; the latter just adds
    overloaded functions that we avoid.

svn path=/trunk/boinc/; revision=17954
2009-04-30 21:48:20 +00:00
Rom Walton 28c72cab79 - WIN: First pass through the code to fix compliation errors when
building in a Unicode enabled environment.
        
        NOTE: For files that are shared between the core client and
          the manager, it was simpliar to just call the ANSI versions
          of the specific Windows API functions then to monkey with
          all of the string handling code and convert between ANSI
          and UCS-2 strings.  CreateFile becomes CreateFileA instead
          of the default of CreateFileW.
          
        Down to 11 compile time errors from over 100.

    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp
        browser.cpp
        browser.h
        sg_StatImageLoader.cpp
    lib/
        boinc_win.h
        diagnostics_win.cpp
        filesys.cpp
        gui_rpc_client_ops.cpp
        proc_control.cpp
        stackwalker_imports.h
        stackwalker_win.cpp
        str_util.cpp
        util.cpp
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=17859
2009-04-23 03:40:49 +00:00
David Anderson 87d50be302 - GUI RPC and manager: send slot and show it in task properties
rather than slot path
    (slot_path is defined only for apps with graphics app).

svn path=/trunk/boinc/; revision=17786
2009-04-10 19:18:44 +00:00
David Anderson cf638ae3a6 - client: instead of scheduling coproc jobs EDF:
- first schedule jobs projected to miss deadline in EDF order
    - then schedule remaining jobs in FIFO order
    This is intended to reduce the number of preemptions of coproc jobs,
    and hence (since they are always preempted by quit)
    to reduce the wasted time due to checkpoint gaps.
- client: the CPU scheduling policy made use of the number
    of deadline misses in various places.
    This should include only the deadline misses of CPU jobs.
    So move "deadlines_missed" from RR_SIM_STATUS and PROJECT
    to RSC_PROJECT_WORK_FETCH so that we have separate counts
    for CPU and coproc jobs, and use the count for CPU jobs.
- GUI RPC: removed the rr_sim_deadlines_missed field
    from project descriptor.
    This is no longer meaningful, and it didn't seem to be used anywhere.

svn path=/trunk/boinc/; revision=17785
2009-04-10 19:01:38 +00:00
David Anderson 84ee96e04e - GUI RPC: client side: if parse a RESULT and CPU is nonzero
but elapsed time is zero, we must be talking to an old client;
    set elapsed = CPU

svn path=/trunk/boinc/; revision=17704
2009-03-30 18:45:32 +00:00
David Anderson dfc62d896d - Manager: show elapsed time instead of CPU time in Task tab.
CPU time is visible in task Properties.
- Manager: in task Properties, show final CPU and elapsed times
    if job is finished
- client: honor backoff for account-manager-requested scheduler RPCs
- client: keep track final elapsed time for results
- GUI RPC: report final elapsed time

svn path=/trunk/boinc/; revision=17588
2009-03-11 22:01:38 +00:00
David Anderson 63dfde353e svn path=/trunk/boinc/; revision=17421 2009-03-02 17:57:57 +00:00
David Anderson 7b10a4649a - manager and GUI RPC: always show resource debt and backoff even if zero;
also show backoff interval

svn path=/trunk/boinc/; revision=17419
2009-03-02 00:12:50 +00:00
Eric J. Korpela 8f3abcc835 - Added checks for net/*.h, arpa/*.h, netinet/*.h and code to figure out
which of those files to include
    - Modified MAC address check to work on some non-Linux unixes.
      (mac_address.cpp)
    - Added suggested change to "already attached to project" checking.
      (ProjectInfoPage.cpp)
    - changed includes of standard c header files to their c++ equivalents
      (i.e. replaced <stdio.h> with <cstdio>) for namespace protection.
    - replaced "using namespace std;" with more explicit "using std::function" in
      several files.
    - Fixed bug in checking whether the os is OS/2 and added conditional OS_OS2
      to the build environment. (boinc_platform.m4,configure.ac)
    - Changed build environment to not use -nostandardlibs unless we are using
      G++ and static linkage is specified. (configure.ac)
    - Added makefiles and package building files for solaris CSW package manager.
    - Fixed bug with attempting to find login name using logname. (configure.ac)
    - Added ifdef HAVE_* protection around some include files commonly found in
      sys.
    - Added support for unified binary for x86_64/i686-pc-solaris.
      (cs_platforms.cpp)
    - generate_host_cpid() now uses MAC address on non-linux unix.
      (hostinfo_network.cpp)
    - Macro BOINC_SET_COMPILE_FLAGS now doesn't check gcc only flags on non-gcc
      compilers. (boinc_set_compile_flags.m4)
    - Library compiles no longer depend upon the library extension or require
      the library to be prefixed with lib.
    - More fixes for fcgi builds.
    - Added declaration of "struct ether_addr" and ether_ntoa().  Have not yet
      implemented ether_ntoa() for machines that don't have it, or where it is
      buggy.  (unix_util.h)
    - Added FCGI::perror() which calls FCGI_perror(). (boinc_fcgi.{h,cpp})
    - Fixed library Makefiles so that all required headers get installed.


svn path=/trunk/boinc/; revision=17388
2009-02-26 00:23:23 +00:00
David Anderson b22e99c26f - GUI RPC: add master_url and local_revision to PROJECT_CONFIG struct.
The former will allow the Manager to verify project URLs

svn path=/trunk/boinc/; revision=17271
2009-02-14 00:43:27 +00:00
Rom Walton d2007737d0 - MGR: Add a virtual list box to display available account managers.
clientgui/
        AccountManagerInfoPage.cpp, .h
        AccountManagerProcessingPage.cpp
        AccountManagerPropertiesPage.cpp
        ProjectInfoPage.cpp, .h
        WizardAccountManager.cpp
    lib/
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=17075
2009-01-29 22:20:14 +00:00
Charlie Fenton 809f1b7e92 GUI RPC: Fix compiler warning (missing return value)
svn path=/trunk/boinc/; revision=17065
2009-01-29 00:59:03 +00:00
David Anderson 80745e4a4a - GUI RPC: the "get all projects" RPC now also returns account managers
svn path=/trunk/boinc/; revision=17063
2009-01-28 23:45:36 +00:00
David Anderson d588428818 - manager fixes
svn path=/trunk/boinc/; revision=16926
2009-01-15 23:06:26 +00:00
David Anderson bea7ac23b2 - GUI RPC: add CUDA info to PROJECT struct
- manager: display CUDA info in project properties page
- manager: use struct assignment instead of copy() function

svn path=/trunk/boinc/; revision=16925
2009-01-15 21:46:47 +00:00
David Anderson 1320392f30 - client/manager fixes
svn path=/trunk/boinc/; revision=16905
2009-01-13 23:24:54 +00:00
David Anderson d93eb6da48 - GUI RPC: finish the changed started above;
update the way that app versions are identified.

Old: WORKUNIT contains version_num
    RESULT contains app_version_num (but only if running)

New: Keep old fields so new client works with old manager.
    RESULT contains version_num, plan_class
    Manager: if RESULT doesn't have version/plan_class
    (because talking to old client)
    look up app version based on WU version num.

svn path=/trunk/boinc/; revision=16903
2009-01-13 22:46:58 +00:00
David Anderson b2d7812130 - GUI RPC: add the following items to PROJECT_CONFIG
(corresponding to the get_project_config.php web RPC):
    - platforms: list of platforms supported by the project
    - sched_stopped: scheduler disabled
    - web_stopped: DB-driven web features disabled
    - min_client_version
- GUI RPC: add the following items to CC_STATE:
    - platforms: list of platforms supported by the client
        (this replaces the unused <platform_name>)
- GUI RPC: add the following items to PROJECT_LIST_ENTRY
    (entry in the "all projects" list):
    - platforms: list of platforms supported by the project
- GUI RPC: move APP_VERSION pointer from WORKUNIT to RESULT;
    include plan class in APP_VERSION lookup.
    This completes the change of March 2008,
    and allows the Manager to work correctly when a project
    has two different app versions of the same (app, platform, version)
    running on a client at once (e.g., a CPU and a GPU app)
- get_project_config.php: remove logic that checks client version.
    This page is accessed by PHP, not just by client
- web: add link to forum page to get forum as RSS

svn path=/trunk/boinc/; revision=16900
2009-01-13 19:34:04 +00:00
David Anderson e6a87070f3 - manager: in task properties, display elapsed time if available,
and replace "estimated CPU time remaining" with "estimated time remaining"

svn path=/trunk/boinc/; revision=16604
2008-12-03 17:50:44 +00:00
David Anderson ad43b8256e - manager: small fixes for terms-of-use feature
svn path=/trunk/boinc/; revision=16561
2008-11-26 00:12:18 +00:00
Rom Walton 269e8db2e7 - MGR: Make the error message processing work for the
get_project_config rpc, use the same scheme as
        the ACCOUNT_OUT structure.
    
    clientgui/
        ProjectProcessingPage.cpp
        ProjectPropertiesPage.cpp, .h
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=16557
2008-11-25 17:34:29 +00:00
David Anderson 79ed766ea8 - GUI RPC: add optional terms_of_use field to project config.
If present, the manager will display this text in a yes/no dialog
    before attachment continues.

svn path=/trunk/boinc/; revision=16549
2008-11-24 21:23:53 +00:00
Charlie Fenton 8cdf5b6c32 lib: eliminate 2 obsolete RPC calls.
svn path=/trunk/boinc/; revision=16095
2008-09-30 10:34:56 +00:00
Charlie Fenton 7d5f2eee63 Mgr: Fix XCode project for all .C files renamed to .cpp; lib: Fix error in prooxy changes of 9/25/08.
svn path=/trunk/boinc/; revision=16086
2008-09-29 09:26:01 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00