Commit Graph

7005 Commits

Author SHA1 Message Date
David Anderson 08aeba56ac - client: message tweak
- ops: don't import teams if using invitation codes

svn path=/trunk/boinc/; revision=17874
2009-04-24 10:49:54 +00:00
Rom Walton 9a3dfb1273 - WINBUILD: More project file cleanup.
- WINBUILD: Move wxWidgets include directives from the
        FlatNotebook to the pre-compiled header. Try and avoid
        a compilation problems when two different sets of
        wxWidgets build environments are on the system and have
        been setup differently.
        
    clientgui/common/
        wxFNBDropTarget.h
    clientgui/
        stdwx.h
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=17861
2009-04-23 07:00:10 +00:00
David Anderson 74e8911f44 - client: When a preemptable task wasn't preempted
(e.g. because it hadn't finished its time slice)
		we were failing to mark it as scheduled.

svn path=/trunk/boinc/; revision=17860
2009-04-23 06:44:46 +00:00
Rom Walton 28c72cab79 - WIN: First pass through the code to fix compliation errors when
building in a Unicode enabled environment.
        
        NOTE: For files that are shared between the core client and
          the manager, it was simpliar to just call the ANSI versions
          of the specific Windows API functions then to monkey with
          all of the string handling code and convert between ANSI
          and UCS-2 strings.  CreateFile becomes CreateFileA instead
          of the default of CreateFileW.
          
        Down to 11 compile time errors from over 100.

    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp
        browser.cpp
        browser.h
        sg_StatImageLoader.cpp
    lib/
        boinc_win.h
        diagnostics_win.cpp
        filesys.cpp
        gui_rpc_client_ops.cpp
        proc_control.cpp
        stackwalker_imports.h
        stackwalker_win.cpp
        str_util.cpp
        util.cpp
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=17859
2009-04-23 03:40:49 +00:00
Rom Walton 08268e1efb - WINBUILD: More project file fixes
- WINBUILD: Create a new configuration for building the Unicode
        version of the BOINC Manager.
        
    win_build
        boinc_cli_curl.vcproj
        boinc_dll.vcproj
        boinc_ss.vcproj
        boinccmd.vcproj
        boincmgr_curl.vcproj
        boincsvcctrl.vcproj
        boinctray.vcproj
        libboinc.vcproj
        libboinc_staticcrt.vcproj
        sim.vcproj
        ss_app.vcproj
        updater.vcproj

svn path=/trunk/boinc/; revision=17858
2009-04-22 21:09:17 +00:00
David Anderson f9e1c98921 - client: fix crash bug in CUDA init
svn path=/trunk/boinc/; revision=17856
2009-04-22 03:59:39 +00:00
David Anderson 5adb25381d - client: new approach to handling multiple GPUs.
old: find fastest GPU, and pretend that others are the same.
            Problem: other GPUs might be less capable,
            and not able to handle jobs sent by server.
        new: find the most "capable" GPU, use others that are equivalent,
            don't use those that are not.
            "Capable" is defined by
            - compute capability (i.e., hardware version)
            - driver version
            - memory size
            - FLOPs
            in that priority order.
        See comments in lib/coproc.h

svn path=/trunk/boinc/; revision=17855
2009-04-22 02:09:53 +00:00
Rom Walton a0de192e63 - WINBUILD: Update Project files for new layout.
win_build/
        boinc_cli_curl.vcproj
        boinc_dll.vcproj
        boinc_setup.vdproj (Deleted)
        boinc_setup_auto.vdproj (Deleted)
        boinc_ss.vcproj
        boinccmd.vcproj
        boincmgr_curl.vcproj
        boincsvcctrl.vcproj
        boinctray.vcproj
        gr_boinc_cli_curl.vcproj (Deleted)
        gr_boinc_dll.vcproj (Deleted)
        gr_boinc_ss.vcproj (Deleted)
        gr_boinccmd.vcproj (Deleted)
        gr_boincmgr_curl.vcproj (Deleted)
        GridRepublic.sln (Deleted)
        libboinc.vcproj
        libboinc_staticcrt.vcproj
        sim.vcproj
        ss_app.vcproj
        updater.vcproj

svn path=/trunk/boinc/; revision=17853
2009-04-21 21:08:30 +00:00
David Anderson 90f863f08c - partial checkin so I can edit locally (bad network connection)
svn path=/trunk/boinc/; revision=17852
2009-04-21 08:11:28 +00:00
David Anderson 5c23fb9f2a - db_purge: improve error-checking; if we're failing to write archives,
quit immediately so that we don't delete unarchived DB records

svn path=/trunk/boinc/; revision=17851
2009-04-21 03:25:26 +00:00
David Anderson 372b2a61c7 - web: swap positions of reply/delete buttons in private message display
svn path=/trunk/boinc/; revision=17850
2009-04-21 01:03:48 +00:00
David Anderson c58136e5bf - client: improve CPU sched debug messages
(say what kind of job and why we're scheduling it)
- client: log messages describing GPUs: one line per GPU; fixes #879

svn path=/trunk/boinc/; revision=17847
2009-04-20 00:00:11 +00:00
Charlie Fenton b6c4e01b80 MGR: Put keyboard shortcuts CTRL+SHIFT+S and CTRL+SHIFT+A in View Menu so their functionality is not hidden
svn path=/trunk/boinc/; revision=17846
2009-04-18 11:52:48 +00:00
Charlie Fenton 287806e4b0 Mac MGR: Changes to build with full Unicode support with wxWidgets-2.8.10
svn path=/trunk/boinc/; revision=17844
2009-04-17 11:28:27 +00:00
David Anderson e46d8c6e63 - client: if detach a project, adjust debts and trigger
CPU sched and work fetch

svn path=/trunk/boinc/; revision=17843
2009-04-17 06:12:41 +00:00
David Anderson 0b11a548dc - upgrade script: do DB update even if stop_web is present,
rather than spewing an HTML error message.
    Fixes #875


svn path=/trunk/boinc/; revision=17839
2009-04-17 02:08:05 +00:00
David Anderson 217b1a6086 - client: another try at fixing the above crash
- web: don't show plan class in separate column in apps list; fixes #874

svn path=/trunk/boinc/; revision=17838
2009-04-17 01:22:38 +00:00
David Anderson 20adddc862 - client: fixed a crash caused by using %f to write
working-set size into a fixed-size buffer.
    Use %e instead.
    TODO: figure out why WSS was huge.
- web: if "en" is primary language, don't read translation files

svn path=/trunk/boinc/; revision=17831
2009-04-16 09:01:41 +00:00
Charlie Fenton 3e9bd55a81 Mac MGR: Add keyboard shortcuts command-shift-S, command-shift-A to switch views
svn path=/trunk/boinc/; revision=17826
2009-04-16 00:30:42 +00:00
Rom Walton ef77861b60 - Add ICU to the BOINC depends list. It is needed for
SQLLite3 which will be needed for reading Firefox
        3.x cookies.
        
    icu/
        <Various Files>

svn path=/trunk/boinc/; revision=17824
2009-04-15 21:48:59 +00:00
David Anderson 2a4a81f035 - web: update black.css
svn path=/trunk/boinc/; revision=17823
2009-04-15 21:28:28 +00:00
David Anderson 81f78a0951 svn path=/trunk/boinc/; revision=17822 2009-04-15 21:20:40 +00:00
David Anderson 31b929ed67 - Unix build: make it work if "diff" is missing (??)
from Michael Tughan

svn path=/trunk/boinc/; revision=17821
2009-04-15 20:46:12 +00:00
David Anderson fb70908040 svn path=/trunk/boinc/; revision=17820 2009-04-15 20:12:19 +00:00
David Anderson 04fd1e4800 - web: improve the appearance of buttons
- web: divide the stylesheet into "main.css"
    (which has formatting stuff, rounded corners etc.)
    and "white.css" (which has colors).
    The above two from Simek.
- scheduler: change default min NVIDIA driver version
    from 17500 to 17700

svn path=/trunk/boinc/; revision=17819
2009-04-15 20:09:42 +00:00
Rom Walton 7b71257eb0 - Fix compiler errors
( From: Sascha Manns )
      
    client/
        hostinfo_unix.cpp
    clientgui/
        DlgAdvPreferences.cpp

svn path=/trunk/boinc/; revision=17817
2009-04-15 16:28:24 +00:00
Charlie Fenton c05e303e58 SS: launch default screensaver graphics app as user and group boinc_project, not boinc_master
svn path=/trunk/boinc/; revision=17815
2009-04-15 08:28:51 +00:00
David Anderson af93af28f7 - client: eliminate the need to write the state file on each checkpoint.
Instead, write the info into a file in the slot directory,
		and check for these files on startup.
		This should reduce the overhead of state-file writing
		on machines with lots of cores.
		There will still be a flurry of writes each time a job finishes,
		but reducing that overhead would be a larger job.
	- client: make sure we write the state file after a failed RPC

svn path=/trunk/boinc/; revision=17814
2009-04-15 06:22:53 +00:00
Charlie Fenton c78cf259fd Mac: Add -lresolv to XCode linker flags for client, manager, boinccmd, screensaver and ss_app (again)
svn path=/trunk/boinc/; revision=17808
2009-04-14 00:18:59 +00:00
David Anderson 72a59f0527 - client: put back the call to res_init() on lookup failure.
Apparently it worked after all.

svn path=/trunk/boinc/; revision=17793
2009-04-12 15:30:45 +00:00
Rytis Slatkevičius 3dfd2363d6 web: allow login from subdirectories of the site (expects login_form.php to be located in the URL_BASE).
svn path=/trunk/boinc/; revision=17792
2009-04-11 17:04:43 +00:00
David Anderson 87d50be302 - GUI RPC and manager: send slot and show it in task properties
rather than slot path
    (slot_path is defined only for apps with graphics app).

svn path=/trunk/boinc/; revision=17786
2009-04-10 19:18:44 +00:00
David Anderson cf638ae3a6 - client: instead of scheduling coproc jobs EDF:
- first schedule jobs projected to miss deadline in EDF order
    - then schedule remaining jobs in FIFO order
    This is intended to reduce the number of preemptions of coproc jobs,
    and hence (since they are always preempted by quit)
    to reduce the wasted time due to checkpoint gaps.
- client: the CPU scheduling policy made use of the number
    of deadline misses in various places.
    This should include only the deadline misses of CPU jobs.
    So move "deadlines_missed" from RR_SIM_STATUS and PROJECT
    to RSC_PROJECT_WORK_FETCH so that we have separate counts
    for CPU and coproc jobs, and use the count for CPU jobs.
- GUI RPC: removed the rr_sim_deadlines_missed field
    from project descriptor.
    This is no longer meaningful, and it didn't seem to be used anywhere.

svn path=/trunk/boinc/; revision=17785
2009-04-10 19:01:38 +00:00
David Anderson 5b6636306f - client: for coproc jobs, don't start a job while a quit is pending.
Otherwise the new job may fail on memory allocation.

svn path=/trunk/boinc/; revision=17783
2009-04-10 17:48:46 +00:00
Rom Walton c8808b1690 svn path=/trunk/boinc/; revision=17778 2009-04-10 15:54:25 +00:00
Charlie Fenton 930d3c08a3 Mac client: fill in command field of PROCINFO struct more efficiently
svn path=/trunk/boinc/; revision=17775
2009-04-10 01:09:58 +00:00
David Anderson 5800130fae - graphics API: add rotation arg to txf_render_string()
(from Carl C.)

svn path=/trunk/boinc/; revision=17774
2009-04-09 23:10:28 +00:00
Rom Walton 1a8e70d5f6 - WINSETUP 'Everyone' is not just a group, it is a well known
group.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CASetPermissionBOINC.cpp
        CASetPermissionBOINCData.cpp
        CASetPermissionBOINCDataProjects.cpp
        CASetPermissionBOINCDataSlots.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=17772
2009-04-09 22:31:33 +00:00
David Anderson cafd727873 - manager: show execution directory in task properties
svn path=/trunk/boinc/; revision=17767
2009-04-09 17:39:24 +00:00
David Anderson c6d7076464 - client: for each app version,
keep track of the largest WSS of tasks using it.
    In checking whether tasks fit in RAM,
    use this as an estimate for tasks that haven't started yet.
    This avoids a situation where the client starts a lot of
    tasks in sequence, only to find that each one doesn't fit in RAM.

svn path=/trunk/boinc/; revision=17765
2009-04-09 16:46:03 +00:00
Charlie Fenton dab27897c2 Mac client: fill in command field of PROCINFO struct so <exclusive_app> log flag works properly on Mac.
svn path=/trunk/boinc/; revision=17760
2009-04-09 10:41:11 +00:00
Charlie Fenton 0cfb2747f9 Mac: build MGR with wxWidgets 2.8.10; Remove -lresolv from XCode linker flags
svn path=/trunk/boinc/; revision=17759
2009-04-09 06:05:09 +00:00
David Anderson f3e362097e - client: back out res_init() change; it didn't work
svn path=/trunk/boinc/; revision=17758
2009-04-09 04:41:41 +00:00
David Anderson 65560415fe - Add "html/ops/purge_profile.php" script to help admins locate
and remove spam profiles

svn path=/trunk/boinc/; revision=17753
2009-04-08 17:46:47 +00:00
Charlie Fenton a7dea6f086 MGR: Fix compatibility problem with wxWidgets 2.8.8 or later
svn path=/trunk/boinc/; revision=17744
2009-04-08 04:06:47 +00:00
Eric J. Korpela 3c58c38958 - API: Added new function boinc_set_credit_claim() for use by projects that
want to grant approximately fixed credits, but don't want to express them in 
    terms of FPOPS and IOPS.  This API just calls boinc_ops_cumulative(N*8.64000e+11,0).
    CPU intensive projects that use this API should still use the
    tools/calculate_credit_multiplier script in order to adjust their credit
    claims as processing times vary.


svn path=/trunk/boinc/; revision=17743
2009-04-08 00:50:39 +00:00
David Anderson 5834cb098e - client: we were setting config defaults after parsing cmdline.
This meant that the cmdline args that set config params weren't working:
        --allow_multiple_clients
        --report_results_immediately
        --no_priority_change
        --start_delay

svn path=/trunk/boinc/; revision=17741
2009-04-07 20:02:49 +00:00
David Anderson 9f33d4db27 - web and client: change the default for "run_gpu_if_user_active"
from true to false.
    Currently running CUDA apps on NVIDIA GPUs causes
    a significant slowdown in GUI response.


svn path=/trunk/boinc/; revision=17740
2009-04-07 18:21:39 +00:00
Rom Walton 47cb6533e8 - WINSETUP: On some setups, how we were including the 'Everyone' well
known security ID in the boinc_users group didn't work properly.
        
        From now on include the 'Everyone' security ID in the various
        ACLs instead.  This will probley clean up a wide range of
        various issues with multi-user installs.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCGroups.cpp
        CASetPermissionBOINC.cpp
        CASetPermissionBOINCData.cpp
        CASetPermissionBOINCDataProjects.cpp
        CASetPermissionBOINCDataSlots.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=17738
2009-04-07 16:51:09 +00:00
Rom Walton ceb67571c7 - WINSETUP: When uninstalling, don't migrate the client data back
to the 5.x location.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.cpp

svn path=/trunk/boinc/; revision=17737
2009-04-06 20:11:35 +00:00