Rom Walton
4325ba01bf
Android: Initialize variable
2013-03-05 16:40:25 +01:00
Rom Walton
b26fdda827
Android: Add different locations that can host battery information.
...
Android: For all power/battery file descriptors, NULL out their buffers so the client will grab the latest information and not recycle the old information.
2013-03-05 16:38:42 +01:00
Rom Walton
45120de247
Android: Fix crashing bug when we poll for battery information
2013-03-05 16:38:42 +01:00
Rom Walton
6012f9261f
Android: Remove debug code for Android, the required functions are called and function.
...
Android: Remove separate copy_asset.sh script and make that the last part of the build_boinc.sh script.
2013-03-05 16:38:42 +01:00
Rom Walton
ff53e509cf
Android: Add trace statements to track down battery issues
2013-03-05 16:38:41 +01:00
Oliver Bock
05eba7c951
Merge branch 'master' of ssh://boinc.berkeley.edu/boinc
2013-03-05 16:35:14 +01:00
David Anderson
06eadde310
- client (Unix): check whether VBoxManager is executable by us
...
before trying to run it.
Otherwise we get lots of msgs in stderr.
2013-03-05 16:33:39 +01:00
Rom Walton
f6807efe18
client: Properly return the battery status as full when it is.
2013-03-05 16:31:08 +01:00
Rom Walton
af7948910e
client: Adjust logging on Android so that all messages that show up in the event log are also dumped to LogCat, things were originally setup with that intent but I don't think __VA_ARGS__ was having the desired effect.
2013-03-05 15:57:34 +01:00
Oliver Bock
eb79b9e78b
Merge branch 'master' of ssh://boinc.berkeley.edu/boinc
...
Conflicts:
client/hostinfo_unix.cpp
2013-03-05 15:45:13 +01:00
Rom Walton
c9717d068b
client: Fix typo for Android
2013-03-05 15:40:04 +01:00
David Anderson
3b18584cb3
- client (Android): change battery-status function so that it
...
keeps file descriptors open
(slight simplification and performance enhancement).
2013-03-05 15:33:54 +01:00
David Anderson
21f580d9ef
- client (Android): suspend processing if battery temperature > 45 C.
...
We can adjust this or make it configurable later.
2013-03-05 15:28:00 +01:00
David Anderson
607060ffaa
- client (Android)
...
- Don't compute if the battery is overheated
- Don't compute until the batter is 95% charged.
Then stop computing if it falls below 90%.
(On some devices, computing causes the batter to drain
even while it's recharging).
2013-03-05 15:24:01 +01:00
Rom Walton
9ce39485b5
client: Basic detection of the battery state for a given host for Windows and Android. Useful for detecting if the battery is overheating.
2013-03-05 15:12:52 +01:00
Rom Walton
759b3b8078
client: Basic detection of how much capacity a host's battery has on Android and Windows.
2013-03-05 15:12:52 +01:00
David Anderson
3a530a4c34
- client: check return value of the function (statfs or statvfs)
...
used to find disk space and usage.
This may be failing for in-memory filesystems on Linux.
2013-03-05 15:05:29 +01:00
David Anderson
fd4de39477
- client: add code for detecting running on batteries on OpenBSD.
...
From RustyBSD.
2013-03-04 17:39:24 +01:00
Rom Walton
4ee64625c1
- client: Account for the display management power system when
...
calculating idle time from the XSS system on Linux.
2013-03-04 17:35:35 +01:00
David Anderson
d0de3776bd
- client: processor identification for ARM
...
(from Evandro Menezes and Joachim Fritzsch)
2013-03-04 17:24:19 +01:00
David Anderson
016b11e522
- client: fix uninitialized vars in CPU feature detection (from RustyBSD)
2013-03-04 15:06:32 +01:00
David Anderson
b4408c9585
- build fixes for OpenBSD, from rustyBSD
2013-03-04 14:09:43 +01: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
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
Eric J. Korpela
7aafa2cc9a
Fix for linux idle detection bug with USB mice.
...
svn path=/trunk/boinc/; revision=25732
2012-06-04 17:50:51 +00:00
Charlie Fenton
7e0c4dd431
client: Fix idle detection during fast user switching
...
svn path=/trunk/boinc/; revision=25511
2012-03-29 11:56:09 +00:00
David Anderson
37535d48e9
- client: small changes to make client compile on Android,
...
and to report the platform as "arm-android".
From Carl Christensen.
- Add a script for building BOINC and library dependencies on Android
From Peter Hanappe.
svn path=/trunk/boinc/; revision=25440
2012-03-16 21:48:35 +00:00
David Anderson
dd6779a7be
- client: fix an instance of
...
sprintf(buf, "%s...", buf)
on Unix
svn path=/trunk/boinc/; revision=25317
2012-02-23 00:06:43 +00:00
Charlie Fenton
9e52a9db5c
client: use old Mac idle detection when running as a daemon
...
svn path=/trunk/boinc/; revision=25038
2012-01-13 10:35:11 +00:00
Charlie Fenton
5ef74674e8
client: Fix idle detection for Apple Remote Desktop and screen sharing under Mac OS 10.7
...
svn path=/trunk/boinc/; revision=25018
2012-01-10 10:37:37 +00:00
Rom Walton
9298b7ff6e
- client: increase the buffer sizes for retrieving cpu features on *nix
...
type systems. the latest generation of processors blow past 256 bytes
and vmx and svm are truncated.
client/
hostinfo_unix.cpp
svn path=/trunk/boinc/; revision=24924
2011-12-28 13:12:21 +00:00
Charlie Fenton
c830ed59c3
client: fix errors in (currently unused) get_max_cpu_temperature() code for Macintosh
...
svn path=/trunk/boinc/; revision=24526
2011-11-04 11:30:57 +00:00
David Anderson
e279b59913
- Updates Linux notifications to use current libnotify.
...
- Fix build problems on Mac OS X using autotools
- Consistently use #if HAVE_X for platform checks,
rather than #ifdef HAVE_X or #if defined(HAVE_X)
- In Unix build, make lots of compiler checks standard
- Fix some compile warnings
From Matt Arsenault.
Note: there are now lots of compile warnings in clientgui/ on Unix,
mostly in WxWidgets code
svn path=/trunk/boinc/; revision=24303
2011-09-27 19:45:27 +00:00
David Anderson
dde093a021
- client: fix a couple of valgrind warnings
...
svn path=/trunk/boinc/; revision=24076
2011-08-30 15:36:31 +00:00
Charlie Fenton
98a2be83c2
Mac: Begin changes for XCode 4.1 and GCC 4.2
...
svn path=/trunk/boinc/; revision=23869
2011-07-25 11:37:06 +00:00
David Anderson
d6c99b43d0
- define MAXPATHLEN, if needed, in filesys.h
...
- fix typo in a GUI RPC handler
svn path=/trunk/boinc/; revision=23250
2011-03-24 09:32:02 +00:00
Charlie Fenton
76e5a78767
client: Define MAXPATHLEN if not defined for compatibility with HURD
...
svn path=/trunk/boinc/; revision=23249
2011-03-23 08:11:58 +00:00
David Anderson
3b6325916f
- client, linux: use X server for idle detection if available
...
svn path=/trunk/boinc/; revision=23035
2011-02-14 23:29:03 +00:00
David Anderson
6784283211
- user web: fix bugs in server status page
...
- fix some indentation
svn path=/trunk/boinc/; revision=22890
2011-01-06 23:09:13 +00:00
Rom Walton
2c795c4159
- client: Copy the AltiVec CPU feature to the p_features field, leave
...
AltiVec in the host model field for backwards compatibility.
client/
hostinfo_unix.cpp
svn path=/trunk/boinc/; revision=22740
2010-11-23 17:43:31 +00:00
Rom Walton
3676b36f20
Quick Updates
...
svn path=/trunk/boinc/; revision=22716
2010-11-18 21:18:15 +00:00
Rom Walton
82431c1d4e
Quick Updates
...
svn path=/trunk/boinc/; revision=22715
2010-11-18 21:15:49 +00:00
Rom Walton
d4d0f7b43b
- client: Add VirtualBox detection for linux
...
client/
hostinfo_unix.cpp
hostinfo_win.cpp
svn path=/trunk/boinc/; revision=22714
2010-11-18 21:11:25 +00:00
Rom Walton
eed745827a
Quick Updates
...
svn path=/trunk/boinc/; revision=22711
2010-11-18 17:54:50 +00:00
Rom Walton
8040f24d58
Quick Updates
...
svn path=/trunk/boinc/; revision=22710
2010-11-18 17:52:07 +00:00
Charlie Fenton
9b3532b3ea
client: Add support to detect VirtualBox VM software on Mac
...
svn path=/trunk/boinc/; revision=22705
2010-11-18 10:40:11 +00:00
David Anderson
40c50852f5
- scheduler: fix logic that deals with jobs that need > 2GB RAM.
...
My change of 1 Oct ([22440]) required that such jobs
be processed with 64-bit apps,
on the assumption that 32-bit apps have a 2 GB user address space limit.
However, it turns out this limit applies only to Windows
(kernel and user mode share the 4GB address space; each gets half).
On Linux, the split is 3GB user / 1 GB kernel.
On Mac OS X, user mode and kernel mode have separate address spaces,
each of them 4 GB.
svn path=/trunk/boinc/; revision=22599
2010-10-27 22:58:16 +00:00
David Anderson
7c51512cbf
- transitioner: the format string for a DB query had %.15d instead of %.15e.
...
That produced a messed-up query that assigned garbage values to:
host_app_version.turnaround_var
host_app_version.turnaround_q
host_app_version.max_jobs_per_day
host_app_version.consecutive_valid
To repair these:
- set turnaround_var and turnaround_q to zero
- if max_jobs_per_day is outside of
(0..config.daily_result_quota)
set it to config.daily_result_quota
- if consecutive_valid is outside (0..1000), set it to zero
I added a script, html/ops/repair_21812.php, that does this;
if you ran server code between [21181] and [21812], run this script.
- scheduler/transitioner: add <debug_quota> log flag
- changed the build system to always use -Wall
(if we'd done this before, this bug wouldn't have happened)
- fixed a bunch of other compile warnings
svn path=/trunk/boinc/; revision=21812
2010-06-25 18:54:37 +00:00
David Anderson
15047b1e4d
- client: make all MSG_USER_ALERT messages (i.e., those shown as notices)
...
translatable (and change some MSG_USER_ALERT messages to MSG_INFO).
svn path=/trunk/boinc/; revision=21709
2010-06-08 23:37:44 +00:00
Charlie Fenton
73a95378f5
client: Add get_max_cpu_temperature to the Macintosh client to report the highest current CPU temperature as degrees Celsius
...
svn path=/trunk/boinc/; revision=21325
2010-04-29 10:31:57 +00:00