- 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
-
- Jun 09, 2018
-
-
Marian Klymov authored
-
Marian Klymov authored
-
- Jun 01, 2018
-
-
828b6837 Revise C++ coding style using clang-format-6.0 b7a341cf Empty commit at end of history preceding clang-format-6.0 style transition 6b9c233c clang-format.bash: update to clang-format-6.0 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !101
-
- May 31, 2018
-
-
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
-
Brad King authored
This is an empty commit that precedes an automatic application of clang-format-6.0 to update the C++ style of our entire source tree. This may be helpful to rebase a topic branch that was originally based on a commit preceding the transition. One may first rebase the topic on this commit. Then use one of the following approaches. * Rewrite the topic, including this commit, using `git filter-branch` `--tree-filter` with `clang-format.bash` to update the style in every commit. Rebase the revised topic, excluding the rewrite of this commit, on the style transition commit. OR * Add a `.git/info/grafts` entry to change the parent of the first commit in the topic from this commit to the style transition commit. Rewrite the topic using `git filter-branch --tree-filter` with `clang-format.bash` to update the style in every commit. Then remove the graft, which was resolved by the filter. See `git help filter-branch` and `git help repository-layout` for details.
-
Brad King authored
Update `.clang-format` with configuration to make the 6.0 format as close as possible to what 3.8 produced before. Then revise the style: * Indent preprocessor directives (a feature new since 3.8) * Add a newline and indentation before inheritance `:` and `,`
-
- May 18, 2018
-
-
898dc6b9 SystemTools: Fix GetLineFromStream to avoid libc++ bug on OS X 10.7 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !100
-
LLVM libc++ as included with Mac OS X 10.7 suffers from an issue where the trailing character is discarded when the delimiter (LF) is not found within the given buffer size (1024). The returned length is also 1024 rather than 1023. This issue results in truncated reads as observed with CMake 3.11.0 on Mac OS X 10.7 and `cmake -E cmake_link_script link.txt`. Solve this by replacing `istream::getline` by `std::getline` which does not trigger the buffering issue. There is one edge case that I decided to leave up to the callers though: a file containing `\0` previously resulted in line truncation, but is now included in the result. Tested with Mac OS X 10.7 and 10.11: -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_CXX_FLAGS=-stdlib=libc++ and `./kwsysTestsCxx testSystemTools`. Issue: cmake/cmake#15039
-
- May 15, 2018
-
-
d06fcab7 SystemTools: Check source directory in CopyADirectory Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !99
-
- May 12, 2018
-
-
Marian Klymov authored
-
- May 11, 2018
-
-
0e14a1a6 Misc. typos and whitespace fixes Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !98
-
- May 09, 2018
-
-
luz.paz authored
Found via `codespell`
-
- Apr 24, 2018
-
-
e5733515 Fix recent regression in installation of namelink Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !97
-
Kyle Edwards authored
The check for whether or not to install a namelink depends on KWSYS_BUILD_SHARED, but this variable wasn't being set until later in CMakeLists.txt, causing the namelink to not be installed if KWSYS_BUILD_SHARED is not explicitly set. Fix this by moving the variable assignment closer to the top of the file.
-
- Apr 23, 2018
-
-
5b8bf75b INSTALL: move namelink into development component Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !96
-
- Apr 19, 2018
-
-
Kyle Edwards authored
Namelinks are used by the compiler when compiling a program that uses a library, so they should be part of the development component.
-
- Apr 12, 2018
-
-
c7ef6c1b SystemInformation: Do not include unnecessary fenv.h Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !95
-
- Apr 11, 2018
-
-
Brad King authored
We do not use any symbols from this header. The `FPE_` macros that we use are defined by signal headers.
-
- Mar 29, 2018
-
-
805d9a7c Terminal: Add xterm-kitty to VT100 color support whitelist Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !94
-
- Mar 28, 2018
-
-
Brad King authored
-
- Mar 09, 2018
-
-
94484960 Source typo fix s/[Pp]athes/[Pp]aths/ Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !93
-
a3caaeec SystemTools: faster relative path codepath Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !91
-
- Mar 08, 2018
-
-
Ben Boeckel authored
-
- Mar 07, 2018
-
-
luz.paz authored
Found via `codespell` and `grep`
-
a241fd13 SystemTools: Remove caching from public GetActualCaseForPath 0a0974d0 SystemTools: Restore unconditional caching in GetActualCaseForPath Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Acked-by:
Clinton Stimpson <clinton@elemtech.com> Merge-request: !92
-
- Mar 06, 2018
-
-
Brad King authored
Do not expose caching to `GetActualCaseForPath` callers. Cache path case conversion results internally for `CollapseFullPath` only.
-