1. 07 Sep, 2018 2 commits
  2. 01 Aug, 2018 1 commit
  3. 21 Jun, 2018 1 commit
  4. 09 Jun, 2018 2 commits
  5. 31 May, 2018 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · 828b6837
      Kitware Robot authored
      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.
      828b6837
  6. 18 May, 2018 1 commit
    • Peter Wu's avatar
      SystemTools: Fix GetLineFromStream to avoid libc++ bug on OS X 10.7 · 898dc6b9
      Peter Wu authored
      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
      898dc6b9
  7. 12 May, 2018 1 commit
  8. 08 Mar, 2018 1 commit
  9. 06 Mar, 2018 2 commits
  10. 31 Jan, 2018 10 commits
  11. 19 Jan, 2018 1 commit
  12. 09 Jan, 2018 1 commit
  13. 03 Jan, 2018 1 commit
  14. 21 Dec, 2017 1 commit
  15. 14 Dec, 2017 1 commit
  16. 09 Dec, 2017 1 commit
  17. 09 Nov, 2017 1 commit
  18. 03 Nov, 2017 1 commit
    • luz.paz's avatar
      Fix trivial typos in text · 9a1d5901
      luz.paz authored
      Found using
      
          codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`
      
      in CMake whereby the whitelist contained:
      
          ans
          dum
          helpfull
          emmited
          emmitted
          buil
          iff
          isnt
          nto
          ot
          pathes
          substract
          te
          todays
          upto
          whitespaces
      9a1d5901
  19. 31 Oct, 2017 1 commit
  20. 04 Oct, 2017 1 commit
  21. 29 Sep, 2017 1 commit
  22. 11 Sep, 2017 1 commit
    • Brad King's avatar
      SystemTools: Drop SplitProgramFromArgs function · c8cfe4e0
      Brad King authored
      This was used only by CMake's get_filename_components() command, which
      has now been re-implemented independently.  The operation is not
      well-defined (string parsing should not depend on filesystem content),
      so remove it.
      c8cfe4e0
  23. 01 Sep, 2017 1 commit
  24. 03 Aug, 2017 1 commit
  25. 25 Jul, 2017 1 commit
  26. 08 Jun, 2017 1 commit
    • Brad King's avatar
      SystemTools: Remove RemoveEmptyPathElements method · 7e04a3d2
      Brad King authored
      This method was added recently but we've found another solution for its
      intended use case.  Removing empty path elements can corrupt paths that
      depend on a trailing empty component to preserve a trailing slash.
      
      Since this method was meant to complement SplitPath and JoinPath, update
      their documentation to explain how they treat empty components.
      7e04a3d2
  27. 30 May, 2017 2 commits