Commit Graph

6243 Commits

Author SHA1 Message Date
Rom Walton 90d1109bfe - winsetup: Change the delete file after reboot code to use
MoveFileEx instead of the RunOnce registry key.  It does what
        I was originally trying to do directly to:
        HKLM\SYSTEM\CurrentControlSet\Control\
        Session Manager\PendingFileRenameOperations
        But I ran into issues across various versions of Windows.
        
        Thanks to Nicolas Alvarez for pointing out the API.
    - scrsave: Some more screensaver clean-up.
    - lib: Fix an infinate loop problem in get_exit_status,
        luckly BOINC wasn't using it.
        
    clientscr/
        screensaver.cpp
    lib/
        util.C
    win_build/installerv2/redist/Windows/src/boinccas/
        CAValidateRebootRequest.cpp

svn path=/trunk/boinc/; revision=15945
2008-08-29 19:06:04 +00:00
David Anderson ca00559575 - client (Unix): don't assume that LD_LIBRARY_PATH is defined
svn path=/trunk/boinc/; revision=15944
2008-08-28 18:41:18 +00:00
David Anderson 63b49cd290 - client: get BOINCView to work again;
allow one auth failure before closing connection.

svn path=/trunk/boinc/; revision=15942
2008-08-26 20:49:54 +00:00
Rom Walton fa9f71143f - SEA: Grab the libcudart.so from a directory based on the detected
platform, so we can support multiple posix compatible platforms.

    coprocs/CUDA/posix/i686-pc-linux-gnu
        libcudart.so
    coprocs/CUDA/posix/i686-pc-linux-gnu
        libcudart.so
    lib/
        coproc.C
        libcudart32.so
        libcudart64.so
    sea/
        Makefile.am

svn path=/trunk/boinc/; revision=15941
2008-08-26 19:21:46 +00:00
Rom Walton ec7555a3be - win_build: Finally figured out what the problem was with how I
was previously configuring pre-compiled headers.  Visual Studio
        automaticaaly specifies the stdafx.cpp as the source file that
        is supposed to create the pre-compiled header for auto generated
        project files.  The project is just configured to use a pre-compiled
        header.  All I had done in the past was enable pre-compiled
        headers, but didn't create a stub cpp file to create the pre-compiled
        header with.  Now all the client projects are configured to use
        pre-compiled headers.  BOINC now compiles in 20 seconds. BOINC Manager
        in a minute. Everything else builds in 5 seconds or less.
        
        After sync'ing up Rebuild the solution.
        
    lib/
        boinc_win.cpp
    win_build/
        boinc.sln
        boinc_cli_curl.vcproj
        boinc_dll.vcproj
        boinc_ss.vcproj
        boinccmd.vcproj
        boincmgr_curl.vcproj
        boinctray.vcproj
        libboinc.vcproj
        libboinc_staticcrt.vcproj
        libboincapi_staticcrt.vcproj
        libgraphics2.vcproj
        multi_thread.vcproj
        sim.vcproj
        sleeper.vcproj
        uc2.vcproj
        uc2_graphics.vcproj
        updater.vcproj
        worker.vcproj
        wrapper.vcproj

svn path=/trunk/boinc/; revision=15929
2008-08-24 04:43:18 +00:00
Rom Walton ec7687af45 - Tag for 6.3.10 release, all platforms
boinc_core_release_6_3_10

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=15927
2008-08-23 18:08:44 +00:00
Rom Walton 481e45a50a - client: Both Windows x86 and Windows x64 CUDA Runtime libraries
should be 2.0.  This avoids crashes related to data structure
        changes in the Runtime.
        
    coprocs/CUDA/mswin/Win32/Debug/bin/
        cudart.dll
    coprocs/CUDA/mswin/Win32/Release/bin/
        cudart.dll
    coprocs/CUDA/mswin/Win32/ReleaseSigned/bin/
        cudart.dll
    coprocs/CUDA/mswin/x64/Debug/bin/
        cudart.dll
    coprocs/CUDA/mswin/x64/Release/bin/
        cudart.dll
    coprocs/CUDA/mswin/x64/ReleaseSigned/bin/
        cudart.dll
    lib/
        coproc.C, .h

svn path=/trunk/boinc/; revision=15925
2008-08-22 22:15:08 +00:00
David Anderson fcacfbccf2 svn path=/trunk/boinc/; revision=15923 2008-08-22 04:51:27 +00:00
David Anderson c7695c1812 - client: in GUI RPC, allow <auth1> and <auth2> if the peer
is already authenticated.
        This is needed to make BOINCView work;
        it authenticates before every operation for some reason.

svn path=/trunk/boinc/; revision=15920
2008-08-21 21:49:05 +00:00
David Anderson 1013cf02c5 - validator: add a global variable WORKUNIT* g_wup;
that points to the workunit being processed;
    you can use this in your init_result(), compare_result() etc.
    if you need it.

svn path=/trunk/boinc/; revision=15919
2008-08-21 20:58:32 +00:00
Rom Walton 6db70de2d8 - Tag for 6.3.9 release, all platforms
boinc_core_release_6_3_9

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=15917
2008-08-21 17:34:04 +00:00
Rom Walton 7ef56029e7 - WINSETUP: For safety sake, disable the logon via terminal services
user right for both boinc_master and boinc_project.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp

svn path=/trunk/boinc/; revision=15916
2008-08-21 16:42:40 +00:00
David Anderson 604e3eb4a3 - client: if the host has two CUDA GPUs,
they were being recorded as two COPROC structures of type CUDA.
    Unfortunately, the logic doesn't handle this correctly;
    it expects there to be a single structure with count==2.
    Change things to do this.

    Unfortunately this means that if the two GPUs are different,
    that difference will get lost.
    This is a design flaw, and would take some work to fix.

svn path=/trunk/boinc/; revision=15915
2008-08-21 03:30:01 +00:00
Charlie Fenton 85b0ec64cc lib: remove unused variable char cmd_esc[1024]
svn path=/trunk/boinc/; revision=15913
2008-08-20 22:19:54 +00:00
David Anderson dded9ec2e5 - make_project: fix --test_app
- fix formatting (no long indents)

svn path=/trunk/boinc/; revision=15911
2008-08-20 22:09:51 +00:00
Rom Walton bba5980102 - web: fix a parsing error in sample_index.php which would
cause new projects to report an error when they first
        attempt to start up.
    - tools: Add the missing x86_64-apple-darwin platform type
        used for 64-bit Mac OS X applications.  I used the
        description from the alpha project.
    - MGR: delete obselete make files.
    

    clientgui/
        Makefile.linux.fedora
        Makefile.linux.suse
        Makefile.linux.ubuntu
    html/user/
        sample_index.php
    tools/
        project.xml

svn path=/trunk/boinc/; revision=15906
2008-08-20 18:32:32 +00:00
David Anderson 6d61da36a6 - fix compile warnings and Manager error
svn path=/trunk/boinc/; revision=15905
2008-08-20 18:24:08 +00:00
David Anderson 87cf35f89b - client: fix CPU scheduling logic related to coprocessors
Old: when checking whether an app can be run,
        check for sufficient coprocessors relative to
        the current coprocessor usage.
        Bug: it there are 2 CUDA jobs,
        the scheduler will decide to run both.
        enforce_scheduler() will only be able to run one,
        and the other CPU will be idle.
    New: include coprocessor usage (along with RAM and CPUs)
        in the check, and do a simulated reservation.
        In the above scenario, the scheduler will select
        one CUDA app and one non-CUDA app.

svn path=/trunk/boinc/; revision=15904
2008-08-20 17:34:18 +00:00
David Anderson a5f80bc2e6 - lib: fix typo
svn path=/trunk/boinc/; revision=15903
2008-08-20 16:49:37 +00:00
Charlie Fenton 7f039209b7 Update checkin_notes
svn path=/trunk/boinc/; revision=15902
2008-08-20 16:07:57 +00:00
Charlie Fenton f3146210d7 MGR: async GUI RPCs: Create SafeMessageBox function to suspend periodic RPCs during modal dialogs
svn path=/trunk/boinc/; revision=15901
2008-08-20 16:07:06 +00:00
Charlie Fenton 59f061ad39 Mac Samples: adjust XCode project for new SVN tree layout
svn path=/trunk/boinc/; revision=15898
2008-08-20 00:00:31 +00:00
Charlie Fenton 95bec9c936 Mac lib: set visibility of symbols to hidden by default
svn path=/trunk/boinc/; revision=15896
2008-08-19 23:43:32 +00:00
Charlie Fenton c2c5d04c31 lib: changed boinc_copy() to enclose path strings in quotes instead of escaping spaces
svn path=/trunk/boinc/; revision=15894
2008-08-19 22:36:14 +00:00
David Anderson 91f8666309 - lib: added string_substitute() function
- lib: changed boinc_copy() to replace " " with "\ " in its args
    (to allow pathnames containing spaces).
    From Tolu Aina

svn path=/trunk/boinc/; revision=15891
2008-08-19 19:46:18 +00:00
Charlie Fenton 9af4275e0e MGR: async GUI RPCs: Bug fix.
svn path=/trunk/boinc/; revision=15890
2008-08-19 10:35:12 +00:00
David Anderson 53ccd10f13 - scheduler: add <debug_resend> config option to enable messages
about job resending

svn path=/trunk/boinc/; revision=15889
2008-08-19 03:00:17 +00:00
Charlie Fenton 39263d4fe3 MGR: async GUI RPCs: Fix show_graphics RPC.
svn path=/trunk/boinc/; revision=15888
2008-08-19 01:35:46 +00:00
Eric J. Korpela a782d6bc83 Fixed potential memory leak and other minor problems with APP_INIT_DATA
structure.

svn path=/trunk/boinc/; revision=15886
2008-08-19 00:08:01 +00:00
Charlie Fenton 440ae7d73d Additional screensaver bug fix
svn path=/trunk/boinc/; revision=15877
2008-08-18 22:09:22 +00:00
Rom Walton ed8000459d - SCR: Fix my checkin that causes the CPU util to spike on Macs and
possibly Windows.
        
    clientscr/
        screensaver.cpp

svn path=/trunk/boinc/; revision=15874
2008-08-18 19:14:28 +00:00
Rom Walton 9254672696 - client: Update the Windows version detection code to account for
Windows 7 and Windows Server 2008 "R2".
        
    client/
        hostinfo_win.C

svn path=/trunk/boinc/; revision=15873
2008-08-18 18:47:07 +00:00
Bruce Allen 2aca840e83 User web pages, scheduler logs: link was missing because of incorrect path
svn path=/trunk/boinc/; revision=15872
2008-08-18 11:51:15 +00:00
Rom Walton d666a7fa07 - WINSCR: Comment updates from Nicolas Alvarez
clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=15871
2008-08-17 17:27:24 +00:00
David Anderson 9f6c4a133e - client: don't leak handles to shared-mem files
- client: don't leak process handles when abort jobs
- client: if an app exits or we kill it, always destroy the shmem segment.
- web: more HTML 4.01 Transitional conformity changes

svn path=/trunk/boinc/; revision=15865
2008-08-16 20:59:53 +00:00
Rom Walton aa10bcb37a - WINBUILD: Remove 'Samples - Debug' and 'Samples - Release'
build configurations.
        
    win_build/
        BOINC.sln

svn path=/trunk/boinc/; revision=15859
2008-08-15 19:10:25 +00:00
David Anderson 5b9e089cd8 - web: fix bugs in translation system
(language_select.php wasn't working)
- tr.po had some syntax error, and was way out of date.
    replaced it with en.po

svn path=/trunk/boinc/; revision=15858
2008-08-15 17:33:32 +00:00
Rom Walton aad8e29d22 - WINSETUP: For some reason BOINCTray.exe was only being installed
when the 'Protected Applcation Mode' was selected. I don't
        remember why we did this, so install it on all scenarios.
        
    win_build/installerv2/
        BOINC.ism
        BOINCx64.sm

svn path=/trunk/boinc/; revision=15856
2008-08-15 16:53:30 +00:00
David Anderson afbfeaa637 - web: start working towards the goal of passing the
"HTML 4.01 Transitional" test.
    The BOINC home page, project home page, and forum index now pass.
- web: .po files need to have CHARSET, LANG_NAME_NATIVE,
    and LANG_NAME_INTERNATIONAL

svn path=/trunk/boinc/; revision=15855
2008-08-15 16:26:55 +00:00
Charlie Fenton 8f6ad78e53 MGR: async GUI RPCs: Merge GUI RPC code from private workspace into trunk; eliminate Grid views.
svn path=/trunk/boinc/; revision=15852
2008-08-15 07:36:44 +00:00
Charlie Fenton 1cf4b28528 MGR: async GUI RPCs: Merge GUI RPC code from private workspace into trunk. Eliminate Grid views.
svn path=/trunk/boinc/; revision=15850
2008-08-15 07:13:00 +00:00
Rom Walton 4aa95488a7 - WIN: remove accelerators from the HOST_INFO class. It doesn't appear
to be used by anybody, and was only meant as a stop-gap until
        we had some formal way to deal with co-processors.
        
    client/
        hostinfo_win.C
    lib/
        hostinfo.C, .h

svn path=/trunk/boinc/; revision=15849
2008-08-15 04:59:09 +00:00
Charlie Fenton 99de98c8be MGR: async GUI RPCs: Code cleanup
svn path=/workspaces/charlief/; revision=15848
2008-08-15 02:27:30 +00:00
David Anderson 6869242f75 - scheduler: fixed bug that caused spurious messages
saying "no work was available for the apps you requested"
    with locality scheduling (i.e. Einstein@home)
    even if the user hasn't select apps.

    Note: the logic for printing these messages won't work
    for matchmaker scheduling.

svn path=/trunk/boinc/; revision=15847
2008-08-14 22:06:51 +00:00
Rom Walton 8b5adc903a - WINSCR: Certain checks should be done regularly like keyboard/mouse
activity and the notification window check. They should not depend
        on whether or not the graphics window has been displayed or not.
        
    clientscr/
        screensaver.cpp
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=15840
2008-08-14 19:09:01 +00:00
Rom Walton aa65e8546d - WIN: Finish up the fixes to the project files. Everything should
build, and all output files should end up in the win_build/build
        directory.
        
    win_build/
        boinc.sln
        *.vcproj

svn path=/trunk/boinc/; revision=15837
2008-08-14 16:59:33 +00:00
David Anderson c69186ef74 - remove "doc_file" field; use short_name.inc
- fix tabl_exists()
- fix bugs when return to answer page
- create bolt_result records correctly

svn path=/trunk/boinc/; revision=15836
2008-08-14 15:46:30 +00:00
Rom Walton d1fda159e4 - WIN: Update OS Detection code.
NOTE: Holy cow, Between Vista and Server 2008 there are now
          26 different SKUs.
          
    client/
        hostinfo_win.C

svn path=/trunk/boinc/; revision=15834
2008-08-14 13:39:09 +00:00
Charlie Fenton 4fd82e6052 GR: async GUI RPCs: Destroy RPC Wait Dialog after calling EndModal to fix memory leak which prevented exit from Manager
svn path=/workspaces/charlief/; revision=15833
2008-08-14 11:24:02 +00:00
Rom Walton 106b5f1c92 - WIN: Remove any remaining references to Seed and CPDNBBC.
client/win/
        boinc_cli.rc
        boinc_cmd.rc
    clientgui/
        BOINCGUIApp.rc
    clientgui/res/
        seed16.xpm
        seed32.xpm
        seedamwizard.xpm
        seedapwizard.xpm
    clientlib/win/
        boinc_dll.rc
    clientscr/
        boinc_ss.rc
    clientscr/res/
        seed.bmp

svn path=/trunk/boinc/; revision=15832
2008-08-14 03:08:15 +00:00