Commit Graph

16892 Commits

Author SHA1 Message Date
Charlie Fenton fb1b5cd84d Mac: Remove auto_update.cpp, auto_update.h from XCode Project
svn path=/trunk/boinc/; revision=23106
2011-02-25 01:15:55 +00:00
David Anderson 90a1348a10 - wrapper: fixes from Carl
svn path=/trunk/boinc/; revision=23105
2011-02-24 23:21:55 +00:00
David Anderson 193a09cafd - client: win compile fix
svn path=/trunk/boinc/; revision=23104
2011-02-24 22:25:32 +00:00
David Anderson 4f7ceb2334 - client: remove auto update stuff from makefiles.
This feature is mothballed.


svn path=/trunk/boinc/; revision=23103
2011-02-24 22:18:14 +00:00
David Anderson d63d67c968 - wrapper: daemon fix
svn path=/trunk/boinc/; revision=23102
2011-02-24 21:55:17 +00:00
David Anderson d331ca86ed - wrapper: add "daemon" feature.
A task descriptor may contain <daemon>.
    Daemons are started before regular tasks,
    run concurrently with them, and are killed on exit.


svn path=/trunk/boinc/; revision=23101
2011-02-24 21:39:07 +00:00
David Anderson f30812355d - user web: fix "friend" functions
svn path=/trunk/boinc/; revision=23100
2011-02-24 20:55:12 +00:00
David Anderson b32107a75a - user web: fix "host delete" function
- client: fix msg typo


svn path=/trunk/boinc/; revision=23099
2011-02-24 19:32:40 +00:00
David Anderson 3b05dc6203 - scheduler: fix a problem with job resend.
When we first send a job, we pick an app version,
    then call wu_is_infeasible_fast()
    to see if the host is able to run the job with that app version.
    In addition to checking disk space etc.
    this calls wu_is_infeasible_custom() to do project-specific checks
    (e.g. for SETI@home: don't use GPUs for VLAR jobs).

    However, when we resend a job, we pick an app version
    (possibly different from the original one)
    and send the job without any checking.
    So, for example, we might send a VLAR job to a GPU,
    or send a job to a host with insufficient disk space
    (because free space has changed since original send).

    Solution: call wu_is_infeasible_fast() before resending a job,
    and if it returns true, mark the job as done and don't resend it.


svn path=/trunk/boinc/; revision=23098
2011-02-24 19:30:43 +00:00
David Anderson 00f7a7778b - client: on finish upload, trigger work fetch
(since we may have been waiting for upload finish)
	- client: fix crash: if remove an RSS feed, remove its active HTTP op if any.

svn path=/trunk/boinc/; revision=23097
2011-02-23 23:11:59 +00:00
David Anderson 53a7307305 - scheduler: fix nasty bug introduced in [23040]
that caused no jobs to be sent.


svn path=/trunk/boinc/; revision=23096
2011-02-23 21:22:45 +00:00
David Anderson 4c4532a35e - client: finish [22902] (pass user ID, team ID to apps).
Forgot to parse them in scheduler reply.

svn path=/trunk/boinc/; revision=23095
2011-02-23 20:47:25 +00:00
David Anderson 6e21bd3633 - client: in the loop that starts up apps,
check if we've been in the loop for 10 sec.
    If so, break out of it and reschedule.
    Avoid starving GUI RPCs and heartbeats.

svn path=/trunk/boinc/; revision=23094
2011-02-23 05:03:33 +00:00
David Anderson c558b15f37 - client: wait 15 seconds (instead of 5) for an app to exit
before killing it.
    Apparently some apps take ~10 sec on slow computers.


svn path=/trunk/boinc/; revision=23093
2011-02-23 04:48:09 +00:00
Charlie Fenton 1359af5dc5 Mac: Fix compile error; add new procinfo.cpp to XCode Project
svn path=/trunk/boinc/; revision=23092
2011-02-23 01:08:57 +00:00
David Anderson ea23152216 - client: don't send <?xml to scheduler; it doesn't expect it
- scheduler: handle optional <?xml


svn path=/trunk/boinc/; revision=23091
2011-02-23 01:03:46 +00:00
David Anderson 44addd53d3 - client: send <?xml version="1.0" encoding="UTF-8" ?>
at start of scheduler and account manager requests.


svn path=/trunk/boinc/; revision=23090
2011-02-23 00:57:08 +00:00
David Anderson 0856304497 win compile fixes
svn path=/trunk/boinc/; revision=23089
2011-02-23 00:41:34 +00:00
David Anderson b3f00f94f7 - wrapper: compile fix
svn path=/trunk/boinc/; revision=23088
2011-02-23 00:31:15 +00:00
David Anderson 1d1bc5d0e8 svn path=/trunk/boinc/; revision=23087 2011-02-23 00:28:52 +00:00
David Anderson f9d5fbaf77 - client: win compile fix
svn path=/trunk/boinc/; revision=23086
2011-02-23 00:02:06 +00:00
David Anderson a0fd3445fc - wrapper: improve and bullet-proof the way we kill apps.
Win: enumerate all descendants, and kill them all TerminateProcess().
    Unix:
        send the main process a SIGTERM.
        Check once a sec for existence of descendants.
        if none, done
        If any still exist after 10 sec, kill all descendants
- wrapper fix bug in Win env var stuff
- scheduler: check for VBox version 3.2+ in app_plan()
    

svn path=/trunk/boinc/; revision=23085
2011-02-22 23:11:34 +00:00
Toni Giorgino 2fe37c8df0 added text module for rboinc monitoring
svn path=/trunk/boinc/; revision=23084
2011-02-22 21:30:15 +00:00
Toni Giorgino e6fbfa715b keywords and monitoring
svn path=/trunk/boinc/; revision=23083
2011-02-22 21:28:13 +00:00
David Anderson 01a1ec33c3 - client: add cpu_sched debug messages for anti-domino-effect
and anti-thrasing mechanisms
- wrapper: to kill an app, use SIGTERM instead of SIGKILL
    

svn path=/trunk/boinc/; revision=23082
2011-02-22 21:05:21 +00:00
Toni Giorgino 412395a8c9 added -intotree option
automatic renaming of downloaded results

svn path=/trunk/boinc/; revision=23081
2011-02-22 20:53:34 +00:00
Charlie Fenton 0731e726b1 client: fix compiler warning
svn path=/trunk/boinc/; revision=23080
2011-02-22 01:07:29 +00:00
David Anderson 22e0b9172b - client: fix disk-space accounting bug when user quotas in use
(Windows)


svn path=/trunk/boinc/; revision=23079
2011-02-21 07:37:49 +00:00
David Anderson faddad7bbb - wrapper: Windows fixes
svn path=/trunk/boinc/; revision=23078
2011-02-21 06:40:22 +00:00
David Anderson cf9b7ef4a2 - client: make "wait 30 sec after exclusive app exits" apply to network too
- client: fix bug in "wait 30 sec after exclusive app exits" logic
	- client: fix compile warning and possible bug in is_remote_desktop()
	- win: remove wrappture_example from solution
		(until Hubzereo guys get their win lib working)

svn path=/trunk/boinc/; revision=23077
2011-02-21 00:09:18 +00:00
David Anderson 13c2cf2fa8 - wrapper: add optional <setenv> element in <task> elements;
specifies an environment variable assignment;
    macro-substitute project dir for $PROJECT_DIR.
    From Carl Christensen

svn path=/trunk/boinc/; revision=23076
2011-02-20 23:46:28 +00:00
David Anderson 7ae1e2357d - wrapper: add optional <exec_dir> element in <task> elements;
specifies a directory to run app in.
    macro-substitute project dir for $PROJECT_DIR.
    From Carl Christensen, more or less


svn path=/trunk/boinc/; revision=23075
2011-02-20 04:01:04 +00:00
David Anderson 151ca04258 - client: more notice-related fixes.
I'm working on this case:
		- start up
		- disconnect (produces notice)
		- reconnect (removes notice)
		The client is now doing the right thing.
		The manager is not.

svn path=/trunk/boinc/; revision=23074
2011-02-19 03:32:26 +00:00
Charlie Fenton 2865a15719 Mac: Update link to NVIA CUDA Mac driver download page
svn path=/trunk/boinc/; revision=23069
2011-02-19 02:28:31 +00:00
Rom Walton e8fc714964 - client: Fast User Switching does not change the session protocol
to RDP when the active session is put into the background and
        a new one is brought into the foreground.  It appears it is safe
        to use the connected state in addition to the protocol
        to detect when the session is no longer capable of processing
        GPU work
        
    lib/
        win_util.cpp

svn path=/trunk/boinc/; revision=23068
2011-02-18 20:32:43 +00:00
Rom Walton 136085ed6a Quick Updates
svn path=/trunk/boinc/; revision=23067
2011-02-18 18:27:50 +00:00
Rom Walton 19254e5e92 Quick Updates
svn path=/trunk/boinc/; revision=23066
2011-02-18 18:24:49 +00:00
David Anderson 53a514bb1a - client: when detach project, remove its RSS feeds from list
- client: remove once-per-week limit for client-generated notices;
        need to show "network connection required" more often
    - client: when remove "network conn required" notice
        (because now have conn)
        set the flag that says complete notice list is being sent
    - client: if RSS feed fetch returns <error_num>,
        show the corresponding message rather than "XML parse error"

svn path=/trunk/boinc/; revision=23063
2011-02-18 02:00:02 +00:00
David Anderson cd135ea273 - file upload handler: fix faulty bug fix of 2/15
- client: make REC-based scheduling and hysteresis the defaults

svn path=/trunk/boinc/; revision=23062
2011-02-18 01:06:00 +00:00
Rom Walton f899f7f93f Update Translations
svn path=/trunk/boinc/; revision=23054
2011-02-17 14:00:19 +00:00
Charlie Fenton 7c3731b058 Mac installer: update branded build scripts to eliminate wrapper application around install package
svn path=/trunk/boinc/; revision=23052
2011-02-17 11:56:54 +00:00
Charlie Fenton 6d9f2a2363 Mac: Additional error checking and release created objects
svn path=/trunk/boinc/; revision=23050
2011-02-17 08:38:42 +00:00
Charlie Fenton c24534116b Mac: Additional error checking and release created objects
svn path=/trunk/boinc/; revision=23049
2011-02-17 08:37:38 +00:00
David Anderson 28bad727c1 - client: when exclusive app mechanism is used (CPU or GPU)
wait for 30 secs after excl app exits
    before restarting computation


svn path=/trunk/boinc/; revision=23048
2011-02-16 20:41:19 +00:00
David Anderson 3928100518 - client: fix bug in mechanism that defers work request until
pending uploads are finished.
    Due to a typo, this was not being done.

svn path=/trunk/boinc/; revision=23047
2011-02-16 19:44:38 +00:00
David Anderson 457d1fdac3 - client: fix work-fetch bug.
The change in [21877] caused tasks in "download stalled" state
    to be skipped in RR simulation,
    and therefore to not be counted in the work buffer.
    However, "download stalled" was not being evaluated correctly;
    it was considering only per-file backoff, not project-wide backoff.
- client: another work-fetch bug:
    don't fetch work from a project in project-wide download backoff.


svn path=/trunk/boinc/; revision=23046
2011-02-16 19:34:21 +00:00
David Anderson 4e1561279e - user web: fixes to private message functions
svn path=/trunk/boinc/; revision=23045
2011-02-16 18:08:21 +00:00
Charlie Fenton 754b7e6f4e Mac: More thorough error checking and recovery
svn path=/trunk/boinc/; revision=23043
2011-02-16 10:43:53 +00:00
David Anderson 07982df97a - update_versions: if FILE.file_ref_info contains <open_name>,
use that instead of physical name.
    This lets you have logical names with slashes

svn path=/trunk/boinc/; revision=23042
2011-02-16 04:57:31 +00:00
David Anderson d4df1871d5 - file upload handler: if client-reported offset is less than file size,
don't just print an error message;
    lseek() back to the offset point.
    Otherwise we can end up with duplication in the file.


svn path=/trunk/boinc/; revision=23041
2011-02-15 23:43:56 +00:00