Commit Graph

3648 Commits

Author SHA1 Message Date
Charlie Fenton d34c522d74 Mac Sandbox: Security fixes for Mac OS 10.6 Snow Leopard
svn path=/trunk/boinc/; revision=18978
2009-09-02 02:11:03 +00:00
Rom Walton 3f5034618c - client: Use HTTP_OP::pi to avoid a crash when using a proxy. libcurl uses
the proxy information after the PROXY_INFO struct in setup_proxy_session()
        had been popped off the stack.
        
    client/
        http_curl.cpp,h

svn path=/trunk/boinc/; revision=18974
2009-09-01 17:14:39 +00:00
David Anderson 1f7dec108a - client:
- remove HTTP_OP::pi; just use gstate.proxy_info
    - remove HTTP_OP::set_proxy()
    - remove PROXY_INFO::operator=; struct assignment works

svn path=/trunk/boinc/; revision=18973
2009-09-01 16:41:48 +00:00
Rom Walton ea0ab71e45 - client: autoproxy detection should happen at startup too.
- client: when autoproxy detection is in progress don't attempt to use
        old values
    - client: user defined proxies should take presidence over automatically
        detected ones.
    - lib: Re-implement the assignment operator for proxy_info, http_curl.cpp
        uses it to clone the proxy information for each http op.  See set_proxy();

    client/
        client_state.cpp
        http_curl.cpp
        net_stats.cpp
    lib/
        proxy_info.cpp, .h

svn path=/trunk/boinc/; revision=18971
2009-09-01 16:01:30 +00:00
David Anderson 29c1751898 - client: if project is anonymous platform, set the overall work req
to the max of the requests for different resource types.
    Otherwise projects with old schedulers won't send us work.

svn path=/trunk/boinc/; revision=18945
2009-08-31 03:42:01 +00:00
David Anderson cdb61b46e0 - client: various bug fixes in job scheduling and work fetch for ATI.
From Crunch3r.

svn path=/trunk/boinc/; revision=18944
2009-08-30 05:22:53 +00:00
David Anderson 2039e67638 - client: NVIDIA offers an API which tells you whether a GPU
is running a graphics application.
    Change the semantics of the "don't use GPU while computer in use" pref
    to "don't use a GPU that's running a graphics app while
    computer is in use".
    This will increase GPU utilization on multi-GPU systems.

svn path=/trunk/boinc/; revision=18942
2009-08-28 22:55:04 +00:00
David Anderson 607119dcbf - fixes to proxy autodetect
svn path=/trunk/boinc/; revision=18941
2009-08-28 21:25:13 +00:00
David Anderson 7e8dadd5a3 svn path=/trunk/boinc/; revision=18940 2009-08-28 21:08:59 +00:00
David Anderson 474299d778 - client: fix work fetch log message for ATI GPU
svn path=/trunk/boinc/; revision=18939
2009-08-28 20:28:42 +00:00
David Anderson 16c2d5addc compile fixes
svn path=/trunk/boinc/; revision=18937
2009-08-28 18:01:51 +00:00
David Anderson 8728c04983 - reverted changes to PROXY_INFO which broke various things
svn path=/trunk/boinc/; revision=18936
2009-08-28 17:14:37 +00:00
David Anderson 720ec66f28 - scheduler: fix CUDA RAM warning msg
svn path=/trunk/boinc/; revision=18922
2009-08-26 16:10:46 +00:00
David Anderson dbd7b8b8e9 - client: when writing XML, entity-encode the following fields:
FILE_INFO::url
    HOST_INFO::p_vendor, p_model, p_features, os_name, os_version

    The following fields are already entity-encoded:
    PROJECT::user_name, team_name
    APP_INIT_DATA::user_name, team_name
    PROXY_INFO:: user names and passwds

    These are (as far as I know) the only fields that can
    contain special chars.
    This is now documented in:
    http://boinc.berkeley.edu/trac/wiki/XmlNotes
- client: XML_PARSER::parse_str() now does xml_unescape(),
    same as ::parse_str().


svn path=/trunk/boinc/; revision=18915
2009-08-25 21:32:39 +00:00
David Anderson 9a8f91fb1e - client: in parsing <coproc> elements in <app_version>,
use a new type COPROC_REQ for which the count field is a double.
    Otherwise fractional GPU jobs don't work.

svn path=/trunk/boinc/; revision=18906
2009-08-24 23:16:17 +00:00
David Anderson d14527f79d - update_versions: if app version files already exist in download dir,
make sure they're the same (i.e., enforce file immutability).
    TODO: do this for input files too
- client: check return values from CUDA device detection functions

svn path=/trunk/boinc/; revision=18903
2009-08-24 19:08:05 +00:00
David Anderson 563a55f37e - client/libs/samples: remove "#define read _read" etc. from boinc_win.h
These cause problems when "read" is a member name, etc.
		Do these #defines, conditioned on _MSC_VER,
		in the files that actually need them.
	- don't include boinc_win.h from parse.h.
		principle of minimal inclusion

svn path=/trunk/boinc/; revision=18902
2009-08-22 17:00:19 +00:00
Rom Walton 1888efa536 - client: Attempt to prevent a crash via a C++ exception by checking
for a -1 index before attempting erase the rest of the proxy
        list.
        
    client/
        sysmon_win.cpp

svn path=/trunk/boinc/; revision=18893
2009-08-21 18:52:35 +00:00
David Anderson f8977c52e7 - fixes to coproc stuff
svn path=/trunk/boinc/; revision=18881
2009-08-19 23:47:07 +00:00
David Anderson f1360e5971 - client: finish the implementation of fractional coproc jobs.
- different data structure for keeping track of coproc usage;
        instead of COPROC having per-instance pointers to ACTIVE_TASK,
        ACTIVE_TASK now has an array of device number indices
        for each instance that it's using.
    - in enforce_schedule(), we call a new function assign_coprocs()
        that decides what coproc instances each job will use,
        and prunes jobs for which we can't get an assignment.
        This function embodies lots of subtlety.
    - coproc_cmdline() no longer deals with reserving instances;
        it just has to generate the --device X cmdline

svn path=/trunk/boinc/; revision=18880
2009-08-19 23:21:55 +00:00
David Anderson cdfdac9c4b svn path=/trunk/boinc/; revision=18875 2009-08-19 21:05:07 +00:00
David Anderson 073e6ded2c - client and scheduler: lay the groundwork for "fractional coproc jobs",
e.g. the Milkyway@home ATI app, of which we can typically run
    2 or 3 instances at once on a GPU.
    Changes include:
    - In APP_VERSION, don't use a COPROCS to represent the GPU
        requirements; just use doubles ncudas and natis.
    - sufficient_coprocs() etc. are no longer members of COPROCS
    - in HOST_USAGE, ncudas and natis are doubles
    - in scheduler request, req_instances is now a double

    This checkin doesn't include the job scheduling logic,
    i.e. assigning jobs to GPUs.  That will follow.

svn path=/trunk/boinc/; revision=18868
2009-08-19 18:41:47 +00:00
David Anderson 12d4b978be - scheduler: if client request uses a weak authenticator,
don't modify user preferences or CPID.
- client: fix bug that shows ATI version incorrectly
- database: host.posts has been repurposed as a salt (or seqno)
    for a new type of weak authenticator that won't depend on password
- web code:
    modify forum_preferences.posts instead of host.posts.
    (actually, the former isn't used either, we just do a select count(*);
    should fix this at some point).

svn path=/trunk/boinc/; revision=18865
2009-08-18 20:44:12 +00:00
David Anderson f54c37ca75 svn path=/trunk/boinc/; revision=18854 2009-08-17 21:20:23 +00:00
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
David Anderson c3fe504e1d - client: add ATI support to job scheduling and work fetch
svn path=/trunk/boinc/; revision=18850
2009-08-17 16:50:40 +00:00
David Anderson 7bca6c021b - client: in the final stage of CPU scheduling,
give preference to multi-threaded jobs.
    Avoid running N-1 1-thread jobs and 1 N-thread job on N CPUs
- client: change file transfer giveup time from 14 to 90 days

svn path=/trunk/boinc/; revision=18845
2009-08-14 19:00:29 +00:00
David Anderson 160ec8daec - client: don't try to maintain GPU work for all projects,
since use FIFO rather than RR schedling for GPUs


svn path=/trunk/boinc/; revision=18844
2009-08-14 17:17:54 +00:00
David Anderson 0a523d5f3f svn path=/trunk/boinc/; revision=18843 2009-08-14 17:10:52 +00:00
David Anderson e606170b14 - client: try to fix situations where the scheduler
runs GPU jobs in a seemingly random order,
        or preempts GPU jobs needlessly.
        The change has two parts:
        1) sort the "results" vector by received_time,
            so that the RR simulation processes GPU jobs FIFO.
        2) in the CPU scheduler (earliest_deadline_result())
            instead of choosing the earliest-deadline GPU job that
            misses its deadline,
            pick the earliest_deadline GPU from a project that
            has a deadline miss for that GPU type
            (this is what's done in the CPU case)
    - client: fix bug where if you have an exclusive app,
        then remove it from cc_config.xml and do "update config",
        it doesn't go away.
        Need to clear the list before parsing.

svn path=/trunk/boinc/; revision=18842
2009-08-14 16:54:45 +00:00
David Anderson c29acd04e8 - client (Unix): fix bug that caused GPU reservation to not work.
The problem: we were doing the reservation after the fork(),
    so that the data structure it changed was the app's, not the client's.

svn path=/trunk/boinc/; revision=18836
2009-08-13 16:24:21 +00:00
David Anderson 230760136c svn path=/trunk/boinc/; revision=18835 2009-08-13 16:17:26 +00:00
Charlie Fenton f088df311f client fix crash bug introduced by changing PROXY_INFO strings from char[] to std::string
svn path=/trunk/boinc/; revision=18821
2009-08-08 03:10:41 +00:00
Charlie Fenton 290d92aeb0 client: fix compiler warnings "call will abort at run time"; Sandbox: add casts
svn path=/trunk/boinc/; revision=18820
2009-08-08 01:07:10 +00:00
Rom Walton 16156838c5 - client: Second pass through the automatic proxy detection code.
During the first pass we learned that the whole process of
        proxy detection on Win XP machines could take a few seconds
        even with no proxies to be detected, now the proxy detection
        code is executed in the same thread that is monitoring for
        power change events.
        
    client/
        cs_cmdline.cpp
        http_curl.cpp
        http_curl.h
        http_curl_win.h
        net_stats.cpp
        sysmon_win.cpp, .h
    lib/
        parse.cpp, .h
        proxy_info.cpp, .h

svn path=/trunk/boinc/; revision=18819
2009-08-07 18:16:21 +00:00
Charlie Fenton a47204f5e6 client: More efficient implementation of active_only flag in get_results RPC
svn path=/trunk/boinc/; revision=18817
2009-08-07 09:22:02 +00:00
Charlie Fenton 77b990dea0 Mac: fix compile breaks
svn path=/trunk/boinc/; revision=18813
2009-08-04 05:52:04 +00:00
Charlie Fenton ebcc5eb04f client: fix compiler warning (too few args for print format)
svn path=/trunk/boinc/; revision=18812
2009-08-04 05:51:40 +00:00
Rom Walton 4fe50b4e74 Quick Updates
svn path=/trunk/boinc/; revision=18811
2009-08-04 04:46:49 +00:00
David Anderson b4d29b9c6d - minor code cleanup
svn path=/trunk/boinc/; revision=18805
2009-08-03 21:46:16 +00:00
Rom Walton b932711a80 - client: refactor the CC startup process, move majority of the
windows code into sysmon_win.cpp, .h
        
    client/
        client_state.cpp, .h
        cpp.h
        http_curl.cpp
        main.cpp, .h
        net_stats.cpp
        sysmon_win.cpp, .h

svn path=/trunk/boinc/; revision=18803
2009-08-03 20:55:00 +00:00
David Anderson abf34520e6 Begin refactor process for Windows auto proxy detection
svn path=/trunk/boinc/; revision=18798
2009-08-02 03:35:45 +00:00
David Anderson 705f824da5 compile fixes
svn path=/trunk/boinc/; revision=18790
2009-07-31 23:52:47 +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 ad3dd04e2a slight code cleanup
svn path=/trunk/boinc/; revision=18785
2009-07-30 22:23:49 +00:00
Rom Walton 664f872e0e Quick Updates
svn path=/trunk/boinc/; revision=18777
2009-07-30 00:21:31 +00:00
Rom Walton fec945221e - client: Initial swipe at automatic proxy server configuration
detection on Windows.  Fixes #35
        
    client/
        cs_cmdline.cpp
        http_curl.cpp
        http_curl.h
    lib/
        boinc_win.h
        proxy_info.cpp
        proxy_info.h
        util.cpp
        win_util.h

svn path=/trunk/boinc/; revision=18772
2009-07-29 23:50:00 +00:00
David Anderson 2c03cb2732 - client: if an HTTP op fails within 30 sec of client startup,
don't skip the reference site check.
    Instead, defer the reference site check until 30 secs after startup.
    Also, if during this interval (when the check has been requested
    but not started) return net status as LOOKUP_PENDING

svn path=/trunk/boinc/; revision=18760
2009-07-28 22:24:14 +00:00
David Anderson 4222d744e8 - client (Linux): when launching apps, put a relative path
to the executable (../../projects/x/y) into argv[0],
    not just the executable filename.
    Apparently the new NVIDIA drivers have a bug that cause
    CUDA apps to crash unless this is done.
- Scheduler: in no-host-ID case, don't mark results as "detached"
    if request contains any in-progress results

svn path=/trunk/boinc/; revision=18754
2009-07-28 19:19:14 +00:00
Rom Walton c3dc333f26 - client: There was already a way to check if the reference site
check was in progress, I missed it through my first pass
        through the manager code while trying to debug the proxy problem
        get_cc_config returns NETWORK_STATUS_LOOKUP_PENDING which
        then causes the manager to call get_cc_status again.
        
    client/
        gui_rpc_server_ops.cpp
        net_stats.cpp, .h

svn path=/trunk/boinc/; revision=18743
2009-07-28 04:16:32 +00:00
Rom Walton f0b74d520a - client: Remove Win9x compatibility code from memory detection
routine.
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=18741
2009-07-28 01:30:07 +00:00
David Anderson 9b6d6fea74 - client: fix crashing bug introduced in [18605]
svn path=/trunk/boinc/; revision=18737
2009-07-27 18:19:43 +00:00
David Anderson 0f0a29b5b7 - client: in get_project_config_poll() GUI RPC,
return ERR_IN_PROGRESS is the reference site check is in progress.
    This hopefully fixes a bug where:
    - the user is connected via a proxy
    - the manager is run for the first time, and an attach is tried
    - the get_project_config.php fetch fails because no proxy config
    - the manager gets the CC_STATUS before the ref site check has
        finished, so it thinks there's a network connection,
        and it doesn't ask the user for proxy info

svn path=/trunk/boinc/; revision=18712
2009-07-24 19:09:37 +00:00
Rom Walton 050be1650f - client: Treat power events similiar to the snooze events, assign
a timeout so that when we resume from suspend/hybernate we
        restore the previous activity states.
        
    client/
        main.cpp

svn path=/trunk/boinc/; revision=18667
2009-07-23 19:56:17 +00:00
Rom Walton ed797510e4 - client: Remove some more Win9x code.
- client: Add some messages while handling Windows power events.
    
    client/
        main.cpp

svn path=/trunk/boinc/; revision=18665
2009-07-23 17:01:01 +00:00
David Anderson 26114920fe - client: define "too many uploads" (for work fetch) as
2 * max(ncpus, ngpus);
    show this in the state displayed by <work_fetch_debug>
- manager: show project-wide backoff in transfers tab

svn path=/trunk/boinc/; revision=18662
2009-07-22 22:00:51 +00:00
David Anderson a4e82069d6 - client: add a bunch of debugging messages (<task_debug>)
for showing how GPU instances are being reserved
- scheduler: add "sse3" plan class example
- web: add option (NO_TEAMS constant) for suppressing teams

svn path=/trunk/boinc/; revision=18658
2009-07-22 18:41:02 +00:00
David Anderson b358089006 svn path=/trunk/boinc/; revision=18632 2009-07-20 17:30:10 +00:00
David Anderson 5753153909 - client: 2nd try on my last checkin.
We need to estimate 2 different delays for each resource type:
    1) "saturated time": the time the resource will be fully utilized
        (new name for the old "estimated delay").
        This is used to compute work requests.
    2) "busy time": the time a new job would have to wait
        to start using this resource.
        This is passed to the scheduler and used for a crude deadline check.
        Note: this is ill-defined; a single number doesn't suffice.
        But as a very rough estimate, I'll use the sum of
            (J.duration * J.ninstances)/ninstances
        over all jobs that miss their deadline under RR sim.

svn path=/trunk/boinc/; revision=18629
2009-07-17 18:29:10 +00:00
David Anderson 8a1c0816ed - client: change the way a resource's "estimated delay"
(passed to server for crude deadline check) is computed.
    Old: estimated delay is the interval for which the resource
        is fully used (i.e., all instances busy).
    Problem: this may cause unnecessary project starvation.
        example: 1 CPU machine, has a month-long CPDN job
        with a 1-year deadline (it's not in deadline trouble).
        Then the CPU estimated delay will be 1 month,
        and the client won't get any work from projects
        with deadlines shorter than 1 month.
    New: estimated delay is the latest time at which the
        resource is fully used and is being used by at least 1 job
        that is projected to miss its deadline under RR.

    Note: this isn't precise, but I don't think we can improve it
    much without getting a lot more complex.


svn path=/trunk/boinc/; revision=18607
2009-07-16 21:21:47 +00:00
David Anderson 75bb5a4fa9 - client: if file < 8KB, upload it in its entirety and skip size check
- client: (refinement to previous checkin)
    don't skip file size check if file has multiple upload URLs.
    We might have uploaded different amounts on different servers.

svn path=/trunk/boinc/; revision=18606
2009-07-16 20:14:57 +00:00
David Anderson 0f59eef9a7 - client: changed file upload logic
Old: each upload attempt consists of two HTTP requests:
        the 1st to get the current file size on server,
        the 2nd to upload the remainder of the file.
    Problem:
        a) if the upload server is overloaded and requests
            are succeeding with probability X,
            then the chance of both requests succeeding is X^2.
            So e.g. a per-request success rate of 0.1
            becomes an overall success rate of 0.01.
        b) the "get file size" request can be avoided in some cases.
    New:
        If we've already queried the file size
        and haven't uploaded any additional bytes,
        don't query the file size again.


svn path=/trunk/boinc/; revision=18605
2009-07-16 19:41:56 +00:00
David Anderson efc86c6b3a svn path=/trunk/boinc/; revision=18604 2009-07-16 19:11:26 +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 d3ee088526 client: fix backoff logic
svn path=/trunk/boinc/; revision=18602
2009-07-16 18:21:56 +00:00
David Anderson e794e71c48 - client: code cleanup for project-level file xfer backoff
svn path=/trunk/boinc/; revision=18601
2009-07-16 16:35:57 +00:00
Rom Walton fcc031a6d5 - client: Remove backwards compatible CPU feature detection code
since we no longer support Win9x
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=18598
2009-07-15 20:14:44 +00:00
Eric J. Korpela 720fa9a3cb - libraries: Moved crypt.o out of libboinc and into libboinc_crypt.
Applications that need crypt.o will need to explicitly link
      libboinc_crypt.


svn path=/trunk/boinc/; revision=18595
2009-07-14 17:50:33 +00:00
David Anderson 6a13bd12b8 - client: restored code for project-wide backoff on file
uploads and downloads.
    I originally added this on 30 Sept 2005
    and disabled it 2 weeks later because there were reports of problems.
    However, we need this functionality
    (e.g. on GPU hosts with hundreds of files to upload,
    we need to back off after a few failures, not try all of them).
    I added messages (<file_xfer_debug>) so you can see what's going on.
    Fixes #932.

svn path=/trunk/boinc/; revision=18593
2009-07-10 17:06:06 +00:00
David Anderson 4338a5f856 - client: error if a <file_info> in app_info.xml has any URLs
- client: don't write file_infos with no URLs to client_state.xml
    for anon platform project; they must be from app_info.xml

svn path=/trunk/boinc/; revision=18592
2009-07-09 20:18:56 +00:00
David Anderson 114ba8111d compile fixes
svn path=/trunk/boinc/; revision=18589
2009-07-08 22:49:30 +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 13c647ece8 - fix client simulator
- web: if DB server down, say so


svn path=/trunk/boinc/; revision=18554
2009-07-06 16:33:02 +00:00
David Anderson 1dba786d7b - API: add boinc_elapsed_time() to get elapsed time since start of episode;
add APP_INIT_DATA::starting_elapsed_time to get
    elapsed time from previous episodes

svn path=/trunk/boinc/; revision=18535
2009-07-01 17:35:56 +00:00
David Anderson 6a513e76a7 fixes to my last checkin
svn path=/trunk/boinc/; revision=18533
2009-06-30 20:42:25 +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 211aef0dae Quick Updates
svn path=/trunk/boinc/; revision=18513
2009-06-30 03:08:11 +00:00
David Anderson 6a22356497 - client: when suspending a GPU job,
always remove it from memory, even if it hasn't checkpointed.
    Otherwise we'll typically run another GPU job right away,
    and it will bomb out or revert to CPU mode because it
    can't allocate video RAM

svn path=/trunk/boinc/; revision=18503
2009-06-26 20:54:44 +00:00
Charlie Fenton ebe8f91f04 MGR: Fix several Mac build breaks
svn path=/trunk/boinc/; revision=18441
2009-06-17 21:35:27 +00:00
David Anderson 5613634c3a - compile fixes for Linux
svn path=/trunk/boinc/; revision=18440
2009-06-16 22:17:04 +00:00
David Anderson 0b3ce504ff - Win: compile fixes
svn path=/trunk/boinc/; revision=18439
2009-06-16 21:58:38 +00:00
David Anderson 10f9e11ee6 - lib: created a new file for declaring "replacements"
for functions like strlcpy() etc.
    config.h is included here rather than in str_util.h


svn path=/trunk/boinc/; revision=18437
2009-06-16 20:54:44 +00:00
David Anderson 377490b767 - client: prepend rather than append to LD_LIBRARY_PATH;
on Mac, change DYLIB_LIBRARY_PATH also.


svn path=/trunk/boinc/; revision=18433
2009-06-16 20:24:36 +00:00
David Anderson d7aacaac32 - don't include config.h from network.h (Gabor Gombas)
svn path=/trunk/boinc/; revision=18428
2009-06-16 18:51:33 +00:00
David Anderson 16e87bc84e - client: don't require that file upload URLs contain "file_upload_handler".
svn path=/trunk/boinc/; revision=18427
2009-06-16 18:27:16 +00:00
Charlie Fenton 741e2a8476 Mac: uninstaller doesn't delete data; fixes for PTP installer
svn path=/trunk/boinc/; revision=18405
2009-06-13 00:54:29 +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
Charlie Fenton 08c302746c Mac Sandbox: check_security() writes path of bad file to stderr for some error codes
svn path=/trunk/boinc/; revision=18392
2009-06-12 11:12:47 +00:00
Rom Walton e3552a977b PTP: Introduce 'Progress Thru Processors' to the Windows build
environment. Use GridRepublic skin until the new one is available.
      
	client/win/
		boinc_cli.rc
		boinc_cmd.rc
	client/win/res/
		progress.ico (Added)
	clientctrl/
		boincsvcctrl.rc
	clientgui/
		BOINCGUIApp.rc
	clientgui/res/
		progress.ico (Added)
	clientgui/skins/Progress Thru Processors
		<Various Files>
	clientlib/win/
		boinc_dll.rc
	clientscr/
		boinc_ss.rc
	clientscr/res/
		boinc.jpg (Deleted)
	clientscr/res/
		progress.bmp (Added)
		progress.ico (Added)
		Scricon3.ico (Deleted)
	clienttray/
		boinc_tray.rc
	win_build/
		Progress.sln
		ptp_boinc_cli.vcproj
		ptp_boinc_dll.vcproj
		ptp_boinc_ss.vcproj
		ptp_boinccmd.vcproj
		ptp_boincmgr.vcproj
		ptp_boincsvcctrl.vcproj
		ptp_boinctray.vcproj

svn path=/trunk/boinc/; revision=18379
2009-06-11 17:11:47 +00:00
David Anderson cf327415d7 - client: read app_info.xml's AFTER scanning GPUs.
Otherwise we'll discard all GPU apps and results.


svn path=/trunk/boinc/; revision=18308
2009-06-04 21:28:25 +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 8cd8f99bef - client: when parsing app_info.xml, make sure coprocessors are present.
fixes #911


svn path=/trunk/boinc/; revision=18284
2009-06-03 22:29:53 +00:00
David Anderson ab7cf41267 - client: tweak messages
svn path=/trunk/boinc/; revision=18280
2009-06-03 21:59:47 +00:00
David Anderson d39af2afd2 - client: add a 1e-6 slop factor in deciding if
a resource is fully utilized.


svn path=/trunk/boinc/; revision=18271
2009-06-02 23:26:12 +00:00
David Anderson c2097091fe - client: show "est. delay" correctly in work fetch debug msgs
- client: show times correctly in rr_sim debug msgs
	- client: in "requesting new tasks" msg,
		say what resources we're requesting (if there's more than CPU)
	- client: estimated delay was possibly being calculated incorrectly
		because of roundoff error

svn path=/trunk/boinc/; revision=18269
2009-06-02 22:53:57 +00:00
David Anderson cc62cce8f7 - client: if scheduler request didn't request work, don't report 0 tasks
- scheduler: fix crash if anonymous platform

svn path=/trunk/boinc/; revision=18259
2009-06-02 05:12:06 +00:00
David Anderson 8333c35c81 - feeder: process array slots even if enum has ended;
this is needed to handle stale entries and slots
    reserved by now-dead PIDs
- client: unify code for writing soft link files

svn path=/trunk/boinc/; revision=18256
2009-06-02 00:22:45 +00:00
David Anderson 44c02144e9 - lib: return proper error codes from boinc_rename() and boinc_mkdir()
- client: Haiku support (from Urias McCullough)
- client: include plan class in other_result list in sched request
    (for resource-specific jobs-in-progress limit)

svn path=/trunk/boinc/; revision=18250
2009-05-31 16:38:37 +00:00
David Anderson 575565dc22 - client: fixed nasty bug that caused GPU jobs to crash on startup
when they're preempting another GPU job.
        The problem was as follows:
        - job A is chosen to preempt job B
        - we tell job B to quit, and initialize job A but don't start it;
            however, we set if scheduler state to SCHEDULED
            (rather than UNINITIALIZED)
        - job B exits, and we start job A.
            Since its state is not UNITIALIZED, we don't set up its slot dir.
        - job A runs in an empty slot dir, doesn't find its files, and bombs out.
    - client: add <slot_debug> option (prints messages about
        allocation of slots, creating/removing files in slot dirs).

svn path=/trunk/boinc/; revision=18217
2009-05-28 19:26:27 +00:00
Rom Walton 7749529f4d - MGR/client: Enable cookie support for Account Managers
client/
        gui_rpc_server_ops.cpp
    clientgui/
        AccountManagerProcessingPage.cpp
        AccountManagerPropertiesPage.cpp
        browser.cpp
        MainDocument.cpp
        WizardAttachProject.cpp

svn path=/trunk/boinc/; revision=18185
2009-05-22 13:36:22 +00:00