summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* cmList: Add container conversion to stringMarc Chevrier2023-06-221-3/+12
|
* Merge topic 'cmuvprocesschain-external-stream-fd'Brad King2023-06-151-2/+7
|\ | | | | | | | | | | | | | | | | | | | | | | b65d54e876 cmUVStreambuf: Update URL for example code 0878306386 cmUVStream: Add cmUVStreamRead() function b8fd273ed7 cmUVProcessChain: Return output and error streams as file descriptors ec81d40be4 cmUVPipeIStream: Add cmUVPipeIStream 3b6c5efc08 cm::append: Add support for std::basic_string on SPARC/SunPro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8559
| * cm::append: Add support for std::basic_string on SPARC/SunProKyle Edwards2023-06-141-2/+7
| |
* | Merge topic 'improve-sphinx-check'Brad King2023-06-142-23/+19
|\ \ | |/ |/| | | | | | | | | | | 528cdc7551 Utilities/Sphinx: Fix some flake8 gripes 4bd1beded4 Utilities/Sphinx: Don't ignore flake8 E402 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8561
| * Utilities/Sphinx: Fix some flake8 gripesMatthew Woehlke2023-06-131-7/+6
| | | | | | | | Reorder some imports to better conform to what flake8 wants.
| * Utilities/Sphinx: Don't ignore flake8 E402Matthew Woehlke2023-06-132-21/+18
| | | | | | | | | | | | | | | | Refactor commit 1f39a3cd1a (Utilities/Sphinx: Restore explicit check for Sphinx 2.x or later) to avoid needing to suppress flake8 E402. While ignoring it with respect to the docutils/sphinx imports and the sphinx version check was correct, the need to disable it for the whole file was suboptimal.
* | Merge topic 'doc-sphinx-2.x'Brad King2023-06-132-4/+9
|\ \ | |/ | | | | | | | | | | | | 1f39a3cd1a Utilities/Sphinx: Restore explicit check for Sphinx 2.x or later 5de805bea2 Utilities/Sphinx: Fix flake8 E124 diagnostic in cmake.py Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8555
| * Utilities/Sphinx: Restore explicit check for Sphinx 2.x or laterBrad King2023-06-122-3/+8
| | | | | | | | | | | | | | | | Refactoring in commit adbc8c982d (Utilities/Sphinx: Fix flake8 gripes in cmake.py, 2023-03-13, v3.27.0-rc1~317^2) moved the assertion added by commit cef51925a4 (Utilities/Sphinx: Require Sphinx 2.x or later, 2023-03-13, v3.27.0-rc1~317^2~2) to after imports, which is too late to clearly reject older Sphinx versions.
| * Utilities/Sphinx: Fix flake8 E124 diagnostic in cmake.pyBrad King2023-06-121-1/+1
| |
* | Configure CMake itself with policies through CMake 3.26Brad King2023-06-072-2/+2
|/
* Merge topic 'ctest-timeout-signal'Brad King2023-06-051-0/+2
|\ | | | | | | | | | | | | | | | | | | 54c5654f7d ctest: Optionally terminate tests with a custom signal on timeout e38c05688e CTest/cmProcess: Adopt field tracking reason for the process timeout 25c1468314 cmCTestTestHandler: Remove outdated comment 41e8507ab7 IWYU: Add mapping for bits/chrono.h to chrono Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8472
| * ctest: Optionally terminate tests with a custom signal on timeoutBrad King2023-06-021-0/+1
| | | | | | | | | | | | | | | | CTest normally terminates test processes on timeout using `SIGKILL`. Offer tests a chance to exit gracefully, on platforms supporting POSIX signals, by setting `TIMEOUT_SIGNAL_{NAME,GRACE_PERIOD}` properties. Fixes: #17288
| * IWYU: Add mapping for bits/chrono.h to chronoBrad King2023-05-311-0/+1
| |
* | Merge topic 'update-curl'Brad King2023-06-01132-6905/+11993
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 2de38e0b45 Utilities: Update hard-coded try_compile results for curl 8.1.2 a6c9b53273 Merge branch 'upstream-curl' into update-curl 80cb6a5121 curl 2023-05-30 (7ab9d437) 7f1abf62e1 curl: Update script to get curl 8.1.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8519
| * Utilities: Update hard-coded try_compile results for curl 8.1.2Brad King2023-05-301-0/+3
| |
| * Merge branch 'upstream-curl' into update-curlBrad King2023-05-30130-6904/+11989
| | | | | | | | | | * upstream-curl: curl 2023-05-30 (7ab9d437)
| * curl: Update script to get curl 8.1.2Brad King2023-05-301-1/+1
| |
* | cmake: Add debuggerGlen Chung2023-05-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Depends on cppdap and jsoncpp. - Add --debugger argument to enable the Debugger. - Add --debugger-pipe argument for DAP traffics over named pipes. - Support breakpoints by filenames and line numbers. - Support exception breakpoints. - Call stack shows filenames and line numbers. - Show Cache Variables. - Show the state of currently defined targets, tests and directories with their properties. - Add cmakeVersion to DAP initialize response. - Include unit tests. Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
* | cppdap: Build as part of CMake or use external installationBrad King2023-05-2612-2/+122
| | | | | | | | | | | | Add `cm3p/` headers to use the selected copy of the library. Co-authored-by: Glen Chung <kuchung@microsoft.com>
* | Merge branch 'upstream-cppdap' into import-cppdapGlen Chung2023-05-2654-0/+11861
| | | | | | | | | | * upstream-cppdap: cppdap 2023-05-26 (03cc1867)
* | cppdap: Add script to import version as of 2023-05-25Brad King2023-05-261-0/+30
| | | | | | | | Co-authored-by: Glen Chung <kuchung@microsoft.com>
* | jsoncpp: Add cm3p/ headers for json/json.h and json/forwards.hBrad King2023-05-232-0/+22
|/ | | | Add `cm3p/` headers to use the selected copy of the library.
* clang-tidy module: Update to build against LLVM/Clang 16Brad King2023-05-221-3/+7
|
* clang-tidy module: Drop unused variableBrad King2023-05-221-2/+0
|
* zstd: Suppress clang-analyzer warningsBrad King2023-05-223-0/+17
|
* zlib: Suppress clang-analyzer warningsBrad King2023-05-222-0/+12
|
* nghttp2: Suppress clang-analyzer warningsBrad King2023-05-221-0/+16
|
* libuv: Suppress clang-analyzer warningsBrad King2023-05-222-0/+10
|
* librhash: Suppress clang-analyzer warningsBrad King2023-05-221-0/+3
|
* liblzma: Suppress clang-analyzer warningsBrad King2023-05-222-0/+7
|
* libarchive: Suppress clang-analyzer warningsBrad King2023-05-2210-3/+84
|
* bzip2: Suppress clang-analyzer warningsBrad King2023-05-222-0/+12
|
* curl: Avoid redundant getenv calls in curltestBrad King2023-05-221-8/+11
| | | | Also avoid using the result without checking for NULL.
* Merge topic 'test-bootstrap'Brad King2023-05-192-2/+2
|\ | | | | | | | | | | | | | | 80181da866 Tests: Add option to control timeout of BootstrapTest 21df34b255 Tests: Modernize name of option to control existence of BootstrapTest Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8491
| * Tests: Modernize name of option to control existence of BootstrapTestBrad King2023-05-182-2/+2
| |
* | iwyu: ignore `std::remove_reference` requirementsBen Boeckel2023-05-161-0/+1
|/ | | | This removes some includes from some existing files.
* libarchive: Set build options the way we need for CMakeBrad King2023-04-251-0/+4
|
* Merge branch 'upstream-LibArchive' into update-libarchiveBrad King2023-04-2536-113/+348
| | | | | * upstream-LibArchive: LibArchive 2022-12-09 (ba80276c)
* libarchive: Update script to get 3.6.2Brad King2023-04-251-1/+1
|
* Merge topic 'automoc-macro-names'Craig Scott2023-04-101-0/+1
|\ | | | | | | | | | | | | | | | | | | | | c5c3aff1f5 Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target property 69cf9700e6 Autogen: Defer setup until Generate step 7cecb6353e cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructure 2daba01ddf cmGeneratorTarget: Avoid incidental include-what-you-use warning 850b4d990c IWYU: Add mapping for 'std::remove_reference<Defer &>::type' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8391
| * IWYU: Add mapping for 'std::remove_reference<Defer &>::type'Brad King2023-04-051-0/+1
| | | | | | | | | | | | | | IWYU sometimes thinks that `cmCMakeLanguageCommand.cxx` mentions this type and suggests including `<type_traits>` for it. The type is only used internally by standard library functions. Work around the problem by mapping the offending name to a file that we always include.
* | Sphinx: Modernize UTF-8 encoding handling when updating CMake.qhpCraig Scott2023-04-071-4/+4
| |
* | Sphinx: Specify encoding when opening files for title extractionCraig Scott2023-04-071-2/+3
|/ | | | | | | | | | When the encoding is not specified, open() may choose an encoding based on the locale in use. That encoding may have no relationship to the encoding of the file being opened. Use the locale from the document settings instead, which should better match the file's encoding. Fixes: #24679
* clang-tidy module: copy .gitignore from top levelKyle Edwards2023-03-291-0/+8
| | | | | | Since 8b094845, .gitignore entries have been pinned to the top-level .gitignore file. Copy these entries into a .gitignore for the clang-tidy module.
* curl: Restore build within CMake after update to 8.0.1Brad King2023-03-201-3/+7
| | | | | | Restore changes from commit 2be5a7de4e (Build: Use imported target `ZLIB::ZLIB` instead of variables, 2022-08-21, v3.25.0-rc1~97^2~10) that were undone by the update to curl 8.0.1. The code was moved.
* Merge branch 'upstream-curl' into update-curlBrad King2023-03-2076-1538/+1934
| | | | | * upstream-curl: curl 2023-03-20 (b16d1fa8)
* curl: Update script to get curl 8.0.1Brad King2023-03-201-1/+1
|
* Utilities/Sphinx: Fix flake8 gripes in cmake.pyMatthew Woehlke2023-03-151-42/+87
| | | | | | | | Edit Utilities/Sphinx/cmake.py to avoid lines longer than 79 characters and to obey other flake8-checked style rules. This will allow using flake8 to check for possible issues without having to wade through noise about improper styling. (Also, of course, consistent styling is beneficial in its own right.)
* Utilities/Sphinx: Use f-strings in cmake.pyMatthew Woehlke2023-03-151-16/+15
| | | | | | | | | Port all uses of old-style % string formatting to use f-strings. These are generally more readable (and tend to be shorter as well). Although this requires Python 3.6 or later, that should be available 'stock' on most or all platforms still under support, and besides, we were already using f-strings in some places.
* Utilities/Sphinx: Require Sphinx 2.x or laterMatthew Woehlke2023-03-151-36/+6
| | | | | | | Tweak our Sphinx extensions slightly to assert that Sphinx is at least 2.x. Remove hacks for older versions of Sphinx. This cleans up a bunch of messy code and, more importantly, paves the way for consolidating our import statements.