Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert loop to the common pattern. | Stephen Kelly | 2015-02-11 | 1 | -10/+4 |
| | |||||
* | Move loop inside of condition. | Stephen Kelly | 2015-02-11 | 1 | -12/+12 |
| | | | | The loop is only executed if the condition is true. | ||||
* | Handle last element outside of the loop. | Stephen Kelly | 2015-02-11 | 1 | -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 Kelly | 2015-02-11 | 1 | -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 Kelly | 2015-02-11 | 1 | -11/+1 |
| | |||||
* | cmFindBase: Replace loop with cmJoin on range. | Stephen Kelly | 2015-02-11 | 1 | -5/+3 |
| | |||||
* | Convert loops to cmJoin algorithm with cmRange. | Stephen Kelly | 2015-02-11 | 4 | -34/+5 |
| | |||||
* | cmStringCommand: Accumulate with cmJoin and range adaptors. | Stephen Kelly | 2015-02-11 | 1 | -31/+11 |
| | |||||
* | cmAlgorithms: Add a range adaptor and API for adjusting a range. | Stephen Kelly | 2015-02-11 | 1 | -0/+19 |
| | |||||
* | Use cmJoin to accumulate string ranges. | Stephen Kelly | 2015-02-11 | 2 | -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 Kelly | 2015-02-11 | 1 | -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 cmJoin | Stephen Kelly | 2015-02-11 | 6 | -81/+11 |
| | |||||
* | Convert loops populating maybe-empty content into the common pattern. | Stephen Kelly | 2015-02-11 | 3 | -17/+30 |
| | |||||
* | Convert loops into the commonly used pattern. | Stephen Kelly | 2015-02-11 | 2 | -32/+25 |
| | |||||
* | cmMacroCommand: Remove counting variable. | Stephen Kelly | 2015-02-11 | 1 | -9/+4 |
| | | | | Start iteration at correct starting point directly. | ||||
* | cmMacroCommand: Execute loop only if it has an effect. | Stephen Kelly | 2015-02-11 | 1 | -9/+12 |
| | |||||
* | cmMacroCommand: Extract iteration starting point. | Stephen Kelly | 2015-02-11 | 1 | -2/+3 |
| | |||||
* | cmMacroCommand: Replace a loop with cmJoin. | Stephen Kelly | 2015-02-11 | 1 | -3/+3 |
| | |||||
* | Split cmAlgorithms into a separate header file. | Stephen Kelly | 2015-02-10 | 11 | -134/+161 |
| | |||||
* | Merge topic 'cmStandardIncludes-cleanup' | Brad King | 2015-02-10 | 13 | -12/+20 |
|\ | | | | | | | | | | | | | af65da0a cmStandardIncludes: Remove list include. e848cc50 cmStandardIncludes: Remove deque include. 5fea6898 cmStandardIncludes: Remove some VS6 workarounds. | ||||
| * | cmStandardIncludes: Remove list include. | Stephen Kelly | 2015-02-06 | 11 | -1/+17 |
| | | | | | | | | Include it only where used. | ||||
| * | cmStandardIncludes: Remove deque include. | Stephen Kelly | 2015-02-06 | 3 | -1/+3 |
| | | | | | | | | Include it only where used. | ||||
| * | cmStandardIncludes: Remove some VS6 workarounds. | Stephen Kelly | 2015-02-06 | 1 | -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 King | 2015-02-10 | 59 | -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 Kelly | 2015-02-09 | 1 | -1/+4 |
| | | | |||||
| * | | RunCMake: Allow specifying the directory to run tests in. | Stephen Kelly | 2015-02-09 | 1 | -3/+14 |
| | | | |||||
| * | | RunCMake: Remove unneeded files. | Stephen Kelly | 2015-02-09 | 57 | -57/+0 |
| | | | | | | | | | | | | | | | The default expectation of RunCMake tests is empty content, so there is no need to specify it. | ||||
* | | | Merge branch 'release' | Brad King | 2015-02-10 | 0 | -0/+0 |
|\ \ \ | |||||
| * \ \ | Merge branch 'cpack_rpm_mulit_prefix_fixup' into release | Brad King | 2015-02-10 | 1 | -1/+1 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch 'no-global-setlocale' into release | Brad King | 2015-02-06 | 9 | -12/+39 |
| |\ \ \ \ | |||||
* | \ \ \ \ | Merge branch 'release-3.1' | Brad King | 2015-02-10 | 0 | -0/+0 |
|\ \ \ \ \ \ | |||||
| * \ \ \ \ \ | Merge branch 'backport-no-global-setlocale' into release-3.1 | Brad King | 2015-02-06 | 9 | -12/+39 |
| |\ \ \ \ \ \ | |||||
* | \ \ \ \ \ \ | Merge topic 'cpack_rpm_mulit_prefix_fixup' | Brad King | 2015-02-10 | 1 | -1/+1 |
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 3d99355b CPackRPM: Fix recognition of absolute relocation paths | ||||
| * | | | | | | | CPackRPM: Fix recognition of absolute relocation paths | Domen Vrankar | 2015-02-10 | 1 | -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 King | 2015-02-10 | 24 | -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 Kelly | 2015-02-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already know the string is uppercase. | ||||
| * | | | | | | | cmSystemTools: Early return if size makes later comparison false. | Stephen Kelly | 2015-02-06 | 1 | -0/+4 |
| | | | | | | | | |||||
| * | | | | | | | Replace temporary bool by inlining warning condition. | Stephen Kelly | 2015-02-06 | 1 | -15/+11 |
| | | | | | | | | |||||
| * | | | | | | | Replace loop with member algorithm. | Stephen Kelly | 2015-02-06 | 1 | -6/+5 |
| | | | | | | | | |||||
| * | | | | | | | cmComputeLinkDepends: Remove temporary iterator copy. | Stephen Kelly | 2015-02-06 | 1 | -2/+1 |
| | | | | | | | | |||||
| * | | | | | | | Replace loop with algorithm. | Stephen Kelly | 2015-02-06 | 1 | -7/+3 |
| | | | | | | | | |||||
| * | | | | | | | Replace a loop with std::transform. | Stephen Kelly | 2015-02-06 | 1 | -5/+4 |
| | | | | | | | | |||||
| * | | | | | | | Replace while loop with member insert. | Stephen Kelly | 2015-02-06 | 2 | -16/+2 |
| | | | | | | | | |||||
| * | | | | | | | Take a size check outside of an inner loop. | Stephen Kelly | 2015-02-06 | 2 | -10/+10 |
| | | | | | | | | |||||
| * | | | | | | | Use insert member instead of back_inserter. | Stephen Kelly | 2015-02-06 | 1 | -2/+1 |
| | | | | | | | | |||||
| * | | | | | | | Convert while loop to member insert. | Stephen Kelly | 2015-02-06 | 1 | -5/+1 |
| | | | | | | | | |||||
| * | | | | | | | Convert loop to algorithm. | Stephen Kelly | 2015-02-06 | 1 | -5/+2 |
| | | | | | | | | |||||
| * | | | | | | | Extract a prefix variable from loop. | Stephen Kelly | 2015-02-06 | 1 | -5/+2 |
| | | | | | | | | |||||
| * | | | | | | | Take computation out of loop. | Stephen Kelly | 2015-02-06 | 1 | -1/+3 |
| | | | | | | | | |||||
| * | | | | | | | cmMakefile: Remove ExpandSourceListArguments. | Stephen Kelly | 2015-02-05 | 2 | -24/+0 |
| | | | | | | | |