Commit Graph

11581 Commits

Author SHA1 Message Date
Rom Walton ec1082130a - API: Include 'Global\' in the shared memory segment name for worker and
graphics applications so that the memory can be shared across terminal
        server sessions.
    - API: Add some trace messages to window creation and shutdown events, it
        is all logged to stderr.
    - API: Add some trace messages for loading graphic files.
    - API: Add some trace messages for loading font files.
    - API: There can be only one hInstance and it is assigned to the app at
        startup via winmain(). Use it throughout the graphics2 impl.
    - CC: Use the service security token to startup worker applications.
    - MGR: Use the interactive security token to startup graphics
        applications.
    - LIB: Create two different logon methods, one for logging on interactively
        (graphics applications) and one for services (worker application).

    api/
        graphics2_util.C
        graphics2_win.C
        gutil.C
        txf_util.C
    client/
        app_start.C
    lib/
        proc_control.C, .h
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=14905
2008-03-13 21:18:04 +00:00
Eric J. Korpela 0df1c23a89 Fix for projects that have SHED_MSG_LOG::MSG_* in their project specific code.
svn path=/trunk/boinc/; revision=14904
2008-03-13 18:27:23 +00:00
Rom Walton c2028c37fd - CLI: Adjust the shared memory ACLs so that everybody can read/write to
them, the default ACL limits read/write access to SYSTEM and boinc_master
        when run in secure mode.
        
    lib/
        boinc_win.h
        shmem.C

svn path=/trunk/boinc/; revision=14903
2008-03-12 18:23:48 +00:00
Charlie Fenton 7ca07df3a9 Release Mac BOINC 6.1.10
svn path=/trunk/boinc/; revision=14902
2008-03-12 10:16:28 +00:00
Charlie Fenton a1f9c54bd1 Tag for 6.1.10 release, all platforms
svn path=/trunk/boinc/; revision=14900
2008-03-12 09:41:42 +00:00
Charlie Fenton 156b5baa96 Client: Retry entire write_state_file routine from the beginning if there is an error, not just the step that failed
svn path=/trunk/boinc/; revision=14899
2008-03-12 09:39:17 +00:00
Jens Seidler db1175f5c3 Localization: BOINC distribued web site language files updated: Chinese simplified(zh_CN), Spanish(es)
svn path=/trunk/boinc/; revision=14898
2008-03-12 06:21:47 +00:00
David Anderson 90d83d78d9 - web: show venues in private host list
- compile fixes

svn path=/trunk/boinc/; revision=14897
2008-03-11 20:27:19 +00:00
Rom Walton 2f8ff5b70c Quick Updates
svn path=/trunk/boinc/; revision=14896
2008-03-11 16:20:19 +00:00
Rom Walton fe4ad89cbb Quick Updates
svn path=/trunk/boinc/; revision=14895
2008-03-11 16:05:56 +00:00
Charlie Fenton 71e7aca1dc Client: Rework write_state_file logic to always retry on error, suppress intermediate warnings
svn path=/trunk/boinc/; revision=14894
2008-03-11 13:00:08 +00:00
Charlie Fenton b5e838b00e Client: Rework write_state_file logic to always retry on error, suppress intermediate warnings
svn path=/trunk/boinc/; revision=14893
2008-03-11 12:55:33 +00:00
Charlie Fenton 68ee073311 Client: Rework write_state_file logic to always retry on error, suppress intermediate warnings
svn path=/trunk/boinc/; revision=14892
2008-03-11 12:09:14 +00:00
Charlie Fenton 67d62d77b6 Client: Fix build breaks and compiler warnings on Mac
svn path=/trunk/boinc/; revision=14889
2008-03-11 05:31:07 +00:00
Charlie Fenton e1689afbe8 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=14888
2008-03-11 04:51:30 +00:00
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