- Jan 24, 2019
-
-
3f35954d SystemTools: Add TextFilesDiffer method Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Taylor Braun-Jones <taylor@braun-jones.org> Merge-request: !121
-
28db6989 cmake: add an option for building with PIC Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !123
-
- Jan 23, 2019
-
-
Compares files in a line-ending-insensitive way.
-
Ben Boeckel authored
When building statically, PIC may still be wanted in order to be used in a shared library elsewhere.
-
- Jan 22, 2019
-
-
8e9970fb SystemInformation: support BSD platforms for GetProcessId Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !119
-
GetProcessId() is currently only implemented for Win32, Linux and OS X. This commit adds wider support for it by extending the definitions in the function to also cover BSD platforms, which implement this function.
-
7a5e5af8 SystemTools: Revert "Fix FileIsSymlink with Windows data deduplication" Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !120
-
Brad King authored
This reverts commit ef373416 (SystemTools: Fix FileIsSymlink with Windows data deduplication, 2019-01-18). It regressed `FileIsSymlink` such that it does not always recognize broken symlinks as symlinks. Revert pending further investigation. Notes for re-introduction: * We need to add a test to cover the case that broke. * We should save the Encoding::ToWindowsExtendedPath result and use it for both GetFileAttributesW and CreateFileW instead of using Encoding::ToWide for the latter.
-
- Jan 21, 2019
-
-
ef373416 SystemTools: Fix FileIsSymlink with Windows data deduplication Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !118
-
- Jan 18, 2019
-
-
On Windows machines with enabled data deduplication files duplicates are incorrectly recognized as symlinks and therefore install fails with "file COPY cannot read symlink". Similar issues can be found here: * https://github.com/Microsoft/vcpkg/issues/2488 * https://github.com/puppetlabs/puppet/pull/6513 From the later fix this commit is mainly influenced.
-
- Jan 14, 2019
-
-
f44cbf93 Fixed clang -Wextra-semi-stmt warnings Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !117
-
- Jan 11, 2019
-
-
Sean McBride authored
-
- Dec 12, 2018
-
-
228c60b8 SystemTools: CopyFileAlways: try to create a cheap CoW clone first Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !116
-
- Dec 11, 2018
-
-
Gregor Jasny authored
-
- Nov 28, 2018
-
-
4f9fb9aa SystemTools: Fix Touch to avoid requiring file ownership Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !115
-
SystemTools::Touch should only require +w file permissions. The previous implementation used `stat` to get the current time, and then passed that time to one of utimensat/utimes/utime. However, utimes/utimensat only permit an arbitrary-time argument to be passed by the file owner. Therefore, per the docs, we pass NULL for the `times` argument to utimes and utimensat, to indicate using the current time. This is permitted for any UID with +w on the file. Remove plain `utime` fallback that is no longer necessary.
-
- Oct 25, 2018
-
-
993be8b6 Set CMake Policy CMP0069 to NEW within KWSys Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !113
-
- Oct 24, 2018
-
-
Add LTO flags when `INTERPROCEDURAL_OPTIMIZATION` is enabled.
-
- Oct 19, 2018
-
-
162b3ed7 SystemInformation: Fix compilation on GNU/{kFreeBSD,Hurd} Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !112
-
- Oct 18, 2018
-
-
Includes of `cxxabi.h`, `execinfo.h`, etc. were guarded more restrictively (e.g. additionally by `__linux`) than the code which needs them (just by e.g. `KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE`). kFreeGNU has some of these headers so extend the `__linux` ifdef to `kFreeBSD` and `Hurd` as well. Ideally the code should be fixed to have the same level of ifdef protection for both include and use of these APIs, but this is good enough for now pending further investigation.
-
- Oct 05, 2018
-
-
a5caf8a4 cmake: support an alias target Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !111
-
- Oct 04, 2018
-
-
Ben Boeckel authored
VTK's new module system expects alias targets for each actual target. Support creating such an alias target.
-
- Oct 03, 2018
-
-
f17f22a2 Terminal: Add alacritty and alacritty-direct to VT100 color support whitelist Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !110
-
- Oct 02, 2018
-
- Sep 14, 2018
-
-
bdd39241 Process: On Windows do not open stdin file with write permission Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !109
-
- Sep 12, 2018
-
-
The fix in commit ed7f53e0 (BUG: When handing the child stdin pipe a file, allow another process to be writing to the file at the same time, 2006-07-17) added `GENERIC_WRITE` but since we do not actually need to write to the file, only `FILE_SHARE_WRITE` is enough to allow others to do so. Remove the request for write permission. Issue: cmake/cmake#18359
-
- Sep 11, 2018
-
-
ab0d44c9 SystemTools::Split: use str.find_first_of(char) b5b294c1 SystemTools::Split: fix copy-pasta comments Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !108
-
- Sep 07, 2018
-
-
Ben Boeckel authored
-
Ben Boeckel authored
-
- Aug 07, 2018
-
-
55a29eba SystemTools: Allow FileExists on Windows to follow symlinks Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !104
-
- Aug 01, 2018
-
-
Jon Chronopoulos authored
This makes FileExists consistent across Unix and Windows.
-
- Jul 12, 2018
-
-
2cbf13d2 Terminal: Add support for z/OS terminal Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !107
-
- Jul 10, 2018
-
-
Devin Nakamura authored
the z/OS terminal understands standard vt100 escape codes, however since the system uses EBCDIC, the escape character has a different encoding.
-
aebe4597 XL: Restore suppression of infinite loop warning in process test Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !106
-
- Jul 09, 2018
-
-
Brad King authored
Our use of the `-qsuppress=` flag to suppress this warning was removed by commit 51e95ba7 (XL: Fix compatibility with newer clang-based XL on Linux, 2017-04-28) because XL 13.1.[1-6] for Linux does not support the flag. XL 16.1 restores support for the flag. Restore our use of it for this version. Suppress the warning on intermediate versions by blocking all warnings with `-w`.
-
- Jun 22, 2018
-
-
5d6f59fe SystemTools: Change SplitString return type to use std::string Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !105
-
- Jun 21, 2018
-
-
Brad King authored
Avoid using our custom KWSys String type in interfaces.
-
- Jun 14, 2018
-
-
61501133 SystemInformation: Avoid use of dangling pointers on Solaris Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !102
-
- Jun 13, 2018
-
-
`ParseValueFromKStat` was constructing local `std::string` instances in a loop and passing their `.c_str()` to `RunProcess` after destruction. Preserve the strings in a vector to avoid dangling pointers. While at it, simplify some logic by using standard algorithms.
-
- Jun 12, 2018
-
-
361e54e3 Get rid of redundant string initialization 0b9f51a1 Remove redundant calls to c_str Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !103
-