Skip to content
Snippets Groups Projects
  1. Jan 22, 2019
  2. Jan 21, 2019
  3. Jan 18, 2019
  4. Jan 14, 2019
  5. Jan 11, 2019
  6. Dec 12, 2018
  7. Dec 11, 2018
  8. Nov 28, 2018
    • Brad King's avatar
      Merge topic 'SystemTools-simplify-touch' · 5ea12a52
      Brad King authored and Kitware Robot's avatar Kitware Robot committed
      
      4f9fb9aa SystemTools: Fix Touch to avoid requiring file ownership
      
      Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !115
      5ea12a52
    • Isaiah's avatar
      SystemTools: Fix Touch to avoid requiring file ownership · 4f9fb9aa
      Isaiah authored and Brad King's avatar Brad King committed
      SystemTools::Touch should only require +w file permissions. The previous
      implementation used `stat` to get the current time, and then passed that
      time to one of utimensat/utimes/utime. However, utimes/utimensat only
      permit an arbitrary-time argument to be passed by the file owner.
      
      Therefore, per the docs, we pass NULL for the `times` argument to utimes
      and utimensat, to indicate using the current time. This is permitted for
      any UID with +w on the file.
      
      Remove plain `utime` fallback that is no longer necessary.
      4f9fb9aa
  9. Oct 25, 2018
  10. Oct 24, 2018
  11. Oct 19, 2018
  12. Oct 18, 2018
    • Modestas Vainius's avatar
      SystemInformation: Fix compilation on GNU/{kFreeBSD,Hurd} · 162b3ed7
      Modestas Vainius authored and Brad King's avatar Brad King committed
      Includes of `cxxabi.h`, `execinfo.h`, etc. were guarded more
      restrictively (e.g. additionally by `__linux`) than the code which needs
      them (just by e.g.  `KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE`).
      kFreeGNU has some of these headers so extend the `__linux` ifdef to
      `kFreeBSD` and `Hurd` as well.
      
      Ideally the code should be fixed to have the same level of ifdef
      protection for both include and use of these APIs, but this is good
      enough for now pending further investigation.
      162b3ed7
  13. Oct 05, 2018
  14. Oct 04, 2018
  15. Oct 03, 2018
  16. Oct 02, 2018
  17. Sep 14, 2018
  18. Sep 12, 2018
  19. Sep 11, 2018
  20. Sep 07, 2018
  21. Aug 07, 2018
  22. Aug 01, 2018
  23. Jul 12, 2018
  24. Jul 10, 2018
  25. Jul 09, 2018
    • Brad King's avatar
      XL: Restore suppression of infinite loop warning in process test · aebe4597
      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`.
      aebe4597
  26. Jun 22, 2018
  27. Jun 21, 2018
  28. Jun 14, 2018
  29. Jun 13, 2018
    • Marian Klymov's avatar
      SystemInformation: Avoid use of dangling pointers on Solaris · 61501133
      Marian Klymov authored and Brad King's avatar Brad King committed
      `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.
      61501133
  30. Jun 12, 2018
  31. Jun 09, 2018
  32. Jun 01, 2018
  33. May 31, 2018
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · 828b6837
      Kitware Robot authored and Brad King's avatar Brad King committed
      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
    • Brad King's avatar
      Empty commit at end of history preceding clang-format-6.0 style transition · b7a341cf
      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.
      b7a341cf
Loading