1. 04 Sep, 2019 1 commit
  2. 19 Jul, 2019 1 commit
  3. 18 Jul, 2019 1 commit
  4. 31 Mar, 2019 1 commit
  5. 08 Feb, 2019 1 commit
    • Zsolt Parragi's avatar
      CTest: Represent process exit codes as 64-bit signed integer · 440b08e4
      Zsolt Parragi authored
      Exit code constants on Windows, such as `STATUS_NO_MEMORY` do not fit in
      a 32-bit signed integer type.  They do fit in an unsigned 32-bit type,
      but for compatibility with UNIX semantics we treat exit codes as signed.
      Use a 64-bit signed integer to handle both.
      440b08e4
  6. 08 Jan, 2019 1 commit
  7. 09 Nov, 2018 1 commit
  8. 05 Mar, 2018 1 commit
    • Brad King's avatar
      CTest: Add options to control test process affinity to CPUs · 6be53c66
      Brad King authored
      In commit v2.8.0~170 (ENH: Added ctest test options PROCESSORS and
      RUN_SERIAL, 2009-09-07) CTest learned to track the number of processors
      allocated to running tests in order to balance it against the desired
      level of parallelism.  Extend this idea by introducing a new
      `PROCESSOR_AFFINITY` test property to ask that CTest run a test
      with the CPU affinity mask set.  This will allow a set of tests
      that are running concurrently to use disjoint CPU resources.
      6be53c66
  9. 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
  10. 08 Dec, 2017 1 commit
  11. 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
  12. 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
  13. 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
  14. 03 Nov, 2017 1 commit
    • luz.paz's avatar
      Fix trivial typos in text · 777e87ae
      luz.paz authored
      Some are user facing.
      
      Found using
      
          codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`
      
      whereby the whitelist contained:
      
          ans
          dum
          helpfull
          emmited
          emmitted
          buil
          iff
          isnt
          nto
          ot
          pathes
          substract
          te
          todays
          upto
          whitespaces
      777e87ae
  15. 15 Sep, 2017 1 commit
    • Brad King's avatar
      Use C++11 override instead of CM_OVERRIDE · 0b33aee4
      Brad King authored
      We now require C++11 support including `override`.  Drop use of
      the old compatibility macro.  Convert references as follows:
      
          git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' |
            xargs sed -i 's/CM_OVERRIDE/override/g'
      0b33aee4
  16. 14 Sep, 2017 1 commit
  17. 08 Sep, 2017 1 commit
    • Bill Hoffman's avatar
      CTest: Split out labels and subproject labels in summary output · a6e32eb0
      Bill Hoffman authored
      This commit splits out the reporting of labels and labels used for sub
      projects. If a label is a sub project label it will not be included in
      the label summary.  To implement this the commit creates
      PrintLabelOrSubprojectSummary which is able to do the work of both
      PrintLabelSummary and PrintSubprojectSummary avoiding code duplication.
      a6e32eb0
  18. 30 Aug, 2017 1 commit
  19. 26 Aug, 2017 1 commit
  20. 12 Jul, 2017 1 commit
  21. 10 Jul, 2017 2 commits
  22. 01 May, 2017 1 commit
  23. 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
  24. 29 Mar, 2017 1 commit
    • Betsy McPhail's avatar
      Add 'DISABLED' test property · b070947d
      Betsy McPhail authored
      When this property is set, the test is skipped and its status is
      automatically set to 'Not Run'.  A disabled test will not be counted in
      the total number of tests and its completion status will be 'Disabled'.
      b070947d
  25. 24 Oct, 2016 1 commit
  26. 22 Oct, 2016 1 commit
  27. 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 lin...
      86578ecc
  28. 20 Sep, 2016 1 commit
    • Craig Scott's avatar
      CTest: Add support for test fixtures · 73f47c9e
      Craig Scott authored
      Add new test properties:
      
      * FIXTURES_SETUP
      * FIXTURES_CLEANUP
      * FIXTURES_REQUIRED
      
      to specify the roles and dependencies of tests providing/using
      test fixtures.
      73f47c9e
  29. 25 Aug, 2016 1 commit
  30. 27 Jun, 2016 1 commit
  31. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      
      * 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.
      d9fd2f54
  32. 29 Apr, 2016 1 commit
    • Brad King's avatar
      Source: Stabilize include order · 180538c7
      Brad King authored
      Each source file has a logical first include file.  Include it in an
      isolated block so that tools that sort includes do not move them.
      180538c7
  33. 22 Mar, 2016 1 commit
  34. 18 Sep, 2015 1 commit
  35. 26 May, 2015 2 commits
  36. 08 Mar, 2014 1 commit
    • Ben Boeckel's avatar
      strings: Remove cmStdString references · 270eb96d
      Ben Boeckel authored
      Casts from std::string -> cmStdString were high on the list of things
      taking up time. Avoid such implicit casts across function calls by just
      using std::string everywhere.
      
      The comment that the symbol name is too long is no longer relevant since
      modern debuggers alias the templates anyways and the size is a
      non-issue since the underlying methods are generated since it's
      inherited.
      270eb96d
  37. 14 Jan, 2014 1 commit
  38. 07 Jan, 2014 1 commit