Skip to content
Snippets Groups Projects
  1. Nov 09, 2017
  2. Nov 03, 2017
    • luzpaz's avatar
      Fix trivial typos in text · 9a1d5901
      luzpaz authored and Brad King's avatar Brad King committed
      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
  3. Oct 31, 2017
  4. Oct 04, 2017
  5. Sep 29, 2017
  6. Sep 11, 2017
    • 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
  7. Sep 01, 2017
  8. Aug 03, 2017
  9. Jul 25, 2017
  10. Jun 08, 2017
    • 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
  11. May 30, 2017
  12. May 06, 2017
  13. Apr 17, 2017
  14. Mar 31, 2017
  15. Mar 29, 2017
  16. Mar 03, 2017
  17. Feb 02, 2017
  18. Jan 10, 2017
    • Ben Boeckel's avatar
      SystemTools: use PathExists where appropriate · 45db0937
      Ben Boeckel authored
      The `Touch` method should care about existence and directory creation
      should also be guarded against unreadable paths as well. In addition,
      fix a path existence check which should have been updated before.
      45db0937
  19. Jan 09, 2017
  20. Nov 04, 2016
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · 6c973b46
      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 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.
      
      Change-Id: Ie3aedc03bfe5c3999d4a077fafb8c6f3bbffc5c5
      6c973b46
    • Brad King's avatar
      Simplify KWSys per-source license notices · c41c1bc4
      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 KWSys 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#kwsys".
      
      Run the `filter-notices.bash` script to perform the replacements mechanically.
      Manually fix up the shebang line in one file.
      
      Change-Id: I8497f7c868664dcf54a8608ab302ad93c860b334
      c41c1bc4
    • Brad King's avatar
      Sort includes to stabilize include order w.r.t. clang-format · 15e90a3c
      Brad King authored
      The clang-format tool sorts `#include` lines within contiguous blocks.
      Separate blocks with blank lines and sort the include lines within them
      so that clang-format does not re-order anything.
      
      Change-Id: I96d6828f470b9a234464972172d46afab322487c
      15e90a3c
  21. Oct 07, 2016
    • Brad King's avatar
      SystemTools: Re-implement Strucmp · dfe9b386
      Brad King authored
      The current implementation was added by commit 5c8693bc (remove
      redundant function and eliminate need for strcasecmp, 2003-04-11).  The
      code was taken from Graphviz in 2003 from a source file that at the time
      was distributed under terms of the Common Public License, Version 1.0.
      While the actual content is simple and likely not copyrightable, clarify
      the licensing status by simply re-implementing the function from scratch
      using another approach.
      
      Change-Id: I44f72b215577af9e3de234b5ef03113c580a3bd6
      dfe9b386
  22. Sep 29, 2016
  23. Sep 14, 2016
    • Brad King's avatar
      SystemTools: Teach GetActualCaseForPath to convert as much as possible · c4049689
      Brad King authored
      If only some leading components of the input path exist then convert
      those and leave the rest unchanged.  This way if a file path is
      constructed using GetActualCaseForPath and created on disk, then a
      following GetActualCaseForPath on the same now-existing path will return
      the same value.
      
      Change-Id: I6e09a4d411f8bf107312f39d7409ba2d22bf176b
      CMake-Issue: 16295
      c4049689
  24. Aug 24, 2016
  25. Aug 03, 2016
    • Ben Boeckel's avatar
      SystemTools: add a PathExists method · 6d23dd7e
      Ben Boeckel authored
      This method checks if a path by the given name exists. The problem with
      FileExists is that it returns `false` even for broken (or
      self-referential) symlinks which may not be what the user wants.
      
      Change-Id: I71b8af6e12a5ae4b1319a3bec83db6c3cef36f90
      6d23dd7e
  26. Aug 02, 2016
  27. Aug 01, 2016
  28. Jul 18, 2016
  29. Jul 15, 2016
  30. Jul 14, 2016
  31. Mar 31, 2016
Loading