Commit Graph

85 Commits

Author SHA1 Message Date
David Anderson b3f00f94f7 - wrapper: compile fix
svn path=/trunk/boinc/; revision=23088
2011-02-23 00:31:15 +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
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
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 5bbafef4b0 - fix some bad file permissions
- delist defunct stats site


svn path=/trunk/boinc/; revision=22859
2011-01-02 03:07:14 +00:00
David Anderson bedfeafbee - add support for making wrappers for Rappture:
https://nanohub.org/infrastructure/rappture/


svn path=/trunk/boinc/; revision=22775
2010-11-29 22:27:26 +00:00
Charlie Fenton 0dcd647250 Mac: Update build scripts, build examples and documentation
svn path=/trunk/boinc/; revision=22489
2010-10-11 11:59:05 +00:00
Charlie Fenton 9e41e0b521 Mac: Update build scripts and documentation
svn path=/trunk/boinc/; revision=22480
2010-10-08 10:15:40 +00:00
David Anderson 1637c19e08 - API and sample apps: pass buf length arg to boinc_msg_prefix()
and use snprintf() to avoid overrun.
    Can't see why this could ever happen.
    Attempt to fix crash in E@h apps.

svn path=/trunk/boinc/; revision=22363
2010-09-15 23:03:30 +00:00
David Anderson c2444c5206 - apps: compile fix
svn path=/trunk/boinc/; revision=21785
2010-06-21 23:29:37 +00:00
David Anderson 7078c411a2 - wrapper: print more detailed msgs if process creation fails
svn path=/trunk/boinc/; revision=20631
2010-02-18 19:37:25 +00:00
Charlie Fenton 8f0f0ef0dc Mac wrapper: add build script and make file to build wrapper on Mac
svn path=/trunk/boinc/; revision=20589
2010-02-16 12:57:01 +00:00
Charlie Fenton dc0cd9f956 Mac wrapper: add build script and make file to buuild wrapper on Mac
svn path=/trunk/boinc/; revision=20583
2010-02-16 02:42:12 +00:00
Charlie Fenton 47528cb253 Mac wrapper: add build script and make file to buuild wrapper on Mac
svn path=/trunk/boinc/; revision=20580
2010-02-16 00:56:59 +00:00
David Anderson 9e1644e588 svn path=/trunk/boinc/; revision=20055 2010-01-01 05:03:13 +00:00
David Anderson 04ea096e62 - wrapper: fix fraction-done bug
svn path=/trunk/boinc/; revision=19880
2009-12-13 18:06:04 +00:00
David Anderson 12dc1852a7 - wrapper: fix fraction done feature
svn path=/trunk/boinc/; revision=19231
2009-10-02 18:48:50 +00:00
David Anderson 1ecfcd9575 - wrapper: add a mechanism so that sub-tasks can report fraction done.
Write your apps so that they periodically write their
    fraction done (0..1) to a file.
    Then include <fraction_done_filename> in the job description.

svn path=/trunk/boinc/; revision=19159
2009-09-24 20:51:32 +00:00
David Anderson 9925988c77 - wrapper: compile fix
svn path=/trunk/boinc/; revision=18882
2009-08-20 05:11:42 +00:00
David Anderson 9a94db0bbb - wrapper: fix bug in passing wrapper's args to subjobs
svn path=/trunk/boinc/; revision=18425
2009-06-15 23:27:37 +00:00
David Anderson 68e2530b3a - API: add function boinc_msg_prefix() that returns
time of day and process ID.
    This should prefix all messages written to stderr
    by applications or by the runtime system.

svn path=/trunk/boinc/; revision=17687
2009-03-27 23:42:47 +00:00
David Anderson c1dce6425e - small code shuffle
- fix manager build on unix

svn path=/trunk/boinc/; revision=17650
2009-03-24 17:18:09 +00:00
David Anderson 86cfca0b44 - manager: clamp percentages at [0,100] in prefs dialog
fixes #794
- wrapper: if app checkpoints, write CPU time to checkpoint file
    fixes #792 (I hope)

svn path=/trunk/boinc/; revision=16645
2008-12-08 04:47:57 +00:00
David Anderson 1a409685e5 - make "make distclean" work in all directories
svn path=/trunk/boinc/; revision=16245
2008-10-21 21:13:52 +00:00
David Anderson 44f4c9d840 - add distclean target for samples/ makefiles
svn path=/trunk/boinc/; revision=16143
2008-10-06 20:24:58 +00:00
David Anderson 5a1e97c349 - Unix build system: build samples/example_app/,
and change the samples/ makefiles so that they automatically
    create the symbolic link to libstdc++.a
    Fixes #725

svn path=/trunk/boinc/; revision=16129
2008-10-04 18:51:38 +00:00
David Anderson 7019bb3192 - Makefile fix
- client: remove extraneous message
- wrapper: open stderr/stdout in append mode, not write

svn path=/trunk/boinc/; revision=16118
2008-10-03 05:13:25 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00
Rom Walton b6b14154fe Rom 13 Aug 2008
- SAMPLES: Add all the samples to the BOINC solution and delete the
        old solution.
    - LIB: Clean up a bunch of warnings.
    
    api/
        texfont.C
    lib/
        crypt.C
    lib/
        filesys.C
    samples/wrapper/
        wrapper.C
    win_build/
        boinc.sln
        glut.vcproj
        image_libs.vcproj
        jpeglib.vcproj
        libboinc_staticcrt.vcproj
        libboincapi.vcproj
        libboincapi_staticcrt.vcproj
        libgraphics2.vcproj
        multi_thread.vcproj
        sleeper.vcproj
        uc2.vcproj
        uc2_graphics.vcproj
        upper_case.vcproj
        worker.vcproj
        wrapper.vcproj

svn path=/trunk/boinc/; revision=15819
2008-08-13 17:26:26 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
David Anderson 1edb9012f6 - move boinc_samples into boinc/samples
- fix Makefiles in samples/


svn path=/trunk/boinc/; revision=15740
2008-08-01 18:14:00 +00:00
David Anderson f4f1592041 Moving the boinc_samples directory under the boinc directory.
This will make branching complete and stable server and app development branches easier.


svn path=/trunk/boinc/; revision=15730
2008-07-31 20:12:07 +00:00