Commit Graph

20546 Commits

Author SHA1 Message Date
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
David Anderson 439299d7b3 sample apps: include <cmath> instead of <math.h> 2013-05-28 12:00:39 -07:00
Rom Walton a2b758fd11 - Tag for 7.1.2 release, all platforms
client_release/7.1/7.1.2
2013-05-28 11:10:52 -04:00
David Anderson fe2779878c boinccmd compile fixes 2013-05-27 23:19:51 -07:00
David Anderson 9c50abaffa Manager and GUI RPC interface: fix possible buffer overruns
If the user typed an extremely long URL into the
Attach to Account Manager wizard, a buffer overrun could result.
There were several places in the code that assumed user-entered
URLs are small (e.g. 256 chars):
- canonicalize_master_url.cpp()
- several GUI RPC interfaces, when generating XML request message
- URL-escaping (not relevant here, but fix anyway)
Change all these to stay within buffers regardless of URL size.
Note: do this by truncation.
This will cause error messages like "can't connect to project"
rather than saying the URL is too long.  That's OK.
2013-05-27 23:08:02 -07:00
David Anderson f25cf0836a Include <cmath> instead of <math.h> various places 2013-05-27 16:44:22 -07:00
David Anderson 71206bdaaf Android: tweak some messages 2013-05-27 12:18:15 -07:00
David Anderson 8009a8cecb Condor interface: various fixes, mostly from Jaime Frey
- XML parser: for parse_string(), malloc the 256KB buffer instead of
    allocating it on the stack; the latter crashes threads with 32KB stacks.
    However, do the malloc() only if we've actually seen the start tag
    (this required a bit of code shuffle).
- BOINC GAHP: escape spaces in error msgs
2013-05-27 11:45:10 -07:00
David Anderson f30097d175 server: compile fix for recent gcc 2013-05-25 13:54:50 -07:00
Joachim Fritzsch 5faad56ed5 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-05-25 15:08:33 +02:00
Joachim Fritzsch 513e8dd994 android: redesing preference dialogs 2013-05-25 15:08:22 +02:00
Joachim Fritzsch 686688dcef android: redesing of project dialogs 2013-05-25 14:05:38 +02:00
David Anderson ba68f452a0 server: fix bug related to job-size matching
Problem: a workunit could error out with unsent results.
The feeder skips such results, but the size_regulator counts them
and doesn't so doesn't promote any new results.
Solution: the feeder scans for results even with workunit errors.
If marks these results as state OVER, outcome DIDNT_NEED
2013-05-24 20:11:14 -07:00
Joachim Fritzsch 6822cc1323 android: battery low suspend reason with current charge level and target 2013-05-24 18:43:48 +02:00
Joachim Fritzsch 316e38cbba android: Projects tab layout optimization and bug fix 2013-05-24 18:07:59 +02:00
Joachim Fritzsch 124495dd61 android: performance tweaks 2013-05-24 17:17:18 +02:00
Joachim Fritzsch 436488fac9 android: layout optimizations for small screens 2013-05-24 15:50:33 +02:00
Joachim Fritzsch 8dfb6dbc1b Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-05-24 11:46:02 +02:00
Joachim Fritzsch ee94f023ea android: update manifest 2013-05-24 11:45:50 +02:00
Joachim Fritzsch c1d6a8a8c1 android: redesign project attach and registration 2013-05-24 11:45:17 +02:00
David Anderson cde42fcbcc server: parse product_name in scheduler request, store in DB
This will let projects see what kind of device each Android host is,
possibly helping with app debugging.
2013-05-23 23:30:42 -07:00
David Anderson a132fcba02 client: parse product_name from state file only on Android 2013-05-23 23:29:44 -07:00
Kevin Reed c1e96dd308 Additional customizational of WCG branding 2013-05-23 16:58:55 -05:00
Kevin Reed 462dc602ca Additional customization of WCG branding
Conflicts:
	win_build/installerv2/WCG.ism
2013-05-23 16:57:31 -05:00
Kevin Reed 723127c4d4 Fix event log not being displayed on the same display as the manager 2013-05-23 16:56:03 -05:00
David Anderson 64ccb6afbf scheduler: fix bug that prevented Intel GPUs from getting work 2013-05-23 09:48:43 -07:00
David Anderson f12fdcc985 client: fix Android build break 2013-05-23 09:02:09 -07:00
Joachim Fritzsch 85e7f869cf android: faster startup routine after client binary update 2013-05-23 10:20:21 +02:00
Joachim Fritzsch dca69be441 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-05-23 09:10:11 +02:00
Joachim Fritzsch fe5c5eab16 android: preference battery_charge_min_pct added 2013-05-23 09:09:56 +02:00
David Anderson da4432a8c0 client: fix Android build breaks 2013-05-22 23:42:58 -07:00
David Anderson b5dc74011a remote job submission: fix bad link 2013-05-22 23:33:07 -07:00
David Anderson 4a90705107 db_purge: add --mod N R option to allow multiple instances. From Kevin Reed 2013-05-22 21:13:24 -07:00
David Anderson 73bd46c3fa client: don't ask an NCI project for work if current job still uploading
Note: we currently assume NCI projects have only 1 app.
Removing this assumption would be a little work.
2013-05-22 14:33:37 -07:00
David Anderson 0983315cdb use MAXPATHLEN and sizeof() a few places; from Gianfranco 2013-05-22 13:56:48 -07:00
David Anderson 023e1ce684 web: don't try to increate PHP mem limit to 256MB
Apparently this generates warning messages that fill up log files,
and we may not need it anymore.
2013-05-22 11:10:49 -07:00
David Anderson bf96878fe8 scheduler: comparison function for score-based scheduling was backwards 2013-05-22 10:20:54 -07:00
Rom Walton c3b7e4c849 Updates for 7.1.1 2013-05-22 12:00:36 -04:00
Rom Walton 514484e022 client: Remove Display Power Management query for idle detection until a new variant can be found. 2013-05-22 12:00:22 -04:00
Joachim Fritzsch 6edc792baf Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-05-22 17:17:09 +02:00
Joachim Fritzsch 5dd3a7e93b android: redesigned Projects tab 2013-05-22 17:16:59 +02:00
Joachim Fritzsch 7f7a573c33 android: adapt strings, ticket #1260 2013-05-22 10:29:23 +02:00
David Anderson 3488b286cf client: don't piggyback work request in several situations
namely:
- some download stalled
- some task suspended
- too many uploading tasks
2013-05-21 22:01:30 -07:00
David Anderson e033347ba9 client: don't piggyback work request if project is NNW or suspended 2013-05-21 21:49:26 -07:00
David Anderson ff1311bf11 BOINC/Condor interface: tweaks from Jaime Frey 2013-05-21 20:35:14 -07:00