summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateHandler.h
Commit message (Collapse)AuthorAgeFilesLines
* Use C++11 override instead of CM_OVERRIDEBrad King2017-09-151-2/+2
| | | | | | | | We now require C++11 support including `override`. Drop use of the old compatibility macro. Convert references as follows: git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' | xargs sed -i 's/CM_OVERRIDE/override/g'
* IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-261-1/+1
| | | | Also remove `#include "cmConfigure.h"` from most source files.
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-1/+1
| | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* Remove cmObject.h and cmTypeMacro.hDaniel Pfeifer2016-10-241-1/+0
|
* Make cmCTestGenericHandler not inherit from cmObjectDaniel Pfeifer2016-10-221-1/+1
|
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* CTest: fix include-what-you-use violationsDaniel Pfeifer2016-08-251-1/+6
|
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-271-2/+2
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-4/+8
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Source: Stabilize include orderBrad King2016-04-291-1/+1
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* Drop SGI as a CMake host compiler.Stephen Kelly2015-01-081-8/+0
| | | | | It has not been tested since commit v3.1.0-rc1~584^2 (Utilities/Release: Drop IRIX binary generation on ferrari, 2014-04-30).
* ctest_update: Add support for Perforce p4 clientPedro Navarro2013-10-261-0/+1
| | | | | | | | | | | Teach the ctest_update implementation to use the p4 command-line client to perform updates and extract the list of changes. Add a CTest.UpdateP4 test like those that exist already for the other version control tools. Make the test available when p4 and the p4d server are found. During the test launch p4d in the background to serve a repository from the test directory. Then direct the client toward this server for the duration of the test.
* CTest: Move initial checkout to ctest_start()Brad King2009-11-241-1/+0
| | | | | | | | | | | | | | | | | | | | In CTest command-driven script mode we support starting without a source tree. Previously the ctest_start() command would do some initialization but could not do anything that required CTestConfig.cmake from the input source tree. Later, ctest_update() would run CTEST_CHECKOUT_COMMAND to create the source tree, and then re-initialize everything. This delayed-initialization approach led to many complicated cases of which only some worked. For example, the second initialization only worked correctly in Nightly mode and simply failed for Experimental and Continuous builds. A simpler solution is to run CTEST_CHECKOUT_COMMAND during ctest_start() and then have a single initialization path. In principle this change in behavior could break scripts that set the checkout command after ctest_start() but before ctest_update(). However, the convention we've always followed has been to set all variables before ctest_start(). See issue #9450.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake 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 CMake copyright to cover the full development time range.
* ENH: Teach CTest to handle Mercurial repositoriesBrad King2009-07-101-0/+1
| | | | | | | | | | | This creates cmCTestHG to drive CTest Update handling on hg-based work trees. Currently we always update to the head of the remote tracking branch (hg pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #7879. Patch from Emmanuel Christophe. I modified the patch slightly for code style, to finish up some parsing details, and to fix the test.
* ENH: Teach CTest to handle Bazaar repositoriesBrad King2009-05-141-0/+1
| | | | | | | | This creates cmCTestBZR to drive CTest Update handling on bzr-based work trees. Currently we always update to the head of the remote tracking branch (bzr pull), so the nightly start time is ignored for Nightly builds. A later change will address this. Patch from Tom Vercauteren. See issue #6857.
* ENH: Teach CTest to handle git repositoriesBrad King2009-04-221-0/+1
| | | | | | | 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 out VCS tool detectionBrad King2009-02-241-0/+6
| | | | | | | In cmCTestUpdateHandler, this factors out version control tool detection from the monolithic cmCTestUpdateHandler::ProcessHandler to separate methods. This also places priority on detection of the tool managing the source tree since using any other tool will cause errors.
* ENH: Factor out initial checkout methodBrad King2009-02-241-0/+2
| | | | | | This moves the initial checkout code from the monolithic cmCTestUpdateHandler::ProcessHandler to a separate method cmCTestUpdateHandler::InitialCheckout.
* ENH: Remove generation of unused Update.xml partsBrad King2009-02-171-2/+0
| | | | | | | | | | This removes generation of some Update.xml content that is not used by any Dart1, Dart2, or CDash servers: - Revisions elements - Directory attribute of File elements - File elements within Author elements The content was generated only because the original Dart1 Tcl client generated it, but the content was never used.
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-6/+6
|
* ENH: Add superclass for all commands and handlers. Improve handlers to have ↵Andy Cedilnik2005-06-171-1/+9
| | | | initialization code, and start initializing ctest when start is invoked
* COMP: Added pragma directives for SGI compilers to avoid useless warnings.Brad King2005-05-031-0/+8
|
* COMP: Remove warningAndy Cedilnik2005-02-161-1/+1
|
* ENH: Initial implementation of SVN support. Closes Bug #1601 - Add ↵Andy Cedilnik2005-02-161-1/+9
| | | | subversion support
* ENH: Several cleanups and improvementsAndy Cedilnik2005-01-271-1/+1
|
* ENH: Add a superclass to all handlersAndy Cedilnik2005-01-271-13/+3
|
* some bug fixes for my recent checkins and some more cleanupKen Martin2004-09-071-0/+59