- 01 Nov, 2021 1 commit
-
-
bcddb31b SystemTools: Fix Windows app exec alias layout Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !240
-
- 29 Oct, 2021 3 commits
-
-
Brad King authored
Fix the layout added by commit 025a4951 (SystemTools: Add Windows app exec alias support to ReadSymlink, 2021-10-28) to match this reference: https://www.tiraniddo.dev/2019/09/overview-of-windows-execution-aliases.html Reported-by:
Yuriy O'Donnell <yuriy.odonnell@epicgames.com>
-
f5b3500f SystemTools: Simplify FileIsExecutable on Windows Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !239
-
025a4951 SystemTools: Add Windows app exec alias support to ReadSymlink Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !238
-
- 28 Oct, 2021 2 commits
-
-
Brad King authored
Revert commit 41700ca4 (SystemTools: Fix FileIsExecutable on Windows, 2020-04-09). The purpose of that change was to avoid treating the path `%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\python.exe` as an executable because it might point at an application installer instead of a working Python. Since commit 29f31d17 (SystemTools: Add Windows app exec alias support to FileExists(), 2021-10-22), the implementation using `FileExists` will find it anyway. Client (e.g. CMake) will need another way to avoid using that python app link incorrectly.
-
Brad King authored
-
- 27 Oct, 2021 2 commits
-
-
29f31d17 SystemTools: Add Windows app exec alias support to FileExists() Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !236
-
44718539 Fix for extraneous semi-colon warning 0f44b620 Fix Wreserved-id-macro warning by removing double underscore 31d25023 Fix all Wold-style-cast warnings 6f4a1826 Fix Wmissing-variable-declarations by declaring variable in a header f3d4b12b Fix Wmissing-prototypes warnings by making functions static f771c009 Fix -Wunused-macros warning by defining under same conditions as usage f9f6d67b Replace non-standard _snprintf with standard snprintf 704a63d4 Replace sprintf with snprintf Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !235
-
- 25 Oct, 2021 8 commits
-
-
Sean McBride authored
-
Sean McBride authored
-
Sean McBride authored
-
Sean McBride authored
-
Sean McBride authored
-
Sean McBride authored
-
Sean McBride authored
This also allowed the compiler to notice a mismatch of format specifiers, and so changed %X to %lX.
-
Yuriy O'Donnell authored
Not handling execution aliases causes CMake find_program to report false negatives for applications installed through Microsoft Store. As a specific example, this affects PowerShell Core (pwsh.exe) used by Microsoft's vcpkg, rendering it unusable on some machines. This change preserves the existing behavior of regular symlinks but now treats execution aliases as valid files. The alias target itself is not validated.
-
- 23 Oct, 2021 1 commit
-
-
Sean McBride authored
-
- 15 Oct, 2021 1 commit
-
-
e28d7282 DynamicLoader: Add RTLD_GLOBAL as a supported flag on linux Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !233
-
- 14 Oct, 2021 1 commit
-
-
Mathieu Westphal authored
-
- 08 Oct, 2021 1 commit
-
-
15effd64 MD5: Fix Clang 13 Wnull-pointer-subtraction warning Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !231
-
- 07 Oct, 2021 1 commit
-
-
Sean McBride authored
-
- 06 Oct, 2021 1 commit
-
-
f9e45083 CTestConfig: Always set CTEST_DROP_METHOD to https Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !230
-
- 05 Oct, 2021 1 commit
-
-
open.cdash.org has long supported https
-
- 15 Sep, 2021 1 commit
-
-
6ccbfc12 SystemTools: Add a Join function Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Mathieu Westphal <mathieu.westphal@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !229
-
- 14 Sep, 2021 1 commit
-
-
Laurent Malka authored
* The Join function joins a vector of strings in a single string with a specific separator in between
-
- 03 Sep, 2021 1 commit
-
-
4ef5b106 SystemTools: Ensure Windows Vista APIs are available before using them Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !228
-
- 02 Sep, 2021 1 commit
-
-
Since commit 3683e5ab (SystemTools: Implement CreateSymlink and ReadSymlink on Windows, 2021-05-06) we use `CreateSymbolicLinkW`, which is only available under Windows Vista or later.
-
- 06 Aug, 2021 1 commit
-
-
a6a0bb15 Status: use the new IsSuccess method 40bbf3fd Status: offer an `IsSuccess` method Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !227
-
- 03 Aug, 2021 1 commit
-
-
Ben Boeckel authored
It is much easier to read (especially when coming from the POSIX side of things).
-
- 02 Aug, 2021 1 commit
-
-
Ben Boeckel authored
This method makes usage much easier to read than prepending with `!!` or `static_cast<bool>` to extract a boolean from the structure.
-
- 29 Jul, 2021 1 commit
-
-
5d4c8b04 SystemInformation: Simplify demangle buffer management Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !226
-
- 28 Jul, 2021 1 commit
-
-
Brad King authored
If the buffer we pass to `__cxa_demangle` is not large enough, it will be reallocated internally. Avoid dealing with possibly two allocations to free by just letting `__cxa_demangle` allocate a suitable buffer.
-
- 26 Jul, 2021 2 commits
-
-
4e69b791 SystemInformation: Add option to explicitly avoid using execinfo Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !225
-
backtrace(3) from libexecinfo in musl will run into crash [1]. Provide an option to disable it explicitly even if libexecinfo is present. 1: https://www.openwall.com/lists/musl/2021/07/17/1
-
- 08 Jul, 2021 1 commit
-
-
7079df74 SystemTools: Fix GetOperatingSystemNameAndVersion empty string return Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !224
-
- 07 Jul, 2021 1 commit
-
-
Avoid undefined behavior caused by constructing `std::string` from `0`.
-
- 28 Jun, 2021 3 commits
-
-
b954dd54 testDynamicLoader: Use LIBC_SO if LIBDL_SO is not defined by glibc anymore. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !223
-
`LIBC_SO` is a more long-term choice, suitable for new targets that may no longer define `LIBDL_SO`. Signed-off-by:
Björn Esser <besser82@fedoraproject.org>
-
ab959cd2 SystemInformation: fix typo in comment df91e5f1 EncodingC: use NULL for pointers Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !222
-
- 25 Jun, 2021 1 commit
-
-
b4a2a03c testDynamicLoader: Use LIBDL_SO macro if defined. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !221
-