David Anderson
c15267ad3a
- client: Win build fix
...
- add Visual Studio project for slide_show
NOTE: this currently doesn't build because boinc_zip is missing.
I'll fix this soon.
2013-03-01 16:26:09 +01:00
David Anderson
33e33abd08
- fix typo in mass email script
2013-03-01 16:26:09 +01:00
Charlie Fenton
bee911811a
Mac: add slide-show screensaver to example_app Xcode project and Mac example_app build scripts
...
example app: fix compiler warnings in slide_show.cpp
2013-03-01 16:26:09 +01:00
Charlie Fenton
c2a0a0fbe9
Mac: update Xcode project for building boinc_zip
2013-03-01 16:26:09 +01:00
David Anderson
a93d8d1e4f
- scheduler: compile fix for wu_is_infeasible_custom()
2013-03-01 16:26:09 +01:00
David Anderson
18716b0bda
- scheduler: remove redundant call to wu_is_infeasible_custom()
...
introduced in yesterday's commit
2013-03-01 16:26:09 +01:00
David Anderson
109661f912
- user web: fix bug when showing last page of thread
2013-03-01 16:26:08 +01:00
David Anderson
3f8357fc92
- add slide-show screensaver (from David Coss)
2013-03-01 16:26:08 +01:00
David Anderson
7076ae9e3d
- remove execute permissions from various files that shouldn't have them
2013-03-01 16:26:08 +01:00
David Anderson
01c0a9a4b0
- scheduler: when resend jobs:
...
- don't use devices for which work is not being requested
- obey wu_is_infeasible_custom()
(e.g. don't send SETI@home VLAR jobs to GPUs)
- scheduler: add <debug_array_detail> log flag for slot-level messages
- admin web: show and allow control of app.beta
2013-03-01 16:26:08 +01:00
David Anderson
471e3b229e
- a bunch of skin files had execute permissions (??). Clear them.
2013-03-01 16:26:08 +01:00
David Anderson
ca652519cf
- scheduler: log message tweaks
...
- Some C++ files in client had execute permissions (??). Clear them.
2013-03-01 16:26:08 +01:00
David Anderson
9fb0328d9b
- scheduler: add separate log flag for locality sched lite
2013-03-01 16:26:08 +01:00
David Anderson
6391a8c401
- remote job submission: show 20 batches, with link to show all
...
- XML parser: make low-level functions inline, in an attempt
(unsuccessful, as far as I can tell) to boost performance
2013-03-01 16:26:08 +01:00
Rom Walton
3eaaea887a
- VBOX: Ugh, if sleep_time is greater than zero, increment elapsed_time by the poll interval.
2013-03-01 16:23:13 +01:00
Rom Walton
edfa1deae1
- VBOX: Do not count the sleep time as part of the elapsed time when the VM is supposed to be suspended.
2013-03-01 16:23:13 +01:00
David Anderson
42756406f5
- example app: get the graphics app to build on Fedora Core 14
...
Note: this required installing various packages,
and tweaking the Makefile in various ways,
some of them FC14-specific ways
2013-03-01 16:23:13 +01:00
Eric J Korpela
8454d1ffe8
none
2013-03-01 16:19:16 +01:00
Eric J Korpela
4dcd5a3a11
- Allow sysconfdir to be specified rather than hardcoded at '$prefix/etc' (submitted by Alexander Kruppa) - Fix for compiles on os without xlocale.h
2013-03-01 16:19:16 +01:00
David Anderson
5457b6b77f
- client: in checking reasons for not requesting work,
...
look at backoff last.
Otherwise the user can get a misleading message if they
update a project that's backed off
2013-03-01 16:17:19 +01:00
David Anderson
95621d4008
- fix checkin notes
2013-03-01 16:17:19 +01:00
David Anderson
1e06eb2fda
- fix a few unlikely but possible file-descriptor leaks
...
- remote job submission: always compute fraction done when showing
batch list; check for nonexistent user
2013-03-01 16:17:19 +01:00
David Anderson
5b740acee0
- client/manager: move the conditional define of MAXPATHLEN
...
from boinc_win.h to filesys.h,
so that the client will hopefully build on Hurd,
which doesn't define MAXPATHLEN.
2013-03-01 16:17:19 +01:00
Rom Walton
7621fd21fe
- VBOX: Make adjustments to the clean-up procedure for Vbox 4.2.
2013-03-01 16:17:19 +01:00
Rom Walton
ba7a0b5945
- VBOX: Cleanup all the snapshots before unregistering the VM.
2013-03-01 16:17:19 +01:00
Rom Walton
dc47fe956d
- VBOX: Remove extra arguments to the enumerate snapshot command.
...
Copy and paste was not my friend.
2013-03-01 16:17:19 +01:00
David Anderson
cb663cbc8b
- Fix MinGW build: generate_svn_version.sh only works on top level
2013-03-01 16:14:13 +01:00
David Anderson
51bdd803d1
- client: message tweaks for failed app startup
2013-03-01 16:14:13 +01:00
Rom Walton
527cf846b8
- VBOX: Make deleting a snapshot a non-terminal event.
...
Deleting stale snapshots now consists of enumerating the existing
snapshots and deleting all but the most recent snapshot. This fixes
the problem where, for one reason or another, a snapshot could not
be deleted at one point in time. The wrapper would just continue to
create new ones and was unable to successfully deal with the older
ones. Disk space would eventually run out.
2013-03-01 16:08:53 +01:00
Eric J Korpela
999f4ba966
None
2013-03-01 16:08:52 +01:00
Rom Walton
4b57572a87
- VBOX: Don't report any error messages when unregistering the VM.
...
VirtualBox 4.2 no longer requires certain commands to be executed
to unregister a VM while older versions do. Just ignore any error
codes, if it becomes a problem we can always make it conditional
on what version of VirtualBox is installed.
2013-03-01 16:08:52 +01:00
David Anderson
b3e244c9c3
- wrapper: compile fix for new gcc
2013-03-01 16:08:52 +01:00
David Anderson
9cf10b400a
- GUI RPC: expose TIME_STATS info (e.g. on_frac) in
...
the binding of the get_state() RPC
- client: move client_start_time and previous_uptime
from CLIENT_STATE to TIME_STATS,
so that these are also visible in GUI RPC
- scheduler RPC: move uptime and previous_uptime
into <time_stats>
- client: condition an RR simulation message on <rrsim_detail>
- boinccmd: show TIME_STATS info in --get_state
2013-03-01 16:08:52 +01:00
David Anderson
f1b4b16bbf
- update_versions: get key directory from config file
2013-03-01 16:08:52 +01:00
David Anderson
c8bc624553
- client, Unix: make Curl sockets close-on-exec,
...
so that app processes don't inherit them.
- client: fix bug that makes client exit if a slot dir contains
finish file on startup
2013-03-01 16:08:52 +01:00
David Anderson
0f5fcca435
- client: if exiting because of exit_after_finished flag,
...
write state file before exiting so we don't restart the job later.
2013-03-01 16:08:52 +01:00
David Anderson
56868ced49
- client: fix bug in handling proxy info in cc_config.file
2013-03-01 16:08:52 +01:00
Rom Walton
243db13d3a
- VBOX: Remove timeouts for creating and deleting snapshots.
2013-03-01 16:08:52 +01:00
Rom Walton
db00158cb0
- VBOX: Increase elapsed_time if we were forced to sleep after executing the main loop
2013-03-01 16:08:52 +01:00
Rom Walton
14948c99f6
VBOX: Change the way elapsed_time is calculated in vboxwrapper.
...
Previously: elapsed_time was just incremented with the value of the polling
period each iteraction through the main loop. This introduced issues
when vboxmanage lagged for whatever reason. This lag could go as high as 5
seconds. Over the timespan of a day this could increase the wall clock time
of a task a great deal.
Now: elapsed_time is incremented with the time it took to execute the main
loop.
2013-03-01 16:05:09 +01:00
Rom Walton
876e90a053
- WINSETUP: Add the account manager auth logic from the 6.8 installer to current generation installers. - WINSETUP: Make whether or not to create start menu items configurable via the command line. Useful for mass deployment installs.
2013-03-01 16:03:32 +01:00
Rom Walton
e3327452e3
- API: Use CloseWindow() to respond to the API Defined WM_SHUTDOWNGFX event just in case CloseWindow() does something more than just send the WM_CLOSE event to the window proc.
2013-03-01 16:03:32 +01:00
David Anderson
962a7ff6bf
Fix DB version scripts
...
- db_update.php is not executable, db_schemaversion.php is
NOTE: I suggest that we not use .php for executable scripts
2013-03-01 16:03:32 +01:00
Rom Walton
02e70da914
- Fix the db schema check functionality so that it will work with make_project and upgrade correctly. We no longer rely on svnversion for this sort of thing.
2013-03-01 15:58:42 +01:00
David Anderson
83211fd1c6
client: kill lingering apps
...
- client: if an app's finish file has existed for 10 seconds, kill it;
it must be hung in boinc_finish().
This behavior has been seen with LHC@home and maybe other projects.
2013-03-01 15:56:12 +01:00
Oliver Bock
d77b114c43
Merge branch 'rom/master' into master
...
Conflicts:
checkin_notes
2013-03-01 15:53:00 +01:00
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 · 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