Commit Graph

51 Commits

Author SHA1 Message Date
Charlie Fenton ef36e045ba Win: add missing procinfo.cpp to Windows libboinc project
svn path=/trunk/boinc/; revision=23512
2011-05-07 09:22:35 +00:00
David Anderson 70af0b3bf0 - Win compile fix
svn path=/trunk/boinc/; revision=23433
2011-04-25 03:22:32 +00:00
David Anderson bddd0d45db Win compile fixes
svn path=/trunk/boinc/; revision=23370
2011-04-14 22:48:04 +00:00
Charlie Fenton 34ff45d8bc svn path=/trunk/boinc/; revision=23307 2011-04-01 03:56:29 +00:00
David Anderson 0856304497 win compile fixes
svn path=/trunk/boinc/; revision=23089
2011-02-23 00:41:34 +00:00
Rom Walton b3b8dbdd90 - WINBUILD: Fix project files so that there isn't any C Runtime Library
collisions between types.
    - WINBUILD: Remove old cruft.

    win_build/
        *.sln
        *.vcproj

svn path=/trunk/boinc/; revision=21939
2010-07-14 19:31:35 +00:00
Rom Walton 716db1a13f - WIN: Treat Windows SEH exceptions as C++ exceptions so they can be trapped
using the standard try/catch handlers.
    - WIN: Wrap the coproc detection stuff in C++ exception handlers. If for some
        reason the Nvidia or ATI APIs cause an exception don't use the GPUs and
        don't crash BOINC.
    - WIN: rename boinc_ss to boinc_os_ss and ss_app to boinc_ss.
        
    client/
        coproc_detect.cpp
    win_build/
        *.vcproj

svn path=/trunk/boinc/; revision=21849
2010-06-30 19:17:52 +00:00
Rom Walton 9961002b4c - Define HAVE_ALLOCA in boinc_win.h so that any component using
strcasestr in str_util.cpp uses stack allocations instead of
      more expensive heap allocations.
    - Move remaining HAVE_* defines from project files to boinc_win.h

    lib/
        boinc_win.h
    win_build/
        *.vcproc

svn path=/trunk/boinc/; revision=20928
2010-03-16 18:53:55 +00:00
David Anderson 3494f5bd0c svn path=/trunk/boinc/; revision=20911 2010-03-16 00:07:58 +00:00
Rom Walton 9f091ff005 Disable compiler specific warnings (4127;4702;4244)
svn path=/trunk/boinc/; revision=20820
2010-03-10 16:52:53 +00:00
David Anderson 20d6b06f5f - client: initial checkin for "don't compute if CPU usage above X"
svn path=/trunk/boinc/; revision=20192
2010-01-19 00:03:38 +00:00
Rom Walton 1ce0746f16 Re-enable warnings
svn path=/trunk/boinc/; revision=20076
2010-01-05 17:25:52 +00:00
David Anderson e162b88769 win compile fixes
svn path=/trunk/boinc/; revision=19975
2009-12-18 22:20:14 +00:00
Rom Walton 329303b323 - Remove need for boinc.dll from the client.
client/
        hostinfo_win.cpp
        main.cpp
    clientctrl/
        boincsvcctrl.cpp
    clientgui/
        BOINCClientManager.cpp
        BOINCGUIApp.cpp
        BOINCGUIApp.h
        stdwx.h
    clienttray/
        tray_win.cpp
        tray_win.h
    lib/
        boinc_win.h
        daemonmgt.cpp (Deleted)
        daemonmgt.h (Added)
        daemonmgt_win.cpp (Added)
        idlemon.h (Added)
        idlemon_win.cpp (Added)
        idlemon_win.h (Deleted)
    win_build/
        boinc.sln
        boinc_dll.vcproj
        boincmgr.vcproj
        boincsvcctrl.vcproj
        boinctray.vcproj
        libboinc.vcproj

svn path=/trunk/boinc/; revision=19576
2009-11-13 21:23:15 +00:00
Rom Walton 9f3283cf7c - Backout previous change. The problem doesn't yet manifest
itself on Windows and the change has too many implications.
        
    lib/
        boinc_in.h
        coproc.cpp
    win_build/
        *.vcproj

svn path=/trunk/boinc/; revision=19542
2009-11-11 20:51:03 +00:00
Rom Walton c73ea50c1b - On Windows treat all SEH exceptions as C++ style exceptions.
NOTE: I'll need to do a little more research and adjust the
          diagnostics stuff later.  I believe that the diagnostics
          framework will now always report an unhandled C++ exception
          for things like an Access Violation.
    - client: On Windows, recover from an Access Violation if/when 
        the GPU functions access violate.
        
    lib/
        boinc_in.h
        coproc.cpp
    win_build/
        *.vcproj

svn path=/trunk/boinc/; revision=19541
2009-11-11 20:33:12 +00:00
David Anderson 0e282a4aa6 Win compile fixes
svn path=/trunk/boinc/; revision=19481
2009-11-05 18:11:20 +00:00
Rom Walton 7cabb2ac70 svn path=/trunk/boinc/; revision=18970 2009-09-01 15:35:02 +00:00
David Anderson 563a55f37e - client/libs/samples: remove "#define read _read" etc. from boinc_win.h
These cause problems when "read" is a member name, etc.
		Do these #defines, conditioned on _MSC_VER,
		in the files that actually need them.
	- don't include boinc_win.h from parse.h.
		principle of minimal inclusion

svn path=/trunk/boinc/; revision=18902
2009-08-22 17:00:19 +00:00
David Anderson 602ad0b5b7 - client: ATI GPU detection code (from Crunch3r)
svn path=/trunk/boinc/; revision=18846
2009-08-14 22:54:34 +00:00
Rom Walton 31d3e63816 - WINBUILD: Cleanup the Unicode configurations
- WINBUILD: Make building Unicode version of BOINC Manager the
        default.
        
    win_build
        boinc_cli.vcproj
        boinc_dll.vcproj
        boinc_ss.vcproj
        boinccmd.vcproj
        boincmgr.vcproj
        boincsvcctrl.vcproj
        boinctray.vcproj
        libboinc.vcproj
        libboinc_staticcrt.vcproj
        sim.vcproj
        ss_app.vcproj
        updater.vcproj

svn path=/trunk/boinc/; revision=18058
2009-05-08 21:03:24 +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
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
Rom Walton 5c1bafdf3c fixes #851
svn path=/trunk/boinc/; revision=17372
2009-02-25 15:37:26 +00:00
Charlie Fenton f0d4cff76b lib: Fix build break on Windows
svn path=/trunk/boinc/; revision=17324
2009-02-20 12:31:24 +00:00
David Anderson 4d1544e579 - client: detect NVIDIA driver version number, show it on startup,
and include it with CUDA coprocessor descriptor in request msgs

svn path=/trunk/boinc/; revision=17275
2009-02-16 23:03:03 +00:00
David Anderson 5141a6eabe David 5 Nov 2008
- client: make host CPID a function of:
        MAC addresses + hostname + IP addr
        This means that a given host will generally always get the same CPID.
        Helpful e.g. on grids where the client gets installed repeatedly.
        From Artyom Sharov.

    client/
        hostinfo_network.cpp
    lib/
        hostinfo.cpp
        mac_address.cpp,h
    win_build/
        boinc_cli_curl.vcproj
        libboinc.vcproj

svn path=/trunk/boinc/; revision=16432
2008-11-05 20:11:45 +00:00
David Anderson 62683e4bdc - update .vcproj files accordingly
svn path=/trunk/boinc/; revision=16070
2008-09-26 18:30:19 +00:00
David Anderson 4bf97d0e3f - compile fixes for Win
svn path=/trunk/boinc/; revision=15960
2008-09-04 13:18:51 +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 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
Rom Walton 4a6fd43a5c - WIN: Remove Visual Studio 2003 solution and project files
- WIN: Fix build files so all build configurations work again
    - WIN: Create the 'Samples - Debug' and 'Samples - Release'
        configurations to build sample files.  Leave the previous
        configurations to build just the client software.
    - WIN: Remove Seed project files
        
    client/win/
        boinc.exe.manifest
        boinc_cli_2003.rc
        boinc_cmd_2003.rc
        boinccmd.exe.manifest
    clientgui/
        BOINCGUIApp_2003.rc
        boincmgr.exe.manifest
    clientlib/win/
        boinc.dll.manifest
        boinc_dll_2003.rc
    clientscr/
        boinc.scr.manifest
        boinc_ss_2003.rc
    samples/win_build/
        samples_2003.sln
    win_build/
        boinc.sln
        boinc_2003.sln
        seed.sln
        <Various .vcproj files>

svn path=/trunk/boinc/; revision=15831
2008-08-14 02:58:05 +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 b163be097f - client: win compile fixes
svn path=/trunk/boinc/; revision=14877
2008-03-10 20:54:08 +00:00
Rom Walton bda057588a - WINSETUP: disable creation of client_auth.xml on Win2k.
Win2k requires any user account that is going to attempt
        to logon as another account to have admin privs.
    - WINSETUP: Give 'boinc_project' the right to be able to
        logon as a service, we denied the right to logon
        interactively.
    - WINSETUP: Disable the 'failed to shutdown BOINC service'
        dialog box.
    - CC: Use the client_auth.xml file if present to launch
        boinc applications as boinc_project if it exists.
    - LIB: Use the client_auth.xml file if present to launch
        boinc graphics applications as boinc_project if it
        exists.
        
    client/
        app_start.C
    lib/
        diagnostics_win.C
    lib/
        util.C, .h
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCGroups.cpp
        CACreateClientAuthFile.cpp
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp
        CAShutdownBOINC.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll
    win_build/
        boinc_ss.vcproj
        boincmgr_curl.vcproj
        libboinc.vcproj

svn path=/trunk/boinc/; revision=14659
2008-02-01 22:08:48 +00:00
Rom Walton 8be1434696 Rom 24 Apr 2007
- fixes #122 - Windows benhcmark differences between VS 2003 and 
        VS 2005.
      
      The default FP model has changed since 2003, so change how the
        BOINC components are compiled so that they use /fp:fast instead
        of /fp:precise.
    
    win_build/
        *.vcproj

svn path=/trunk/boinc/; revision=12465
2007-04-24 20:04:17 +00:00
Rom Walton e51745fd18 *** empty log message ***
svn path=/trunk/boinc/; revision=12364
2007-04-13 06:13:46 +00:00
David Anderson dceae0f13e *** empty log message ***
svn path=/trunk/boinc/; revision=12131
2007-02-21 17:06:11 +00:00
Rom Walton 7f23e9946d *** empty log message ***
svn path=/trunk/boinc/; revision=11974
2007-01-26 04:10:47 +00:00
David Anderson cda05f82b5 *** empty log message ***
svn path=/trunk/boinc/; revision=11681
2006-12-14 18:15:22 +00:00
Rom Walton db99a5f0e1 *** empty log message ***
svn path=/trunk/boinc/; revision=10995
2006-08-24 02:16:20 +00:00
David Anderson 95cf98aa2e *** empty log message ***
svn path=/trunk/boinc/; revision=10847
2006-08-07 00:58:12 +00:00
Rom Walton 4074c976e3 *** empty log message ***
svn path=/trunk/boinc/; revision=10716
2006-07-21 06:43:27 +00:00
Rom Walton a283edd0bb *** empty log message ***
svn path=/trunk/boinc/; revision=10539
2006-06-28 08:53:02 +00:00
David Anderson bfa58e67dd *** empty log message ***
svn path=/trunk/boinc/; revision=10152
2006-05-17 01:48:39 +00:00
Rom Walton 77e8a24fa7 *** empty log message ***
svn path=/trunk/boinc/; revision=10121
2006-05-10 17:56:34 +00:00
Rom Walton f74d8bd38a *** empty log message ***
svn path=/trunk/boinc/; revision=10072
2006-05-01 21:36:38 +00:00
Rom Walton 169de1ce86 *** empty log message ***
svn path=/trunk/boinc/; revision=9854
2006-04-12 08:37:08 +00:00
Rom Walton e9641321f8 *** empty log message ***
svn path=/trunk/boinc/; revision=8831
2005-11-09 01:51:36 +00:00
Rom Walton ec36d83f8c *** empty log message ***
svn path=/trunk/boinc/; revision=6890
2005-08-02 01:28:29 +00:00