Commit Graph

20590 Commits

Author SHA1 Message Date
David Anderson dc43f0b375 API: tweaks to last commit 2013-06-05 15:42:17 -07:00
David Anderson b98bc309cc API: fix bug involving suspend and critical sections
Old: if the timer thread gets a <suspend> message while we're in
a critical section, it sets a "suspend_request" flag.
The timer then periodically (10X/sec) checks whether
suspend_request is set and we're no longer in a critical section;
if so it suspends the worker thread.

Problem (pointed out by Oliver): this doesn't work if the worker thread
is almost always in a critical section
(as is the case for GPU apps, which treat GPU kernels as critical sections).
The app never gets suspended.

New:
1) boinc_end_critical_section() checks suspend_request;
    if set, it calls suspend_activities()
2) On Unix, if suspend_activities() is called from the worker thread,
    it calls sleep() in a loop until the suspension is over.
    (Note: pthreads has no suspend/resume).
3) Add a mutex to protect the data structures shared between
    the timer and worker threads.

Oliver pointed out that
2013-06-05 15:22:39 -07:00
David Anderson 1446fdddbe client: add <android_debug> log flag; shows battery/wifi RPC info 2013-06-04 11:25:11 -07:00
Charlie Fenton 33191c7f8a Mac installer: Fix build breaks due to recent changes for strcpy -> strlcpy. 2013-06-04 00:55:57 -07:00
David Anderson b9f0733c06 server: replace strcpy() with strlcpy() various places 2013-06-03 22:42:53 -07:00
David Anderson f0771086fe Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-06-03 20:26:12 -07:00
David Anderson 846b8c7757 all components: change strcpy() to strlcpy() when possible.
This commit should cover the client and manager code.
2013-06-03 20:24:48 -07:00
Charlie Fenton 27b043e82d Mac installer: Specify utf-8 encoding for localization files 2013-06-03 18:18:56 -07:00
Charlie Fenton 9afe008977 Mac installer: Prepare strings in mac installer and uninstaller for localization 2013-06-03 17:57:09 -07:00
Charlie Fenton e6dc077751 GridRepublic Skin: Remove space between Grid and Republic (Grid Republic -> GridRepublic) per Matt Blumberg 2013-06-03 17:08:31 -07:00
Charlie Fenton 3274bcbebc MGR: Fix bug which changed Network Activity Selection when user set GPU Activity mode 2013-06-03 16:56:31 -07:00
Kevin Reed 32c2cbd7d2 Change logo file for World Community Grid 2013-06-03 17:50:55 -05:00
David Anderson 21248a00f8 API: replace strcpy() with strlcpy() various places 2013-06-03 15:04:20 -07:00
David Anderson bd032149ef admin web, manage app versions: show app versions in better order 2013-06-03 14:49:27 -07:00
Rom Walton faa490dd7e - Tag for 7.1.5 release, all platforms
client_release/7.1/7.1.5
2013-06-03 14:53:13 -04:00
Rom Walton 348f9eef71 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-06-03 14:25:17 -04:00
Rom Walton 816515fa64 - Tag for 7.1.4 release, all platforms
client_release/7.1/7.1.4
2013-06-03 14:22:29 -04:00
Joachim Fritzsch 54b742838b Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-06-03 19:39:16 +02:00
Joachim Fritzsch e2ef25bc7b android: bug fix ticket #1278, transperancy in project icon 2013-06-03 19:37:55 +02:00
Rom Walton c320168c06 MGR: Fix translation problem. 2013-06-03 13:25:41 -04:00
Joachim Fritzsch 214d6c7123 android: space missing in dialog. 2013-06-03 19:14:32 +02:00
Joachim Fritzsch 44cf65b322 android: added native dummy library to trigger implicit PlayStore filters. Ticket #1277. Checked in as binary because it is not going to change and allows building without NDK. 2013-06-03 17:46:42 +02:00
Joachim Fritzsch 93076a199d android: bug fix for ticket #1276 2013-06-03 16:47:57 +02:00
Joachim Fritzsch 58bfd4a53c android: setting minSDK level to 10, further increase causes problems with AsyncTasks 2013-06-03 16:25:54 +02:00
Joachim Fritzsch 14fa4dc708 android: polling all_projects_list moved into client startup routing to avoid network on UI thread 2013-06-03 16:24:23 +02:00
Joachim Fritzsch a05a3fec05 android: redesign projects tab according to ticket #1273 2013-06-03 14:55:48 +02:00
Rom Walton a512bea7fb android: Move comment 2013-06-02 20:03:25 -04:00
Rom Walton 419088fbef android: Add extra large screens to the list of supported screen types 2013-06-02 19:58:58 -04:00
Rom Walton c19a4a2253 Updates for 7.1.3 2013-06-01 01:35:37 -04:00
Rom Walton afd87ec8f5 WINSETUP: Update version number to 7.1.3 2013-06-01 01:32:08 -04:00
Charlie Fenton 39c4a23cbf SS: Fix some minor potential bugs 2013-05-31 01:50:55 -07:00
David Anderson 213bb934a7 Condor interface changes
BOINC_QUERY_BATCHES now prints, for each queried batch,
    a count of jobs followed by the jobs
BOINC_ABORT_JOBS takes a list of jobs, which may belong to different batches.
    The handler for this looks up the batches and makes sure
    the jobs belong to the user.
2013-05-30 23:38:33 -07:00
David Anderson ff261cb6df Condor interface: bug fixes; add request_gen script; add retire_batch command 2013-05-30 09:44:58 -07:00
Rom Walton eaee966acd Android: Add metadata to the AndroidManifest.xml file to inform the play store we can run on large screen devices. 2013-05-30 12:02:37 -04:00
Charlie Fenton 65f77933cc - Tag for 7.1.3 release, all platforms
client_release/7.1/7.1.3
2013-05-30 03:21:43 -07:00
Charlie Fenton 65294bc6de SS: Fixes for dual-GPU Macbook Pros (continued).
- If user preferences allow "Run while on battery" then run boincscr or project screensavers even when dual-GPU Macbook Pro is on battery power
- Replace a deprecated API (applies to all Macs)
2013-05-30 03:06:48 -07:00
Rom Walton ec0fd879a9 wrapper: Update wrapper version number to version 26005 2013-05-29 19:29:41 -04:00
Rom Walton ee4ddfa44e Change version number back to 7.1.2 2013-05-29 12:06:08 -04:00
Rom Walton 905abbb3fc WINSETUP: Updates for 7.1.2 2013-05-29 12:05:15 -04:00
Rom Walton 4c4c1b17de client: reintroduce xidletime code to detect idle time on Linux. Include reference to source site and authors. 2013-05-29 12:04:20 -04:00
Charlie Fenton 0180eb9339 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2013-05-29 07:07:52 -07:00
Charlie Fenton e39931035a SS: Fixes for dual-GPU Macbook Pros (continued).
- Fix a crash bug.
- Don't run boincscr or project screensavers when on battery power because OpenGL apps trigger the use of the power-hungry discrete GPU.
2013-05-29 07:07:35 -07:00
Joachim Fritzsch 2af3f993fb Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-05-29 15:18:22 +02:00
Joachim Fritzsch e3938b9e4f android: clearing password in login activity when user navigates away 2013-05-29 15:16:55 +02:00
Charlie Fenton f08ed91419 SS: Fixes for dual-GPU Macbook Pros.
- Fix a crash bug.
- Don't run boincscr or project screensavers when on battery power because OpenGL apps trigger the use of the power-hungry discrete GPU.
2013-05-29 06:11:14 -07:00
Joachim Fritzsch ef5eca5a21 android: moved default preferences from source code to congfiguration.xml 2013-05-29 14:51:53 +02:00
David Anderson 286646554e web: fix broken link to change-password form if SECURE_URL_BASE not defined 2013-05-28 23:19:18 -07:00
David Anderson 48e044fa76 Condor interface: bug fixes, and set WU names correctly 2013-05-28 23:14:17 -07:00
Charlie Fenton 3eb430eaec client & MGR: when writing cc_config.xml, put <max_event_log_lines> in correct alphabetical order 2013-05-28 21:19:28 -07:00
David Anderson 03e2866da7 Unix build: build zip/unzip only if building server 2013-05-28 13:51:49 -07:00