Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CMake: Update documentation of STRING(SUBSTRING) for length -1 (#10740) | Rolf Eike Beer | 2011-05-27 | 1 | -1/+1 |
| | |||||
* | Fix forced-seed argument type in string(RANDOM) | Brad King | 2011-05-23 | 1 | -2/+2 |
| | | | | | | | | | Clang points out that local variable 'seed' needs to be "unsigned int": Source/cmStringCommand.cxx:828:21: warning: operands of ? are integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] srand(force_seed? seed : cmSystemTools::RandomSeed()); ^ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||
* | Improve string(RANDOM) default seed | Brad King | 2011-05-17 | 1 | -2/+2 |
| | | | | | | The naive time(0) seed is unique only within one second. Instead try to read a real source of entropy and otherwise fall back to a combination of the process id and high-resolution time. | ||||
* | Avoid direct use of std::stringstream | Brad King | 2011-02-17 | 1 | -1/+1 |
| | | | | | In method cmStringCommand::HandleFindCommand added by parent commit use the cmOStringStream compatibility wrapper instead of std::stringstream. | ||||
* | Add a string(FIND) sub-command (#11795) | Tim Hütz | 2011-02-15 | 1 | -1/+67 |
| | |||||
* | Merge branch 'dev/add_test-working-directory' into dev/strict-mode | Brad King | 2011-01-27 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: Tests/CMakeLists.txt | ||||
| * | allow STRING(SUBSTRING) work with length -1 as "rest of the string" | Rolf Eike Beer | 2010-12-08 | 1 | -1/+1 |
| | | | | | | | | This fixes the first half of bug 10740. | ||||
* | | Ignore CMAKE_MATCH_* variables for usage | Ben Boeckel | 2010-09-15 | 1 | -0/+2 |
|/ | |||||
* | Fix or cast integer conversions in cmake | Brad King | 2010-06-25 | 1 | -1/+1 |
| | | | | | These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated. | ||||
* | Fix issue #9851 - only seed the random number generator on the first call to ↵ | David Cole | 2009-11-06 | 1 | -1/+16 |
| | | | | STRING(RANDOM or if given the new RANDOM_SEED argument. Add test and documentation of new argument. | ||||
* | Correct some typos in error messages in the string command. Add a test that ↵ | David Cole | 2009-10-02 | 1 | -4/+4 |
| | | | | covers more of the code implemented in cmStringCommand.cxx, especially the error handlers. | ||||
* | Fix warnings in CMake source code. Suppress warnings in Lexer and Parser ↵ | David Cole | 2009-09-30 | 1 | -1/+1 |
| | | | | files that are 'too hard' to fix. | ||||
* | Convert CMake to OSI-approved BSD License | Brad King | 2009-09-28 | 1 | -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. | ||||
* | BUG: Correct typo in error message. | David Cole | 2008-08-26 | 1 | -1/+1 |
| | |||||
* | ENH: add return and break support to cmake, also change basic command ↵ | Ken Martin | 2008-01-23 | 1 | -1/+2 |
| | | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class | ||||
* | BUG: fix STRING(STRIP ...) if no non-space is contained in the input string, | Alexander Neundorf | 2007-12-16 | 1 | -2/+14 |
| | | | | | | this should fix the dashboard Alex | ||||
* | ENH: also store the group matches from IF( MATCHES) in CMAKE_MATCH_(0..9) | Alexander Neundorf | 2007-08-29 | 1 | -10/+10 |
| | | | | Alex | ||||
* | ENH: store the matches for paren-delimited subexpression in | Alexander Neundorf | 2007-08-21 | 1 | -0/+28 |
| | | | | | | | CMAKE_MATCH_[0..9] variables, so to get multiple subexpressions from one string STRING(REGEX MATCH) has to be executed only once Alex | ||||
* | ENH: Add STRING STRIP command | Andy Cedilnik | 2007-04-27 | 1 | -0/+41 |
| | |||||
* | COMP: Added missing include for time. | Brad King | 2007-04-23 | 1 | -0/+2 |
| | |||||
* | ENH: Add command to generate random strings | Ken Martin | 2007-04-23 | 1 | -0/+72 |
| | |||||
* | STYLE: fix line length | Ken Martin | 2006-05-12 | 1 | -1/+2 |
| | |||||
* | STYLE: some m_ to this-> cleanup | Ken Martin | 2006-03-15 | 1 | -13/+13 |
| | |||||
* | STYLE: fix line lengths | Bill Hoffman | 2006-03-10 | 1 | -16/+35 |
| | |||||
* | BUG: end is not really end, but rather length | Bill Hoffman | 2005-10-20 | 1 | -1/+1 |
| | |||||
* | COMP: Remove warning | Andy Cedilnik | 2005-10-18 | 1 | -1/+1 |
| | |||||
* | ENH: Add rudamentary mathematical expression support | Andy Cedilnik | 2005-10-17 | 1 | -1/+1 |
| | |||||
* | ENH: Add String length and substring | Andy Cedilnik | 2005-10-17 | 1 | -0/+64 |
| | |||||
* | ENH: Add regular string replace (not regex), and relative path command. Also ↵ | Andy Cedilnik | 2005-10-17 | 1 | -0/+30 |
| | | | | add tests | ||||
* | ENH: Added STRING(CONFIGURE ...) command. | Brad King | 2004-03-04 | 1 | -0/+51 |
| | |||||
* | BUG#452: Fix to argument checking for TOUPPER and TOLOWER subcommands. | Brad King | 2003-12-29 | 1 | -2/+2 |
| | |||||
* | ERR: Remove unused variable | Andy Cedilnik | 2003-07-10 | 1 | -2/+0 |
| | |||||
* | ENH: Add upper and lower case support. Close Bug #79 - STRING TOUPPER and ↵ | Andy Cedilnik | 2003-07-10 | 1 | -1/+39 |
| | | | | TOLOWER | ||||
* | ENH: Merged use of the kwsys RegularExpression class instead of ↵ | Brad King | 2003-06-23 | 1 | -3/+5 |
| | | | | cmRegularExpression. | ||||
* | ENH: add some includes for borland 6 | Bill Hoffman | 2003-05-23 | 1 | -1/+1 |
| | |||||
* | Add a way to convert ascii to string | Andy Cedilnik | 2003-01-01 | 1 | -1/+37 |
| | |||||
* | ENH: Added COMPARE modes to STRING command. | Brad King | 2002-12-04 | 1 | -0/+60 |
| | |||||
* | fix compile warning | Ken Martin | 2002-12-02 | 1 | -3/+3 |
| | |||||
* | ERR: Fixed signed/unsigned warnings. | Brad King | 2002-11-07 | 1 | -5/+5 |
| | |||||
* | BUG: Fixed STRING(REGEX REPLACE ...) and added better test. | Brad King | 2002-11-06 | 1 | -2/+2 |
| | |||||
* | ENH: Added STRING command. | Brad King | 2002-11-06 | 1 | -0/+309 |