2127 Commits

Author SHA1 Message Date
KWSys Robot
3a7230afe9 KWSys Nightly Date Stamp 2011-01-14 00:12:03 -05:00
KWSys Robot
f5b43f59de KWSys Nightly Date Stamp 2011-01-13 00:10:58 -05:00
KWSys Robot
90e9b65f10 KWSys Nightly Date Stamp 2011-01-12 00:10:52 -05:00
KWSys Robot
caa45a5f81 KWSys Nightly Date Stamp 2011-01-11 00:10:07 -05:00
David Cole
6754b26bf0 KWSys: Fix WOW64 registry mode on Windows 2000 (#10759)
The previous commit did not compile with mingw gcc.
Use the Windows type FARPROC instead of void* for
the local variable.
2011-01-10 08:40:03 -05:00
KWSys Robot
a300edab41 KWSys Nightly Date Stamp 2011-01-10 00:10:47 -05:00
KWSys Robot
8dba266a55 KWSys Nightly Date Stamp 2011-01-09 00:10:08 -05:00
KWSys Robot
5aa0fed854 KWSys Nightly Date Stamp 2011-01-08 00:11:03 -05:00
David Cole
4b05a21302 Fix WOW64 registry mode on Windows 2000 (#10759)
CMake fails to find any registry paths on Windows 2000: according to regmon
it fails with an access denied error. I double checked all the access rights
and they are fine. After checking the access modes on MSDN I found that it
says KEY_WOW64_32KEY / KEY_WOW64_64KEY are not supported on Windows 2000.
CMake does not check if the current system supports Wow64 before applying
these flags.

This commit adds a check for IsWow64Process in kernel32.dll before adding
these flags.

Author: Axel Gembe <ago@bastart.eu.org>
Signed-off-by: Axel Gembe <ago@bastart.eu.org>
2011-01-07 07:40:07 -05:00
KWSys Robot
fd4875b4c0 KWSys Nightly Date Stamp 2011-01-07 00:12:08 -05:00
KWSys Robot
8e6ad8ce72 KWSys Nightly Date Stamp 2011-01-06 00:10:47 -05:00
David Cole
99ddf6a12d KWSys: Retrieve QNX specific memory and processor info (#11329)
Author: Rolf Eike Beer <eike@sf-mail.de>  2010-10-18 12:03:39
2011-01-05 15:40:03 -05:00
David Cole
1c2a9b8140 KWSys: Fix CPU speed calculations (#9963)
To get from Hz to MHz the factor is 10^6, not 2^20.

Author: Rolf Eike Beer <eike@sf-mail.de>  2010-10-24 06:31:11
2011-01-05 15:40:02 -05:00
KWSys Robot
00c88bbcd8 KWSys Nightly Date Stamp 2011-01-05 00:10:21 -05:00
KWSys Robot
c59ed29552 KWSys Nightly Date Stamp 2011-01-04 00:11:01 -05:00
Brad King
a67fd72659 KWSys: Remove useless include <sys/procfs.h> (#11648)
The header was included only under "#ifdef __linux", but not all Linux
distributions provide the header.  SystemInformation uses no symbols
from this header, so do not include it.
2011-01-03 12:03:03 -05:00
KWSys Robot
edff9207ed KWSys Nightly Date Stamp 2011-01-03 00:10:09 -05:00
KWSys Robot
4e0681abd7 KWSys Nightly Date Stamp 2011-01-02 00:10:07 -05:00
KWSys Robot
6fbdac97d5 KWSys Nightly Date Stamp 2011-01-01 00:10:48 -05:00
KWSys Robot
60fa5bac57 KWSys Nightly Date Stamp 2010-12-31 00:10:46 -05:00
KWSys Robot
91c06e9022 KWSys Nightly Date Stamp 2010-12-30 00:11:02 -05:00
KWSys Robot
5e9d8a2952 KWSys Nightly Date Stamp 2010-12-29 00:10:40 -05:00
Brad King
75191fa312 KWSys: Avoid passing string literal as char*
Pass the lpClass argument of RegCreateKeyEx as a real char[] instead of
a string literal.  At least one platform declares the argument as char*
instead of "const char*".
2010-12-28 09:57:09 -05:00
KWSys Robot
428e0e0ab9 KWSys Nightly Date Stamp 2010-12-28 00:10:42 -05:00
KWSys Robot
0ccc5bcec6 KWSys Nightly Date Stamp 2010-12-27 00:10:41 -05:00
KWSys Robot
0cbf312e89 KWSys Nightly Date Stamp 2010-12-26 00:10:11 -05:00
KWSys Robot
b1fdebc14c KWSys Nightly Date Stamp 2010-12-25 00:10:44 -05:00
KWSys Robot
7159435843 KWSys Nightly Date Stamp 2010-12-24 00:10:04 -05:00
KWSys Robot
97e64e8607 KWSys Nightly Date Stamp 2010-12-23 00:10:37 -05:00
KWSys Robot
104cd4acd8 KWSys Nightly Date Stamp 2010-12-22 00:10:03 -05:00
Brad King
4c88a8622d KWSys: Avoid buffer overflow in SystemInformation (#11018)
Use std::string instead of fixed-size char arrays.

Author: Ben Boeckel <ben.boeckel@kitware.com>
2010-12-21 08:25:33 -05:00
KWSys Robot
112ada2eb6 KWSys Nightly Date Stamp 2010-12-21 00:10:48 -05:00
KWSys Robot
34a2dee75d KWSys Nightly Date Stamp 2010-12-20 00:10:56 -05:00
KWSys Robot
b8c8fe49da KWSys Nightly Date Stamp 2010-12-19 00:10:08 -05:00
KWSys Robot
5ae9ccd2c6 KWSys Nightly Date Stamp 2010-12-18 00:10:03 -05:00
KWSys Robot
d11c70295b KWSys Nightly Date Stamp 2010-12-17 00:10:43 -05:00
KWSys Robot
aadee46c60 KWSys Nightly Date Stamp 2010-12-16 00:10:05 -05:00
KWSys Robot
a14a8562ea KWSys Nightly Date Stamp 2010-12-15 00:10:03 -05:00
Brad King
3a14b6e556 KWSys: Do not mangle UNC paths in ConvertToUnixOutputPath (#10206)
This method replaces '//' with '/' to make the paths look nicer.
Originally it correctly skipped a leading '//' in a UNC path as the
comment says.  However, commit "Removed extra variable initializations"
(2005-04-15) accidentally removed the "pos=1" initializer.  It was then
incorrectly restored by commit "Added missing variable initialization"
(2005-04-15) as just "pos=0".  Restore the proper initializer.

The test for this added by commit "better coverage" (2006-07-31)
included incorrect output for a sample UNC-like path.  Fix it.
2010-12-14 18:13:03 -05:00
Brad King
ffac70b528 KWSys: Use EXPORT name only if installing library
Do not set KWSYS_INSTALL_LIBRARY_RULE just because the parent project set
KWSYS_INSTALL_EXPORT_NAME.  Require KWSYS_INSTALL_LIB_DIR to be set too.
2010-12-14 13:30:03 -05:00
KWSys Robot
da0a8f7f44 KWSys Nightly Date Stamp 2010-12-14 13:30:03 -05:00
KWSys Robot
b5d7f2c57c KWSys Nightly Date Stamp 2010-12-13 00:10:05 -05:00
KWSys Robot
1b98d99c28 KWSys Nightly Date Stamp 2010-12-12 00:10:02 -05:00
KWSys Robot
da4c2f6214 KWSys Nightly Date Stamp 2010-12-11 00:10:32 -05:00
KWSys Robot
b90e9f9c3a KWSys Nightly Date Stamp 2010-12-10 00:10:28 -05:00
KWSys Robot
d25638ac05 KWSys Nightly Date Stamp 2010-12-09 00:10:41 -05:00
Brad King
306427c079 KWSys: Remove realpath from SystemTools::GetPath (#10335)
Commit "merge in changes for beos support" (2006-12-04) added a realpath
call for every directory parsed out of a PATH-style environment
variable.  No reason was given in the commit message or comments.

The call incorrectly resolves symlinks in referenced paths.  Remove it.
If BeOS support really needs it then it can be restored for that
platform with a full explanation.
2010-12-08 18:04:10 -05:00
KWSys Robot
02a8ea2d5b KWSys Nightly Date Stamp 2010-12-08 00:10:03 -05:00
KWSys Robot
e580daec4c KWSys Nightly Date Stamp 2010-12-07 00:10:03 -05:00
KWSys Robot
afc8906468 KWSys Nightly Date Stamp 2010-12-06 00:10:04 -05:00