summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert loop to the common pattern.Stephen Kelly2015-02-111-10/+4
|
* Move loop inside of condition.Stephen Kelly2015-02-111-12/+12
| | | | The loop is only executed if the condition is true.
* Handle last element outside of the loop.Stephen Kelly2015-02-111-3/+11
| | | | | There is no point in checking on each loop iteration whether it is the last element.
* cmTarget: Use a sorted vector in place of a set.Stephen Kelly2015-02-111-17/+10
| | | | | | | The vector has a more easy-to-use API. Join the string with cmJoin, and avoid erasing from the container in the loop.
* cmSet: Replace loop with cmJoin.Stephen Kelly2015-02-111-11/+1
|
* cmFindBase: Replace loop with cmJoin on range.Stephen Kelly2015-02-111-5/+3
|
* Convert loops to cmJoin algorithm with cmRange.Stephen Kelly2015-02-114-34/+5
|
* cmStringCommand: Accumulate with cmJoin and range adaptors.Stephen Kelly2015-02-111-31/+11
|
* cmAlgorithms: Add a range adaptor and API for adjusting a range.Stephen Kelly2015-02-111-0/+19
|
* Use cmJoin to accumulate string ranges.Stephen Kelly2015-02-112-10/+2
| | | | | | | | Avoid using the std::accumulate algorithm which is designed for numeric types, not complex types. It introduces unneccessary copies. Initialize variables where they are populated.
* cmAlgorithms: Add a Range container and adaptor method.Stephen Kelly2015-02-111-0/+21
| | | | | | | | This can make a pair of iterators API compatible with the cmJoin algorithm and other range-based algorithms. Accept different iterator types in the cmRange adaptor so that a const and non-const iterator are accepted.
* Replace common loop pattern with cmJoinStephen Kelly2015-02-116-81/+11
|
* Convert loops populating maybe-empty content into the common pattern.Stephen Kelly2015-02-113-17/+30
|
* Convert loops into the commonly used pattern.Stephen Kelly2015-02-112-32/+25
|
* cmMacroCommand: Remove counting variable.Stephen Kelly2015-02-111-9/+4
| | | | Start iteration at correct starting point directly.
* cmMacroCommand: Execute loop only if it has an effect.Stephen Kelly2015-02-111-9/+12
|
* cmMacroCommand: Extract iteration starting point.Stephen Kelly2015-02-111-2/+3
|
* cmMacroCommand: Replace a loop with cmJoin.Stephen Kelly2015-02-111-3/+3
|
* Split cmAlgorithms into a separate header file.Stephen Kelly2015-02-1011-134/+161
|
* Merge topic 'cmStandardIncludes-cleanup'Brad King2015-02-1013-12/+20
|\ | | | | | | | | | | | | af65da0a cmStandardIncludes: Remove list include. e848cc50 cmStandardIncludes: Remove deque include. 5fea6898 cmStandardIncludes: Remove some VS6 workarounds.
| * cmStandardIncludes: Remove list include.Stephen Kelly2015-02-0611-1/+17
| | | | | | | | Include it only where used.
| * cmStandardIncludes: Remove deque include.Stephen Kelly2015-02-063-1/+3
| | | | | | | | Include it only where used.
| * cmStandardIncludes: Remove some VS6 workarounds.Stephen Kelly2015-02-061-10/+0
| | | | | | | | | | Added in commit v2.6.0~2824 (COMP: Fix warnings in system headers on VS6., 2006-08-29), but no longer needed.
* | Merge topic 'test-RunCMake-updates'Brad King2015-02-1059-61/+18
|\ \ | | | | | | | | | | | | | | | | | | c0d8e715 RunCMake: Allow specifying the stderr file for a test. 68d29f51 RunCMake: Allow specifying the directory to run tests in. 1c3918ff RunCMake: Remove unneeded files.
| * | RunCMake: Allow specifying the stderr file for a test.Stephen Kelly2015-02-091-1/+4
| | |
| * | RunCMake: Allow specifying the directory to run tests in.Stephen Kelly2015-02-091-3/+14
| | |
| * | RunCMake: Remove unneeded files.Stephen Kelly2015-02-0957-57/+0
| | | | | | | | | | | | | | | The default expectation of RunCMake tests is empty content, so there is no need to specify it.
* | | Merge branch 'release'Brad King2015-02-100-0/+0
|\ \ \
| * \ \ Merge branch 'cpack_rpm_mulit_prefix_fixup' into releaseBrad King2015-02-101-1/+1
| |\ \ \
| * \ \ \ Merge branch 'no-global-setlocale' into releaseBrad King2015-02-069-12/+39
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.1'Brad King2015-02-100-0/+0
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'backport-no-global-setlocale' into release-3.1Brad King2015-02-069-12/+39
| |\ \ \ \ \ \
* | \ \ \ \ \ \ Merge topic 'cpack_rpm_mulit_prefix_fixup'Brad King2015-02-101-1/+1
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | 3d99355b CPackRPM: Fix recognition of absolute relocation paths
| * | | | | | | CPackRPM: Fix recognition of absolute relocation pathsDomen Vrankar2015-02-101-1/+1
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Fix typo in logic added by commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes for one package, 2015-01-21).
* | | | | | | Merge topic 'use-algorithms'Brad King2015-02-1024-147/+74
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d8639733 cmSystemTools: Remove unnecessary comparison. 803317aa cmSystemTools: Early return if size makes later comparison false. 11093a03 Replace temporary bool by inlining warning condition. 6cd2ee95 Replace loop with member algorithm. 94e993a0 cmComputeLinkDepends: Remove temporary iterator copy. 69dbe51b Replace loop with algorithm. 683fafea Replace a loop with std::transform. 63f584b6 Replace while loop with member insert. 74c4d9d2 Take a size check outside of an inner loop. 71d47115 Use insert member instead of back_inserter. 39622c99 Convert while loop to member insert. a7fcc148 Convert loop to algorithm. d46c4f07 Extract a prefix variable from loop. d59913f0 Take computation out of loop. 3f3db744 cmMakefile: Remove ExpandSourceListArguments. bd990c80 Remove use of ExpandSourceListArguments. ...
| * | | | | | | cmSystemTools: Remove unnecessary comparison.Stephen Kelly2015-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already know the string is uppercase.
| * | | | | | | cmSystemTools: Early return if size makes later comparison false.Stephen Kelly2015-02-061-0/+4
| | | | | | | |
| * | | | | | | Replace temporary bool by inlining warning condition.Stephen Kelly2015-02-061-15/+11
| | | | | | | |
| * | | | | | | Replace loop with member algorithm.Stephen Kelly2015-02-061-6/+5
| | | | | | | |
| * | | | | | | cmComputeLinkDepends: Remove temporary iterator copy.Stephen Kelly2015-02-061-2/+1
| | | | | | | |
| * | | | | | | Replace loop with algorithm.Stephen Kelly2015-02-061-7/+3
| | | | | | | |
| * | | | | | | Replace a loop with std::transform.Stephen Kelly2015-02-061-5/+4
| | | | | | | |
| * | | | | | | Replace while loop with member insert.Stephen Kelly2015-02-062-16/+2
| | | | | | | |
| * | | | | | | Take a size check outside of an inner loop.Stephen Kelly2015-02-062-10/+10
| | | | | | | |
| * | | | | | | Use insert member instead of back_inserter.Stephen Kelly2015-02-061-2/+1
| | | | | | | |
| * | | | | | | Convert while loop to member insert.Stephen Kelly2015-02-061-5/+1
| | | | | | | |
| * | | | | | | Convert loop to algorithm.Stephen Kelly2015-02-061-5/+2
| | | | | | | |
| * | | | | | | Extract a prefix variable from loop.Stephen Kelly2015-02-061-5/+2
| | | | | | | |
| * | | | | | | Take computation out of loop.Stephen Kelly2015-02-061-1/+3
| | | | | | | |
| * | | | | | | cmMakefile: Remove ExpandSourceListArguments.Stephen Kelly2015-02-052-24/+0
| | | | | | | |