summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* COMP: Fix non-virtual destructor warningBrad King2009-04-291-0/+1
| | | | | | This gives cmFileCopier a virtual destructor since it has virtual methods. While we never actually delete through a base pointer (or dynamically at all), the compiler doesn't know and warns anyway.
* ENH: Create file(COPY) command signatureBrad King2009-04-292-15/+145
| | | | | | | | The file(INSTALL) command has long been undocumented and used only to implement install() scripts. We now document it and provide a similar file(COPY) signature which is useful in general-purpose scripts. It provides the capabilities of install(DIRECTORY) and install(FILES) but operates immediately instead of contributing to install scripts.
* ENH: Teach file(INSTALL) relative pathsBrad King2009-04-291-2/+19
| | | | | | | | | | | This teaches the undocumented file(INSTALL) command to deal with relative paths. Relative input file paths are evaluated with respect to the current source directory. Relative output file paths are evaluated with respect to the current binary directory. While this command is currently used only in cmake_install.cmake scripts (in -P script mode), this cleans up its interface in preparation for a documented signature.
* ENH: Refactor file(INSTALL) implementationBrad King2009-04-292-522/+583
| | | | | | The undocumented file(INSTALL) is implemented by a cmFileInstaller class inside cmFileCommand. This refactors the class to split out code not specific to installation into a cmFileCopier base class.
* ENH: Send all file installations through one pathBrad King2009-04-292-100/+81
| | | | | | This creates a single cmFileInstaller method to dispatch installation of symlinks, directories, and files. The change removes duplicate tests of input file type and makes the decision more consistent.
* ENH: Better error on file perm or time failureBrad King2009-04-291-26/+16
| | | | | This improves the error message produced during installation when CMake cannot set file modification time or permissions.
* BUG: Error when install dir cannot be createdBrad King2009-04-291-0/+4
| | | | | This teaches the undocumented file(INSTALL) command to report an error when it cannot create the destination directory.
* ENH: Simplify CMAKE_INSTALL_ALWAYS implementationBrad King2009-04-291-27/+20
| | | | | | This simplifies cmFileInstaller internally by storing the 'always' mark as an instance variable instead of passing it through all method signatures.
* ENH: Simplify construction of cmFileInstallerBrad King2009-04-291-3/+4
| | | | This cleans up the cmFileInstaller constructor signature.
* STYLE: Nightly Date StampBrad King2009-04-291-1/+1
|
* BUG: Fix required permissions check againBrad King2009-04-281-1/+1
| | | | | | While copying a directory the destination must have owner rwx permissions. This corrects our check, this time with correct operator precedence using parenthesis.
* STYLE: Nightly Date StampBrad King2009-04-281-1/+1
|
* ENH: Remove unused PROPERTIES from file(INSTALL)Brad King2009-04-278-52/+13
| | | | | The undocumented file(INSTALL) command used to support a PROPERTIES option, but no install code still uses it. This removes the option.
* BUG: Fix required permissions check for dir copyBrad King2009-04-271-1/+1
| | | | | While copying a directory the destination must have owner rwx permissions. This corrects our check.
* STYLE: Nightly Date StampBrad King2009-04-271-1/+1
|
* STYLE: Nightly Date StampBrad King2009-04-261-1/+1
|
* STYLE: Nightly Date StampBrad King2009-04-251-1/+1
|
* ENH: vms fixBill Hoffman2009-04-241-0/+2
|
* ENH: Support more preprocessor values in VS6Brad King2009-04-243-6/+15
| | | | | | | | | Previously we rejected all preprocessor definition values containing spaces for the VS6 IDE generator. In fact VS6 does support spaces but not in combination with '"', '$', or ';', and only if we use the sytnax '-DNAME="value with spaces"' instead of '-D"NAME=value with spaces"'. Now we support all definition values that do not have one of these invalid pairs. See issue #8779.
* STYLE: Nightly Date StampBrad King2009-04-241-1/+1
|
* ENH: check in almost building VMS stuff with VMSBuild directory since the ↵Bill Hoffman2009-04-234-3/+21
| | | | bootstrap script will not work on VMS
* STYLE: Nightly Date StampBrad King2009-04-231-1/+1
|
* COMP: Fix class reference for HP aCCBrad King2009-04-221-1/+1
|
* ENH: Teach CTest to handle git repositoriesBrad King2009-04-226-1/+494
| | | | | | | This creates cmCTestGIT to drive CTest Update handling on git-based work trees. Currently we always update to the head of the remote tracking branch (git pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #6994.
* ENH: Factor global-VC parts out of cmCTestSVNBrad King2009-04-225-114/+213
| | | | | | This factors parts of the svn update implementation that are useful for any globally-versioning vcs tool into cmCTestGlobalVC. It will allow the code to be shared among the support classes for most vcs tools.
* COMP: Fix calls to superclass methods for BorlandBrad King2009-04-221-4/+4
| | | | | | The superclass of cmSystemTools is cmsys::SystemTools, which should be referencable by just SystemTools from inside the class. Borland C++ does not seem to support this, so we use cmSystemTools instead.
* STYLE: Nightly Date StampBrad King2009-04-221-1/+1
|
* ENH: also recognize rxvt-256color as a color terminal (#8913, patch from ↵Alexander Neundorf2009-04-211-0/+1
| | | | | | Deewiant) Alex
* BUG: Avoid infinite loop at directory tree rootBrad King2009-04-211-1/+3
| | | | | | The system tools GetParentDirectory method no longer removes the root path component. This fixes cmSystemTools::FileExistsInParentDirectories to not infinitely loop at when GetParentDirectory stops at the root.
* ENH: Remove obscure method from KWSys SystemToolsBrad King2009-04-214-31/+31
| | | | | This removes SystemTools::FileExistsInParentDirectories from KWSys since it is a special-purpose method that is not generally useful.
* STYLE: Nightly Date StampBrad King2009-04-211-1/+1
|
* BUG: Fix SystemTools::IsSubDirectory on bad inputBrad King2009-04-201-0/+4
| | | | | | | | 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.
* STYLE: Nightly Date StampBrad King2009-04-201-1/+1
|
* STYLE: fix typos in the docsAlexander Neundorf2009-04-194-8/+8
| | | | Alex
* STYLE: Nightly Date StampBrad King2009-04-191-1/+1
|
* STYLE: Nightly Date StampBrad King2009-04-181-1/+1
|
* ENH: make sure CTEST_CURL_OPTIONS work from script modeBill Hoffman2009-04-171-0/+2
|
* STYLE: Nightly Date StampBrad King2009-04-171-1/+1
|
* BUG: Path lengths in combo box for binary directory was forcing a minimum sizeClinton Stimpson2009-04-161-3/+1
| | | | on the main window. Fixed that.
* STYLE: Nightly Date StampBrad King2009-04-161-1/+1
|
* BUG: Replace brittle GetParentDirectory implBrad King2009-04-151-25/+1
| | | | | | | 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.
* COMP: Fix BOOL to bool conversion warningBrad King2009-04-151-3/+3
| | | | | | The cmSystemTools::RenameFile method returns type bool, but its implementation on Windows returns the result of an API function that returns BOOL. This change avoids the compiler warning.
* BUG: SystemTools::GetParentDirectory() will crash if "/" is passed in as ↵Yumin Yuan2009-04-151-1/+7
| | | | argement. Valid check is added to make sure the input argment exists, and if "/" is passed in, empty string will be returned.
* ENH: Create command line api "cmake -E rename"Brad King2009-04-151-0/+16
| | | | | | This extends the "-E" command line mode with a "rename old new" signature. The new command atomically renames a file or directory within a single disk volume.
* ENH: Create file(RENAME) command modeBrad King2009-04-152-0/+48
| | | | | This creates command "file(RENAME <oldname> <newname>)" to rename a file or directory within a single disk volume.
* ENH: Move RenameFile to cmSystemToolsBrad King2009-04-153-53/+55
| | | | | | This moves the cmGeneratedFileStream::RenameFile method implementation into cmSystemTools. It works only within a single filesystem volume, but is atomic when the operating system permits.
* STYLE: Nightly Date StampBrad King2009-04-151-1/+1
|
* ENH: Skip KWSys name maros in case of identityBrad King2009-04-149-235/+264
| | | | | | | | | | | | | 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.
* STYLE: Nightly Date StampBrad King2009-04-141-1/+1
|
* STYLE: Nightly Date StampBrad King2009-04-131-1/+1
|