Commit Graph

10843 Commits

Author SHA1 Message Date
Rom Walton d4cf16944e - API: Remove the call to SendMessage(WM_QUIT, ...) after destroying the window.
There is no guarantee what order the event queue will be processed in and if
        WM_QUIT is processed before WM_DESTROY something might linger around.
2013-03-01 15:51:33 +01:00
David Anderson 5cbccf7126 - server: add stage_file to project setup; add error checking to stage_file 2013-03-01 15:31:42 +01:00
Rom Walton d3fbcaf8d5 Quick fix 2013-03-01 15:31:41 +01:00
Rom Walton 34cb41198b - SCR: Fix bug in X11 screensaver. 2013-03-01 15:31:41 +01:00
Rom Walton b1f1a22381 - SCR: Fix bug in X11 screensaver. 2013-03-01 15:31:41 +01:00
David Anderson afb7dcf83f - remote job submission tweak 2013-03-01 15:31:41 +01:00
David Anderson 777f1f11e8 - client: change work fetch policy to avoid starving GPUs in situations where GPU exclusions are used. - client: fix bug in round-robin simulation when GPU exclusions are used.
Note: this fixes a major problem (starvation)
    with project-level GPU exclusion.
    However, project-level GPU exclusion interferes with most of
    the client's scheduling policies.
    E.g., round-robin simulation doesn't take GPU exclusion into account,
    and the resulting completion estimates and device shortfalls
    can be wrong by an order of magnitude.

    The only way I can see to fix this would be to model each
    GPU instance as a separate resource,
    and to associate each job with a particular GPU instance.
    This would be a sweeping change in both client and server.
2013-03-01 15:31:41 +01:00
Oliver Bock 02213ba568 Merge branch 'charlie/master' into master
Conflicts:
	checkin_notes
2013-03-01 15:31:10 +01:00
Rom Walton f5111aba49 - Add missing references to psapi.lib for various build configurations. 2013-03-01 15:30:08 +01:00
Charlie Fenton 062e401816 lib: don't clear entire APP_VERSION struct in APP_VERSION::parse_coproc() 2013-03-01 15:29:31 +01:00
Charlie Fenton 6550c6927a lib: fix unmatched parentheses which confused source file editor 2013-02-28 15:58:01 +01:00
Charlie Fenton d6accd5437 MGR: Fix bug which can cause Manager to quit when started in Simple View 2013-02-28 15:58:01 +01:00
David Anderson e54b0ae02e - web: if showing a thread in oldest-first order, default to showing the last page of posts. 2013-02-28 15:58:01 +01:00
David Anderson 5cdc6f3efd - tweaks 2013-02-28 15:56:43 +01:00
David Anderson 690c494612 - web: add "Validation inconclusive" state for task lists 2013-02-26 16:53:20 +01:00
David Anderson 36c304e7d3 - client: maintain current and previous uptime, and include them in scheduler RPC request. - scheduler: parse them Note: this is to support a future feature where the scheduler will send non-checkpointing jobs only clients likely to be able to complete them. 2013-02-26 16:53:20 +01:00
Oliver Bock 61ab02d443 Merge branch 'charlie/master' into master
Conflicts:
	checkin_notes
2013-02-26 16:52:36 +01:00
David Anderson 3017ed943f - scheduler: debug the above 2013-02-26 16:44:26 +01:00
Charlie Fenton f4b57b4024 MGR: Add Control-Shift_E shortcut (Command-Shift-E on Mac) to show Event Log in Simple View, for the convenience of tech suppport volunteers 2013-02-26 16:40:31 +01:00
BOINC Admin c8b8c6155f need to add files? 2013-02-26 16:37:26 +01:00
Rom Walton 4df017de3c - MGR: We don't save Simple View's width & height since it's
window is not resizable, so don't try to read them back.

svn path=/trunk/boinc/; revision=26153
2012-10-15 19:17:13 +00:00
David Anderson 282af6effc - user web: show the right page/message after the following actions:
- rate a post
    - moderate a post
    - edit a post
    - report a post


svn path=/trunk/boinc/; revision=26152
2012-10-15 18:47:55 +00:00
David Anderson 76282d0a20 - Win compile fixes.
For now, include psapi.lib in various project properties.
		Try to figure out a different way.

svn path=/trunk/boinc/; revision=26149
2012-10-11 19:22:34 +00:00
David Anderson 7d40c46923 - client and API: improve the way an app checks for the death of the client
Old: heartbeat mechanism
    Problem: if the client is blocked for > 30 secs
        (e.g. because it takes a long time to write the state file,
        of because it's stopped in a debugger)
        then apps exit.
        This is bad is the app doesn't checkpoint and has been
        running for a long time.
    New: the client passes its PID to the app.
        The app periodically (10 sec) checks that the process still exists.
    Notes:
    - For backward compatibility (e.g. new API w/ old client,
        or vice versa) the client still sends heartbeats,
        and the API checks heartbeats if the client doesn't pass a PID.
    - The new mechanism works only if the client's PID isn't assigned
        to a new process within 10 secs of the client exiting.
        Windows 2000 reuses PIDs immediately, so check for Win2K
        and don't use this mechanism if so.

TODO: For Unix multithread apps,
    critical sections aren't currently being enforced.
    Need to fix this by masking signals.


svn path=/trunk/boinc/; revision=26147
2012-10-11 16:41:31 +00:00
David Anderson acd1ad07ae - tweaks
svn path=/trunk/boinc/; revision=26146
2012-10-11 05:37:23 +00:00
Eric J. Korpela 33962b77e1 - sched: 2 bug fixes in credit.cpp
- It was possible if all results for a workunit were PFC_MODE_INVALID
          that NaN pfc would be used causing database update errors.  Solved
          by using wu_estimated_pfc() as pfc in that case.
        - Sanity check was comparing raw_pfc directly to rsc_fpops_bound.  That
          was causing problems GPUs with high performance estimates.  Fixed by
          including the app_version scale factor in the check.  I thought I had
          already committed this...
        - Removed a few lines of commented out experimental code accidentally
          comitted earlier.
        - Committed to git repository on 8/24


svn path=/trunk/boinc/; revision=26144
2012-10-02 15:20:13 +00:00
David Anderson be540c8318 - API: if get a resume message from client while in a critical section,
clear the suspend_request flag.
    Otherwise we'll end up doing two suspends,
    and on Win the app will be suspended forever.


svn path=/trunk/boinc/; revision=26143
2012-09-30 20:30:58 +00:00
David Anderson 7d3bc3e3cf - web: add global prefs reset button
- change default disk prefs to:
    - no absolute limit on disk usage (we need to work with future disks)
    - keep 100 MB min free space
    - use up to 90% of total space


svn path=/trunk/boinc/; revision=26141
2012-09-24 06:35:38 +00:00
David Anderson 925f029556 - Unix startup script fixes, from Andrew Stevenson
svn path=/trunk/boinc/; revision=26140
2012-09-22 20:29:21 +00:00
David Anderson ea59dd4ff0 - Manager: fix "exclusive GPU app running" message logic.
svn path=/trunk/boinc/; revision=26136
2012-09-21 20:11:10 +00:00
David Anderson f0b331e0d2 - client: MAXPATHLEN tweak
svn path=/trunk/boinc/; revision=26135
2012-09-21 16:17:42 +00:00
Charlie Fenton 6b2268e0d9 Mac: Fix build breaks
svn path=/trunk/boinc/; revision=26134
2012-09-21 09:02:14 +00:00
David Anderson aa289f0916 - A bunch of tweaks from Steffen Moller, e.g. using MAXPATHLEN
svn path=/trunk/boinc/; revision=26133
2012-09-21 03:52:24 +00:00
David Anderson 7cc750e616 - cancel_jobs tool: add --name option to cancel job by name.
From David Coss.


svn path=/trunk/boinc/; revision=26132
2012-09-20 18:28:29 +00:00
David Anderson fdf6629f4c - client simulator compile fix
svn path=/trunk/boinc/; revision=26131
2012-09-20 16:37:55 +00:00
David Anderson b9f138b4f4 - client: message tweak
svn path=/trunk/boinc/; revision=26129
2012-09-20 06:51:01 +00:00
David Anderson 1db61a208c - Client/manager: if a GPU app is suspended because a GPU-exclusive
app is running, show an appropriate message.


svn path=/trunk/boinc/; revision=26128
2012-09-20 06:09:02 +00:00
David Anderson b2f9e30570 - scheduler: fix bug that cause NCI to be sent even when
client is not requesting work
- client: parse the <vbox_window> option in cc_config.xml


svn path=/trunk/boinc/; revision=26127
2012-09-19 23:21:04 +00:00
David Anderson 5e5ec6f367 - client: enforce excluded app at startup
- win compile fix

svn path=/trunk/boinc/; revision=26120
2012-09-16 20:22:15 +00:00
Rom Walton 26f9e380d9 - client: Initialize the total mem size_t.
svn path=/trunk/boinc/; revision=26116
2012-09-14 18:00:06 +00:00
David Anderson cc13f2ee6f - scheduler: fix logic error limited locality scheduling.
In LLS array pass, skip file-on-host check if host
    doesn't have any sticky files.
    TODO: it should actually be "any sticky files for this app".
    But we currently don't have any way to know that.


svn path=/trunk/boinc/; revision=26108
2012-09-13 17:38:55 +00:00
David Anderson 96b8bc39d0 - user web: fix bug when do forum search on Google
svn path=/trunk/boinc/; revision=26101
2012-09-12 22:31:23 +00:00
Charlie Fenton aff3b7675c client: Don't support CUDA on dual-GPU MacBooks with automatic GPU switching to save battery power
svn path=/trunk/boinc/; revision=26088
2012-09-12 10:05:41 +00:00
Eric J. Korpela b7741c880e -fixed bug in plan_class_spec.cpp the resulting in GPU performance
not being included in scheduler or credit calculations.


svn path=/trunk/boinc/; revision=26087
2012-09-10 22:56:46 +00:00
Rom Walton 2882d5bc29 - client: initialize memfree and memtotal before use for Nvidia
cards.  It appears that the Nvidia API was only setting 32-bits
        of the 64-bit value.  The remaining 32-bits were whatever
        was on the stack.
        
    client/
        gpu_nvidia.cpp

svn path=/trunk/boinc/; revision=26084
2012-09-10 17:56:09 +00:00
Charlie Fenton a02ceae225 client: work around a nasty bug which crashes OSX (!) on some dual-gpu MacBooks with CUDA
svn path=/trunk/boinc/; revision=26082
2012-09-08 13:04:37 +00:00
David Anderson 77f44e521c - scheduler: more detailed msgs for NCI job sending
svn path=/trunk/boinc/; revision=26080
2012-09-08 04:05:50 +00:00
David Anderson 6b81e2ffc3 - scheduler: fix sending of NCI jobs.
We were failing to mark the cache entries as free.
- API: initialize GPU device # to -1;
    If client doesn't give us a device number, something is wrong
    and it's better to not start computing.


svn path=/trunk/boinc/; revision=26079
2012-09-06 23:44:03 +00:00
David Anderson 455dd3bb95 - scheduler: fix bug in homogeneous app version.
We were using a static BEST_APP_VERSION in
    check_homogeneous_app_version(),
    and it wasn't being initialized on each call
    (e.g. its HOST_USAGE was not being cleared).


svn path=/trunk/boinc/; revision=26076
2012-09-06 19:25:05 +00:00
David Anderson d339beb76e - admin web: credit browser tweaks
svn path=/trunk/boinc/; revision=26075
2012-09-06 17:13:35 +00:00
David Anderson 19602f45f0 - admin web: improve script for browsing credit info
- client: add a coproc-missing message


svn path=/trunk/boinc/; revision=26074
2012-09-06 03:58:24 +00:00
David Anderson b412b9d172 - client: fix bug that broke file signing with X.509 certificates.
From matszpk.  Fixes #1168.


svn path=/trunk/boinc/; revision=26071
2012-09-02 20:05:20 +00:00
David Anderson 11a6e85632 - scheduler: support for projects with some non-CPU-intensive apps
(but not all) wasn't finished.
    New logic: if the project has an NCI app then:
    - make a list of NCI apps for which the client doesn't have
        a job in progress.
    - try to send one job for each of these apps
    - do this even if no work is being requested.
    - don't send jobs for NCI apps by other mechanisms

NOTE: the client logic isn't quite right for mixed NCI projects.
    If there's no job for a given NCI app,
    the client should do a scheduler RPC.
    This isn't critical so we won't do this now.


svn path=/trunk/boinc/; revision=26068
2012-09-01 04:58:12 +00:00
David Anderson b1d1e21de4 - remote job submission: start writing a general-purpose
cmdline tool for remote job submission (not done)
- remote job submission: support the 4 file modes described
    in the documentation (not done)


svn path=/trunk/boinc/; revision=26067
2012-08-31 06:11:06 +00:00
David Anderson 6b7fb36056 - scheduler: msg tweaks
svn path=/trunk/boinc/; revision=26066
2012-08-29 18:08:15 +00:00
David Anderson 96b6e172f9 - scheduler: improved log messages for limited locality scheduling
svn path=/trunk/boinc/; revision=26065
2012-08-29 03:09:10 +00:00
David Anderson 9ccb8fa38d - scheduler: add support for limited locality scheduling
- API: remove support for PPM files


svn path=/trunk/boinc/; revision=26062
2012-08-27 17:00:43 +00:00
David Anderson 0483da30f4 - server: compile fix
- server: add nfiles_on_host(),
    a support function for "locality scheduling lite".


svn path=/trunk/boinc/; revision=26061
2012-08-26 21:24:18 +00:00
David Anderson 32da1a7e37 - server: add support for having a mixture of CPU-intensive
and non-CPU-intensive applications.
    An app can be specified as non-CPU-intensive in project.xml,
    and this attribute can be set or cleared using the admin web interface.
    Note: support for this was added to the client in 2011,
    but we didn't add server-side support at that time.
    This change is in 6.12 and later clients.


svn path=/trunk/boinc/; revision=26060
2012-08-25 04:09:24 +00:00
David Anderson a9e78b6459 - volunteer storage: fix the way that hosts are classified as alive/dead
- add a config item vda_host_timeout.
        A host that hasn't done a scheduler RPC for this long
        is considered dead.
    - a host that's not running a version 7+ client is considered dead
    - host.cpu_efficiency (an otherwise unused field) is used
        as a flag for dead hosts
    - the scheduler clears the flag if the client is v7+
    - vdad sets the flag for hosts where last RPC is old
    - before choosing a host for chunk download,
        vdad checks its client version.


svn path=/trunk/boinc/; revision=26059
2012-08-24 19:06:41 +00:00
Eric J. Korpela d08a619acc - fixed bug in generate_svn_version.sh that generated incorrect output
on unix systems that don't synchronize writes to the same file from 
  opposite sides of a pipe. 


svn path=/trunk/boinc/; revision=26058
2012-08-24 00:36:13 +00:00
Rom Walton 5a6b02985d - client: streamline the console detach process under Windows.
svn path=/trunk/boinc/; revision=26057
2012-08-22 21:58:55 +00:00
David Anderson 2ebc7de2cb - file_upload_handler: bug fix
- volunteer storage: buf fixes


svn path=/trunk/boinc/; revision=26056
2012-08-22 18:23:01 +00:00
David Anderson e79d3ea4c8 - client: change the way project disk share is computed.
- Allow projects to report "desired disk usage" (DDU).
        If the client learns that a project wants disk space,
        it can shrink the allocation to other projects.
    - Base share computation on DDU rather than disk usage.
    - Introduce the notion of "disk resource share".
        This is defined (somewhat arbitrarily) as resource share
        plus 1/10 of the largest resource share.
        This is intended to ensure that even zero-share projects
        get enough disk space to store app versions and data files;
        otherwise they wouldn't be able to compute.
- server: use host.d_boinc_max (which wasn't being used)
    to start d_project_share reported by client.
- volunteer storage: change the way hosts are allocated to chunks.
    Allow hosts to store several chunks of the same file, if needed


svn path=/trunk/boinc/; revision=26052
2012-08-22 04:02:52 +00:00
David Anderson 446bc4ca28 - client: take GPU exclusions into account when making
initial work request to a project
- client: put some casts to double in NVIDIA detect code.
    Shouldn't make any difference.
- volunteer storage: truncate file to right size after retrieval


svn path=/trunk/boinc/; revision=26051
2012-08-20 23:41:27 +00:00
David Anderson 52068b5f2d - client: print log msgs (enabled by task_debug) if the client
times out on quitting or aborting a task, and has to kill it.
- volunteer storage: bug fixes


svn path=/trunk/boinc/; revision=26050
2012-08-20 19:48:57 +00:00
Charlie Fenton eb40422c34 client: If OpenCL detection gets an error for a platform or device, finish detection of the remaining platforms and / or devices
svn path=/trunk/boinc/; revision=26047
2012-08-20 10:04:19 +00:00
David Anderson 80be72e9b5 - file upload handler:
Do first read from socket before opening the disk file
    (an attempt to fix filesystem lockups on WCG).
    Increase buffer size from 16KB to 256KB.


svn path=/trunk/boinc/; revision=26046
2012-08-18 23:38:52 +00:00
David Anderson 4fea52c6f2 - client: if a project has excluded GPUs of a given type,
allow it to fetch work of that type if the # of runnable
    jobs it <= the # of non-excluded instances (rather than 0).


svn path=/trunk/boinc/; revision=26045
2012-08-18 23:26:10 +00:00
David Anderson c0058ee5eb - volunteer storage: various
svn path=/trunk/boinc/; revision=26043
2012-08-17 23:27:44 +00:00
David Anderson b029e352c9 - scheduler: if sending GPU description to pre-7.0 client,
call it CUDA instead of NVIDIA


svn path=/trunk/boinc/; revision=26042
2012-08-17 06:10:25 +00:00
David Anderson 0d42a4aa5c - file upload handler: add an #ifdef for disabling locking of files
while writing to them.
    It's not clear to me that this locking is beneficial,
    and it may be causing filesystem problems at WCG
- volunteer storage stuff


svn path=/trunk/boinc/; revision=26021
2012-08-15 21:27:38 +00:00
Charlie Fenton 7b46fdaa40 Mac installer: Fixes for short (posix) user names containing space
svn path=/trunk/boinc/; revision=26016
2012-08-15 07:11:08 +00:00
David Anderson 8290ce1d11 - volunteer storage stuff
svn path=/trunk/boinc/; revision=26015
2012-08-13 23:15:50 +00:00
Rom Walton 5cbdbe7977 - WINSETUP: Provide the ability to create the acct_mgr_login.xml from
from the command line.  Useful for mass deployments within companies
        and charities.


svn path=/trunk/boinc/; revision=26013
2012-08-13 19:46:04 +00:00
David Anderson 25c2f6b49c - client: treat all 4xx HTTP errors as permanent
- code cleanup
- API: increase a buffer in timer_handler() from 256 to 512.


svn path=/trunk/boinc/; revision=26012
2012-08-13 18:23:20 +00:00
Eric J. Korpela c6412b8d90 Added some entries for some missing checkins.
svn path=/trunk/boinc/; revision=26011
2012-08-13 17:34:01 +00:00
David Anderson b6234edc95 - db_purge: fix typo that cause bad DB query when using assignments
svn path=/trunk/boinc/; revision=26010
2012-08-12 06:54:20 +00:00
David Anderson f09596421c - server: compile fix
svn path=/trunk/boinc/; revision=26009
2012-08-11 16:42:29 +00:00
David Anderson 53782b7de4 - lib: switch include order to the way it was (general to specific).
Should fix MinGW compile


svn path=/trunk/boinc/; revision=26008
2012-08-11 05:47:18 +00:00
David Anderson afb86208d3 - client: Android-related tweaks, from Joachim
svn path=/trunk/boinc/; revision=26007
2012-08-11 04:52:53 +00:00
David Anderson 0129c1c53d - server: fix bug in restrict_wu_to_user() that caused it
to go into infinite loop


svn path=/trunk/boinc/; revision=26006
2012-08-11 04:20:48 +00:00
David Anderson cd1f79fbbc - API: add boinc_set_min_checkpoint_period(int).
Lets application specify a min checkpoint interval.
    The actual min checkpoint interval is the max of this
    and the user-specified pref for min disk interval.


svn path=/trunk/boinc/; revision=26005
2012-08-10 22:20:41 +00:00
David Anderson 9fa75d5044 - client: tweak to the above: never ask for work if buffer > max.
This is needed to prevent projects that use next_rpc_delay
    from queuing unbounded work.


svn path=/trunk/boinc/; revision=26003
2012-08-10 18:49:22 +00:00
David Anderson ff1a391ced - client: when we're making a scheduler RPC
for a reason other than work fetch,
    and we're deciding whether to piggyback a work request,
    skip the checks for hysteresis (buffer < min)
    and for per-resource backoff time.
    These checks are there only to limit the rate of RPCs,
    which is not relevant since we're doing one any.

    This fixes a bug where a project w/ sporadic jobs specifies
    a next_rpc_delay to ensure regular polling from clients.
    When these polls occur they should request work regardless of backoff.


svn path=/trunk/boinc/; revision=26002
2012-08-10 18:29:00 +00:00
Charlie Fenton 31c4aa49c5 MGR: Fix build break
svn path=/trunk/boinc/; revision=25997
2012-08-09 00:56:10 +00:00
David Anderson d085bc4ee6 - Client/manager: there was a bug because some code was writing
"cpu" in XML, and other code was looking for "CPU".
    To fix this and prevent similar problems,
    processor type names are now encapsulated in proc_type_name_xml().
    Code should use this rather than having hard-wired names.
    Redefine: GPU_TYPE_* as macros that call proc_type_name_xml().


svn path=/trunk/boinc/; revision=25996
2012-08-08 23:09:43 +00:00
David Anderson 7335c036fc - server: volunteer storage bug fixes.
Note to self: jerasure's decoder program loops or crashs
        if there are no missing chunks.

svn path=/trunk/boinc/; revision=25995
2012-08-08 21:37:51 +00:00
Charlie Fenton 0c30ba9784 WIN: Remove reference to deleted tgalib.cpp file
svn path=/trunk/boinc/; revision=25993
2012-08-08 01:20:51 +00:00
David Anderson 2dd5276300 - client: parse <network_wifi_only> in prefs
- server: compile fix


svn path=/trunk/boinc/; revision=25991
2012-08-07 22:49:40 +00:00
Rom Walton 813409168b - WINSCR: Fix problem with the screensaver needlessly cycling in
preview mode.  Ugh.

svn path=/trunk/boinc/; revision=25990
2012-08-07 21:43:30 +00:00
Rom Walton fd631016cb - API: Remove ttfont.cpp from Makefile.am. Apps should include it
in there Makefile as needed.

svn path=/trunk/boinc/; revision=25989
2012-08-07 18:11:38 +00:00
Rom Walton 8a5053e670 - MGR: Enforce the 0..10 day limit on the connect interval for the
advanced preferences dialog.  At some point we should rename
        it.

    clientgui/
        DlgAdvPreferences.cpp

svn path=/trunk/boinc/; revision=25988
2012-08-07 17:21:58 +00:00
David Anderson 26d702789c - client: fix error in runtime estimation for active tasks
svn path=/trunk/boinc/; revision=25987
2012-08-06 23:25:31 +00:00
Rom Walton abc3c85ce8 - WIN: Don't include the newer DBGHELP symbols in MinGW64.
(From Oliver Bock)
        
    lib/
        stackwalker_imports.h

svn path=/trunk/boinc/; revision=25986
2012-08-06 15:39:37 +00:00
David Anderson 13b6aefbd7 - scheduler: fix message typo
svn path=/trunk/boinc/; revision=25985
2012-08-05 01:40:19 +00:00
David Anderson e20c9a42b7 - client: other Android stuff, from Joachim
svn path=/trunk/boinc/; revision=25983
2012-08-04 00:56:08 +00:00
David Anderson 22f93cf009 - Client: initial checkin for Android version. From Joachim Fritzsch.
svn path=/trunk/boinc/; revision=25982
2012-08-04 00:27:32 +00:00
Charlie Fenton ea7f93f484 Mac: Update build instructions and build script
svn path=/trunk/boinc/; revision=25978
2012-08-03 22:08:27 +00:00
Charlie Fenton 74452bfbd0 API: remove references to removed files bmplib.h and tgalib.h
svn path=/trunk/boinc/; revision=25977
2012-08-03 22:07:04 +00:00
David Anderson 2b2e7c5cf9 - API: remove support for BMP and TGA image files;
the code to parse these had no license info.
    Only JPEG is supported now.


svn path=/trunk/boinc/; revision=25976
2012-08-03 21:56:42 +00:00
Rom Walton 1799dd2620 - WIN: Make the example graphics application build again.
- WIN: Get rid of the linker warnings for both the default screensaver and
        the example graphics application

svn path=/trunk/boinc/; revision=25975
2012-08-03 21:12:49 +00:00
David Anderson 1189951953 - volunteer storage. Seems to be working, at least in simulation
svn path=/trunk/boinc/; revision=25974
2012-08-03 16:41:00 +00:00
Rom Walton e613459377 - VBOX: Do not perform the hardware virtualization check when the
guest VM is 64-bit.  64-bit guest vms require hardware virtualization
        and should fail without it.
    - VBOX: Implement the <copy_to_shared/> directive in the vbox_job.xml file.
        if <copy_to_shared>init_data.xml</copy_to_shared> is set, the wrapper will
        copy the init_data.xml file to the shared directory before the VM is launched.

svn path=/trunk/boinc/; revision=25973
2012-08-03 16:24:12 +00:00
Charlie Fenton 2157e5b89a Sample Graphics app: Switch from *.txf fonts to TrueType fonts
svn path=/trunk/boinc/; revision=25969
2012-08-03 08:59:32 +00:00
Rom Walton 832386c4e0 - SS: Update project files to use FreeType and FTGL on Windows.
api/
        ttfont.cpp, .h
    clientscr/
        ss_app.cpp
    win_build/
        boinc_ss.vcproj
        libgraphics2.vcproj

svn path=/trunk/boinc/; revision=25962
2012-08-03 01:18:20 +00:00
David Anderson c4b337d276 - scheduler: compile fixes for FCGI
svn path=/trunk/boinc/; revision=25955
2012-08-02 16:17:10 +00:00
Charlie Fenton 55cf688abe Mac: Update scripts for building branded installers to allow building with Xcode 4.3 under OS 10.7.x Lion
svn path=/trunk/boinc/; revision=25951
2012-08-02 11:20:22 +00:00
Charlie Fenton 79a201ce33 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25945
2012-08-02 07:21:03 +00:00
Charlie Fenton a49e933d7e API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25944
2012-08-02 07:19:11 +00:00
Charlie Fenton 8624cfb5e9 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25941
2012-08-02 07:00:45 +00:00
Charlie Fenton 0a3bf2c1f4 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25940
2012-08-02 06:59:49 +00:00
Charlie Fenton 6acb88ca81 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25939
2012-08-02 06:53:11 +00:00
David Anderson da7e40f142 - use <cmath> instead of <math.h>. Seems to be needed on Debian.
svn path=/trunk/boinc/; revision=25938
2012-08-01 21:21:38 +00:00
David Anderson 405f567c81 - code cleanup: in foo.cpp, include foo.h first
svn path=/trunk/boinc/; revision=25933
2012-08-01 20:04:05 +00:00
David Anderson ab120dea9e - web: after post to a thread, show thread in user's chosen order
instead of newest first.


svn path=/trunk/boinc/; revision=25931
2012-08-01 17:57:56 +00:00
Rom Walton 136f06fa00 - MGR: Use the same fix for the simple gui that we used on the advanced
gui with regards to the menu on Ubuntu's interface.

svn path=/trunk/boinc/; revision=25919
2012-07-30 20:25:39 +00:00
Charlie Fenton 1aed0d60f2 Mac: create build scripts for FreeType-2.4.10 and FTGL-2.1.3-rc5 libraries
svn path=/trunk/boinc/; revision=25900
2012-07-27 12:29:16 +00:00
Charlie Fenton cad7de4458 Mac: create build scripts for FreeType-2.4.10 and FTGL-2.1.3-rc5 libraries
svn path=/trunk/boinc/; revision=25899
2012-07-27 11:45:46 +00:00
Charlie Fenton f43cd508e3 Mac: create build scripts for FreeType and FTGL
svn path=/trunk/boinc/; revision=25898
2012-07-27 11:43:54 +00:00
Charlie Fenton 479a1aa963 Mac: fix a typo in build script
svn path=/trunk/boinc/; revision=25897
2012-07-26 08:53:02 +00:00
David Anderson 6e816094bd - volunteer data storage: intermediate checkin
svn path=/trunk/boinc/; revision=25890
2012-07-25 21:41:32 +00:00
David Anderson d319139186 - client: improve "new version available" notice
svn path=/trunk/boinc/; revision=25888
2012-07-23 22:29:40 +00:00
David Anderson ac20215eb8 - volunteer storage: implement "vda status" command
svn path=/trunk/boinc/; revision=25887
2012-07-23 21:53:09 +00:00
David Anderson 555cecbcae - client: don't request work for backup project for a processor type
unless there are idle instances of that type
        

svn path=/trunk/boinc/; revision=25886
2012-07-22 06:18:24 +00:00
David Anderson 11c2fdc36d - client simulator: fix build breaks
svn path=/trunk/boinc/; revision=25885
2012-07-22 03:54:10 +00:00
David Anderson 8761ed75f7 - lib: fix typo
svn path=/trunk/boinc/; revision=25884
2012-07-22 03:45:47 +00:00
Rom Walton 8d9ed07c5e quick update
svn path=/trunk/boinc/; revision=25883
2012-07-18 15:18:08 +00:00
Rom Walton fc1cfc00e8 - client: Re-introduce the WM_QUERYSESSIONEND window message handler to
the power management window proc, it was removed during one of the Win9x
        code scrubs.  When we see it, inform the client it is time to shutdown.

    client/
        sysmon_win.cpp

svn path=/trunk/boinc/; revision=25882
2012-07-18 15:17:30 +00:00
Bernd Machenschalk 54147365bb API: fix Makefile.mingw
- allow to augment CFLAGS and CXXFLAGS
        - allow to at least set DEBUG flags externally, such that
            backtrace flags can be used
        - minor textual fixes (whitespace error, typo in comment)

svn path=/trunk/boinc/; revision=25881
2012-07-18 11:12:06 +00:00
Charlie Fenton 6f330ed430 lib: Adjust #include files as requested by Oliver Bock
svn path=/trunk/boinc/; revision=25880
2012-07-18 08:49:27 +00:00
David Anderson 8b67c32187 - client: if we get a job for which a GPU is missing,
keep the RESULT record so that we can report it to the scheduler.
		Otherwise we'll keep getting the same job if the project has
		<resend_lost_results> set.

svn path=/trunk/boinc/; revision=25879
2012-07-18 01:42:08 +00:00
David Anderson 028d4d9a36 - client: delete sticky files when reset project
svn path=/trunk/boinc/; revision=25878
2012-07-17 21:45:19 +00:00
David Anderson aedbf28981 - compile fix (from Oliver)
svn path=/trunk/boinc/; revision=25877
2012-07-17 16:42:06 +00:00
Charlie Fenton f0ed936d47 Mac: Minor corrections to documentation and sample code
svn path=/trunk/boinc/; revision=25876
2012-07-17 11:22:05 +00:00
David Anderson 98f6763c48 - web: make "jump to first unread" work for threads that
haven't been viewed before


svn path=/trunk/boinc/; revision=25875
2012-07-17 04:06:48 +00:00
David Anderson 9a84980792 - lib: treat MINGW32 like CYGWIN32 (in 1 place - should do everywhere?)
from Oliver


svn path=/trunk/boinc/; revision=25874
2012-07-17 03:59:12 +00:00
David Anderson 0335c357ab - web: use &middot; instead of | as a separator
svn path=/trunk/boinc/; revision=25873
2012-07-13 22:19:26 +00:00
David Anderson 6f98eae87d - web: after post to a thread, show a page of the most recent posts
(but don't change user's sort prefs)


svn path=/trunk/boinc/; revision=25872
2012-07-13 21:40:20 +00:00
David Anderson 075d544c9f - web: when posting to a thread, show a page of its most recent posts
- feeder: add --by_batch option: interleaves jobs from different batches.
    From Jack Harris.


svn path=/trunk/boinc/; revision=25871
2012-07-13 21:10:38 +00:00
David Anderson 1b8e8fbb7f - web: don't try to update thread last-read-time if not logged in
svn path=/trunk/boinc/; revision=25870
2012-07-12 22:43:23 +00:00
David Anderson 52b72d620e - web: make links to specific posts work with pagination
svn path=/trunk/boinc/; revision=25869
2012-07-12 19:01:34 +00:00
David Anderson 99a077c642 - web: make "jump to first unread" for with pagination
svn path=/trunk/boinc/; revision=25868
2012-07-12 18:07:06 +00:00
Charlie Fenton 17db492473 Mac: update sample code to allow building with Xcode 4.4 GM seed under OS 10.8 GM seed
svn path=/trunk/boinc/; revision=25867
2012-07-12 12:45:42 +00:00
Charlie Fenton d059de100f Mac: update sample code to allow building with Xcode 4.4 GM seed under OS 10.8 GM seed
svn path=/trunk/boinc/; revision=25866
2012-07-12 11:51:21 +00:00
David Anderson 5fc1577eea - web: forum fixes
svn path=/trunk/boinc/; revision=25865
2012-07-12 06:40:58 +00:00
David Anderson 490b740682 - web: improve forum pagination
svn path=/trunk/boinc/; revision=25863
2012-07-11 19:24:28 +00:00
Charlie Fenton 72007821b7 Mac: update sample code to allow building with Xcode 4.3 and to eliminate compiler warnings
svn path=/trunk/boinc/; revision=25862
2012-07-11 10:32:09 +00:00
David Anderson b162aa3d2b - user web: add "posts per page" pref for message boards;
get rid of existing funky page-limit prefs


svn path=/trunk/boinc/; revision=25859
2012-07-11 05:27:31 +00:00
David Anderson f3c8ab83e9 - web: show job status correctly for new exit codes
svn path=/trunk/boinc/; revision=25858
2012-07-10 20:21:12 +00:00
David Anderson 6a8075046b - Unix: include db/boinc_db_types.h in installed headers
- client: small code cleanup, no functional change


svn path=/trunk/boinc/; revision=25857
2012-07-10 17:28:04 +00:00
Charlie Fenton cd1ad97464 Mac: update build scripts, source files and Xcode project to allow building with Xcode 4.3 and Xcode 4.5
svn path=/trunk/boinc/; revision=25855
2012-07-10 09:28:17 +00:00
David Anderson 78f74661aa - distributed storage: move chunk_size to VDA_FILE.
Add some missing code.


svn path=/trunk/boinc/; revision=25854
2012-07-07 19:44:48 +00:00
Charlie Fenton f64cb7d62f Mac: update build scripts to work with Xcode 4.3 for Lion and later
svn path=/trunk/boinc/; revision=25850
2012-07-06 12:11:28 +00:00
David Anderson 68f9880615 - client: remove "device" entry from CUDA_DEVICE_PROP,
and change types of mem-size fields from int to double.
    These fields are size_t in NVIDIA's version of this;
    however, cuDeviceGetAttribute() returns them as int,
    so I don't see where this makes any difference.
- client: fix bug in handling of <no_rsc_apps> element.
- scheduler: message tweaks.
    Note: [foo] means that the message is enabled by <debug_foo>.



svn path=/trunk/boinc/; revision=25849
2012-07-05 20:24:17 +00:00
Charlie Fenton 2355cf200d Mac: update script which builds our installer to work with Xcode 4.3 for Lion and later
svn path=/trunk/boinc/; revision=25847
2012-07-05 12:02:16 +00:00
David Anderson f9a9c3090f - Client (Win): in file_size(), use _stat64() instead of stat().
Otherwise it doesn't work for files >= 2GB
	- Client: TIME_STATS::trim_stats_log() wasn't working because
		it's called in the constructor of TIME_STATS,
		which is called before we've done a chdir() to the data dir.

	Note: for this reason, no disk access should be done in constructors
	of global objects.  A quick scan found no instances of this.

svn path=/trunk/boinc/; revision=25846
2012-07-03 22:36:59 +00:00
Charlie Fenton bcf10a7421 Mac client: Update Xcode project for compatibility with Xcode 4.3.2 and Xcode 4.5
svn path=/trunk/boinc/; revision=25843
2012-07-03 07:36:55 +00:00
Charlie Fenton 687c8e1a5d Mac: fix build break.
svn path=/trunk/boinc/; revision=25842
2012-07-03 07:31:06 +00:00
David Anderson eacd1d870b - Unix build: fix problem with Debian automated builds; from Steffen M
svn path=/trunk/boinc/; revision=25839
2012-07-02 19:49:06 +00:00
David Anderson 8d8662adb2 - more code cleanup
svn path=/trunk/boinc/; revision=25838
2012-07-02 19:31:34 +00:00
David Anderson 19458ba4de - Compile fixes for Fedora core 17. From Christian B. Fixes #1194.
- Fix various #include issues.

CODING STYLE LAW (minimal inclusion principle):
    If foo.cpp requires <blah.h>,
    #include <blah.h> in foo.cpp, NOT foo.h


svn path=/trunk/boinc/; revision=25837
2012-07-02 18:51:02 +00:00
David Anderson 430f6a0813 - client: in the job scheduler, there's a check to prevent
overcommitting the CPUs if an MT is scheduled.
    Skip this check for GPU jobs.


svn path=/trunk/boinc/; revision=25835
2012-07-02 17:58:33 +00:00
David Anderson 89578050f7 - When the client makes a scheduler RPC without requesting work,
and there's a simple reason
    (e.g. the project is suspended, no-new-tasks, downloads stalled, etc.)
    show it in the event lot.
    If the reason is more complex, don't try to explain.


svn path=/trunk/boinc/; revision=25827
2012-07-02 03:43:05 +00:00
David Anderson fc2af21221 - client: add missing end tag for <pci_info>. Doh!
- validator: add some sanity-checking for credit,
    to prevent granting 1e38 credit.
    max_granted_credit now defaults to the equivalent of 1 TeraFLOP-year.
    Instances that exceed this are not counted in the credit
    calculation, and a critical-mode log message is written
- wrapper: remove wall_cpu_time; not used anymore


svn path=/trunk/boinc/; revision=25825
2012-06-29 22:24:07 +00:00
David Anderson 1776a244ae - web: when showing a batch, recompute and update its fraction done
- feeder: don't enumerate results for WUs with nonzero error_mask
- scheduler: in slow_check(), make sure the WU error_mask is still zero


svn path=/trunk/boinc/; revision=25822
2012-06-29 06:53:48 +00:00
David Anderson f3eb1d350e - client: when estimating FLOPS for an anonymous-platform app version
for which no estimate has been supplied by user,
    use (CPU speed)*(cpu_usage + 10*gpu_usage)
    (add the 10*)


svn path=/trunk/boinc/; revision=25821
2012-06-29 05:17:01 +00:00
Charlie Fenton 413ff778b9 Mac client: Update wxMac build script for partial compatibility with OS 10.8 and XCode 4.5
svn path=/trunk/boinc/; revision=25819
2012-06-28 09:32:56 +00:00
David Anderson 6b5bb0a3e6 - Unix build tweak
svn path=/trunk/boinc/; revision=25818
2012-06-28 06:27:37 +00:00
David Anderson 3fee87fd62 - Unix build: remove "if" around AC_PROG_OBJCXX;
apparently this is needed for Gentoo build.
    You may need a recent automake for this to work.
    Fixes #1193.


svn path=/trunk/boinc/; revision=25805
2012-06-27 06:02:10 +00:00
David Anderson d5d9921f5c - Unix build tweaks. Fixes #1193 (I think)
svn path=/trunk/boinc/; revision=25804
2012-06-27 05:03:16 +00:00
David Anderson f8c1665722 - client: keep track of the fraction of time that
1) a network connection is available and
    2) network communication is allowed and
    3) CPU computation is allowed
- If an app version is marked as needs_network,
    use the above fraction in estimating its rate of progress
- replace "core client" with "client" in comments.
- scheduler: message tweaks


svn path=/trunk/boinc/; revision=25803
2012-06-26 20:30:56 +00:00
Charlie Fenton f940e11dff Mac client: build libssl.a and libcrypto.a from openssl 1.0.1c and static link them
svn path=/trunk/boinc/; revision=25797
2012-06-26 07:54:38 +00:00
Charlie Fenton 3be6e7ab11 Mac client: Upgrade to curl 7.26.60 and c-ares 1.9.1
svn path=/trunk/boinc/; revision=25795
2012-06-26 07:24:07 +00:00
David Anderson c5ed9d7db6 - Unix build: fix for Mac OS X (from Oliver)
svn path=/trunk/boinc/; revision=25794
2012-06-25 23:24:49 +00:00
David Anderson 07d867b33f - Unix build: fix typo
svn path=/trunk/boinc/; revision=25793
2012-06-25 23:22:13 +00:00
David Anderson 8c71f6d59a - scheduler: add support for Intel GPUs, and restructure things
to make it easier to add other GPU types in the future


svn path=/trunk/boinc/; revision=25792
2012-06-25 23:09:45 +00:00
David Anderson c9f3c16f86 - client: AMD GPU detection addition (from [P3D] Crashtest)
svn path=/trunk/boinc/; revision=25790
2012-06-22 18:23:09 +00:00
Charlie Fenton 40eee78d8b Mac: Code sign the BOINC installer and uninstaller if we have a valid code signing identity
svn path=/trunk/boinc/; revision=25788
2012-06-22 09:46:26 +00:00
David Anderson fd0983b991 - web: server status page should show elapsed time, not CPU time
svn path=/trunk/boinc/; revision=25785
2012-06-22 07:35:54 +00:00
Charlie Fenton 78ea295d9a Mac: Fix displayed names of BOINC installer, uninstaller, etc.
svn path=/trunk/boinc/; revision=25783
2012-06-22 04:28:45 +00:00
David Anderson 9f6fa7c1ad - API, Linux: increase timer thread stack size from 16K to 32K.
Apparently new use of MAXPATHLEN can cause overflow.
    Fixes #1191


svn path=/trunk/boinc/; revision=25781
2012-06-21 19:13:49 +00:00
David Anderson cc642f7947 - web: fix BOINCStats link for host details
svn path=/trunk/boinc/; revision=25780
2012-06-21 17:03:47 +00:00
David Anderson 3b26791411 - fix configure error on Linux.
I think the AC_PROG_OBJCXX should be limited to Mac somehow


svn path=/trunk/boinc/; revision=25779
2012-06-21 03:53:50 +00:00
Charlie Fenton 29a3bf449e Mac: Update XCode project with new source files
svn path=/trunk/boinc/; revision=25778
2012-06-20 07:42:00 +00:00
David Anderson 126a54c3d9 - client: AMD GPU detection addition (from [P3D] Crashtest)
svn path=/trunk/boinc/; revision=25777
2012-06-20 03:30:13 +00:00
David Anderson 133430fa3b - client: for NVIDIA, make an array of the PCI info
for all usable GPUs


svn path=/trunk/boinc/; revision=25775
2012-06-18 21:09:16 +00:00
David Anderson 5cf6321b67 - win compile fixes
svn path=/trunk/boinc/; revision=25774
2012-06-18 20:49:26 +00:00
David Anderson b050deecf7 - client: compile fixes
svn path=/trunk/boinc/; revision=25773
2012-06-18 20:41:37 +00:00
David Anderson 2ccefde745 - client: rename coproc_detect.cpp to gpu_detect.cpp
svn path=/trunk/boinc/; revision=25772
2012-06-18 20:14:21 +00:00
David Anderson 5e61c29cc3 - client: split GPU detection code into separate files
svn path=/trunk/boinc/; revision=25771
2012-06-18 20:12:30 +00:00
David Anderson 5e87181d81 - client: it's possible for a host to get app versions for
a given app that have different platforms and different version #s.
    The client was erroneously deleting the one w/ the lower version
    when it was no longer in use.
    Fix: in garbage collection, consider one version to supercede another
    only if they have the same platform


svn path=/trunk/boinc/; revision=25770
2012-06-18 17:57:33 +00:00
Charlie Fenton 4d244f0cc4 Mac installer: Create or delete Login Items and set screensaver properly when installing for multiple users on OS 10.7, 10.8
svn path=/trunk/boinc/; revision=25763
2012-06-18 11:11:44 +00:00
Charlie Fenton 4d398df9d8 Mac installer: Fix bugs I introduced on May 3 and May 6
svn path=/trunk/boinc/; revision=25762
2012-06-16 15:03:11 +00:00
David Anderson 0cc0370f02 - client, GUI RPC: detect and export the PCI bus, device, and domain #s.
- scheduler: increase #GPU limit from 8 to 64


svn path=/trunk/boinc/; revision=25761
2012-06-15 20:49:11 +00:00
David Anderson 4dc940653c - client:
- added the definitions for the new Windows 7/2008r2 preSP1
            and Windows 8/2012 SKUs based on the winnt.h
            from the Windows 8 RC SKD (also added as proof)
        - added the detection for some more Windows SKU
        - Updates provided by Teamwork of Planet3Dnow.de to coproc_detect.cpp
            - added CAL_TARGET_ID 21 as : AMD Radeon HD 78x0 series (Pitcairn)
        (from [P3D] Crashtest)

svn path=/trunk/boinc/; revision=25760
2012-06-14 18:45:58 +00:00
David Anderson e9362c80ff - scheduler: send <dont_use_dcf> only if client is 7.0.28 or later.
svn path=/trunk/boinc/; revision=25759
2012-06-14 17:14:52 +00:00
Charlie Fenton 7add13f1af client: if available, use GPU model name from CAL for OpenCL model name
svn path=/trunk/boinc/; revision=25757
2012-06-13 23:14:12 +00:00
David Anderson 3a2328b10d - scheduler: remove <dont_use_dcf/> from scheduler reply for now;
the 7.0.25 client has a bug that causes jobs
    to run EDF if this flag is present.


svn path=/trunk/boinc/; revision=25755
2012-06-13 17:40:39 +00:00
Rom Walton f04f6b3eae - Make things build again on Mac OSX 10.8 using the autoconf
framework.
      (From Oliver Bock)
      
    /
        configure.ac  

svn path=/trunk/boinc/; revision=25754
2012-06-12 15:43:41 +00:00
Bernd Machenschalk 579ed0bd92 - API: fix #2 for C-mode compilation of boinc_api.h
app_ipc.h didn't cleanly compile in C-mode either,
had to fix this, too.

svn path=/trunk/boinc/; revision=25753
2012-06-11 12:51:30 +00:00
Bernd Machenschalk 4c5014416d - API: fix for C-mode compilation of boinc_api.h
moved app_ipc.h inclusion outside __cplusplus                                                                                                                                                                                  
        since it contains important C mode prototypes                                                                                                                                                                                  
        (boinc_resolve_filename() etc.)

svn path=/trunk/boinc/; revision=25752
2012-06-10 13:44:01 +00:00
David Anderson 54078e92c4 - fixes of various (non-critical) fd and memory leaks.
Fixes #1188.  From Julien.
- fix bugs in setting scheduler output buffer size
- code formatting


svn path=/trunk/boinc/; revision=25750
2012-06-10 05:38:34 +00:00
David Anderson 751fdd97ca - scheduler: add <min_cal_target>, <max_cal_target>
to plan class XML spec options;
    lets you specify a range of ATI GPU models to use


svn path=/trunk/boinc/; revision=25749
2012-06-07 21:08:47 +00:00
David Anderson f08ca99ff3 - scheduler: add max_results_accepted config option.
Limits mem usage by the scheduler, can prevent crashes.


svn path=/trunk/boinc/; revision=25748
2012-06-07 18:34:53 +00:00
David Anderson 0492e0c2b8 - scheduler: add <need_ati_libs> option
svn path=/trunk/boinc/; revision=25747
2012-06-07 03:39:37 +00:00
Bernd Machenschalk 470c505d78 - scheduler: minor fixes to plan_clas_spec:
- consistently accept both 'ati' and 'amd' for AMD/ATI plan classes
      - in OpenCL plan classes always use device memory reported via OpenCL
        (might be different e.g. from what's available/reported via CUDA)
      - comment formatting

svn path=/trunk/boinc/; revision=25744
2012-06-06 10:05:00 +00:00
Bernd Machenschalk ac24fafb4c - scheduler: moved client version check to be last of the checks
performed for a particular app version. It is not necessary
        to tell the user to upgrade the client just to suite the needs of
        a particular app version if this app version requires resources
        that the host dosn't have or didn't request work for.

        Actually I don't think it's good to tell the user he needs to
        upgrade the client if there is only one particular app version
        that requires a more recent one than he has. I think that the
        purpose of the g_wreq->outdated_client flag was checking the                                                                                                                                     
        min_core_version in the project configuration. For this the                                                                                                                                      
        flag and the notice/message that it triggers is still ok. But                                                                                                                                    
        in the app version checks setting this flag leads to misleading                                                                                                                                  
        messages in most cases, so I commented that out for now.

        I'm not sure, though, that both of these measurements are needed.

svn path=/trunk/boinc/; revision=25742
2012-06-06 09:11:41 +00:00
David Anderson c94ca443c1 - scheduler: add example plan_class_spec.xml
- scheduler: change gpu_type from "ati" to "amd" in plan class spec


svn path=/trunk/boinc/; revision=25741
2012-06-06 06:05:14 +00:00
David Anderson 567fdc45fc - scheduler: add Vbox stuff to plan_class_spec
svn path=/trunk/boinc/; revision=25739
2012-06-06 04:45:12 +00:00
David Anderson b0fd55bf87 - scheduler: debug plan_class_spec a little.
Add an #ifdef'd main program in plan_class_spec.cpp,
    and a makefile, for testing purposes.


svn path=/trunk/boinc/; revision=25738
2012-06-06 03:47:13 +00:00
David Anderson b05f02e5aa - small code cleanup
svn path=/trunk/boinc/; revision=25737
2012-06-05 20:13:19 +00:00
David Anderson 158aab8d5c - DB: add project_state and description fields to batch table.
Both are for use by project.
- job submission file sandbox: don't delete physical file
    when delete sandbox entry.
    We'll have to figure out how to garbage-collect physical files.
- LAMMPS job submission:
    use the 50th-percentile host,not 0th


svn path=/trunk/boinc/; revision=25734
2012-06-05 05:57:55 +00:00
David Anderson 8d284f2b17 - scheduler: if we truncate the # of results accepted
(like we're doing in SETI@home)
    don't resend lost results since we don't know what they are


svn path=/trunk/boinc/; revision=25733
2012-06-05 03:48:05 +00:00
David Anderson 69a595329d - scheduler: various fixes to plan_class_spec.cpp; from Bernd
- admin web: don't include the project's stylesheet,
    which may assume a layout not used by admin pages


svn path=/trunk/boinc/; revision=25731
2012-06-03 17:31:00 +00:00
Rom Walton 11f509e2bf - MGR: Wait until there is valid data in the list box before processing
the OnProjectSelected() event.
        
    clientgui/
        ProjectInfoPage.cpp

svn path=/trunk/boinc/; revision=25729
2012-05-30 19:44:14 +00:00
David Anderson 127f22e841 - feeder: if we purge a stale job, and it's commited to an HR class,
un-commit it since that's probably the reason why it's stuck
    (and it may never get unstuck)


svn path=/trunk/boinc/; revision=25726
2012-05-29 06:32:11 +00:00
David Anderson 07501af2bc - web: allow users with admin privileges to abort or retire batches
svn path=/trunk/boinc/; revision=25725
2012-05-29 05:59:23 +00:00
David Anderson 4ee93b2da2 - fix tools/manage_privileges script
svn path=/trunk/boinc/; revision=25724
2012-05-29 05:48:25 +00:00
David Anderson 62d12c946e - user web: job submission home page has
1) links to job submission pages for relevant apps
    2) links to Admin pages for relevant apps


svn path=/trunk/boinc/; revision=25723
2012-05-29 04:47:48 +00:00
David Anderson 965faa3b71 - web RPC: in am_set_info, if both GET and POST args are present, use POST
svn path=/trunk/boinc/; revision=25721
2012-05-27 07:53:57 +00:00
David Anderson 44c75becca - admin web: fix revalidated script
svn path=/trunk/boinc/; revision=25720
2012-05-27 06:26:10 +00:00
David Anderson e43f04c52a - web RPC: make am_set_info available by POST as well as GET,
since its args can be too long for a URL


svn path=/trunk/boinc/; revision=25718
2012-05-26 21:53:03 +00:00
David Anderson e7a7a4e1a2 - web: increase size of thread title input field to 80
svn path=/trunk/boinc/; revision=25717
2012-05-26 20:09:39 +00:00
David Anderson 22af0334b9 - web: don't truncate thread titles
svn path=/trunk/boinc/; revision=25716
2012-05-26 20:08:24 +00:00
David Anderson 0a686c5195 - fix typos in two PHP scripts
svn path=/trunk/boinc/; revision=25715
2012-05-26 05:18:04 +00:00
David Anderson 761fb3f4c1 - admin web: add a function for "revalidating" a given set of jobs.
This reruns validation for instances that are successful
    but marked as invalid or inconclusive.
    Use this if you changed your validator to be more permissive,
    and you want to grant credit for instances that were
    originally marked as invalid.


svn path=/trunk/boinc/; revision=25714
2012-05-25 23:49:17 +00:00
David Anderson a596560a17 - server: rename fix_venue.php to fix_prefs.php
svn path=/trunk/boinc/; revision=25713
2012-05-25 20:41:07 +00:00
David Anderson e82d605554 - server: make fix_venue.php work faster
svn path=/trunk/boinc/; revision=25712
2012-05-25 20:39:37 +00:00
David Anderson 9bba5f4349 - get rid of BOINC_SOCKLEN_T stuff; just use socklen_t
svn path=/trunk/boinc/; revision=25709
2012-05-23 23:19:38 +00:00
David Anderson d41f79588d - server daemons: add daemon_sleep(n), which sleeps for n secs
but checks for the "stop_daemons" trigger file every 1 sec.
    Use this instead of sleep() in daemons.
    This will speed up bin/stop.


svn path=/trunk/boinc/; revision=25708
2012-05-23 18:11:59 +00:00
David Anderson d2d9110584 - add script to repair damaged user.global_prefs fields
- compile warning fixes


svn path=/trunk/boinc/; revision=25707
2012-05-23 00:25:19 +00:00
Rom Walton 351b9f9b79 - MGR: Fix menu redraw issue under Ubuntu's new interface.
fixes #1180
      (From Huibert)

    clientgui/
        AdvancedFrame.cpp

svn path=/trunk/boinc/; revision=25702
2012-05-21 15:17:11 +00:00
David Anderson 13f51d42e5 - API: add boinc_network_usage();
lets an application report its network usage to BOINC,
    and hence take it into account with monthly limits etc.
- API: get rid of deprecated boinc_ops_per_cpu_sec(),
    boinc_ops_cumulative(), and
    boinc_set_credit_claim();
- admin web: update manage_apps.php;
    add the ability to set homogeneous app version


svn path=/trunk/boinc/; revision=25700
2012-05-20 23:02:12 +00:00
Rom Walton 27138f6e75 - MGR: Fix build breaks
clientgui/
        AccountManagerInfoPage.cpp
    clientgui/
        ProjectListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=25699
2012-05-19 01:20:02 +00:00
Charlie Fenton cc3942131e VBOX: Fix Mac compiler warnings
svn path=/trunk/boinc/; revision=25698
2012-05-19 01:12:33 +00:00
David Anderson 1aea1fb0f3 - client: show <vbox_window> option in log,
and give warning if include this while in sandbox mode
- web: update URLs for BOINCstats

svn path=/trunk/boinc/; revision=25697
2012-05-18 22:13:36 +00:00
Rom Walton 70c92e317a - MGR: Remove the visuals in the wizard for multi-core and opencl. This area
will get a bunch of work in a future commit.
        
    clientgui/
        ProjectInfoPage.cpp, .h
    clientgui/res/
        openclicon.xpm (deleted)
        multicore.xpm (deleted)

svn path=/trunk/boinc/; revision=25696
2012-05-18 18:33:06 +00:00
David Anderson c8c85f4a75 - vboxwrapper: don't run headful if client is sandboxed (it won't work).
svn path=/trunk/boinc/; revision=25695
2012-05-18 18:24:58 +00:00
David Anderson 023031a497 - scheduler: add a lot more debug messages if <debug_array> is set
svn path=/trunk/boinc/; revision=25694
2012-05-18 18:13:04 +00:00
David Anderson 138c8f5f7d - web: fix PHP warnings by calling date_default_timezone_set().
Set it to the timezone specified by the constant TIMEZONE
    (in project.inc) or "UTC" if none specified.
- web: fix bugs in submit.php

svn path=/trunk/boinc/; revision=25693
2012-05-18 17:57:14 +00:00
David Anderson 87fcaea0ce - web: show "run beta apps?" project pref if the project
has any beta applications
        (don't require project to specify this in project_specific_prefs.inc)

svn path=/trunk/boinc/; revision=25692
2012-05-18 17:48:50 +00:00
David Anderson b2a4cd4d91 svn path=/trunk/boinc/; revision=25691 2012-05-18 17:38:16 +00:00
Rom Walton 93750d6264 - MGR: Fix the icon we use to represent OpenCL.
- client: Update the stock all_project_list.xml file we send out
        with new client software.

    clientgui/res/
        openclicon.xpm
    win_build/installerv2/redist/
        all_projects_list.xml

svn path=/trunk/boinc/; revision=25679
2012-05-15 17:50:59 +00:00
Rom Walton 62dc78ecf3 - Normalize the way E@H returns OpenCL information to the client
software.
        
    doc/
        get_platforms.inc

svn path=/trunk/boinc/; revision=25678
2012-05-15 17:29:53 +00:00
Rom Walton bd8cee05e6 - MGR: Add OpenCL icon to the ProjectInfo wizard page.
clientgui/
        ProjectInfoPage.cpp, .h
    clientgui/res/
        openclicon.xpm
    clientgui/res/templates/
        openclicon.png
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=25676
2012-05-15 16:42:39 +00:00
David Anderson 71e93caf85 - scheduler: revision of app_plan_spec mechanism.
Not debugged, but it compiles now.


svn path=/trunk/boinc/; revision=25675
2012-05-14 19:49:12 +00:00
David Anderson 7f3fd1f45e - LAMMPS script: chdir back to html/user, else page_head() breaks
svn path=/trunk/boinc/; revision=25674
2012-05-14 06:54:38 +00:00
David Anderson 245aa70cf9 - web: use gmdate() instead date() to avoid time zone warning
svn path=/trunk/boinc/; revision=25673
2012-05-12 15:13:43 +00:00
Rom Walton 63483b5bb7 - VBOX: When the system confirms our port number request or assigns us a
new port number to work with convert it from network byte order 
        (big endian) to the host byte order (little endian on x86/x64 processors).

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=25671
2012-05-11 18:53:36 +00:00