Commit Graph

11566 Commits

Author SHA1 Message Date
Charlie Fenton 8d3b7f9a65 Client: Add new source files to XCode project
svn path=/trunk/boinc/; revision=14887
2008-03-11 04:38:30 +00:00
Charlie Fenton 148b8738de Client: retry each step in writing state file only if that step failed.
svn path=/trunk/boinc/; revision=14886
2008-03-11 04:13:17 +00:00
Charlie Fenton 12a2986ace Fix typos
svn path=/trunk/boinc/; revision=14885
2008-03-11 04:02:50 +00:00
Charlie Fenton 36e7964e3b Client: Rework write_state_file logic to always retry on error, suppress intermediate warnings; Fix build breaks and compiler warnings on Mac
svn path=/trunk/boinc/; revision=14884
2008-03-11 03:59:35 +00:00
David Anderson e227059121 - Makefile for MinGW
svn path=/trunk/boinc/; revision=14883
2008-03-10 23:12:39 +00:00
David Anderson 671cf8f764 - compile fixes for Win
svn path=/trunk/boinc/; revision=14881
2008-03-10 22:52:43 +00:00
David Anderson 146c888646 - compile fixes
svn path=/trunk/boinc/; revision=14880
2008-03-10 22:40:09 +00:00
David Anderson 671524df2a - Second pass at the above. We still need run_program() in util.C.
The problem was that there's a lot of extra stuff needed
    for running apps on Windows (e.g. related to sandboxing).
    This needed to be a new function.

svn path=/trunk/boinc/; revision=14879
2008-03-10 22:36:22 +00:00
David Anderson cc2f1a20a0 - lib: moved "run program as user" stuff to a separate file,
so it doesn't screw up the linkage of apps that don't use it
- start of server-side support for coprocessors

svn path=/trunk/boinc/; revision=14878
2008-03-10 21:59:27 +00:00
David Anderson b163be097f - client: win compile fixes
svn path=/trunk/boinc/; revision=14877
2008-03-10 20:54:08 +00:00
David Anderson c685f66384 - client: preliminary support for detecting and reporting coprocessors
(for now, CUDA devices)

svn path=/trunk/boinc/; revision=14876
2008-03-10 20:40:35 +00:00
David Anderson 546c0b899a - server: fix botched checkin from 7 March.
The new field (workunit.rsc_bandwidth_bound)
    goes at the END of the record.
    Always do it this way!
- make_work: after creating a batch of new WUs,
    we were waiting 60 sec for the transitioner to
    create the results for them
    (so that our next count of unsent results would be correct).
    This is bogus; if e.g. the transitioner isn't running,
    we'll never get the results, and we'll keep creating WUs forever.

    Instead: explicitly wait for there to be results for
    the last WU from the batch just created.

- scheduler: parse <allow_non_preferred_apps>, <allow_beta_work> correctly.

svn path=/trunk/boinc/; revision=14875
2008-03-10 17:03:15 +00:00
David Anderson 27491c9d69 - Manager: avoid asserts on Linux
- Lib: compile fixes for MinGW

svn path=/trunk/boinc/; revision=14874
2008-03-09 18:54:33 +00:00
Charlie Fenton 0db064a488 MGR: restore intended sense of #defines and #if which were incorrectly changed to fix Windows build breaks
svn path=/trunk/boinc/; revision=14872
2008-03-08 21:47:44 +00:00
Charlie Fenton 669e77c3ef MGR: restore intended sense of #defines and #if which were incorrectly changed to fix Windows build breaks
svn path=/trunk/boinc/; revision=14871
2008-03-07 23:47:40 +00:00
David Anderson 95772cba77 - removed boinc_ncpus_available() and boinc_nthreads() calls.
The design has been changed to constant #threads per app version
    Various changes from Kevin Reed/WCG:
    - server: add workunit.rsc_bandwidth_bound: if nonzero,
        send this WU only to hosts with that much download bandwidth
    - assimilators: if a handler returns DEFER_ASSIMILATION,
        the WU remains in INIT state and will be handled when the
        next instance completes.
        Useful if you want the assimilator to see all instances.
    - scheduler: when setting result.outcome = DETACHED,
        set received_time to now
    - scheduler: removed the reliable_time and reliable_min_avg_credit
        options
    - scheduler/web: add optional <allow_non_preferred_projects>
        in project preferences.
        If present, user will accept work from non-selected apps
        if no work is available for selected apps
    - scheduler: improved messages for projects with multiple apps
    - scheduler: added config options
        <granted_credit_weight> and <granted_credit_ramp_up>.
        Used in calculating host.claimed_credit_per_cpu_sec,
        but I'm not sure how.
    - Added two new credit-granting formulas (validate_util.C):
        stddev_credit() and two_credit()
    - server DB: add rollback_transaction() and affected_rows() to DB_CONN

    NOTE: DB update required

svn path=/trunk/boinc/; revision=14870
2008-03-07 21:13:01 +00:00
David Anderson 09558a5ffa - web: error-check the destination thread for moderation moves
svn path=/trunk/boinc/; revision=14868
2008-03-07 04:54:01 +00:00
David Anderson 0dadf8d62f - admin web: fix profile screen form formatting
- web: remove get_transform_settings_from_user().
    There's only get_output_options()

    NOTE: why is text_transform() doing stripslashes()?
    The slashes shouldn't be in the DB in the first place.
    There's some fundamental confusion here.

- web: fix uotd.php


svn path=/trunk/boinc/; revision=14866
2008-03-07 04:38:06 +00:00
Rom Walton 926659e750 - lib: Remove SEH exception handling from MS sample code.
lib/
        win_util.C
    

svn path=/trunk/boinc/; revision=14865
2008-03-07 04:27:51 +00:00
David Anderson 933e1ec0be - lib: add Win function to suspend or resume all threads in a process
svn path=/trunk/boinc/; revision=14863
2008-03-06 18:31:57 +00:00
Rytis Slatkevičius 98274b2496 User web: translate some strings in forum.inc (fix #496).
svn path=/trunk/boinc/; revision=14861
2008-03-06 18:16:30 +00:00
Rom Walton 1be9336065 - MGR: Fix build breaks on Windows
clientgui/
        ViewProjectsGrid.h
        ViewWorkGrid.cpp, .h
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=14860
2008-03-06 17:45:53 +00:00
Rom Walton d504ab4905 - CLI: Make the CreateProcessAsUser process work again on Wndows.
It broke after the change of removing the call to LogonUserEx.

    client/
        app_start.C        
    lib/
        util.C

svn path=/trunk/boinc/; revision=14859
2008-03-06 17:18:59 +00:00
Charlie Fenton 8e984ab8ed MGR: Fully implement support for multiple selections in Tasks and Projects grid views.
svn path=/trunk/boinc/; revision=14857
2008-03-06 11:39:35 +00:00
Charlie Fenton 4f5dd759ea MGR: Fully implement support for multiple selections in Tasks and Projects grid views
svn path=/trunk/boinc/; revision=14856
2008-03-06 11:20:23 +00:00
Jens Seidler 5364e1a5d4 Localization: BOINC Manager and BOINC distribued web site language files updated: Japanese(ja), Italian(it), Chinese simplified(zh_CN), Spanish(es)
svn path=/trunk/boinc/; revision=14855
2008-03-06 06:50:36 +00:00
David Anderson 5805d5f13a - web: minor code cleanup
svn path=/trunk/boinc/; revision=14854
2008-03-06 00:40:48 +00:00
Charlie Fenton b78ae32d76 Release Mac BOINC 5.10.45
svn path=/trunk/boinc/; revision=14853
2008-03-06 00:35:56 +00:00
Eric J. Korpela 2184dfd577 svn path=/trunk/boinc/; revision=14850 2008-03-05 22:04:50 +00:00
Eric J. Korpela bd55372ebe Matched functions linkage in api/graphics2.h to those in api/graphics_api.h
svn path=/trunk/boinc/; revision=14849
2008-03-05 22:02:48 +00:00
Jeff Cobb 66724e2cd7 Added a #define fseek FCGI_fseek
svn path=/trunk/boinc/; revision=14848
2008-03-05 20:21:58 +00:00
David Anderson 4e3764df34 - server: debugged single-job submission feature.
It works, at least in my test case.
- boinc_submit script:
    show status every 10 seconds until completed
    add --wait option to show status for previous submission
- Added get_logical_name() in validate_util.C
- create_work: change default target_nresults from 5 to 2,
    max_error_results from 10 to 3,
    max_total_results from 20 to 10,
    max_success_results from 10 to 6
- boinc_cmd: show full usage if no args
- project setup: copy single_job_assimilator

svn path=/trunk/boinc/; revision=14847
2008-03-05 20:16:10 +00:00
Rom Walton 029f1a9d97 Quick Updates
svn path=/trunk/boinc/; revision=14846
2008-03-05 17:24:24 +00:00
Charlie Fenton 0c197cb888 MGR: use the project URL instead of the project name to identify items; add hidden project URL column to Tasks, projects and Tansfers Grid Views
svn path=/trunk/boinc/; revision=14845
2008-03-05 14:41:24 +00:00
Charlie Fenton 1dcc71e035 MGR: Grid views: When order of rows changes, reselect same data in new rows; update buttons when selected row is deleted.
svn path=/trunk/boinc/; revision=14844
2008-03-05 07:13:53 +00:00
Charlie Fenton 0daec9a557 MGR: Allow multiple selections in Transfers grid view only
svn path=/trunk/boinc/; revision=14843
2008-03-04 23:54:10 +00:00
David Anderson b20f2d915c - server: added a mechanism for submitting jobs as:
> boinc_submit --infile foo --outfile blah program --args
    This will run "program" on a remote host,
    with the given input, output files, and command-line args

    It manages everything for you.
    You don't have to worry about apps, app_versions,
    template files, wrapper job files, etc.
    See: http://boinc.berkeley.edu/trac/wiki/SingleJob

    Initial checkin - not debugged yet.

svn path=/trunk/boinc/; revision=14842
2008-03-04 23:50:38 +00:00
David Anderson d6ec0b2b5b - web: fixed typo that cause bad (and slow) query
when notifying user of friend acceptance on web

svn path=/trunk/boinc/; revision=14840
2008-03-04 21:17:09 +00:00
Charlie Fenton dc97aeef57 MGR: Disallow multiple selections in grid views.
svn path=/trunk/boinc/; revision=14837
2008-03-04 11:20:11 +00:00
Rom Walton c0766d0b47 Quick Updates
svn path=/trunk/boinc/; revision=14836
2008-03-03 20:11:19 +00:00
David Anderson 1106da6ec6 - transitioner: we're not supposed to ever see "assigned" WUs.
But if we do, set their transitioner time to plus infinity
    so that we don't see them again.
    (otherwise we go into an infinite loop)
- DB code: remove "high_priority" from queries not from scheduler
    (should probably remove them from there too)
- file_deleter: print error msg if apache user doesn't exist

svn path=/trunk/boinc/; revision=14835
2008-03-03 19:33:32 +00:00
Rytis Slatkevičius 379bf5976d make_project: copy javascript files to html/user/
svn path=/trunk/boinc/; revision=14834
2008-03-02 09:14:48 +00:00
Charlie Fenton b0abefead3 Release Mac BOINC 5.10.44
svn path=/trunk/boinc/; revision=14833
2008-03-01 10:25:15 +00:00
Rom Walton 699690b1bd Quick Updates
svn path=/trunk/boinc/; revision=14831
2008-02-29 20:11:35 +00:00
Rom Walton 58bed149c2 - Change libcurl to use sync DNS on Windows (Release version only)
curl/
        <Various Files>

svn path=/trunk/boinc/; revision=14827
2008-02-29 17:29:43 +00:00
Rom Walton c1af9ee465 Quick Updates
svn path=/trunk/boinc/; revision=14825
2008-02-29 15:22:17 +00:00
Rom Walton 4409e93f7a Quick Updates
svn path=/trunk/boinc/; revision=14824
2008-02-29 15:21:47 +00:00
Rom Walton e132a808e1 - lib: remove references to LogonUserEx which does not exist on Win2k or
older machines.
    - lib: comment out the CreateProcessAsUser code for graphics apps.
        (this is temporary)
        
    lib/
        util.C
        win_util.C, .h

svn path=/trunk/boinc/; revision=14823
2008-02-29 15:20:19 +00:00
David Anderson 577e4ac47d - make_project: initialize send_result_abort=1 in config file
- web: "least recent" => "oldest", "most recent" => "newest"
- scheduler: change DELAY_NO_WORK_CACHE from 20 min to 0.
    Otherwise, a host that has max_wus_in_progress,
    completes one, and sends a work request before the upload is finished
    will delay (and maybe sit idle) for 20 min.
    Better to have a few extra scheduler requests
    and let the client's backoff take care of things.

svn path=/trunk/boinc/; revision=14822
2008-02-28 21:22:50 +00:00
Rom Walton b52146c55b Quick Updates
svn path=/trunk/boinc/; revision=14821
2008-02-28 20:59:06 +00:00