1. 23 May, 2019 1 commit
  2. 02 Apr, 2019 1 commit
  3. 30 Mar, 2019 1 commit
  4. 18 Mar, 2019 2 commits
  5. 20 Feb, 2019 1 commit
  6. 15 Feb, 2019 1 commit
  7. 06 Feb, 2019 1 commit
  8. 28 Jan, 2019 1 commit
  9. 25 Jan, 2019 1 commit
    • wahikihiki's avatar
      clang-tidy: Use `= default` · 55671b41
      wahikihiki authored
      Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and
      `Source/cmUVHandlePtr.h` where a few older compilers require a
      user-defined default constructor (with `{}`).
      55671b41
  10. 17 Jan, 2019 1 commit
  11. 15 Jan, 2019 1 commit
  12. 15 Dec, 2018 1 commit
  13. 05 Sep, 2018 1 commit
  14. 30 Aug, 2018 1 commit
    • Tim's avatar
      CTest: Add error exception for sphinx-build WARNING messages · fde61d3a
      Tim authored
      Sphinx-build warnings look like this:
      
          ../path/to/file.rst:105: WARNING: This is not an error.
      
      CTest detects these as errors by this regex:
      
          ([^ :]+):([0-9]+): ([^ \\t])
      
      Add an exception as we already have for lower-case `: warning`.
      fde61d3a
  15. 07 Aug, 2018 2 commits
  16. 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
  17. 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
  18. 26 Jan, 2018 1 commit
  19. 23 Jan, 2018 1 commit
    • Wouter Klouwen's avatar
      CTest: introduce cmDuration · 695951bc
      Wouter Klouwen authored
      This commit introduces cmDuration as a typedef for
      std::chrono::duration<double, std::ratio<1>>. It is less verbose and
      provides for a point to put future common functionality for durations.
      
      No functional change intended.
      695951bc
  20. 04 Dec, 2017 1 commit
    • Wouter Klouwen's avatar
      CTest: convert timeouts to std::chrono::duration · 66419bc0
      Wouter Klouwen authored
      This commit continues the refactoring of CTest to adopt std::chrono.
      After the last sets of changes that introduced std::chrono::steady_clock
      and std::chrono::system_clock respectively, it makes sense to have all
      the timeouts be stored as std::chrono::duration.
      
      No functional change intended.
      66419bc0
  21. 28 Nov, 2017 1 commit
    • Brad King's avatar
      IWYU: Add mappings for std::enable_if on chrono durations · 923b8fad
      Brad King authored
      IWYU incorrectly classifies this internal STL type as not internal, and
      suggests including `<type_traits>` for it.  Work around the problem by
      mapping the offending names to a file that we always include.
      
      See include-what-you-use issue 434.
      923b8fad
  22. 17 Nov, 2017 1 commit
    • Wouter Klouwen's avatar
      CTest: adopt std::chrono::system_clock · 5fd979a8
      Wouter Klouwen authored
      After the refactor to make CTest use std::chrono::steady_clock for the
      keeping of time for test duration, there are still references to
      cmSystemTools::GetTime() left.
      To further adopt std::chrono for time related activities, this commit
      changes those remaining references to std::chrono::system_clock::now()
      calls and alters the storage from either unsigned int or double to
      std::chrono::system_clock::time_point.
      
      For ease of conversion, a converter method is added to cmXMLWriter that
      converts from a std::chrono::system_clock::time_point to the number of
      seconds since the UN*X epoch as that is expected behaviour. This means
      no more casts as required.
      
      Functionally should be no difference as the system_clock is implemented
      in the same terms.
      5fd979a8
  23. 14 Nov, 2017 1 commit
    • Wouter Klouwen's avatar
      CTest: use std::chrono::steady_clock for time keeping · e8a4036e
      Wouter Klouwen authored
      It was reported in issue #17345 that CTest does not use monotonic time
      to report test duration. Monotonic clocks are not affected by large NTP
      adjustments or things like daylight savings time.
      
      As CMake 3.10 requires C++11, which introduced std::chrono, this commit
      moves the time keeping in CTest from cmSystemTools::GetTime() to
      std::chrono::steady_clock.
      
      Fixes: #17345
      e8a4036e
  24. 28 Sep, 2017 1 commit
  25. 21 Sep, 2017 1 commit
  26. 15 Sep, 2017 1 commit
  27. 14 Sep, 2017 1 commit
  28. 24 Aug, 2017 1 commit
  29. 10 Jul, 2017 1 commit
  30. 01 Jun, 2017 1 commit
  31. 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
  32. 16 Jan, 2017 1 commit
  33. 12 Dec, 2016 1 commit
  34. 14 Nov, 2016 3 commits
  35. 27 Sep, 2016 1 commit
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
      86578ecc
  36. 05 Sep, 2016 1 commit