1. 22 Jun, 2018 1 commit
  2. 01 Jun, 2018 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · d7204e64
      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.
      d7204e64
  3. 16 May, 2018 1 commit
  4. 23 Apr, 2018 1 commit
    • Yves Frederix's avatar
      file(INSTALL): Preserve file time when writing NTFS alternate stream · 6dcd1bfa
      Yves Frederix authored
      When cross-compiling on a Windows host, we use a `:cmake_mode_t` NTFS
      alternate stream to store the file mode for use during packaging.
      Writing to this stream changes the file modification time, so save and
      restore the original modification time since we are not modifying the
      real file content.
      
      Fixes: #17922
      6dcd1bfa
  5. 29 Mar, 2018 1 commit
  6. 07 Mar, 2018 1 commit
  7. 28 Feb, 2018 1 commit
  8. 15 Feb, 2018 1 commit
  9. 31 Jan, 2018 1 commit
    • Pavel Solodovnikov's avatar
      Reduce raw string pointers usage. · 653b8946
      Pavel Solodovnikov authored
      * Change some functions to take `std::string` instead of
        `const char*` in the following classes: `cmMakeFile`, `cmake`,
        `cmCoreTryCompile`, `cmSystemTools`,  `cmState`, `cmLocalGenerator`
        and a few others.
      * Greatly reduce using of `const char*` overloads for
        `cmSystemTools::MakeDirectory` and `cmSystemTools::RelativePath`.
      * Remove many redundant `c_str()` conversions throughout the code.
      653b8946
  10. 26 Jan, 2018 1 commit
  11. 08 Nov, 2017 2 commits
  12. 18 Oct, 2017 1 commit
  13. 28 Sep, 2017 1 commit
  14. 25 Sep, 2017 1 commit
  15. 15 Sep, 2017 2 commits
  16. 12 Sep, 2017 1 commit
  17. 27 Aug, 2017 1 commit
  18. 24 Aug, 2017 1 commit
  19. 28 Jun, 2017 1 commit
  20. 03 Jun, 2017 2 commits
  21. 26 May, 2017 1 commit
  22. 15 May, 2017 1 commit
  23. 04 May, 2017 1 commit
    • Ben Boeckel's avatar
      c++: prefer vectors over lists · 3e027d9d
      Ben Boeckel authored
      None of these usages of `std::list` were inserting or removing elements
      in the middle of the structure, so there were no benefits to using it.
      
      Other uses were related to C pointers being stable in a list of strings
      whereas in a vector of strings, small pointer optimizations could be
      moved and become invalid after a modification to the hosting vector.
      None of these uses modified the vector after handing out a C string to
      an external store.
      3e027d9d
  24. 21 Apr, 2017 1 commit
  25. 13 Apr, 2017 2 commits
  26. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
      1d829c86
  27. 29 Mar, 2017 2 commits
  28. 28 Mar, 2017 1 commit
  29. 24 Mar, 2017 1 commit
  30. 10 Mar, 2017 1 commit
  31. 16 Jan, 2017 1 commit
  32. 12 Dec, 2016 2 commits
  33. 28 Nov, 2016 1 commit
  34. 10 Nov, 2016 1 commit