Commit Graph
77484 Commits
Author SHA1 Message Date
AJIOB fa60523bf6 Source: fix ast-grep suggestions 2026-09-29 08:50:54 -04:00
AJIOB 9b607f9fd6 ast-grep: add rule to effective string appending 2026-09-29 08:50:54 -04:00
AJIOB e704f6d593 Source: improve corner cases possible reallocations 2026-09-29 08:50:54 -04:00
AJIOB a0a17c9ce8 Source: fix almost all ast-grep suggestions 2026-09-29 08:50:54 -04:00
AJIOB 12fdbce3f6 ast-grep: add rule to move cmStrCat arguments 2026-09-29 08:50:54 -04:00
AJIOB c42dcf0301 ast-grep: add test case for few sequential string views merging 2026-09-29 08:50:54 -04:00
AJIOB 0243ae5ce5 ast-grep: fix tests passing on 0.45.3 2026-09-29 08:50:54 -04:00
Brad King d291927f5d Merge topic 'GenEx-GLOBAL_PROPERTY'
26690d7678 Add generator expression $<GLOBAL_PROPERTY>

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12573
2026-09-29 08:20:27 -04:00
Brad King 168050acd9 Merge topic 'reduce-realloc-clang-tidy-part12'
5a54a6ac3f cmcov: fix short lines logging
ed3bc6c262 CTest: fix countField value for non-first test run
4e9075ebe2 Source: reduce ostringstream usage for CTest
d9dd2d4ff5 Source: reduce ostringstreams usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12566
2026-09-29 08:18:38 -04:00
Brad King 1e6e775b0a Merge topic 'new-fuzzer-4'
97c527aeb8 OSS-Fuzz: Add new fuzzer targets Package Info Reader

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12544
2026-09-29 08:17:10 -04:00
Brad King 83d1c1db0e Merge branch 'release-4.4' 2026-09-29 08:15:16 -04:00
Brad King 76ad67592d Merge topic 'file-READ_MACHO-crash'
6d52fa636f file(READ_MACHO): Avoid crash on unknown archs in this undocumented command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12572
2026-09-29 08:15:15 -04:00
Brad King 5c931ae774 Merge topic 'file-READ_MACHO-crash' into release-4.4
6d52fa636f file(READ_MACHO): Avoid crash on unknown archs in this undocumented command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12572
2026-09-29 08:15:13 -04:00
Brad King 01fe64bc80 Merge topic 'tests-escape-dot'
55534540bd Tests/RunCMake: Fix "." escaping to tighten matches

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12565
2026-09-29 08:13:39 -04:00
Brad King 7bacc58ab5 Merge topic 'ci-intel-classic-crash'
7ffda314ae ci: Exclude RunCMake.PrecompileHeaders tests with Intel Classic 2020 and older

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12571
2026-09-29 08:11:21 -04:00
Brad King 11d587cb17 Merge topic 'ci-ast-grep'
a30ace907e Source: fix ast-grep warnings
088e8fca17 ci: Make `ast-grep scan` easier to run locally

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12577
2026-09-29 08:07:12 -04:00
Brad King a30ace907e Source: fix ast-grep warnings
Fix a case missed by commit 66cfa81885 (Source: fix ast-grep warnings,
2026-09-26) due to a logical conflict with commit d1d6e6d69d (Source:
reduce stringstreams usage, 2026-09-24) before the check was enabled by
commit 5825a86329 (ci: Add lint job to run ast-grep on our C++ code,
2026-09-28).
2026-09-29 07:58:10 -04:00
Brad King 088e8fca17 ci: Make ast-grep scan easier to run locally 2026-09-29 07:57:27 -04:00
Brad King 4f5e0f3c85 Merge topic 'test-Borland-no-FindOpenCL'
6168f13067 Tests/CMakeOnly/AllFindModules: Skip FindOpenCL with Borland

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12570
2026-09-29 07:28:59 -04:00
Brad King 402e8fac2e Merge topic 'ci-ast-grep'
5825a86329 ci: Add lint job to run ast-grep on our C++ code
becb6e063a ci: Add scripts to install ast-grep in Linux jobs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12574
2026-09-29 07:24:02 -04:00
Brad King 196537e4ff Merge topic 'ast-grep-fixes-2'
66cfa81885 Source: fix ast-grep warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12567
2026-09-29 07:19:43 -04:00
Kitware Robot 10f1daebac CMake Nightly Date Stamp 2026-09-29 00:05:52 -04:00
Brad King 5825a86329 ci: Add lint job to run ast-grep on our C++ code
Closes: #28119
2026-09-28 14:06:48 -04:00
Brad King becb6e063a ci: Add scripts to install ast-grep in Linux jobs
Issue: #28119
2026-09-28 12:05:01 -04:00
Arthur Chan 97c527aeb8 OSS-Fuzz: Add new fuzzer targets Package Info Reader
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2026-09-28 11:58:31 -04:00
Brad King 6d52fa636f file(READ_MACHO): Avoid crash on unknown archs in this undocumented command
`macho_arch_name_for_cpu_type` is implemented by the dynamic loader that
ships with the OS, so it can only report architectures that were
released at the time that OS was released.  It can return `nullptr`.

Fixes: #26680
Fixes: #28118
Issue: #28124
2026-09-28 11:48:33 -04:00
Marc Chevrier 26690d7678 Add generator expression $<GLOBAL_PROPERTY>
Fixes: #28121
2026-09-28 17:25:58 +02:00
Brad King 7ffda314ae ci: Exclude RunCMake.PrecompileHeaders tests with Intel Classic 2020 and older
The toolchain spuriously crashes on these PCH tests.  Coverage with
newer toolchains is sufficient.
2026-09-28 08:55:07 -04:00
Brad King 6168f13067 Tests/CMakeOnly/AllFindModules: Skip FindOpenCL with Borland
The Borland compiler does not recognize the `#warning` preprocessor
directive used by OpenCL's headers.  Extend commit c17080caa3
(Tests/CMakeOnly/AllFindModules: Skip FindOpenCL with OpenWatcom,
2026-09-25).
2026-09-28 08:46:23 -04:00
Brad King b1b85b8cf7 Merge topic 'test-OpenWatcom-no-FindOpenCL'
c17080caa3 Tests/CMakeOnly/AllFindModules: Skip FindOpenCL with OpenWatcom

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12564
2026-09-28 08:37:36 -04:00
Brad King 1ece2660b2 Merge topic 'drop-import-std-gate'
4874f044bd Experimental: Remove import std experimental gate
b65a094a31 c++modules: Don't set CMAKE_CXX_STDLIB_MODULES_JSON if the file does not exist

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Sharadh Rajaraman <r.sharadh@outlook.sg>
Merge-request: !12547
2026-09-28 08:36:27 -04:00
Brad King 19cd1d8a8e Merge topic 'fix-mod-manifest-source-path'
115a779a4b CPS/c++modules: Fix manifest paths from separate install dirs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12558
2026-09-28 08:31:58 -04:00
Brad King 9540325a89 Merge topic 'reduce-realloc-clang-tidy-part11'
d1d6e6d69d Source: reduce stringstreams usage
6c7dfb3afd Source: reduce ostringstream usage for IFW
f4bd297d05 Source: reduce useless std::string building
99e8ac2fb6 Source: use more effective overloading

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12560
2026-09-28 08:29:33 -04:00
Brad King e018870da7 Merge topic 'handle-newer-rpm'
98d9cddffe Tests: Match RPM keyring lock error in CPack_RPM test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12552
2026-09-28 08:27:36 -04:00
Brad King f84a2060b3 Merge topic 'update-kwsys'
a4eb3c9602 Merge branch 'upstream-KWSys' into update-kwsys
31d645bc1e KWSys 2026-09-28 (9fb826eb)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12563
2026-09-28 08:25:28 -04:00
Brad King a4eb3c9602 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2026-09-28 (9fb826eb)
2026-09-28 08:22:37 -04:00
KWSys Upstream 31d645bc1e KWSys 2026-09-28 (9fb826eb)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 9fb826ebca7d73ea64a94b8e8ec86cc3b6841b1b (master).

Upstream Shortlog
-----------------

Michael Pratt (1):
      2c678e28 Process: Continue to ignore hangups if SIGHUP is ignored
2026-09-28 08:22:37 -04:00
Kitware Robot 2207f5db1b CMake Nightly Date Stamp 2026-09-28 00:05:15 -04:00
Kitware Robot 1d03705da6 CMake Nightly Date Stamp 2026-09-27 00:05:28 -04:00
AJIOB 66cfa81885 Source: fix ast-grep warnings 2026-09-26 21:54:54 +00:00
AJIOB 5a54a6ac3f cmcov: fix short lines logging 2026-09-26 21:19:50 +00:00
AJIOB ed3bc6c262 CTest: fix countField value for non-first test run 2026-09-26 21:19:50 +00:00
AJIOB 4e9075ebe2 Source: reduce ostringstream usage for CTest 2026-09-26 21:19:50 +00:00
Kitware Robot e8befb989b CMake Nightly Date Stamp 2026-09-26 00:06:33 -04:00
Tyler Yankee 55534540bd Tests/RunCMake: Fix "." escaping to tighten matches 2026-09-25 17:53:09 -04:00
AJIOB d9dd2d4ff5 Source: reduce ostringstreams usage 2026-09-25 19:15:15 +00:00
Brad King c17080caa3 Tests/CMakeOnly/AllFindModules: Skip FindOpenCL with OpenWatcom
The OpenWatcom compiler does not recognize the `#warning` preprocessor
directive used by OpenCL's headers.
2026-09-25 13:01:37 -04:00
Vito Gamberini 4874f044bd Experimental: Remove import std experimental gate
Fixes: #28014
2026-09-25 11:03:02 -04:00
Brad King 54b098b190 Merge topic 'fix-msvc-usage-effects'
aafdafadf0 c++modules: Track MSVC_RUNTIME_LIBRARY usage effects

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12559
2026-09-25 10:19:53 -04:00
Brad King 8aa0920703 Merge topic 'cps-pkg-config'
a4f08400f4 CPS/PkgC: Add PkgC interop to CPS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12336
2026-09-25 10:18:06 -04:00