| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Merge-request: !8049
|
|/
|
|
|
|
|
|
| |
Fix the mangling of `crc32` by commit 29c578c8fb (zlib: Mangle symbols
to avoid conflict with external transitive dependencies, 2022-06-10,
v3.24.0-rc1~7^2).
Fixes: #24281
|
|\
| |
| |
| | |
Merge-request: !8060
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The default branch detection added by commit 26ec2e2b0c (Tests: Update
CTest.UpdateGIT test for custom defaultBranch, 2020-12-02,
v3.20.0-rc1~355^2) fails if the test is run inside a Git work tree whose
`.git` directory configures a `defaultBranch` that is different from the
global or system-wide value. Fix the detection to ignore the locally
configured value so that we match the `git init` decision.
|
|\ \
| |/
|/|
| | |
Merge-request: !8023
|
|/ |
|
|\
| |
| |
| | |
Merge-request: !7970
|
|/
|
|
| |
Otherwise `signtool` warns.
|
|\
| |
| |
| | |
Merge-request: !7964
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The fix in commit e9755bc7c1 (MinGW: Restore using windres when
toolchain-prefixed name is not available, 2022-08-15, v3.24.1~4^2)
incorrectly listed two entries in `CMAKE_RC_COMPILER_INIT`, which is
only meant to have one value. Revise the logic to support multiple
platform-specific names for the Windows Resource Compiler while still
only using one name as the fallback when it is not found.
Fixes: #24190
Issue: #23841
|
|\
| |
| |
| | |
Merge-request: !7929
|
|/
|
|
|
|
|
|
|
|
|
| |
Follow up the python 3.11 and 3.12 support from:
* commit 43844c5d82 (FindPython: Add support for Python 3.11,
2021-12-07, v3.22.2~20^2)
* commit ca2877c039 (FindPython: add support for Python 3.12,
2022-05-11, v3.23.2~15^2)
with an update for the FindBoost test.
|
|\ |
|
| |\
| | |
| | |
| | | |
Merge-request: !7910
|
|\ \ \
| | |/
| |/|
| | | |
Merge-request: !7910
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding missing narrow string conversion.
This backports commit f3c918ef1b (cmGlobalVisualStudioGenerator: Fix
compiling as C++20 in VS 2022, 2022-10-20, v3.25.0-rc3~31^2) to the
CMake 3.23 and 3.24 branches.
Fixes: #24162
|
|\ \
| | |
| | |
| | | |
Merge-request: !7899
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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-request: !7863
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Backport commit d5694e4623 (Source: Replace uses of sprintf with safer
snprintf, 2022-06-17, v3.25.0-rc1~587^2) to the CMake 3.24 branch. This
is needed to compile without warnings using Xcode 14.1's macOS 13.0 SDK.
|
|/ / |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| | |
| | |
| | | |
Merge-request: !7824
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was accidentally broken by commit 87c762d435 (CPack: Use
cmCommandLineArgument instead of cmsys::CommandLineArguments,
2022-04-18, v3.24.0-rc1~258^2).
Fixes: #24085
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !7832
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since commit f85913fa08 (VS: Add support for enumerating VS instances
with vswhere, 2022-04-11, v3.24.0-rc1~282^2), if the COM lookup does not
report any VS instances, we fall back to finding vswhere. However, the
`getenv` call returns nullptr if the `ProgramFiles(x86)` environment
variable is not set. Update the logic to tolerate not-set environment
variables. Also check the plain `ProgramFiles` environment variable.
Fixes: #24090
|
|\ \ \ \
| | |_|/
| |/| | |
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Merge-request: !7833
|
|\ \ \ \ \
| | |/ / /
| |/| / /
| |_|/ /
|/| | | |
Merge-request: !7833
|
| | | |
| | | |
| | | |
| | | | |
Issue: #24089
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Revert commit bbdb000c55 (GlobalNinjaGenerator: enlarge file stream
buffer, 2022-01-25, v3.23.0-rc1~68^2). Somehow `rdbuf()->pubsetbuf()`
is resetting our imbued locale and `cm_codecvt` that handles encoding.
Fixes: #24089
|
|\ \ \
| |/ / |
|
| |\ \
| | | |
| | | |
| | | | |
Merge-request: !7821
|
|\ \ \ \
| | |/ /
| |/| |
| | | | |
Merge-request: !7821
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The test added in commit 50e90e2828 (try_compile: Honor CMP0128 setting
in test project, 2022-10-18, v3.25.0-rc2~4^2) requires that the compiler
support C++11 mode, so do not run it on GNU compilers that are too old.
|
|\ \ \ \
| |_|_|/
|/| | |
| | | | |
Merge-request: !7818
|
|/ / /
| | |
| | |
| | |
| | | |
This was missed in commit d34e5a98b8 (LLVMFlang: Add support for
Windows, 2022-09-18, v3.25.0-rc1~102^2).
|
|\ \ \
| | |/
| |/| |
|
| |\ \
| | | |
| | | |
| | | | |
Merge-request: !7813
|
|\ \ \ \
| | |/ /
| |/| |
| | | | |
Merge-request: !7813
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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-request: !7812
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Due to CVE-2022-39253, Git 2.30.6 sets `protocol.file.allow=user` by
default. The change has also been backported to other Git versions by
distros. This breaks some of our test cases that use the file-based
protocol locally to simulate real workflows without requiring network
access. In these cases the file protocol is safe, so explicitly enable
it in the tests.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | |
| | | |
Merge-request: !7803
|
|\ \ \
| | |/
| |/|
| | | |
Merge-request: !7803
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Some projects pass a raw `-std=` flag to the compiler in the
`try_compile` project. If they do not set CMP0128 to NEW,
we should not append a `-std=` flag where we did not before
the policy was added.
Fixes: #24063
|