David Cole
|
ba21622048
Fix bogus calls to GetMemoryStatus and GetMemoryStatusEx: need to set the 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.
|
16 years ago |
Luis Ibanez
|
69fdf711fe
COMP: Fixing return type of the Get methods associated with variables that
|
16 years ago |
Luis Ibanez
|
7f601830a2
COMP: Fixing type declarations and type conversions that could potentially
|
16 years ago |
Zach Mullen
|
8fe2738096
Added OS Platform (cpu architecture) detection support to windows systems
|
16 years ago |
Zach Mullen
|
2af045dfc5
Trimmed off the newline from sw_vers output on mac, it could cause xml parsing errors if left in
|
16 years ago |
Zach Mullen
|
80533948b2
Fix bus error on mac. Was a result of not having null termination of arg list to sw_vers calls.
|
16 years ago |
Zach Mullen
|
444e581860
Added better OS information for Mac OS X
|
16 years ago |
Brad King
|
de955e4b6d
Convert KWSys to OSI-approved BSD License
|
16 years ago |
Bill Hoffman
|
5634ca02f4
ENH: make this work for older versions of OSX
|
16 years ago |
Bill Hoffman
|
bb7230cc96
ENH: revert back because it does not build on older macs for now
|
16 years ago |
Bill Hoffman
|
46a20bbd4c
ENH: remove warning
|
16 years ago |
Bill Hoffman
|
4220e7c62c
ENH: make this build on other machines besides the mac
|
16 years ago |
Bill Hoffman
|
d3d33a3549
ENH: fix system info for mac
|
16 years ago |
Brad King
|
ae284cc5c8
BUG: Fix parsing of linux 2.6 /proc/meminfo format
|
16 years ago |
Francois Bertel
|
ad4a2fd697
COMP:Fixed warnings with gcc 4.3.2.
|
16 years ago |
Bill Hoffman
|
3d0e241498
BUG: #8496 add support for system info on haiku
|
17 years ago |
Francois Bertel
|
ef36d72c89
COMP:Fixed warnings.
|
17 years ago |
Bill Hoffman
|
7c2445212e
BUG: fix cpu info string
|
17 years ago |
Sebastien Barre
|
4ed9faa830
ENH: fix for VS6 and Cygwin
|
17 years ago |
Sebastien Barre
|
8e5886e652
ENH: fix for Vista
|
17 years ago |
Bill Hoffman
|
2f082668bd
ENH: fix crash on dash17 linux where the parsing of the proc file must not have worked right
|
17 years ago |
Bill Hoffman
|
735b77798d
ENH: fix crash on cygwin
|
17 years ago |
Francois Bertel
|
d0237abfd4
BUG:cpuinfo format are different between Linux and Cygwin. Cygwin does not have physical id tag or cpu cores tag.
|
17 years ago |
Bill Hoffman
|
fc5bc3380e
ENH: avoid divide by zero, temporary fix until cygwin cpu file is read better, bad cpu info is better than a crash
|
17 years ago |
Francois Bertel
|
f9ce6fcb5a
BUG:Fixed NumberOfLogicalCPU, NumberOfPhysicalCPU and LogicalProcessorsPerPhysical under Linux. Some part was just wrong. Some other part missed to take the multicore value into account.
|
17 years ago |
Bill Lorensen
|
68dfcefbcb
COMP: sprintf warnings. DWORD should use %ld rather than %d. Also, const char *p, a shadowed variable warning.
|
17 years ago |
Bill Hoffman
|
bf8ed70534
BUG: really fix build on vs6
|
17 years ago |
Bill Hoffman
|
47fa89b6e9
BUG: fix build on vs6
|
17 years ago |
Bill Hoffman
|
9c63132c3c
ENH: use GlobalMemoryStatusEx as it is able to report more than 2gigs
|
17 years ago |
Brad King
|
ab0c2757d5
COMP: Fix warnings in KWSys SystemInformation on Borland compiler.
|
17 years ago |