Regina Pfeifer
9d1a1bc495
cmTarget*: Port away from cmCommand
2019-09-26 13:27:55 -04:00
Regina Pfeifer
6a05bd3fa6
cm/algorithm: Provide function cm::clamp
2019-09-25 10:30:58 +02:00
Regina Pfeifer
920f0dd83a
cmInstallCommand: Port away from cmCommand
2019-09-21 05:20:59 +02:00
Regina Pfeifer
1dd31297ca
cmTargetLinkLibrariesCommand: Port away from cmCommand
2019-09-21 05:15:26 +02:00
Regina Pfeifer
d5c63f073f
cmSourceGroupCommand: Port away from cmCommand
2019-09-21 05:14:42 +02:00
Regina Pfeifer
42e413bcbb
cmSetTargetPropertiesCommand: Port away from cmCommand
2019-09-21 05:14:05 +02:00
Regina Pfeifer
77aa75b8dc
cmProjectCommand: Port away from cmCommand
2019-09-21 05:13:30 +02:00
Regina Pfeifer
9c521088df
cmLoadCacheCommand: Port away from cmCommand
2019-09-21 05:12:54 +02:00
Regina Pfeifer
fcfec154ac
cmLinkDirectoriesCommand: Port away from cmCommand
2019-09-21 05:12:31 +02:00
Regina Pfeifer
d038beec21
cmIncludeDirectoryCommand: Port away from cmCommand
2019-09-21 05:11:44 +02:00
Regina Pfeifer
fdc3ba4583
cmExportCommand: Port away from cmCommand
2019-09-21 05:11:08 +02:00
Regina Pfeifer
0aa8a2ab8b
cmCTest*Command: Port to cmArgumentParser
2019-09-20 13:27:30 +02:00
Regina Pfeifer
d5a6a13368
cmArgumentParser: Record parsed keywords
2019-09-20 13:27:30 +02:00
Regina Pfeifer
f30523d090
clang-tidy: modernize-deprecated-headers
2019-09-16 10:11:13 -04:00
Regina Pfeifer
a81e9a0ced
cmSubdirCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
573cd4e4b4
cmSetTestsPropertiesCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
95f23ea5d5
cmSetSourceFilesPropertiesCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
706400d417
cmRemoveDefinitionsCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
7f86990262
cmQTWrapUICommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
56bfb8de5d
cmQTWrapCPPCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
83b3f76a3b
cmLinkLibrariesCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
b85407ae76
cmInstallTargetsCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
d55319c01d
cmInstallProgramsCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
fb5affe085
cmInstallFilesCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
242d876d7b
cmIncludeRegularExpressionCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
06a2e764f0
cmIncludeExternalMSProjectCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
b46970cfe9
cmGetTestPropertyCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
0b95c64e43
cmGetTargetPropertyCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
e4c67981ac
cmGetSourceFilePropertyCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
36b939db68
cmFLTKWrapUICommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
28cf1271ed
cmEnableLanguageCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
41b0d60f48
cmDefinePropertyCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
f717e1fccf
cmCreateTestSourceList: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
f0ecb12398
cmBuildCommand: Port away from cmCommand
...
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
d25a5a7ec9
clang-tidy: modernize-use-auto
...
Set the MinTypeNameLength option to an impossibly high value in order
to limit the diagnostics to iterators. Leave new expressions and cast
expressions for later.
2019-09-10 22:21:41 +02:00
Regina Pfeifer
8a18bb7cdf
cmFind*: Port away from cmCommand
2019-09-10 22:13:11 +02:00
Regina Pfeifer
cd7d736278
cmCTestTestHandler: Port away from cmCommand
2019-09-09 16:32:05 +02:00
Regina Pfeifer
d63c1e4e6e
clang-tidy: modernize-return-braced-init-list
2019-09-06 22:27:39 +02:00
Regina Pfeifer
2528b70293
clang-tidy: Remove old entries from blacklist
...
Now that clang-tidy-8 is used, we can remove the checks that have been
renamed. Also enable a return-braced-init-list, because we don't have
any violations for that one.
2019-09-06 21:24:18 +02:00
Regina Pfeifer
1d3f5ebb0d
clang-tidy: Enable check modernize-use-using
...
Annotate the remaining typedefs with NOLINT.
Unfortunately, clang-tidy is not smart enough and suggests the use
of using inside extern "C" blocks.
2019-09-04 19:47:30 +02:00
Regina Pfeifer
e26f0e9dd5
CPack: Add generator for .tar.zst packages
2019-09-04 13:05:22 -04:00
Regina Pfeifer
f7085d7b0a
cmCPackArchiveGenerator: Code cleanup
2019-09-04 13:05:22 -04:00
Regina Pfeifer
a1ddf2d0ba
clang-tidy: Replace typedef with using
...
Automate the conversion with
perl -i -0pe 's/typedef ([^;]*) ([^ ]+);/using $2 = $1;/g'
then manually fix a few places.
2019-09-04 18:03:01 +02:00
Regina Pfeifer
62e5f72289
clang-tidy: Replace typedef with using
2019-09-03 13:21:26 -04:00
Regina Pfeifer
b14bcd9123
cmListCommand: Use cmSubcommandTable
2019-08-22 22:55:58 +02:00
Regina Pfeifer
66c2714f22
cmStringCommand: Use cmSubcommandTable
2019-08-22 22:14:53 +02:00
Regina Pfeifer
d331021255
clang-tidy: isolate declarations for readability
2019-08-21 00:20:49 +02:00
Regina Pfeifer
2dfc52675c
cmAlgorithms: Add cmContains
...
Also, use the new function where applicable.
2019-08-19 20:01:39 +02:00
Regina Pfeifer
c55fb044a9
cmBuildNameCommand: Implement as free function
2019-08-16 10:47:22 +02:00
Regina Pfeifer
86bf1eef75
cmState: Support free function disallowed commands
2019-08-13 13:48:10 +02:00
Regina Pfeifer
62659100aa
cmLocalGenerator: Use cmStrCat
...
Grep for '[A-Z]_";' to find places that could benefit from cmStrCat.
2019-08-09 10:58:00 +02:00
Regina Pfeifer
9ba0bf60c6
cmA*Command: Turn into free functions
...
Ref: #19499
2019-08-07 10:16:32 +02:00
Regina Pfeifer
a7a5f376bc
cmFileCommand: Use cmSubcommandTable
2019-08-06 17:21:52 +02:00
Regina Pfeifer
b66b7464ab
Introduce cmSubcommandTable
2019-08-06 17:21:52 +02:00
Regina Pfeifer
2b785875fb
cmFileCommand: turn into free function
2019-08-06 12:25:12 +02:00
Regina Pfeifer
5558070d52
cmExecutionStatus: Remove function Clear
2019-08-06 10:05:27 +02:00
Regina Pfeifer
41364824ad
cmFunctionBlocker: Recycle functions
2019-07-31 13:22:42 -04:00
Regina Pfeifer
6491270e0d
cmFunctionBlocker: Move check for matching args
2019-07-31 00:03:17 +02:00
Regina Pfeifer
af24e4ef6e
cmFunctionBlocker: Move common logic to base
2019-07-31 00:03:17 +02:00
Regina Pfeifer
ef38ff22f7
cm*FunctionBlocker: Extract function Replay
2019-07-31 00:03:17 +02:00
Regina Pfeifer
b51fba6298
cmMakefile: Add OnExecuteCommand callback
...
In cmCTestScriptHandler, port away from cmFunctionBlocker
and update the elapsed time with the new callback instead.
2019-07-31 00:03:17 +02:00
Regina Pfeifer
c76500949d
cm*FunctionBlocker: Move to source file
2019-07-30 17:21:50 +02:00
Regina Pfeifer
4af094c8df
clang-tidy: Blacklist violations for version 8
...
Check the codebase with clang-tidy version 8, fix the low hanging
fruits, blacklist the rest.
2019-07-30 12:38:30 +02:00
Regina Pfeifer
020478dbea
cmMakefile: Keep function blockers in a stack
...
Highlight the fact that we only ever operate on the top element.
2019-07-27 00:22:15 +02:00
Regina Pfeifer
dfaa87f1b3
cmState: Support BuiltinCommands as free functions
2019-07-22 15:27:56 +02:00
Regina Pfeifer
28f2d12a05
cmCommand: De-virtualize function InvokeInitialPass
2019-07-21 09:25:32 +02:00
Regina Pfeifer
de77d355ac
cmState: Add scripted commands by value
2019-07-21 09:25:32 +02:00
Regina Pfeifer
0101ace131
cmUnexpectedCommand: Replace with lambda expression
2019-07-21 09:25:32 +02:00
Regina Pfeifer
015001aaf1
cmState: Hold commands by value
2019-07-21 09:25:32 +02:00
Regina Pfeifer
d26e6cb1c2
cmLoadCommandCommand: Code cleanup
2019-07-18 11:49:28 +02:00
Regina Pfeifer
b8cb63457e
Modules/CTest: Fix SubmitURL
...
Problem appeared in d6475daa79 (Modules/CTest: Set SubmitURL, 2018-12-08).
Fixes : #19099
2019-04-10 07:43:20 +10:00
Regina Pfeifer
b783e62533
cmExecuteProcessCommand: Port to cmArgumentParser
2019-04-04 13:24:40 -04:00
Regina Pfeifer
9bddb03f31
cmParseArgumentsCommand: Port to cmArgumentParser
2019-04-04 13:24:40 -04:00
Regina Pfeifer
45edf1ad66
Retire cmCommandArgumentsHelper
2019-04-04 13:24:40 -04:00
Regina Pfeifer
f5acecaa6f
cmExportCommand: Port to cmArgumentParser
2019-04-04 13:24:39 -04:00
Regina Pfeifer
e6b6bb0618
cmInstallCommand: Port to cmArgumentParser
2019-04-04 13:24:39 -04:00
Regina Pfeifer
4336a29edd
cmFileCommand: Port to cmArgumentParser
2019-04-04 13:24:39 -04:00
Regina Pfeifer
4359fe133b
Introduce cmArgumentParser
2019-04-04 13:24:39 -04:00
Regina Pfeifer
5a72dbd40c
cmCTest: Remove dead code
2019-03-20 11:41:29 -04:00
Regina Pfeifer
a5eeb0310d
cmCTest: Cleanup typedefs
2019-03-20 11:41:29 -04:00
Regina Pfeifer
71a3391b5f
cmCTest: Use default member initialization
2019-03-20 11:41:29 -04:00
Regina Pfeifer
b172a81d55
cmCTest: Use concrete accessor functions for TestingHandlers
2019-03-20 11:39:14 -04:00
Regina Pfeifer
35e09c7aef
testRange: Make sure tests can actually fail
2019-03-20 06:16:58 +01:00
Regina Pfeifer
46090c2337
cmCTest: Store TestingHandlers by value
2019-03-18 22:55:51 +01:00
Regina Pfeifer
da5ee509b2
cmCTest: Move all data members to private implementation struct
2019-03-18 22:55:50 +01:00
Regina Pfeifer
670d27da64
cmCTest: Remove friend declarations
2019-03-18 22:25:50 +01:00
Regina Pfeifer
9406844616
cmCTest: De-inline all member functions
2019-03-18 22:25:50 +01:00
Regina Pfeifer
b5a69c6279
cmcompress: Delete unused 3rdParty module
2019-02-25 09:36:27 +01:00
Regina Pfeifer
b8031308f3
cmRange: Add unit tests
2019-02-21 08:24:26 -05:00
Regina Pfeifer
a8d51ef8b7
cmRange: Add functions filter and transform
2019-02-21 08:24:26 -05:00
Regina Pfeifer
da4773e8b8
cmRange: Add functions all_of, any_of, none_of
2019-02-21 08:24:26 -05:00
Regina Pfeifer
17a367e77f
cmRange: Stylistic cleanup
2019-02-21 08:24:25 -05:00
Regina Pfeifer
9eb0e73f46
cmRange: Move to dedicated header file
2019-02-21 08:24:25 -05:00
Regina Pfeifer
948c55857e
cmCTestRunTest: Remove duplicated compression logic
2019-02-10 15:47:15 +01:00
Regina Pfeifer
42825fc220
MinGW: Fix locating BinUtils when compiler has a suffix
...
While all executables from a mingw toolchain share a common prefix,
only the ones provided with the compiler have a suffix, the binutils
do not.
Fixes : #18879
2019-02-06 17:43:55 +01:00
Regina Pfeifer
1180fc8780
OutputCallback: Accept std::string argument
2019-01-30 18:33:58 +01:00
Regina Pfeifer
3f9822ff6d
clang-tidy: Silence use-equals-default warning
...
clang-tidy 7 has an option to suppress this warning in macros which
defaults to '1'. Set the option to '0' and silence the warning
explicitly.
2019-01-30 17:51:07 +01:00
Regina Pfeifer
b05b778a2d
clang-tidy: Use = delete
2019-01-29 14:09:21 -05:00
Regina Pfeifer
8c92db829b
MessageCallback: Remove unused bool& argument
2019-01-29 16:35:53 +01:00
Regina Pfeifer
bcee24aecc
Use std::function for callbacks
2019-01-29 16:32:52 +01:00