Commit Graph

6967 Commits

Author SHA1 Message Date
David Anderson cafd727873 - manager: show execution directory in task properties
svn path=/trunk/boinc/; revision=17767
2009-04-09 17:39:24 +00:00
David Anderson c6d7076464 - client: for each app version,
keep track of the largest WSS of tasks using it.
    In checking whether tasks fit in RAM,
    use this as an estimate for tasks that haven't started yet.
    This avoids a situation where the client starts a lot of
    tasks in sequence, only to find that each one doesn't fit in RAM.

svn path=/trunk/boinc/; revision=17765
2009-04-09 16:46:03 +00:00
Charlie Fenton dab27897c2 Mac client: fill in command field of PROCINFO struct so <exclusive_app> log flag works properly on Mac.
svn path=/trunk/boinc/; revision=17760
2009-04-09 10:41:11 +00:00
Charlie Fenton 0cfb2747f9 Mac: build MGR with wxWidgets 2.8.10; Remove -lresolv from XCode linker flags
svn path=/trunk/boinc/; revision=17759
2009-04-09 06:05:09 +00:00
David Anderson f3e362097e - client: back out res_init() change; it didn't work
svn path=/trunk/boinc/; revision=17758
2009-04-09 04:41:41 +00:00
David Anderson 65560415fe - Add "html/ops/purge_profile.php" script to help admins locate
and remove spam profiles

svn path=/trunk/boinc/; revision=17753
2009-04-08 17:46:47 +00:00
Charlie Fenton a7dea6f086 MGR: Fix compatibility problem with wxWidgets 2.8.8 or later
svn path=/trunk/boinc/; revision=17744
2009-04-08 04:06:47 +00:00
Eric J. Korpela 3c58c38958 - API: Added new function boinc_set_credit_claim() for use by projects that
want to grant approximately fixed credits, but don't want to express them in 
    terms of FPOPS and IOPS.  This API just calls boinc_ops_cumulative(N*8.64000e+11,0).
    CPU intensive projects that use this API should still use the
    tools/calculate_credit_multiplier script in order to adjust their credit
    claims as processing times vary.


svn path=/trunk/boinc/; revision=17743
2009-04-08 00:50:39 +00:00
David Anderson 5834cb098e - client: we were setting config defaults after parsing cmdline.
This meant that the cmdline args that set config params weren't working:
        --allow_multiple_clients
        --report_results_immediately
        --no_priority_change
        --start_delay

svn path=/trunk/boinc/; revision=17741
2009-04-07 20:02:49 +00:00
David Anderson 9f33d4db27 - web and client: change the default for "run_gpu_if_user_active"
from true to false.
    Currently running CUDA apps on NVIDIA GPUs causes
    a significant slowdown in GUI response.


svn path=/trunk/boinc/; revision=17740
2009-04-07 18:21:39 +00:00
Rom Walton 47cb6533e8 - WINSETUP: On some setups, how we were including the 'Everyone' well
known security ID in the boinc_users group didn't work properly.
        
        From now on include the 'Everyone' security ID in the various
        ACLs instead.  This will probley clean up a wide range of
        various issues with multi-user installs.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCGroups.cpp
        CASetPermissionBOINC.cpp
        CASetPermissionBOINCData.cpp
        CASetPermissionBOINCDataProjects.cpp
        CASetPermissionBOINCDataSlots.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=17738
2009-04-07 16:51:09 +00:00
Rom Walton ceb67571c7 - WINSETUP: When uninstalling, don't migrate the client data back
to the 5.x location.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.cpp

svn path=/trunk/boinc/; revision=17737
2009-04-06 20:11:35 +00:00
David Anderson 9dc7ecb22a - make_project: get rid of verbosity-level stuff
and fancy overwriting of stdout lines


svn path=/trunk/boinc/; revision=17736
2009-04-06 18:27:02 +00:00
David Anderson 837d3fc0a1 - get_project_config.php: include plan classes in platform list;
i.e., list both win/x86 and win/x86 + NVIDIA.
    This will allow the manager to show which projects can
    use the hosts's coprocessors,
    and also graying out projects that require an absent coproc.
- fix compile warnings

svn path=/trunk/boinc/; revision=17735
2009-04-03 21:55:26 +00:00
Rom Walton 760dc42e12 - WINSCR: It appears newer notebook models with multiple video
chipsets exhibit an interesting situation.  It appears as though
        in certain conditions a single monitor machine actually reports
        itself as having three monitors.  Normally the monitor that
        contains the primary window (coord 0,0) is on monitor 0, but on
        these machines coord 0,0 is actually on monitor 2.  This led to the
        screensaver not properly exiting when keyboard and/or mouse activity
        was detected.  Now when we detect that keyboard and/or mouse activity
        has happened we send the WM_INTERRUPTSAVER event to all windows
        on all monitors.
        
    clientscr/
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=17728
2009-04-02 19:04:10 +00:00
David Anderson c66cba7f8f - web: in filtered job lists,
"pending" should include "inconclusive",
    and "invalid" should include "too late to validate"

svn path=/trunk/boinc/; revision=17726
2009-04-02 17:41:14 +00:00
Charlie Fenton 3840b814b7 SS: Under Mac Sandbox security, terminate default screensaver graphics app via gfx_switcher
svn path=/trunk/boinc/; revision=17722
2009-04-02 10:25:16 +00:00
Charlie Fenton e1a9129b48 SS: Under Mac Sandbox security, gfx_switcher launches default ss app as user and group boinc_master; don't setgid boincscr
svn path=/trunk/boinc/; revision=17720
2009-04-02 01:48:44 +00:00
David Anderson b3f07e1a0c - client: show project name in "backoff ended" msg
svn path=/trunk/boinc/; revision=17719
2009-04-01 23:22:17 +00:00
Charlie Fenton c49391fa52 Fix date in checkin_notes entry
svn path=/trunk/boinc/; revision=17717
2009-04-01 11:21:37 +00:00
Charlie Fenton 00bc9294a2 Mac: MGR: add standard Preferences item under BOINC menu; add -lresolv to XCode linker flags for screensaver
svn path=/trunk/boinc/; revision=17716
2009-04-01 11:14:16 +00:00
Charlie Fenton 9c083541ef Mac: Add -lresolv to XCode linker flags for client and manager
svn path=/trunk/boinc/; revision=17715
2009-03-31 22:47:33 +00:00
David Anderson bc889ca27a - client: (unix): if host name lookup fails, call res_init().
This is an attempt to fix a problem on Linux where,
    if the client starts before a VPN is set up, it can never communicate

svn path=/trunk/boinc/; revision=17711
2009-03-31 16:45:17 +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 f90871a141 - boinc_submit (single-job submission):
set the job params to reasonable values (see below),
    and make it easy to change these values in the script
- create_work (function and script): change default job params:
    FLOPs est: 1e9 => 3600e9
    FLOPs bound: 1e10 => 86400e9
    mem bound 100MB => 500MB,
    disk bound 100MB => 1GB
    delay bound: 100000s => 1 week

svn path=/trunk/boinc/; revision=17703
2009-03-30 18:38:11 +00:00
David Anderson 62ac6358e6 - client: typo in work fetch code; may cause minor errors
svn path=/trunk/boinc/; revision=17691
2009-03-28 04:20:44 +00:00
David Anderson 3638e37452 - manager: fix message
svn path=/trunk/boinc/; revision=17690
2009-03-28 04:08:38 +00:00
David Anderson 68e2530b3a - API: add function boinc_msg_prefix() that returns
time of day and process ID.
    This should prefix all messages written to stderr
    by applications or by the runtime system.

svn path=/trunk/boinc/; revision=17687
2009-03-27 23:42:47 +00:00
David Anderson 7d97951961 - manager: display versions as x.xx
svn path=/trunk/boinc/; revision=17681
2009-03-27 20:47:55 +00:00
Charlie Fenton a20e70fc62 Better support if platforms don't have per-thread locale; ensure Mac BOINC libraries build OK using config/make; fix Mac build breaks for example_app.
svn path=/trunk/boinc/; revision=17677
2009-03-27 05:25:58 +00:00
David Anderson 2df9cd38d3 - client: when a job finishes,
clear the project's backoff for its resource type.
    This fixes a problem where a project has a "max jobs in progress"
    limit, and we're backed off because of that.
    We'll now fetch work immediately instead of waiting 24 hrs.

svn path=/trunk/boinc/; revision=17665
2009-03-26 17:39:25 +00:00
David Anderson 3e04801942 - client: clear resource backoffs on user-requested RPC
- client: randomize resource backoffs to avoid lockstep

svn path=/trunk/boinc/; revision=17664
2009-03-26 16:56:20 +00:00
Charlie Fenton 78ecec4b16 MGR: SET_LOCALE constructor, destructor change locale only if no per-thread locale, XCode project supports weak-linking of uselocale()
svn path=/trunk/boinc/; revision=17662
2009-03-26 16:05:57 +00:00
Charlie Fenton a402e3f19a MGR: Remove erroneous call of locale in main thread; set locale only on a per-thread basis
svn path=/trunk/boinc/; revision=17661
2009-03-26 01:22:35 +00:00
David Anderson 5d6fc98de3 - client: give highest work-fetch priority to resources with idle instances
svn path=/trunk/boinc/; revision=17660
2009-03-25 16:59:59 +00:00
David Anderson 47056a11f0 - improve msgs in file upload handler
svn path=/trunk/boinc/; revision=17659
2009-03-25 16:52:26 +00:00
David Anderson a720fc5d52 - web: translation system didn't compile BOINC and
project-specific translations correctly.

svn path=/trunk/boinc/; revision=17658
2009-03-24 23:27:12 +00:00
David Anderson 4dfc96033c - web: clean out translation directories before updating
(to get rid of bad translation files)


svn path=/trunk/boinc/; revision=17656
2009-03-24 23:08:09 +00:00
David Anderson fc770dfefe - web: remove spurious translation files
svn path=/trunk/boinc/; revision=17655
2009-03-24 22:51:12 +00:00
David Anderson 82112821f3 - web: updated the master translation file
svn path=/trunk/boinc/; revision=17654
2009-03-24 21:54:12 +00:00
David Anderson 1439a91e1c svn path=/trunk/boinc/; revision=17653 2009-03-24 21:33:03 +00:00
David Anderson 0f6de2ea58 - upgrade and make_project scripts: run update_translations.php,
which compiles the translation files into the form
    used by the web code.
    Projects that don't use "upgrade" will need to do this manually
    whenever translation files change.

svn path=/trunk/boinc/; revision=17652
2009-03-24 21:24:57 +00:00
David Anderson a171360594 - remove wait arg of resume_client()
svn path=/trunk/boinc/; revision=17651
2009-03-24 17:44:16 +00:00
David Anderson c1dce6425e - small code shuffle
- fix manager build on unix

svn path=/trunk/boinc/; revision=17650
2009-03-24 17:18:09 +00:00
Rom Walton 4b40bac424 - client: handle power events on Windows via a seperate thread and
hidden window.  The basic code was already in place to handle
        logoff events on Win9x but now it is enabled for all Windows
        versions.
        
    client/
        app_control.cpp
        main.cpp, .h

svn path=/trunk/boinc/; revision=17649
2009-03-24 16:57:28 +00:00
David Anderson 5e8237aa56 - client (linux): if don't find libcudart.so in the current dir,
look for it in the library search path.  Fixes #863

svn path=/trunk/boinc/; revision=17648
2009-03-23 19:25:38 +00:00
David Anderson ae90eb4865 - API: more lockfile messages
svn path=/trunk/boinc/; revision=17647
2009-03-23 17:26:20 +00:00
David Anderson 1acbff19fd - new screensaver: don't show jobs if suspended
svn path=/trunk/boinc/; revision=17646
2009-03-23 17:14:43 +00:00
David Anderson 6c4cc20aa1 - API: don't try to unlock lockfile if we failed to lock it
- API: more detailed message if failed to lock

svn path=/trunk/boinc/; revision=17645
2009-03-23 17:00:34 +00:00
David Anderson 5a5b386313 - client: garbage collect after scheduler RPC;
if project sent some irrelevant FILE_INFOs,
		this will avoid starting transfers for them.

svn path=/trunk/boinc/; revision=17644
2009-03-23 01:33:17 +00:00