Commit Graph

13673 Commits

Author SHA1 Message Date
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
Charlie Fenton 969e1043a7 Release Mac BOINC 6.6.20
svn path=/trunk/boinc/; revision=17710
2009-03-30 23:08:01 +00:00
Rom Walton b1f245b121 Quick Updates
svn path=/trunk/boinc/; revision=17707
2009-03-30 20:57:51 +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
Rom Walton 29fa7ae6d2 Quick Updates
svn path=/trunk/boinc/; revision=17701
2009-03-30 18:14:15 +00:00
Rom Walton bb26579fe2 Quick Updates
svn path=/trunk/boinc/; revision=17695
2009-03-30 16:02:10 +00:00
Charlie Fenton 8784e2126c Update a comment.
svn path=/trunk/boinc/; revision=17692
2009-03-29 00:26:30 +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 640ba6dffa compile fix
svn path=/trunk/boinc/; revision=17689
2009-03-27 23:47:39 +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 338c751d5c - compile fix
svn path=/trunk/boinc/; revision=17682
2009-03-27 21:03:41 +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 34051cd4e1 Clean up XCode build settings hierarchies
svn path=/trunk/boinc/; revision=17678
2009-03-27 10:43:52 +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
Rom Walton 5c9a408572 Quick Updates
svn path=/trunk/boinc/; revision=17676
2009-03-26 20:19:19 +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 2a251d4daf Fix compile break on Windows
svn path=/trunk/boinc/; revision=17663
2009-03-26 16:10:17 +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 9fa183377e svn path=/trunk/boinc/; revision=17657 2009-03-24 23:09:17 +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
David Anderson b340d016c2 - web: fix X-project links in Computer page
svn path=/trunk/boinc/; revision=17643
2009-03-21 03:27:18 +00:00
David Anderson eb35639c97 - API: add some #ifdef'd debug messages
svn path=/trunk/boinc/; revision=17642
2009-03-20 23:02:31 +00:00
Rom Walton d000657c2a Quick Updates
svn path=/trunk/boinc/; revision=17641
2009-03-20 21:19:30 +00:00
David Anderson 2a4daee8cf - API (win): TerminateProcess() apparently can return in some cases,
causing process to go into infinite "no heartbeat" loop.
    Try sleeping for 1 sec, then calling DebugBreak()


svn path=/trunk/boinc/; revision=17640
2009-03-20 21:05:26 +00:00
David Anderson d152b52817 - client: add --no_priority_change cmdline arg
(and <no_priority_change> flag in cc_config.xml).
    If set, run apps at same priority as client.

svn path=/trunk/boinc/; revision=17639
2009-03-20 18:56:54 +00:00
David Anderson 30baaf0783 - client: reduce frequency of writing state file:
1) multiply checkpoint period by # of cores (or GPUs)
    2) don't write statefile after schedule_cpus()
        (we write it after enforce_schedule() if anything
        started or stopped, and that's all that matters)
- client: add new log flag <statefile_debug>;
    tells you when and why statefile is written

svn path=/trunk/boinc/; revision=17638
2009-03-20 17:58:51 +00:00
Rom Walton 696dfba813 - client: initial support for detecting the CPU L2 cache
size on Windows.
        
    client/
        client_state.cpp
        cs_benchmark.cpp
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=17637
2009-03-20 01:46:29 +00:00