Commit Graph

69 Commits

Author SHA1 Message Date
David Anderson 00cce532e9 client: Win build fix 2015-04-23 19:37:53 -07:00
Rom Walton f25f202239 client: More Windows SKU updates from Robert Kreß 2015-04-23 19:13:09 -04:00
Rom Walton 7d7e62752e client: Fix formatting issues 2015-04-15 12:48:17 -04:00
David Anderson 78f77ccb7c Client: Win 10 OS identification additions, from Robert Kreß 2015-04-14 21:27:22 -07:00
Rom Walton 1918a70e2e client: Check for the correct SKU as well. 2015-01-23 18:05:27 -05:00
Rom Walton 305ca891b4 client: Change Windows 10's kernel detection version to 10.0 instead of 6.4. 2015-01-23 17:20:00 -05:00
Rom Walton 3766eb7e63 Revert "client: fix build breaks."
This reverts commit 3d01d36a6e.
2014-12-17 14:49:23 -05:00
Rom Walton 3d01d36a6e client: fix build breaks. 2014-12-17 14:46:18 -05:00
Rom Walton b507c1da31 client: bug fix 2014-11-25 18:49:26 -05:00
David Anderson 29630fc5ac client: fix bug in last commit 2014-11-25 15:34:44 -08:00
Rom Walton 051013193d client: Detect Windows 10 2014-10-28 09:49:20 -04:00
David Anderson f8538c29b3 client: add <dont_use_vbox> cc_config option 2014-09-25 01:28:19 -07:00
Eric J Korpela 68a94ab455 Added __xgetbv() checks to configure.ac
Fixed Visual Studio type mismatch in hostinfo_win.cpp
2014-06-20 09:39:24 -07:00
Eric J Korpela ce37b73fc4 Fixed avx detection on GCC windows compiles
More windows library detection added to configure.ac
Additional cross compile fixes for libboinc and client.
2014-06-20 07:48:31 -07:00
U-X1\korpela 0a1e094a18 Fixed variable name mismatch with gcc code. 2014-05-01 10:42:46 -07:00
Rom Walton 44463ddba8 client: Remove a GetProcAddress() call. Call GetNativeSystemInfo() directly. 2014-04-03 02:16:23 -04:00
Rom Walton 0659dee3f0 client: Remove unneeded defines (They are included in the VS 2010 Windows SDK). 2014-04-03 01:59:17 -04:00
Rom Walton 073d3a70f7 client: Fix the CPUID calls for structured extension feature flags, it was clobbering standard support flags on Windows. 2014-03-06 21:02:34 -05:00
David Anderson de9b77e51e web site translation changes 2013-11-28 00:22:54 -08:00
David Anderson 634613abcc client: generate host CPID as a function of MAC address
This makes the host CPID stable; if you repeatedly install BOINC
on a particular node, it will get the same host CPID each time,
and your host table won't get lots of redundant entries.
A host can have multiple NICs;
we use the MAC address of the first Ethernet controller we find,
or the last NIC if there is none.
Of course, this will create problems if we get the same MAC address
for different hosts; in principle this shouldn't happen.

Remove the unused file hostinfo_network.h
2013-11-18 20:31:14 -08:00
Rom Walton c532e1f454 client: misc bug fixes for CPU feature detection. 2013-09-09 12:19:18 -04:00
Rom Walton 74e12f6bcc client: Add missing code to properly detect AVX on Windows. It'll go into affect when we fully convert over to VS2010. 2013-09-09 11:54:42 -04:00
David Anderson e85a18289e client (win): fix typo in last commit 2013-07-30 10:47:54 -07:00
David Anderson 57afbc26ba client: improved CPU type and feature detection. From [P3D Crashtest] 2013-07-30 10:35:45 -07:00
Rom Walton 9b2d0f992f client: Add detection of the AVX instruction set for newer processors 2013-07-22 13:08:36 -04:00
David Anderson 1f2296b36c client: Win version name tweaks, from [P3D} Crashtest 2013-06-12 12:29:07 -07:00
David Anderson 846b8c7757 all components: change strcpy() to strlcpy() when possible.
This commit should cover the client and manager code.
2013-06-03 20:24:48 -07:00
David Anderson aadb36578b - Client: detect new Win versions and AMD GPUs; from [P3D] Crashtest 2013-04-03 00:19:01 -07:00
David Anderson 8e63d72f3d - client: updated Windows version identification, from Robert Kress 2013-03-22 10:28:20 +01:00
Rom Walton 86ceabbee2 client: Fix typo 2013-03-05 15:27:26 +01:00
Rom Walton 9ce39485b5 client: Basic detection of the battery state for a given host for Windows and Android. Useful for detecting if the battery is overheating. 2013-03-05 15:12:52 +01:00
Rom Walton 759b3b8078 client: Basic detection of how much capacity a host's battery has on Android and Windows. 2013-03-05 15:12:52 +01:00
David Anderson 3a530a4c34 - client: check return value of the function (statfs or statvfs)
used to find disk space and usage.
    This may be failing for in-memory filesystems on Linux.
2013-03-05 15:05:29 +01:00
David Anderson 9342fe696b - client (Win) fixes/improvements to CPU feature detection, from Robert Kreß 2013-03-05 14:52:37 +01:00
David Anderson 7d40c46923 - client and API: improve the way an app checks for the death of the client
Old: heartbeat mechanism
    Problem: if the client is blocked for > 30 secs
        (e.g. because it takes a long time to write the state file,
        of because it's stopped in a debugger)
        then apps exit.
        This is bad is the app doesn't checkpoint and has been
        running for a long time.
    New: the client passes its PID to the app.
        The app periodically (10 sec) checks that the process still exists.
    Notes:
    - For backward compatibility (e.g. new API w/ old client,
        or vice versa) the client still sends heartbeats,
        and the API checks heartbeats if the client doesn't pass a PID.
    - The new mechanism works only if the client's PID isn't assigned
        to a new process within 10 secs of the client exiting.
        Windows 2000 reuses PIDs immediately, so check for Win2K
        and don't use this mechanism if so.

TODO: For Unix multithread apps,
    critical sections aren't currently being enforced.
    Need to fix this by masking signals.


svn path=/trunk/boinc/; revision=26147
2012-10-11 16:41:31 +00:00
David Anderson 4dc940653c - client:
- added the definitions for the new Windows 7/2008r2 preSP1
            and Windows 8/2012 SKUs based on the winnt.h
            from the Windows 8 RC SKD (also added as proof)
        - added the detection for some more Windows SKU
        - Updates provided by Teamwork of Planet3Dnow.de to coproc_detect.cpp
            - added CAL_TARGET_ID 21 as : AMD Radeon HD 78x0 series (Pitcairn)
        (from [P3D] Crashtest)

svn path=/trunk/boinc/; revision=25760
2012-06-14 18:45:58 +00:00
David Anderson 361877a59f - client: detect Windows HyperV Server 2008 R2 (from Crashtest)
svn path=/trunk/boinc/; revision=24921
2011-12-28 00:22:20 +00:00
Rom Walton 9c7c7a22ad Quick Updates
svn path=/trunk/boinc/; revision=24773
2011-12-10 16:46:42 +00:00
Rom Walton 9e1cafbf4d Quick Updates
svn path=/trunk/boinc/; revision=24209
2011-09-14 22:09:12 +00:00
Rom Walton c2e922b3df - client: Update Windows detection code to support Windows 8.
(From: [P3D] Crashtest)
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=24208
2011-09-14 22:03:16 +00:00
Rom Walton 32f5c73d65 - client: Account for new registry location that the new VirtualBox installer
stashes the version number.  Check the new location first, if not found go
        back to the original location.
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=23562
2011-05-19 16:57:19 +00:00
David Anderson 1141c18265 win compile fix
svn path=/trunk/boinc/; revision=23215
2011-03-10 22:01:56 +00:00
David Anderson 4d21b4960a - client: don't put CDATA around account manager opaque data
in request msg

    client/
        acct_mgr.cpp

svn path=/trunk/boinc/; revision=23214
2011-03-10 21:54:31 +00:00
David Anderson 6784283211 - user web: fix bugs in server status page
- fix some indentation


svn path=/trunk/boinc/; revision=22890
2011-01-06 23:09:13 +00:00
Rom Walton d4d0f7b43b - client: Add VirtualBox detection for linux
client/
        hostinfo_unix.cpp
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=22714
2010-11-18 21:11:25 +00:00
David Anderson 3355b66241 - client and scheduler: a client host may have multiple VM systems installed.
TODO: check for VirtualBox on Mac, Linux

svn path=/trunk/boinc/; revision=22704
2010-11-17 23:19:07 +00:00
Rom Walton f0ae0b832d - client: Add support to detect VirtualBox VM software.
client/
        client_state.cpp
        hostinfo_win.cpp
    lib/
        hostinfo.cpp, .h

svn path=/trunk/boinc/; revision=22702
2010-11-17 20:08:18 +00:00
David Anderson 40c50852f5 - scheduler: fix logic that deals with jobs that need > 2GB RAM.
My change of 1 Oct ([22440]) required that such jobs
    be processed with 64-bit apps,
    on the assumption that 32-bit apps have a 2 GB user address space limit.
    However, it turns out this limit applies only to Windows
    (kernel and user mode share the 4GB address space; each gets half).
    On Linux, the split is 3GB user / 1 GB kernel.
    On Mac OS X, user mode and kernel mode have separate address spaces,
    each of them 4 GB.


svn path=/trunk/boinc/; revision=22599
2010-10-27 22:58:16 +00:00
Rom Walton a1cbb05482 - client: Only error out of the CPU version check if the call to CPUID(0)
returns zero.
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=22266
2010-08-18 17:26:55 +00:00
Rom Walton e14e1cad34 - Remove BOINC_RCSID tags from source files, we are doing branching and tagging
properly.
        
    <Various Files>

svn path=/trunk/boinc/; revision=20873
2010-03-12 16:51:57 +00:00