summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmListCommand: Use empty() and expand whitespace.Stephen Kelly2015-01-181-1/+1
|
* Replace 'foo.size() != 0' pattern with !foo.empty().Stephen Kelly2015-01-186-8/+8
|
* Replace 'foo.size() == 0' pattern with foo.empty().Stephen Kelly2015-01-1835-72/+72
|
* Replace 'foo.size() > 0' pattern with !foo.empty().Stephen Kelly2015-01-1832-83/+83
|
* CMake Nightly Date StampKitware Robot2015-01-181-1/+1
|
* CMake Nightly Date StampKitware Robot2015-01-171-1/+1
|
* Merge topic 'fix-ctest_build-output-processing-regression'Brad King2015-01-161-1/+1
|\ | | | | | | | | 509f2713 ctest_build: Fix logic regression in parent that clips build output
| * ctest_build: Fix logic regression in parent that clips build outputBrad King2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | The sweeping pattern change in commit 238dd2fb (Use insert instead of a loop in some cases, 2014-11-22) accidentally changed the iterator range used on the queue in cmCTestBuildHandler::ProcessBuffer. Instead of ending at the iterator positioned at the next newline to populate CurrentProcessingLine, it was changed to go to the end of the queue. This causes the line to contain newlines and possibly be cut off in the middle of a line. Fix this regression by restoring use of the proper end-of-line position.
* | CMake Nightly Date StampKitware Robot2015-01-161-1/+1
| |
* | Merge topic 'delete-algorithm'Brad King2015-01-1520-208/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | 65b81da4 cmVariableWatch: Use the cmDeleteAll algorithm with for_each. 30d2de9a cmGeneratorExpressionEvaluator: Replace own algorithm with cmDeleteAll. 4a6e795b Use the cmDeleteAll algorithm instead of trivial raw loops. abb4a678 Add a generic algorithm for deleting items in a container.
| * | cmVariableWatch: Use the cmDeleteAll algorithm with for_each.Stephen Kelly2015-01-131-13/+8
| | |
| * | cmGeneratorExpressionEvaluator: Replace own algorithm with cmDeleteAll.Stephen Kelly2015-01-131-24/+3
| | |
| * | Use the cmDeleteAll algorithm instead of trivial raw loops.Stephen Kelly2015-01-1317-171/+30
| | |
| * | Add a generic algorithm for deleting items in a container.Stephen Kelly2015-01-131-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | Specialize for std::map types to delete the second element from the iterator. This is not quite general enough that it can be used everywhere, because CMake inherits from std::map and creates typedefs with custom comparison functors etc, which can not use this algorithm.
* | | Merge topic 'fix-COMPILE_FEATURES-genex'Brad King2015-01-153-9/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | 45ec182d Features: Fix the COMPILE_FEATURES genex for unavailable features. 2bead0eb cmMakefile: Rename a method to what it really does.
| * | | Features: Fix the COMPILE_FEATURES genex for unavailable features.Stephen Kelly2015-01-121-0/+7
| | | | | | | | | | | | | | | | | | | | Previously, the genex tested only for CMake knowledge of the feature, but not compiler knowledge of the feature.
| * | | cmMakefile: Rename a method to what it really does.Stephen Kelly2015-01-123-9/+10
| | | | | | | | | | | | | | | | The method does not test availability of compile features.
* | | | Merge topic 'fix-LOCATION-with-TARGET_OBJECTS'Brad King2015-01-151-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 23f3798c cmTarget: Compute link language of TARGET_OBJECTS with CMP0026 OLD (#15338)
| * | | | cmTarget: Compute link language of TARGET_OBJECTS with CMP0026 OLD (#15338)Stephen Kelly2015-01-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit v3.1.0-rc1~297^2~5 (cmTarget: Drop 'head' argument from GetSourceFiles, 2014-07-10) exposed a dormant bug in source file computation, causing the test case to regress. After that commit, the source file computation and caching finds an existing container of source files. Prior to that patch, the GetSourceFiles method was called with either a null pointer for the head cmTarget, or it was called with the this pointer. The processSources method is eventually called, which normalizes the difference between the null pointer and the this pointer for the head target. However, the cache key depends on the actual pre-normalized pointer. The change in that commit caused the entry to be found in the cache where it was not before, which resulted in incorrect behavior. Prior to that commit, the test case also fails if the GetSourceFiles overload taking a vector<cmSourceFile*> is changed to normalize the head target at the beginning of the method: cmTarget const* head = head_ ? head_ : this; Such a construct was correctly used in other locations where similar caching was in place, before being removed in commit v3.1.0-rc1~310^2~25 (cmTarget: Remove 'head' argument from GetLinkInformation, 2014-06-12), but is not neccessary anymore. Commit v3.1.0-rc1~674^2~2 (cmTarget: Cache the cmSourceFiles in GetSourceFiles., 2014-04-05) introduced the caching, but fails the test case for an unrelated reason. That unrelated error was introduced in commit v3.1.0-rc1~688^2~5 (cmTarget: Allow any generator expression in SOURCES property., 2014-03-18) and fixed in commit v3.1.0-rc1~561^2~1 (cmTarget: Fix listing of source files at configure-time., 2014-04-13). All commits which fail the test case in the testable way do so when such a cached version of the source files is found and returned at generate time. In the test case, the cached content is populated at configure-time through the use of the deprecated LOCATION property with CMP0026 OLD. The cached content is an empty container for the bar target in the test case, because its source file 'foo.cpp.o' is not known until generate-time. That means that no source files are available to compute the link language and the reported error is issued. The actual problem is that the SourceFilesMap should be cleared after configure time by cmTarget::ClearLinkMaps. Clear it there now.
| * | | | Merge branch 'fix-empty-target-property-queries' into releaseBrad King2015-01-111-1/+4
| |\ \ \ \
| * \ \ \ \ Merge branch 'kwsys-Terminal-xterm-termite' into releaseBrad King2015-01-081-0/+1
| |\ \ \ \ \
| | * | | | | KWSys Terminal: Add xterm-termite to VT100 color support whitelistSimon Gomizelj2015-01-081-0/+1
| | | | | | |
| * | | | | | Merge branch 'ninja-fix-subdir-objlib-languages' into releaseBrad King2014-12-241-2/+15
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge branch 'ninja-fix-crash-on-error' into releaseBrad King2014-12-231-1/+4
| |\ \ \ \ \ \
| * | | | | | | Fix compilation with the Oracle / Sun compiler (#15318)Chuck Atkins2014-12-181-2/+3
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One piece of code has some ambiguous type deduction that seems to resolve correctly for most compilers but not for the Oracle compiler. Make it more explicit.
* | | | | | | Merge topic 'cpack-PackageMaker-OSX-10.10'Brad King2015-01-152-10/+26
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70abf6e7 CPack: Fix PackageMaker internal versioning for OS X 10.10
| * | | | | | | CPack: Fix PackageMaker internal versioning for OS X 10.10Calin Cascaval2015-01-122-10/+26
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid using a floating point value to represent the version, since "10.10" would be treated as "10.1".
* | | | | | | CMake Nightly Date StampKitware Robot2015-01-151-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2015-01-141-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-01-131-1/+1
| | | | | |
* | | | | | Merge topic 'join-algorithm'Brad King2015-01-1215-216/+56
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55a73e6b Use the cmJoin algorithm where possible. 8dc8d756 cmStandardIncludes: Add a join algorithm for string containers. b5813cee cmInstallCommand: Remove unused variable.
| * | | | | | Use the cmJoin algorithm where possible.Stephen Kelly2015-01-0814-215/+29
| | | | | | |
| * | | | | | cmStandardIncludes: Add a join algorithm for string containers.Stephen Kelly2015-01-081-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires the input range to supply BidirectionalIterators, which is not a problem for where it is currently useful to us. The alternative would be to not invoke --last;, and instead create an output iterator similar to std::ostream_iterator, but which puts the delimiter before the item to output.
| * | | | | | cmInstallCommand: Remove unused variable.Stephen Kelly2015-01-081-1/+0
| | | | | | |
* | | | | | | Merge topic 'add-xz-support'Brad King2015-01-124-21/+56
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4035ef78 cmake -E tar: error out on multiple compression formats d811d238 cmSystemTools: use an enumeration for compression formats df16dcfb cmake -E tar: add support for .xz files with 'J' b0a5d393 cmake -E tar: clean up flag documentation
| * | | | | | | cmake -E tar: error out on multiple compression formatsBen Boeckel2015-01-121-0/+10
| | | | | | | |
| * | | | | | | cmSystemTools: use an enumeration for compression formatsBen Boeckel2015-01-124-23/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Juggling 3 booleans was unwieldy.
| * | | | | | | cmake -E tar: add support for .xz files with 'J'Ben Boeckel2015-01-094-6/+14
| | | | | | | |
| * | | | | | | cmake -E tar: clean up flag documentationBen Boeckel2015-01-081-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'improve_cobertura'Brad King2015-01-121-9/+39
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ab74553d ctest_coverage: Fix parsing of absolute paths in Cobertura files
| * | | | | | | | ctest_coverage: Fix parsing of absolute paths in Cobertura filesZack Galbreath2015-01-121-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes a segmentation fault I encountered when my Coverage.xml referenced a system file, eg /usr/lib/python/foo.py. Similar to other CMake coverage parsers, this one now ignores any files it finds that are not located within this project's source or binary directories.
* | | | | | | | | Merge topic 'fix-autouic-regression'Brad King2015-01-121-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a673737 QtAutoUic: Add a test for the regression in the parent commit. 7c585699 QtAutoUic: Restore source file AUTOUIC_OPTIONS settings
| * | | | | | | | | QtAutoUic: Restore source file AUTOUIC_OPTIONS settingsJustin Borodinsky2015-01-111-1/+1
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "." in the extension was dropped by commit v3.1.0-rc1~556^2~2 (cmSourceFile: Cache the isUiFile check, 2014-02-08) by mistake. This caused the options to not be set.
* | | | | | | | | Merge topic 'drop-ancient-workarounds'Brad King2015-01-12132-894/+614
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f7bdd61 Remove VS 6 special case. 5e92c826 Remove some obsolete stuff. 15e42bb2 cmStandardIncludes: Remove obsolete cmOStringStream. 931e055d Port all cmOStringStream to std::ostringstream. f194a009 Remove unused cmIStringStream class. 3ec1bb15 cmStandardIncludes: Remove std namespace hack. bb3bce70 cmStandardIncludes: Remove ANSI_FOR_SCOPE hack. 28fa4923 cmStandardIncludes: Remove iostreams workaround for obsolete Compaq compiler. 837a8a63 cmStandardIncludes: Drop Comeau-related workaround. 4030ddfd Remove Borland-related undef. 17d6a6fd cmStandardIncludes: Remove comment about Borland. 26fb5011 Drop SGI as a CMake host compiler.
| * | | | | | | | | Remove some obsolete stuff.Stephen Kelly2015-01-111-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need to run compiler tests for ansi-for etc anymore. All supported compilers support the features tested here.
| * | | | | | | | | cmStandardIncludes: Remove obsolete cmOStringStream.Stephen Kelly2015-01-113-78/+4
| | | | | | | | | |
| * | | | | | | | | Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-11126-611/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All compilers hosting CMake support the std class.
| * | | | | | | | | Remove unused cmIStringStream class.Stephen Kelly2015-01-081-31/+0
| | | | | | | | | |
| * | | | | | | | | cmStandardIncludes: Remove std namespace hack.Stephen Kelly2015-01-081-5/+0
| | | | | | | | | |
| * | | | | | | | | cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.Stephen Kelly2015-01-081-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All compilers hosting CMake support proper for scoping.