Skip to content
Snippets Groups Projects
  1. Sep 01, 2017
  2. May 30, 2017
  3. May 06, 2017
  4. 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
  5. Jul 21, 2016
  6. Aug 28, 2015
  7. Jan 23, 2015
  8. Dec 16, 2014
    • Brad King's avatar
      Directory: Work around PGI problem with Linux Large File Support · cc4046a8
      Brad King authored
      The "/usr/include/dirent.h" header on Linux uses a glibc __REDIRECT
      to map readdir to readdir64, but that is defined only when using
      a GNU-like compiler.  Otherwise it defines readdir to readdir64
      via the C preprocessor, but forgets to define dirent to dirent64.
      
      The fix in commit 2f3c4192 (add support for the Portland Compiler to
      CMake, 2007-09-17) does not seem to work on all machines.  Instead try
      to map dirent to dirent64 whenever the preprocessor defines readdir to
      readdir64 with PGI and glibc.
      
      Change-Id: I6d4fc4cb48e5481f6ac8ed3928c0eb6c6ef0564d
      cc4046a8
  9. Jul 30, 2014
    • Ben Boeckel's avatar
      Directory: accept strings in methods · f29fec7c
      Ben Boeckel authored
      Windows required non-NULL anyways (via strlen) where *nix checked it
      after passing it to opendir; just assume non-NULL everywhere and take a
      string where possible.
      
      Change-Id: I85c6dc71dd11be58ba61e269c4b40b009924d967
      f29fec7c
  10. Jun 02, 2014
    • Chuck Atkins's avatar
      Directory: Make sure the /* suffix uses correct slashes · e4bba930
      Chuck Atkins authored
      When applying the /* wildcard suffix to a directory, make sure the
      direction of the slash getting appended is consistent with the other
      slashes in the path, i.e. /foo/bar and /foo/bar/ become /foo/bar/* and
      similarly \foo\bar and \foo\bar\ become \foo\bar\*.
      
      Change-Id: I44fcf7e97be65923a37aaed615ba5f4012756893
      e4bba930
  11. Oct 31, 2013
  12. Sep 28, 2009
    • Brad King's avatar
      Convert KWSys to OSI-approved BSD License · 62db264e
      Brad King authored
      This converts the KWSys license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the KWSys copyright to
      cover the full development time range.
      62db264e
  13. Sep 17, 2007
    • Alexander Neundorf's avatar
      · 2f3c4192
      Alexander Neundorf authored
      ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
      
      Alex
      2f3c4192
  14. Aug 01, 2006
  15. Jun 22, 2006
  16. Mar 17, 2006
  17. Mar 09, 2006
  18. Mar 06, 2006
  19. Jan 17, 2006
  20. Apr 13, 2005
  21. Feb 12, 2004
  22. Dec 19, 2003
  23. Dec 15, 2003
  24. Jul 10, 2003
  25. Jun 30, 2003
  26. Jun 25, 2003
  27. May 08, 2003
  28. Apr 08, 2003
Loading