Commit Graph

91 Commits

Author SHA1 Message Date
Rom Walton 24e46aebe2 WIN: Reintroduce the application manifest for the core client. If BOINC was launched from an unprivileged (non-admin/not part of boinc_users/boinc_admin) attempts to write state files were re-directed to the VirtualStore instead of failing. Once things were fixed other random issues would occur. 2013-05-13 10:48:48 -04:00
Rom Walton 516eff60b0 - client: Hook up the XML portion of the Intel GPU detection code so
the server scheduler knows about it.
    - client: Print out the peak flops for the Intel GPU, the regular
        OpenCL descriptions do not show peak flops.
2013-03-04 15:30:03 +01:00
David Anderson 5383f13bf0 - client: add the above to VS project 2013-03-04 15:20:32 +01:00
David Anderson 5cf6321b67 - win compile fixes
svn path=/trunk/boinc/; revision=25774
2012-06-18 20:49:26 +00:00
David Anderson 8ec49c28fc svn path=/trunk/boinc/; revision=25635 2012-05-02 12:05:09 +00:00
Rom Walton 5fd660bd22 - client: add async file copy stuff to Windows project file.
client/
        async_file.cpp
    win_build/
        boinc_cli.vcproj

svn path=/trunk/boinc/; revision=25193
2012-02-03 19:00:28 +00:00
David Anderson 5cbcd9a137 - client: more work on replicated trickles. Not working yet.
svn path=/trunk/boinc/; revision=24263
2011-09-22 17:30:57 +00:00
David Anderson c544a81742 - Win fixes
svn path=/trunk/boinc/; revision=24233
2011-09-18 21:28:31 +00:00
David Anderson 4778836022 - Win compile fixes
svn path=/trunk/boinc/; revision=24122
2011-09-02 18:47:15 +00:00
Rom Walton 897f7abb9d Quick Updates
svn path=/trunk/boinc/; revision=24116
2011-09-02 17:06:29 +00:00
Charlie Fenton 34ff45d8bc svn path=/trunk/boinc/; revision=23307 2011-04-01 03:56:29 +00:00
David Anderson 3b906a191c - client: generalize the GPU framework so that
- new GPU types can be added easily
		- users can specify GPUs in cc_config.xml,
			referred to by app_info.xml,
			and they will be scheduled by BOINC
			and passed --device N options
			Note: the parsing of cc_config.xml is not done yet.
		- RPC protocols (account manager and scheduler)
			can now specify GPU types in separate elements
			rather than embedding them in tag names
			e.g. <no_rsc>NVIDIA</no_rsc> rather than <no_cuda/>
	- client: in account manager replies, parse elements of the form
		<no_rsc>NAME</no_rsc>
		indicating the GPUs of type NAME should not be used.
		This allows account managers to control GPU types
		not hardwired into the client.
		Note: <no_cuda/> and <no_ati/> will continue to be supported.
	- scheduler RPC reply: add
		<no_rsc_apps>NAME</no_rsc_apps>
		(NAME = GPU name)
		to indicate that the project has no jobs for the indicated GPU type.
		<no_cuda_apps> etc. are still supported 
	- client/lib: remove set_debts() GUI RPC
	- client/scheduler RPC
		remove <cuda_backoff> etc. (superceded by no_app)
		Exception: <ip_result> elements in sched request
		still have <ncudas> and <natis>.
		Fix this later.

	Implementation notes:
	- client/lib: change "CUDA" to "NVIDIA" in type/variable names, and in XML
		Continue to recognize "CUDA" for compatibility
	- host_info.coprocs no longer used within the client;
		use a global var (COPROCS coprocs) instead.
		COPROCS now has an array of COPROCs;
		GPUs types are identified by the array index.
		Index zero means CPU.
	- a bunch of other resource-specific structs (like RSC_WORK_FETCH)
		are now stored in arrays, with same indices as COPROCS
		(i.e. index 0 is CPU)
	- COPROCS still has COPROC_NVIDIA and COPROC_ATI structs to hold vendor-specific info
	- APP_VERSION now has a struct GPU_USAGE to describe its GPU usage

svn path=/trunk/boinc/; revision=23253
2011-03-25 03:44:09 +00:00
David Anderson 193a09cafd - client: win compile fix
svn path=/trunk/boinc/; revision=23104
2011-02-24 22:25:32 +00:00
David Anderson 9f962b3311 - Win build fix
svn path=/trunk/boinc/; revision=22551
2010-10-18 20:54:33 +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 18a35fd651 - WINBUILD: Properly handle detection of Visual Studio when
somebody has all of them installed (2005/2008/2010).

    win_build/
        boinc_cli.vcproj
        boincmgr.vcproj
        buildenv.cmd

svn path=/trunk/boinc/; revision=21636
2010-05-26 15:46:49 +00:00
Rom Walton 4a23a1beaa Possible fix to build script?
svn path=/trunk/boinc/; revision=20864
2010-03-12 00:57:11 +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
Rom Walton a5bbf07ccc - client: Add a function to the client software to be able to detect
the number of bytes sent and received across all non-loopback
        interfaces.
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=20704
2010-02-23 05:13:54 +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
David Anderson 5ff3c7e4c9 svn path=/trunk/boinc/; revision=19796 2009-12-07 00:53:32 +00:00
David Anderson a13800e285 win compile fixes
svn path=/trunk/boinc/; revision=19786
2009-12-05 01:02:46 +00:00
Rom Walton 1bf29888de - WINBUILD: Introduce the beginning of an automated build system for
Windows.  The goal is to completely automate the build process
        by creating a self contained environment for the scripts to
        execute under.  When completed it'll be able to do the following:
          * Increment version information
          * Build client software using installed version of VS.
          * Validate symbol files for specific components.
          * Add source file information to symbol files. (This will allow
              VS to automatically download the source file from SVN while
              single-stepping through the code on a clean machine)
          * Code sign executables
          * Build installer
          * Code sign installer
          * Upload updated symbol files and and setup packages
          
        When building interactively:
          * Automatically update the DLLs BOINC and BOINCMgr depend on
              when they have been updated in the source tree.
          * Fix-up BOINC project files when new branches are created
          * Fix-up project files for components BOINC depends on when
              new versions are released.
    
    /
        version.log (added)      
    win_build/
        buildenv.cmd (added)
        boinc_post_bld_rules.cmd
        boinc_cli.vcproj
        boincmgr.vcproj
    ../boinc_depends_win_vs2005
        <Various Files>

svn path=/trunk/boinc/; revision=19672
2009-11-23 16:40:07 +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
Rom Walton 9e3bf259c8 Quick Updates
svn path=/trunk/boinc/; revision=18800
2009-08-02 03:51:45 +00:00
Rom Walton 692c65eca2 Quick Updates
svn path=/trunk/boinc/; revision=18799
2009-08-02 03:37:18 +00:00
Rom Walton fec945221e - client: Initial swipe at automatic proxy server configuration
detection on Windows.  Fixes #35
        
    client/
        cs_cmdline.cpp
        http_curl.cpp
        http_curl.h
    lib/
        boinc_win.h
        proxy_info.cpp
        proxy_info.h
        util.cpp
        win_util.h

svn path=/trunk/boinc/; revision=18772
2009-07-29 23:50:00 +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 6e7136e11f *** empty log message ***
svn path=/trunk/boinc/; revision=7566
2005-08-29 23:31:25 +00:00
David Anderson 3ad888e260 new account setup support
svn path=/trunk/boinc/; revision=7194
2005-08-05 22:00:19 +00:00
David Anderson ded613f084 GUI HTTP class
svn path=/trunk/boinc/; revision=7192
2005-08-05 18:41:46 +00:00
Rom Walton ec36d83f8c *** empty log message ***
svn path=/trunk/boinc/; revision=6890
2005-08-02 01:28:29 +00:00
David Anderson 975e70f250 split GUI RPC code
svn path=/trunk/boinc/; revision=6881
2005-07-31 23:33:12 +00:00
Rom Walton c20b00868c *** empty log message ***
svn path=/trunk/boinc/; revision=6667
2005-07-18 06:37:51 +00:00
Rom Walton b36aafd00c *** empty log message ***
svn path=/trunk/boinc/; revision=6588
2005-07-09 05:23:40 +00:00
Rom Walton d63e2eb038 *** empty log message ***
svn path=/trunk/boinc/; revision=6568
2005-07-07 22:26:49 +00:00
David Anderson 47d8852006 *** empty log message ***
svn path=/trunk/boinc/; revision=6536
2005-07-06 12:06:03 +00:00
David Anderson 06da0a6709 *** empty log message ***
svn path=/trunk/boinc/; revision=6519
2005-07-05 08:58:49 +00:00
David Anderson b8e12020e9 *** empty log message ***
svn path=/trunk/boinc/; revision=5942
2005-04-27 06:55:28 +00:00
Rom Walton a9fdced8b0 *** empty log message ***
svn path=/trunk/boinc/; revision=5781
2005-04-05 20:02:59 +00:00
Rom Walton 5652e37bec *** empty log message ***
svn path=/trunk/boinc/; revision=5746
2005-03-30 22:01:23 +00:00
David Anderson da9f04ebe0 *** empty log message ***
svn path=/trunk/boinc/; revision=5734
2005-03-29 23:56:50 +00:00
David Anderson f6f07b81c6 *** empty log message ***
svn path=/trunk/boinc/; revision=5573
2005-03-07 06:09:04 +00:00
David Anderson daa7c4559d *** empty log message ***
svn path=/trunk/boinc/; revision=5335
2005-02-06 21:26:21 +00:00
Rom Walton c57c6a3612 *** empty log message ***
svn path=/trunk/boinc/; revision=5263
2005-02-01 06:16:13 +00:00
Rom Walton 1c2350d39f *** empty log message ***
svn path=/trunk/boinc/; revision=4783
2004-12-07 23:04:12 +00:00
Rom Walton b10550eec7 *** empty log message ***
svn path=/trunk/boinc/; revision=4539
2004-11-13 04:39:48 +00:00