David Anderson
24f62d0190
client, Win: use SetThreadPriority() to lower client priority
...
We had used SetPriorityClass() for this purpose,
but apparently this is too extreme,
and causes the client to run very slowly; see
http://stackoverflow.com/questions/13631644/setthreadpriority-and-setpriorityclass
2015-11-12 11:28:07 -08:00
Christian Beer
454bd634d9
File upload handler: return the lseek() error
...
If the printf() or close() calls change errno, the original lseek() error is lost. The logged error would differ from the message send to the client. This amends 005957a
.
Suggested by Juha Sointusalo
2015-11-12 13:32:58 +01:00
Rom Walton
74e4025f84
Updating translations for locale/it_IT/BOINC-Web.po [skip ci]
2015-11-12 06:55:06 -05:00
David Anderson
1f599f9ec4
Manager: fix crashing bug
...
Don't do fprintf(stdout, msg).
If msg contains %, this will crash.
Instead do fprintf(stdout, "%s", msg).
2015-11-11 10:55:51 -08:00
David Anderson
3c8ceb028d
client: add config option to not lower client priority
...
We added code a couple of months ago to lower client priority:
on Win, this is SetPriorityClass(),
which lowers I/O and memory priority as well as CPU.
This has the desired effect, i.e. to reduce the performance impact
of BOINC when it's doing things like copying large files.
However, it means that BOINC can take a long time to start at boot,
which may be disconcerting to some users.
2015-11-11 10:33:24 -08:00
Rom Walton
9fbd4bd4da
Updating translations for locale/pt_PT/BOINC-Manager.po [skip ci]
2015-11-11 06:43:54 -05:00
David Anderson
f525f0e8ba
client: remove CLIENT_STATE destructor; causes crash on Win
...
There's no reason to destruct anything; we're exiting.
2015-11-11 01:33:14 -08:00
Christian Beer
475fbbeb15
Merge pull request #1427 from BOINC/sched_start_shell
...
Server: fix behaviour of start script
2015-11-11 08:39:09 +01:00
Christian Beer
5b31d68ec1
Merge pull request #1418 from BOINC/fix_defects_server
...
Fix Coverity defects in server component
2015-11-11 08:38:03 +01:00
Tristan Olive
3077f0e27d
Drupal: Don't require approval of profiles for imported users who don't have profiles
...
(DBOINC-145)
2015-11-10 21:59:56 -05:00
Tristan Olive
57f88a1009
Drupal: Exclude Drupal admin account from BOINC integration
...
Since the Drupal account with UID 1 is established automatically and is not imported, it is the one account (along with the pseudo-account for anonymous users) that has no associated account in the BOINC database. Since any lookups will fail, just skip integration in this case.
(DBOINC-145)
2015-11-10 21:39:17 -05:00
Christian Beer
52cc2b0317
Condor: prevent resource leak
...
fixes CID 34514 found by Coverity
2015-11-10 17:05:09 +01:00
Christian Beer
c2e0135ae9
ExampleApp: prevent resource leak
...
fixes CID 34515 found by Coverity
2015-11-10 16:59:20 +01:00
Christian Beer
bbc4cf5751
VboxWrapper: prevent use after free in FloppyIOException
...
see http://blog.sensecodons.com/2013/04/dont-let-stdstringstreamstrcstr-happen.html for details
fixes CID 34536 found by Coverity
2015-11-10 16:56:44 +01:00
Christian Beer
155b35a3a2
VboxWrapper: prevent resource leak in FloppyIO::receive(string*)
...
fixes CID 34512 found by Coverity
2015-11-10 16:34:46 +01:00
Christian Beer
8e9948e5d9
VboxWrapper: prevent resource leak in FloppyIO::send()
...
fixes CID 34511 found by Coverity
2015-11-10 16:29:02 +01:00
Rom Walton
cc7af14c0d
Updating translations for locale/de/BOINC-Project-Generic.po [skip ci]
2015-11-10 10:22:00 -05:00
Christian Beer
6fba52425f
Wrapper: prevent resource leak
...
fixes CID 34513 found by Coverity
2015-11-10 16:18:41 +01:00
Christian Beer
45430deb48
Manager: prevent resource leak
...
fixes CID 38988 found by Coverity
2015-11-10 16:12:39 +01:00
Christian Beer
c4edb59837
Manager: make sure strings are null terminated
...
strncpy() doesn't null-terminate the destination string if the source string is not null terminated.
fixes CID 38958, 38959, 38960 found by Coverity
2015-11-10 15:58:45 +01:00
Rom Walton
4bdc41e6f3
Updating translations for locale/it_IT/BOINC-Drupal.po [skip ci]
2015-11-10 06:43:40 -05:00
Rom Walton
0d2578e5fe
Updating translations for locale/it_IT/BOINC-Client.po [skip ci]
2015-11-10 06:35:00 -05:00
Christian Beer
69c04cca8c
Server: enhance shell encapsulation of daemons and tasks
...
- if a daemon or task should run in a shell, add <use_shell>1</use_shell> to the task entry in config.xml
this will spawn a "sh -c cmd" process that propagates signals to the child process (see 881863d
)
- if a daemon or task has to use a shell (pipe or redirection present in cmd) and <use_shell> is not enabled:
don't execute the cmd and print an error message (other daemons and tasks are still started)
2015-11-10 10:16:30 +01:00
Christian Beer
4eec734bc4
Feeder: more efficient solution to memory leak fix
...
The for loop copies newly created objects into the vector and destroys the original objects. The resize() instantiates the objects directly in the vector. Suggested by Nicolás Alvarez.
2015-11-10 08:29:19 +01:00
David Anderson
80abc358e3
web: in "application details for host" page, don't show deprecated items
2015-11-09 16:14:30 -08:00
Christian Beer
770fbf138f
Feeder: prevent resource leak
...
I confirmed the leak using Valgrind and tested the fix with a simple program using the same workflow as the feeder.
fixes CID 27760 found by Coverity
2015-11-09 18:08:03 +01:00
Christian Beer
fc142d75c8
Merge branch 'master' into fix_defects_server
2015-11-09 17:55:21 +01:00
David Anderson
314de0357a
client: show "wrong URL - reattach" message as a notice
2015-11-08 22:42:58 -08:00
David Anderson
5c269be699
web: message tweak
2015-11-08 22:42:51 -08:00
Rom Walton
d82cf32c83
Updating translations for locale/ru/BOINC-Project-Generic.po [skip ci]
2015-11-08 17:54:34 -05:00
David Anderson
1853c53385
locale: Update compiled localization files
2015-11-08 14:41:04 -08:00
Rom Walton
d6e29acfcc
Updating translations for locale/cs/BOINC-Drupal.po [skip ci]
2015-11-08 08:12:06 -05:00
Rom Walton
6cfdee3c50
Updating translations for locale/cs/BOINC-Project-Generic.po [skip ci]
2015-11-08 07:39:19 -05:00
Rom Walton
71359069f0
Updating translations for locale/cs/BOINC-Project-Generic.po [skip ci]
2015-11-08 06:16:49 -05:00
David Anderson
ff5f49c522
Merge branch 'master' of https://github.com/BOINC/boinc
2015-11-07 21:01:03 -08:00
David Anderson
77ca03af28
Manager: fix typo
2015-11-07 21:00:39 -08:00
David Anderson
86109b0815
client: work fetch backup-project tweak
...
The logic for backup projects (fetch for a resource only if idle instance)
was skipped in the case of GPU exceptions in my checkin of 10/10/2014.
I'm not sure why I did this, and it allows incorrect work fetch
in some cases, so I'm taking it out.
2015-11-07 20:48:02 -08:00
David Anderson
3d39264317
Manager: format elapsed time as XXd HH:MM:SS
2015-11-07 17:46:45 -08:00
David Anderson
dde8233752
client: change quit/abort timeouts from 15 to 60 sec.
...
My last change handled only the client-exit case; need to handle all cases.
2015-11-07 16:06:54 -08:00
Rom Walton
be5347a8bd
Updating translations for locale/it_IT/BOINC-Project-Generic.po [skip ci]
2015-11-07 15:30:21 -05:00
Rom Walton
d97d792d9b
Updating translations for locale/it_IT/BOINC-Drupal.po [skip ci]
2015-11-07 15:26:01 -05:00
Rom Walton
137076687a
Updating translations for locale/it_IT/BOINC-Project-Generic.po [skip ci]
2015-11-07 15:25:14 -05:00
Rom Walton
44a8115fc1
Updating translations for locale/it_IT/BOINC-Project-Generic.po [skip ci]
2015-11-07 15:19:34 -05:00
Rom Walton
d4a5843023
Updating translations for locale/it_IT/BOINC-Setup.po [skip ci]
2015-11-07 15:18:31 -05:00
Rom Walton
1e82eb4853
Updating translations for android/BOINC/res/values-it-rIT/strings.xml [skip ci]
2015-11-07 15:17:59 -05:00
Rom Walton
2f407a6b81
Updating translations for android/BOINC/res/values-it-rIT/strings.xml [skip ci]
2015-11-07 15:12:28 -05:00
Rom Walton
6a3d590525
Updating translations for locale/it_IT/BOINC-Project-Generic.po [skip ci]
2015-11-07 15:07:42 -05:00
Rom Walton
b9e6fcac95
Updating translations for locale/de/BOINC-Manager.po [skip ci]
2015-11-07 13:32:48 -05:00
Rom Walton
d7db64857c
Update github README
2015-11-07 11:30:32 -05:00
Rom Walton
ca7a47e6ab
Merge branch 'master' of https://github.com/BOINC/boinc
2015-11-07 11:29:23 -05:00