summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy module: look for sizeof string literal in cmStrLen() checkKyle Edwards2022-11-184-4/+90
|
* clang-tidy module: add test for #pragma once checkSean Orner2022-11-1710-0/+79
|
* clang-tidy module: add #pragma once checkIgor-Mikhail-Valentin Glebov2022-11-174-0/+389
| | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* clang-tidy module: allow header files in test casesKyle Edwards2022-11-171-12/+42
|
* clang-tidy module: add test for ostringstream checkSean Orner2022-11-143-0/+17
|
* clang-tidy module: add check for ostringstreamJoe Blaauboer2022-11-144-0/+78
|
* Merge topic 'expat-c-no-extensions'Brad King2022-11-111-0/+6
|\ | | | | | | | | | | | | | | 019af62294 expat: Activate POSIX APIs even without compiler extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7899
| * expat: Activate POSIX APIs even without compiler extensionsRaul Tambre2022-11-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compile with the preprocessor definitions necessary for the `arc4random` family so it's available even when compiler extensions are not enabled. Similar things are done in cmbzip2, cmcurl, cmlibarchive, cmliblizma and cmlibuv. This issue surfaced on a nightly bot after glibc 2.36 added arc4random functions. cmlibarchive defines the necessary macro, but also relies on `HAVE_ARC4RANDOM_BUF`. cmlibarchive's check with the necessary macro defined was skipped due to cmexpat running the same check before, but without the macros, and it being cached. This extends commit c7c3e39e4f (Utilities: Activate POSIX APIs even without compiler extensions, 2022-06-02, v3.24.0-rc1~34^2) to cover our build of expat too. Issue: #20454
| * Merge branch 'filesystem-path-c++03-abi' into release-3.24Brad King2022-10-201-10/+6
| |\ | | | | | | | | | Merge-request: !7813
* | \ Merge topic 'curl-windows-no-tls1.3'Brad King2022-11-101-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c0a4536cec curl: Disable schannel TLS 1.3 support on Windows 11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7894
| * | | curl: Disable schannel TLS 1.3 support on Windows 11Brad King2022-11-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Curl 7.85.0 introduced support for TLS 1.3 support with schannel. We've observed connection failures in some cases, so disable the support pending further investigation. Fixes: #24147
* | | | Merge topic 'doc-guide-link-style'Brad King2022-11-091-0/+11
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | 977c38c339 Help: Render guide links as normal text instead of monospace Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7886
| * | | Help: Render guide links as normal text instead of monospaceAlex Turbov2022-11-081-0/+11
| | | | | | | | | | | | | | | | | | | | The guide document names are phrases, not code-like man-page names. Add CSS selectors for `:guide:` links and revert unnecessary properties.
* | | | Merge topic 'clang-tidy-module-use-bespoke-enum-class-check'Brad King2022-11-087-0/+143
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f97772fcb clang-tidy: disable bespoke enum class check eab8e38961 clang-tidy module: add check for boolean parameters Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7883
| * | | | clang-tidy module: add check for boolean parametersSean Orner2022-11-077-0/+143
| | | | | | | | | | | | | | | | | | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* | | | | Merge topic 'sphinx-linkcheck'Brad King2022-11-082-34/+76
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a89c76a773 Build: Add `SPHINX_LINKCHECK` build option 137b00cda1 Build: Do not redirect `sphinx-build` output if CMake running in verbose mode d954fb8a60 Build: Deduplicate `add_custom_command()` calls for Sphinx targets 2af8724485 Merge branch 'backport-sphinx-linkcheck' into sphinx-linkcheck 435b0c573c Help: Fix some redirects reported with sphinx linkcheck ac5295a9de Help: Fix broken external links found by sphinx linkcheck Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7876
| * | | | Build: Add `SPHINX_LINKCHECK` build optionAlex Turbov2022-11-072-1/+19
| | | | | | | | | | | | | | | | | | | | Run `sphinx-build` to check external links and report broken one.
| * | | | Build: Do not redirect `sphinx-build` output if CMake running in verbose modeAlex Turbov2022-11-071-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuring with `--log-level=VERBOSE` a user can see an output of `sphinx-build` at build time. The other way is to have `VERBOSE` envvar set at configure time. And finally one can set `CMAKE_VERBOSE_MAKEFILE` CMake cache variable.
| * | | | Build: Deduplicate `add_custom_command()` calls for Sphinx targetsAlex Turbov2022-11-071-32/+25
| | | | |
* | | | | clang-tidy module: add tests for cmsys::fstream checkIgor-Mikhail-Valentin Glebov2022-11-044-0/+318
| | | | | | | | | | | | | | | | | | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* | | | | clang-tidy module: add check for cmsys::fstreamJoe Blaauboer2022-11-044-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com> Co-Authored-by: Igor-Mikhail-Valentin Glebov <iglebov@albany.edu>
* | | | | Tests: remove stderr from clang-tidy module testsKyle Edwards2022-11-042-18/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | The stderr has the potential to count warnings from system header files, which are very platform-specific and not reliable, and they are simply a count of all the warnings that were emitted on stdout, which we already have. Remove stderr and only look at stdout.
* | | | Merge topic 'update-nghttp2'Brad King2022-11-0128-695/+3252
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e44b551e8d nghttp2: Update build within CMake to account for 1.50.0 8b73605408 Merge branch 'upstream-nghttp2' into update-nghttp2 7ce2a682a3 nghttp2 2022-09-21 (87fef4ab) 66c9536775 nghttp2: Update script to get nghttp2 1.50.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7856
| * | | | nghttp2: Update build within CMake to account for 1.50.0Brad King2022-10-311-0/+1
| | | | |
| * | | | Merge branch 'upstream-nghttp2' into update-nghttp2Brad King2022-10-3126-694/+3250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By nghttp2 upstream * upstream-nghttp2: nghttp2 2022-09-21 (87fef4ab)
| * | | | nghttp2: Update script to get nghttp2 1.50.0Brad King2022-10-311-1/+1
| | | | |
* | | | | Merge topic 'update-curl'Brad King2022-11-01350-4296/+8265
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | 25e9f31878 curl: Set build options the way we need for CMake 9ffe6b0969 Merge branch 'upstream-curl' into update-curl ec122fff08 curl 2022-10-26 (cd95ee9f) fa9bbb8627 curl: Update script to get curl 7.86.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7851
| * | | curl: Set build options the way we need for CMakeBrad King2022-10-312-0/+18
| | | |
| * | | Merge branch 'upstream-curl' into update-curlBrad King2022-10-31348-4295/+8246
| | | | | | | | | | | | | | | | | | | | * upstream-curl: curl 2022-10-26 (cd95ee9f)
| * | | curl: Update script to get curl 7.86.0Brad King2022-10-311-1/+1
| | | |
| * | | Merge topic 'filesystem-path-c++03-abi' into release-3.25Brad King2022-10-211-10/+6
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | ee9805ccd1 cm/filesystem: Fix crash with pre-C++11 std::string GNU ABI in C++17 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7813
* | | | Utilities/Sphinx: support cmakedomain running in parallelHenry Schreiner2022-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24076 Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
* | | | Merge topic 'filesystem-path-c++03-abi'Brad King2022-10-211-10/+6
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | ee9805ccd1 cm/filesystem: Fix crash with pre-C++11 std::string GNU ABI in C++17 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7813
| * | | cm/filesystem: Fix crash with pre-C++11 std::string GNU ABI in C++17Brad King2022-10-201-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `remove_filename` and `replace_extension` methods compute an offset between the whole path in a `std::string` and a part of a path in a `std::string_view`. This is done by subtracting their `.data()` pointers. However, C++17 adds a non-const `.data()` through which modification of the string is allowed. This means the copy-on-write implementation used by the pre-C++11 std::string GNU ABI must reallocate if the string has been copied. Our subtraction then computes an offset between two different allocations, which is undefined behavior. The workaround in commit b3ca4f9ad1 (cm/filesystem: Work around crash when compiled for CYGWIN/MSYS runtime, 2021-04-22, v3.21.0-rc1~271^2~2) avoided the problem by calling the non-const `.data()` to reallocate before constructing the `string_view`. Instead, explicitly call the const `.data()` method on the string, which does not reallocate. Fixes: #22090, #23328
| * | | Merge branch 'rel-macos-sign-notarize' into release-3.23Brad King2022-07-081-18/+25
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !7463
| * \ \ \ Merge topic 'backport-update-libarchive' into release-3.23Brad King2022-05-2444-827/+1807
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2fe1d17e6 libarchive: Update build within CMake after changes in 3.5.3 ac5e524763 libarchive: include archive_platform.h first in blake2s sources b93d8b1714 Merge branch 'upstream-LibArchive' into update-libarchive 9fd16c5b5b LibArchive 2022-02-08 (673c1eae) de38c89252 libarchive: Update script to get 3.5.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7294
* | | | | | clang-tidy module: add test for cmStrLen() checkSean Orner2022-10-195-0/+98
| | | | | |
* | | | | | clang-tidy module: add check for cmStrLen()Kyle Edwards2022-10-194-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-by: Joe Blaauboer <jblaauboer67@gmail.com>
* | | | | | clang-tidy module: add test frameworkKyle Edwards2022-10-143-0/+87
| | | | | |
* | | | | | Merge topic 'clang-tidy-plugin-stub'Kyle Edwards2022-10-142-0/+37
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6f5e67f7b ci: add clang-tidy plugin to clang-tidy job 6c6912123e clang-tidy: Add option to load CMake's clang-tidy module 0ad3941f73 clang-tidy module: Add stub module Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7768
| * | | | | | clang-tidy module: Add stub moduleKyle Edwards2022-10-122-0/+37
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Issue: #23912
* | | | | | Configure CMake itself with policies through CMake 3.24Brad King2022-10-122-2/+2
|/ / / / /
* | | | | Utilities/Sphinx: Avoid deprecated docutils error handling helpersBrad King2022-10-111-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `SafeString` and `ErrorString` classes are deprecated and will be removed in Docutils 0.21 or later. They help avoid encoding errors during exception handling in Python <= 2.7, but these days we always use Python 3 to build the documentation, at least during development, when error cases are most likely to occur. Fixes: #24039
* | | | | Merge topic 'update-libuv'Brad King2022-09-2755-1410/+2527
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23de1675fd libuv: Update CMake-internal buildsystem for 1.44.2 ff82df301c Merge branch 'upstream-libuv' into update-libuv a23da15596 libuv 2022-07-12 (0c1fa696) cfe8fd6421 libuv: Update script to get libuv 1.44.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7709
| * | | | | libuv: Update CMake-internal buildsystem for 1.44.2Brad King2022-09-273-0/+10
| | | | | |
| * | | | | Merge branch 'upstream-libuv' into update-libuvBrad King2022-09-2752-1409/+2516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-libuv: libuv 2022-07-12 (0c1fa696)
| * | | | | libuv: Update script to get libuv 1.44.2Brad King2022-09-271-1/+1
| | |_|_|/ | |/| | |
| * | | | Merge topic 'rel-macos-sign-notarize' into release-3.24Brad King2022-07-081-18/+25
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | 432ae51467 Utilities/Release: Update macOS notarization script to use notarytool Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7463
* | | | | Build: Use imported target `kwiml::kwiml` instead of variablesAlex Turbov2022-09-221-1/+1
| | | | |
* | | | | Build: Use imported target `ZLIB::ZLIB` instead of variablesAlex Turbov2022-09-224-16/+7
| | | | |