Commit Graph

12470 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
David Anderson 5322312588 - specify UTF-8 in en.po
svn path=/trunk/boinc/; revision=15938
2008-08-25 15:24:35 +00:00
Rom Walton a031492c36 Quick Updates
svn path=/trunk/boinc/; revision=15937
2008-08-24 16:30:06 +00:00
Rom Walton 846087cba9 Quick Updates
svn path=/trunk/boinc/; revision=15936
2008-08-24 16:29:15 +00:00
Rom Walton 1cab3cf260 Quick Updates
svn path=/trunk/boinc/; revision=15935
2008-08-24 16:22:56 +00:00
Rom Walton d8d524428b Quick Updates
svn path=/trunk/boinc/; revision=15934
2008-08-24 16:20:52 +00:00
Rom Walton d5f19d9515 Quick Updates
svn path=/trunk/boinc/; revision=15933
2008-08-24 16:19:28 +00:00
Rom Walton 32694a5e9f Quick Updates
svn path=/trunk/boinc/; revision=15932
2008-08-24 16:11:29 +00:00
Rom Walton ffa91c17aa Quick Updates
svn path=/trunk/boinc/; revision=15931
2008-08-24 16:04:35 +00:00
Rom Walton 24205e849b Quick Updates
svn path=/trunk/boinc/; revision=15930
2008-08-24 16:02:26 +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 125bec95c2 Quick Updates
svn path=/trunk/boinc/; revision=15926
2008-08-22 22:23:35 +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 0de5ee8714 svn path=/trunk/boinc/; revision=15922 2008-08-22 04:50:30 +00:00
David Anderson 1d99bfec2b svn path=/trunk/boinc/; revision=15921 2008-08-21 23:24:11 +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 5b12a763f7 Mac boinccmd: set visibility of symbols to hidden by default
svn path=/trunk/boinc/; revision=15914
2008-08-20 22:44:29 +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
David Anderson 17027872d6 svn path=/trunk/boinc/; revision=15910 2008-08-20 22:04:46 +00:00
Rom Walton 4cefc19ebd Quick Updates
svn path=/trunk/boinc/; revision=15908
2008-08-20 19:05:37 +00:00
Rom Walton faac7dd2f7 Quick Updates
svn path=/trunk/boinc/; revision=15907
2008-08-20 19:03:02 +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 ca82c70e07 Mac Samples: adjust XCode project for new SVN tree layout
svn path=/trunk/boinc/; revision=15900
2008-08-20 16:01:18 +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 00ee66965f svn path=/trunk/boinc/; revision=15893 2008-08-19 22:20:02 +00:00
David Anderson 56db46b0ef - typo in sample_index.php
svn path=/trunk/boinc/; revision=15892
2008-08-19 21:33:21 +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
Charlie Fenton 0e5a500dd2 Release Mac BOINC 6.2.18
svn path=/trunk/boinc/; revision=15887
2008-08-19 01:01:19 +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 17cd1c5f19 screensaver.cpp: add comments and indentation fixes
svn path=/trunk/boinc/; revision=15885
2008-08-18 23:39:50 +00:00