- Apr 21, 2009
-
-
Brad King authored
This removes SystemTools::FileExistsInParentDirectories from KWSys since it is a special-purpose method that is not generally useful.
-
- Apr 20, 2009
-
-
Brad King authored
When SystemTools::GetParentDirectory was fixed to never remove the root path component from a full path we violated an assumption made by IsSubDirectory that eventually GetParentDirectory returns an empty string. This led to an infinite loop if the potential parent directory is empty, so we explicitly avoid that case.
-
- Apr 15, 2009
-
-
Brad King authored
The previous change to this method broke cases where the input path does not exist. The SystemTools::GetParentDirectory method is redundant with the more robust SystemTools::GetFilenamePath. This replaces its implementation to just call GetFilenamePath.
-
Yumin Yuan authored
BUG: SystemTools::GetParentDirectory() will crash if "/" is passed in as argement. Valid check is added to make sure the input argment exists, and if "/" is passed in, empty string will be returned.
-
- Apr 14, 2009
-
-
Brad King authored
All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at configuration time. For ease of editing we write canonical names with the prefix 'kwsys' and use macros to map them to the configured prefix at preprocessing time. In the case of standalone KWSys, the prefix is 'kwsys', so the macros were previously defined to their own names. We now skip defining the macros in the identity case so that the final symbol names are never themselves macros. This will allow the symbols to be further transformed behind the scenes to help linkers in special cases on some platforms.
-
- Apr 06, 2009
-
-
Brad King authored
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.
-
Mathieu Malaterre authored
BUG: comment out faulty seekp which make kwsys::*stringstream fails on platform with no std::*stringstream implementation
-
- Apr 05, 2009
-
-
Mathieu Malaterre authored
-
- Apr 02, 2009
-
-
Mathieu Malaterre authored
-
- Mar 30, 2009
-
-
Mathieu Malaterre authored
-
Mathieu Malaterre authored
-
- Mar 19, 2009
-
-
Francois Bertel authored
-
Francois Bertel authored
-
Francois Bertel authored
-
Francois Bertel authored
-
Francois Bertel authored
-
- Mar 18, 2009
-
-
Francois Bertel authored
-
Francois Bertel authored
STYLE:Empty commit just add information about rev 1.15: the reason is that long is 64-bit on gcc on Linux because it uses the LP64 data model whereas long is 32-bit on VS 64-bit because it uses the LLP64 model (ref: http://en.wikipedia.org/wiki/64-bit#64-bit_data_models )
-
Francois Bertel authored
COMP:Fix warning on VS 64bit. Don't why gcc 4.3.2 didn't catch this one on a 64bit machine with -Wconversion on.
-
- Mar 17, 2009
-
-
Francois Bertel authored
-
- Mar 16, 2009
-
-
Francois Bertel authored
-
Francois Bertel authored
COMP:Fixed gcc 4.3.2 warning with -O1 and above: ignoring return value of read'), declared with attribute warn_unused_result
-
Francois Bertel authored
-
- Feb 13, 2009
-
-
Brad King authored
This provides an API for parent projects to use to specify values to be set in the LABELS properties of KWSys libraries, executables, and tests.
-
Brad King authored
This adds the configured KWSys header files to the library targets that implement their APIs so that they show up in IDE project files.
-
- Feb 12, 2009
-
-
Bill Hoffman authored
-
- Feb 09, 2009
-
-
Brad King authored
On Windows the GetLongPathName API function does not work on some filesystems even if the file exists. In this case we should just use the original long path name and not the GetShortPathName result. See issue #8480.
-
Brad King authored
This patch from Philip Lowman teaches SystemTools::GetRealPath to deal with paths that do not exist by dealing with the case that realpath returns NULL. See issue #8423.
-
- Feb 03, 2009
-
-
Bill Hoffman authored
-
- Jan 09, 2009
-
-
Brad King authored
The test is supposed to terminate quickly when its child crashes, but that seems to take over 10s on busy systems. This extends the test's timeout to 30s to help it pass when running on a busy system.
-
- Dec 18, 2008
-
-
Brad King authored
On Windows the KWSys System package generates escapes for command-line arguments. This fix enables quoting of the empty string as an argument. This also adds a test to pass an empty argument to a custom command.
-
David Cole authored
BUG: Do not copy permissions of files when making the copy in an install rule. If the source file was read-only, this prevents the subsequent set of the destination file's modification time, making the copied file always different in time-stamp than the original and always installing a new file with a new time stamp (but the same content) causing unnecessary downstream incremental rebuilds. As part of this fix, add an optional copyPermissions parameter to the SystemTools routines CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory. The copyPermissions parameter defaults to true to preserve the behavior of these routines for existing callers.
-
- Dec 15, 2008
-
-
Francois Bertel authored
-
- Dec 04, 2008
-
-
Bill Hoffman authored
-
- Nov 23, 2008
-
-
Bill Hoffman authored
-
- Nov 07, 2008
-
-
Bill Hoffman authored
-
- Oct 17, 2008
-
-
Brad King authored
The SystemInformation component of KWSys requires Process and FundamentalType.
-
Brad King authored
KWSys component dependencies must be enforced before any tests for enabled components are done. This moves the dependency enforcement code to be as early as possible.
-
Sebastien Barre authored
-
- Oct 16, 2008
-
-
Sebastien Barre authored
-