Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge topic 'source_sweep_cmStrCat' | Brad King | 2019-08-23 | 175 | -2949/+1960 |
|\ | | | | | | | | | | | | | | | | | 9b334397f5 Source sweep: Use cmStrCat for string concatenation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !3699 | ||||
| * | Source sweep: Use cmStrCat for string concatenation | Sebastian Holtermann | 2019-08-22 | 175 | -2949/+1960 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is generated by a python script that uses regular expressions to search for string concatenation patterns of the kind ``` std::string str = <ARG0>; str += <ARG1>; str += <ARG2>; ... ``` and replaces them with a single `cmStrCat` call ``` std::string str = cmStrCat(<ARG0>, <ARG1>, <ARG2>, ...); ``` If any `<ARGX>` is itself a concatenated string of the kind ``` a + b + c + ...; ``` then `<ARGX>` is split into multiple arguments for the `cmStrCat` call. If there's a sequence of literals in the `<ARGX>`, then all literals in the sequence are concatenated and merged into a single literal argument for the `cmStrCat` call. Single character strings are converted to single char arguments for the `cmStrCat` call. `std::to_string(...)` wrappings are removed from `cmStrCat` arguments, because it supports numeric types as well as string types. `arg.substr(x)` arguments to `cmStrCat` are replaced with `cm::string_view(arg).substr(x)` | ||||
* | | CMake Nightly Date Stamp | Kitware Robot | 2019-08-23 | 1 | -1/+1 |
|/ | |||||
* | Merge topic 'cmCommand_refactor' | Brad King | 2019-08-22 | 70 | -2042/+1568 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ab28b9413 cmCommand refactor: cmStringCommand 36f32d3604 cmCommand refactor: cmSetPropertyCommand 7c83c19205 cmCommand refactor: cmSetDirectoryPropertiesCommand 9413952c42 cmCommand refactor: cmCMakePolicyCommand 07ea93de54 cmCommand refactor: cmWriteFileCommand ca3b9186bb cmCommand refactor: cmVariableWatchCommand b1acc711f4 cmCommand refactor: cmRemoveCommand 413a960391 cmCommand refactor: cmCMakeHostSystemInformationCommand ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3673 | ||||
| * | cmCommand refactor: cmStringCommand | Gabor Bencze | 2019-08-20 | 3 | -221/+241 |
| | | |||||
| * | cmCommand refactor: cmSetPropertyCommand | Gabor Bencze | 2019-08-20 | 3 | -198/+256 |
| | | |||||
| * | cmCommand refactor: cmSetDirectoryPropertiesCommand | Gabor Bencze | 2019-08-20 | 3 | -40/+21 |
| | | |||||
| * | cmCommand refactor: cmCMakePolicyCommand | Gabor Bencze | 2019-08-20 | 4 | -77/+66 |
| | | |||||
| * | cmCommand refactor: cmWriteFileCommand | Gabor Bencze | 2019-08-20 | 3 | -33/+11 |
| | | |||||
| * | cmCommand refactor: cmVariableWatchCommand | Gabor Bencze | 2019-08-20 | 3 | -31/+12 |
| | | |||||
| * | cmCommand refactor: cmRemoveCommand | Gabor Bencze | 2019-08-20 | 3 | -30/+9 |
| | | |||||
| * | cmCommand refactor: cmCMakeHostSystemInformationCommand | Gabor Bencze | 2019-08-20 | 3 | -82/+57 |
| | | |||||
| * | cmCommand refactor: cmUnsetCommand | Gabor Bencze | 2019-08-20 | 3 | -33/+12 |
| | | |||||
| * | cmCommand refactor: cmSiteNameCommand | Gabor Bencze | 2019-08-20 | 3 | -32/+11 |
| | | |||||
| * | cmCommand refactor: cmSetCommand | Gabor Bencze | 2019-08-20 | 3 | -39/+18 |
| | | |||||
| * | cmCommand refactor: cmSeparateArgumentsCommand | Gabor Bencze | 2019-08-20 | 3 | -34/+12 |
| | | |||||
| * | cmCommand refactor: cmParseArgumentsCommand | Gabor Bencze | 2019-08-20 | 3 | -47/+24 |
| | | |||||
| * | cmCommand refactor: cmOptionCommand | Gabor Bencze | 2019-08-20 | 3 | -38/+17 |
| | | |||||
| * | cmCommand refactor: CmMessageCommand | Gabor Bencze | 2019-08-20 | 3 | -40/+20 |
| | | |||||
| * | cmCommand refactor: cmMathCommand | Gabor Bencze | 2019-08-20 | 3 | -41/+25 |
| | | |||||
| * | cmCommand refactor: cmMarkAsAdvancedCommand | Gabor Bencze | 2019-08-20 | 3 | -32/+10 |
| | | |||||
| * | cmCommand refactor: cmMakeDirectoryCommand | Gabor Bencze | 2019-08-20 | 3 | -32/+10 |
| | | |||||
| * | cmCommand refactor: cmListCommand | Gabor Bencze | 2019-08-20 | 3 | -224/+244 |
| | | |||||
| * | cmCommand refactor: cmMacroCommand | Gabor Bencze | 2019-08-20 | 3 | -27/+10 |
| | | |||||
| * | cmCommand refactor: cmIncludeGuardCommand | Gabor Bencze | 2019-08-20 | 3 | -31/+10 |
| | | |||||
| * | cmCommand refactor: cmIncludeCommand | Gabor Bencze | 2019-08-20 | 3 | -48/+29 |
| | | |||||
| * | cmCommand_refactor: cmGetPropertyCommand | Gabor Bencze | 2019-08-20 | 3 | -162/+187 |
| | | |||||
| * | cmCommand refactor: cmGetFilenameComponentCommand | Gabor Bencze | 2019-08-20 | 3 | -37/+16 |
| | | |||||
| * | cmCommand refactor: cmGetDirectoryPropertyCommand | Gabor Bencze | 2019-08-20 | 3 | -42/+29 |
| | | |||||
| * | cmCommand refactor: cmGetCMakePropertyCommand | Gabor Bencze | 2019-08-20 | 3 | -31/+12 |
| | | |||||
| * | cmCommand refactor: cmFunctionCommand | Gabor Bencze | 2019-08-20 | 3 | -27/+10 |
| | | |||||
| * | cmCommand refactor: cmForEachCommand | Gabor Bencze | 2019-08-20 | 3 | -39/+21 |
| | | |||||
| * | cmCommand refactor: cmExecuteProcessCommand | Gabor Bencze | 2019-08-20 | 3 | -61/+46 |
| | | |||||
| * | cmCommand refactor: cmExecProgramCommand | Gabor Bencze | 2019-08-20 | 3 | -47/+25 |
| | | |||||
| * | cmCommand refactor: cmContinueCommand | Gabor Bencze | 2019-08-20 | 3 | -33/+15 |
| | | |||||
| * | cmCommand refactor: cmConfigureFileCommand | Gabor Bencze | 2019-08-20 | 3 | -73/+37 |
| | | |||||
| * | cmCommand refactor: cmCMakeMinimumRequired | Gabor Bencze | 2019-08-20 | 3 | -49/+34 |
| | | |||||
| * | cmCommand refactor: cmBreakCommand | Gabor Bencze | 2019-08-20 | 3 | -31/+11 |
| | | |||||
* | | Merge topic 'isolate-declarations' | Brad King | 2019-08-22 | 25 | -48/+102 |
|\ \ | | | | | | | | | | | | | | | | | | | d331021255 clang-tidy: isolate declarations for readability Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3704 | ||||
| * | | clang-tidy: isolate declarations for readability | Regina Pfeifer | 2019-08-20 | 25 | -48/+102 |
| |/ | |||||
* | | CMake Nightly Date Stamp | Kitware Robot | 2019-08-22 | 1 | -1/+1 |
| | | |||||
* | | Merge topic 'double-export-error-message-install' | Brad King | 2019-08-21 | 4 | -18/+33 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | d17580909f cmExportInstallFileGenerator: improve error message a18100898a cmInstallExportGenerator: add a method for the file destination Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3703 | ||||
| * | | cmExportInstallFileGenerator: improve error message | Ben Boeckel | 2019-08-20 | 2 | -18/+27 |
| | | | | | | | | | | | | | | | | | | | | | Following commit 49cfd390 (cmExportBuildFileGenerator: improve error message, 2019-06-26), improve the error message related to installed export sets by referencing the files which contain the exported target ambiguously. | ||||
| * | | cmInstallExportGenerator: add a method for the file destination | Ben Boeckel | 2019-08-19 | 2 | -0/+6 |
| | | | | | | | | | | | | | | | This will be used in the error message which remarks about a target being exported ambiguously into different installations. | ||||
* | | | Merge topic 'shared-string' | Brad King | 2019-08-21 | 5 | -28/+33 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be7807478c cmDefinitions: Reduce allocation of keys and values in MakeClosure e07e2bc8bb bootstrap: Compile cm::String c1787cb5eb cpack.cxx: Re-order include blocks to follow our conventions 141e307484 cmConfigure.h: Tell windows.h not to define min/max macros Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3669 | ||||
| * | | | cmDefinitions: Reduce allocation of keys and values in MakeClosure | Brad King | 2019-08-20 | 3 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `cm::String` to store keys and values so that `MakeClosure` does not need to allocate new copies of all of them. Issue: #19581 | ||||
| * | | | cpack.cxx: Re-order include blocks to follow our conventions | Brad King | 2019-08-20 | 1 | -14/+15 |
| | | | | |||||
| * | | | cmConfigure.h: Tell windows.h not to define min/max macros | Brad King | 2019-08-20 | 1 | -0/+4 |
| | |/ | |/| | |||||
* | | | Merge topic 'install-fail-reason' | Brad King | 2019-08-21 | 1 | -8/+13 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 891e670e59 install: print reason of failure Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !3696 | ||||
| * | | | install: print reason of failure | Jon Chronopoulos | 2019-08-17 | 1 | -8/+13 |
| | | | | | | | | | | | | | | | | Fixes: #19430 |