summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Commit a fix from Rusty to address incorrectly reported memory queries.Dave Partyka2010-03-261-5/+7
|
* Add fallback for detecting CPU speed from Windows registry on builds where ↵David Cole2009-12-111-80/+221
| | | | USE_ASM_INSTRUCTIONS gets defined to 0. (Win64 builds.) Clean up methods to return false when not implemented or when they fail to detect the things they're supposed to detect. This file still needs a lot more work to have a fully working implementation on Win64 builds. Committing it now because it's slightly better than it was, and there is a need for the CPU speed detection code in projects that depend on kwsys. Will file a bug shortly to request that the missing implementations get filled in...
* Fix bogus calls to GetMemoryStatus and GetMemoryStatusEx: need to set the ↵David Cole2009-11-181-1/+6
| | | | dwLength member of the struct prior to calling. Otherwise it's just a garbage value from the stack. Also, pay attention to return value of GetMemoryStatusEx: if it indicates failure then just return 0 without using any of the other data the call returns.
* COMP: Fixing return type of the Get methods associated with variables thatLuis Ibanez2009-11-161-12/+12
| | | | | were changed from "unsigned long" to "size_t" to solve warnings about 64 bits to 32 bits truncations.
* COMP: Fixing type declarations and type conversions that could potentiallyLuis Ibanez2009-11-151-12/+12
| | | | truncate 64 bits types into 32 bits types.
* Added OS Platform (cpu architecture) detection support to windows systemsZach Mullen2009-10-091-0/+6
|
* Trimmed off the newline from sw_vers output on mac, it could cause xml ↵Zach Mullen2009-10-081-0/+21
| | | | parsing errors if left in
* Fix bus error on mac. Was a result of not having null termination of arg ↵Zach Mullen2009-10-061-5/+10
| | | | list to sw_vers calls.
* Added better OS information for Mac OS XZach Mullen2009-10-061-0/+28
|
* Convert KWSys to OSI-approved BSD LicenseBrad King2009-09-281-13/+9
| | | | | | | This converts the KWSys license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the KWSys copyright to cover the full development time range.
* ENH: make this work for older versions of OSXBill Hoffman2009-05-201-33/+126
|
* ENH: revert back because it does not build on older macs for nowBill Hoffman2009-05-201-121/+33
|
* ENH: remove warningBill Hoffman2009-05-191-1/+0
|
* ENH: make this build on other machines besides the macBill Hoffman2009-05-191-0/+4
|
* ENH: fix system info for macBill Hoffman2009-05-191-33/+118
|
* BUG: Fix parsing of linux 2.6 /proc/meminfo formatBrad King2009-04-061-47/+23
| | | | | | Previously KWSys SystemInformation parsed this file assuming a strict order and set of fields, but the order is not reliable. This generalizes the implementation to support any order and extra fields.
* COMP:Fixed warnings with gcc 4.3.2.Francois Bertel2009-03-201-44/+93
|
* BUG: #8496 add support for system info on haikuBill Hoffman2009-02-121-0/+80
|
* COMP:Fixed warnings.Francois Bertel2008-12-151-7/+7
|
* BUG: fix cpu info stringBill Hoffman2008-12-041-1/+1
|
* ENH: fix for VS6 and CygwinSebastien Barre2008-10-171-4/+8
|
* ENH: fix for VistaSebastien Barre2008-10-161-8/+15
|
* ENH: fix crash on dash17 linux where the parsing of the proc file must not ↵Bill Hoffman2008-06-021-1/+6
| | | | have worked right
* ENH: fix crash on cygwinBill Hoffman2008-06-011-3/+5
|
* BUG:cpuinfo format are different between Linux and Cygwin. Cygwin does not ↵Francois Bertel2008-06-011-6/+10
| | | | have physical id tag or cpu cores tag.
* ENH: avoid divide by zero, temporary fix until cygwin cpu file is read ↵Bill Hoffman2008-06-011-7/+5
| | | | better, bad cpu info is better than a crash
* BUG:Fixed NumberOfLogicalCPU, NumberOfPhysicalCPU and ↵Francois Bertel2008-05-311-16/+24
| | | | LogicalProcessorsPerPhysical under Linux. Some part was just wrong. Some other part missed to take the multicore value into account.
* COMP: sprintf warnings. DWORD should use %ld rather than %d. Also, const ↵Bill Lorensen2008-05-111-3/+3
| | | | char *p, a shadowed variable warning.
* BUG: really fix build on vs6Bill Hoffman2008-05-021-2/+2
|
* BUG: fix build on vs6Bill Hoffman2008-05-021-4/+10
|
* ENH: use GlobalMemoryStatusEx as it is able to report more than 2gigsBill Hoffman2008-05-021-6/+6
|
* COMP: Fix warnings in KWSys SystemInformation on Borland compiler.Brad King2008-05-021-12/+8
| | | | | - Remove two unused variables. - Replace dynamically allocated array with static.
* ENH: remove odd chars from fileBill Hoffman2008-04-241-8/+8
|
* COMP: Fix warning in SystemInformation.cxx about possibly incorrect ↵Brad King2008-02-031-2/+2
| | | | assignment in if condition.
* COMP: Fix unreachable code warning. Remove runtime test of constant ↵Brad King2008-02-031-5/+1
| | | | information.
* ENH: fix infinite loop from size_t changeBill Hoffman2008-02-021-1/+1
|
* ENH: fix warningsBill Hoffman2008-02-011-2/+2
|
* ENH: fix more warningsBill Hoffman2008-02-011-1/+1
|
* ENH: fix more warningsBill Hoffman2008-02-011-2/+2
|
* ENH: fix more warningsBill Hoffman2008-02-011-2/+2
|
* ENH: fix more warningsBill Hoffman2008-02-011-2/+2
|
* ENH: fix some warnings and 64 bit build windowsBill Hoffman2008-02-011-18/+21
|
* ENH: fix win64 build and a warningBill Hoffman2008-02-011-4/+7
|
* ENH: try to fix hp and vs 6, again...Bill Hoffman2008-02-011-6/+7
|
* ENH: fixes for borlandBill Hoffman2008-01-311-4/+6
|
* ENH: fix for qnx, I hope, and fix indent stuffBill Hoffman2008-01-311-20/+22
|
* ENH: fix build errors with asm stuff on mingw and hopefully win64Bill Hoffman2008-01-311-20/+29
|
* ENH: fix build for mingwBill Hoffman2008-01-311-20/+20
|
* ENH: split into implementation and interface class to clean up namespace ↵Bill Hoffman2008-01-311-64/+504
| | | | issues with #define stuff
* COMP: Replace kwsys_stl:: with kwsys_ios:: for streams access.Brad King2008-01-311-6/+6
|