Commit Graph

20928 Commits

Author SHA1 Message Date
Charlie Fenton ad6ea27471 Mac: update installer ReadMe files. 2013-07-22 01:05:38 -07:00
Rom Walton dddaab2b4d Android: Remove <task_debug/> from the default list of debug flags installed with the client. At some point we need to remove cc_config.xml and global_prefs_override.xml from the APK. 2013-07-19 15:10:10 -04:00
David Anderson 93d6f5ef16 transitioner: don't set result.mod_time to null; this fails if the DB field has accidentally been marked as not null. 2013-07-18 17:10:54 -07:00
David Anderson 1117e03d54 web: fix XSS vulnerability in team_member.php 2013-07-18 12:50:42 -07:00
David Anderson afdfc215d7 Manager: remove the last call to https_to_https() 2013-07-18 12:41:36 -07:00
Rom Walton ce77d0623f MGR: Support following HTTP and HTTPS links. We just launch a browser anyway. 2013-07-18 15:31:52 -04:00
David Anderson 30f0f67b3d Manager: change https:// to http:// in notices; the WxWidgets HTML renderer doesn't handle https://
Programming styles notes:
- string utility functions shouldn't be members of MainDocument.cpp
- don't overload features into 1 function; use separate functions
- use descriptive names rather than "clean", "sanitize" etc.
- use void for functions that don't return anything
- if you copy and paste code, fix the comments
2013-07-18 11:30:24 -07:00
Charlie Fenton dee0cd5652 Mac: updates for building branded installers (GridRepublic, Charity Engine, Progress Thru Processors) 2013-07-18 04:28:56 -07:00
Joachim Fritzsch da7bcb67d0 android: bug fix. loading project info failed when manually entering url. 2013-07-17 19:24:30 +02:00
Joachim Fritzsch 520b9852d7 android: bug fix for number cpu core detection. issue #1300.
previous attempt to only read sysconf for number of cores is insufficient, due to a bug in the Android system. Bug got fixed in April 2012 but is still present on many devices.

workaround: read /sys/devices/system/cpu and parse number of cores from there. sysconf uses /proc/stat/ which gets adapted to changes in cpu throttling. Read both sources and compare higher results.
2013-07-17 14:01:39 +02:00
Rom Walton 276108c3eb Update the all projects list distributed with the client software. 2013-07-17 01:22:32 -04:00
Rom Walton ab0c4cbe45 DOC: Remove beta projects specific to Android 2013-07-17 01:13:42 -04:00
Rom Walton 57782a9f1a Extend the project list cache timeout to 7 days and update the dev build to 7.2.5 2013-07-17 00:57:28 -04:00
David Anderson 4d0109e3fb Client: add test harness for file copy (make sure we can handle > 2GB) 2013-07-16 21:40:13 -07:00
David Anderson 3faf18c7b4 remote_submit script: exit with nonzero status if error
Also, suppress warnings from simplexml_load_string()
2013-07-16 13:18:46 -07:00
Keith Uplinger e3fc1bf37d Added the Forgot password button to the login page. 2013-07-16 17:50:14 +02:00
Charlie Fenton ea6576c83d Mac: fix for first-time builds. 2013-07-16 02:29:35 -07:00
Charlie Fenton 9ff8554ee4 client: when launching the GPU detection child process, use boinc_fopen(), more checks for error returns. 2013-07-16 01:29:00 -07:00
Joachim Fritzsch 158bf1d6fc Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-07-16 10:06:43 +02:00
Joachim Fritzsch 3286cbfce2 android: prevent foreground service notification to be udpated every second, prevent blinking. 2013-07-16 10:06:24 +02:00
Rom Walton 8321ef0430 client: Use get_exit_status to wait until the GPU detection process completes and log any error code. 2013-07-15 19:42:21 -04:00
Rom Walton 9d726ba0fc LIB: Simplify logic for get_exit_status(). Put caller to sleep until process exits, then check for it's exit status. 2013-07-15 19:34:25 -04:00
Charlie Fenton 88135a7000 client: wait as long as necessary for the GPU detection child process to exit: eliminate the 3-second limit. 2013-07-15 14:43:29 -07:00
Rom Walton 2bdd559c04 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-07-15 11:43:14 -04:00
Rom Walton 238f2366e8 WINBUILD: Force git to reevaluate the ISM files, they are XML now. (Part 2) 2013-07-15 11:42:13 -04:00
Rom Walton d44e51e50b WINBUILD: Force git to reevaluate the ISM files, they are XML now. (Part 1) 2013-07-15 11:41:14 -04:00
Joachim Fritzsch 3f996ec9af android: bug fix, foreground notification shows updated status after change during screen off. 2013-07-15 17:30:39 +02:00
Joachim Fritzsch 49e2a0a62a Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-07-15 16:31:01 +02:00
Joachim Fritzsch 3bd18f07b0 android: bug fix service in foreground also when computation status changes during screen off. 2013-07-15 16:30:46 +02:00
Rom Walton 5caab47e65 Updates for 7.2.4 2013-07-15 10:20:56 -04:00
Joachim Fritzsch ee3c036f65 android: bug fix, Preference tab stuck in loading when first data retrieval failed. Retry. 2013-07-15 12:02:03 +02:00
Joachim Fritzsch d473c25162 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-07-15 11:39:48 +02:00
Joachim Fritzsch ba9f73930f android: run service in foreground druing computation.
sets edu.berkeley.boinc.client.Monitor as foreground service while client is computing to prevent Android housekeeping to kill it under memory pressure.
consequently is notification preference only applicable to suspended state.
should not have an impact on device's cpu throttling, because only active during computation. As soon as computation suspends, service is put to background.
-GUI not active- client suspension can still occur when suspended for another reason.
2013-07-15 11:39:29 +02:00
David Anderson 338487fd13 client: don't write name twice in job log 2013-07-14 22:56:37 -07:00
David Anderson 8949c04a77 client: add exit status and result name to job log entries 2013-07-14 13:19:22 -07:00
David Anderson 3bcf2a3530 client: fix bug that caused host CPID to change on each startup 2013-07-14 12:07:52 -07:00
David Anderson abfd522840 client: if system clock goes backward, show details in event log 2013-07-14 11:54:20 -07:00
David Anderson f654cf947e client: parse <client_new_version_text> in cc_config.xml 2013-07-13 16:45:15 -07:00
David Anderson ba6fbc8071 client: if suspend for battery reasons, show parameters in event log
E.g., if suspend because battery temperature,
show current temperature and temperature limit.
Could do this for other things too, e.g. exclusive apps.
2013-07-13 16:31:25 -07:00
Joachim Fritzsch 996e5e74cf android: Tasks tab layout improvement, hide progress percentage if task is not active or suspended. 2013-07-13 14:59:22 +02:00
Joachim Fritzsch cd804778ff android: allow opening project detail activity even when project already attached. 2013-07-13 14:40:31 +02:00
Joachim Fritzsch bcaf537228 android: bug fix for changing p_ncpus in host_info. issue #1300.
previous attempt to acquire full wake lock during setup routine has not fixed this bug.

changed p_ncpus detection from sysconf(_SC_NPRROCESSORS_ONLN) to _SC_NPROCESSORS_CONF in client's get_host_info for Android devices.
2013-07-13 13:46:29 +02:00
Charlie Fenton 1d590434ea client: Fix a race condition on system reboot when using a child process for detecting GPUs, add debugging support to child process. 2013-07-12 18:35:47 -07:00
Rom Walton 9430638e36 - Tag for 7.2.4 release, all platforms
client_release/7.2/7.2.4
2013-07-11 15:31:05 -04:00
Rom Walton 39f474e2fe CERT: Update all the root CAs to the latest and greatest from Mozilla. Current version works with WCG. 2013-07-11 15:05:09 -04:00
Rom Walton 03b69a8c2d CERT: Update all the root CAs to the latest and greatest from Mozilla. Current version works with WCG. 2013-07-11 14:59:28 -04:00
Rom Walton 2dbffacb87 - Tag for 7.2.3 release, all platforms
client_release/7.2/7.2.3
2013-07-11 13:55:46 -04:00
Joachim Fritzsch 77f61d5694 android: bug fix for issue #1308, screen turning on on random occassions.
bug was caused by full wakelock acquisition every time RPC connection got (re-)connected. This can also happen after Android internal house keeping.
moved acquistion of setup wakelock into condition, so it only gets acquired when client gets started from scratch.
2013-07-11 13:51:53 +02:00
Joachim Fritzsch d4d5d7ea06 android: optimization of Tasks tab layout
removed number of views in layout without making noticable impact on its presentation.
changes necessary because of StackOverFlowError on some devices, related issues #1307 and #1297
2013-07-11 12:13:18 +02:00
Joachim Fritzsch 700395b598 android: change wakelock handling
moves wakelock acquisation/realease outside of setClientStatus(). Decission whether wakelock is needed based on CcStatus's suspend reason. This reduces GUI RPC traffic when the screen is off, but causes wakelock to stay active when client is idle (not suspended, but no task running).
2013-07-11 10:47:11 +02:00