1. 10 Sep, 2018 1 commit
  2. 31 Jul, 2018 1 commit
  3. 09 Apr, 2018 1 commit
  4. 25 Oct, 2017 2 commits
  5. 15 Sep, 2017 1 commit
  6. 12 Sep, 2017 1 commit
  7. 24 Aug, 2017 1 commit
  8. 24 Apr, 2017 1 commit
  9. 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
  10. 29 Mar, 2017 1 commit
  11. 19 Oct, 2016 1 commit
  12. 18 Oct, 2016 1 commit
  13. 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
  14. 04 Sep, 2016 1 commit
  15. 03 Sep, 2016 1 commit
  16. 18 Aug, 2016 1 commit
  17. 18 Jul, 2016 1 commit
  18. 28 Jun, 2016 1 commit
  19. 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
  20. 03 May, 2016 1 commit
    • Brad King's avatar
      Source: Sort includes the way clang-format would · 54f71cd7
      Brad King authored
      Re-apply the approach from commit e1c77472 (Format include directive
      blocks and ordering with clang-format, 2016-04-29) but this time be
      more careful about exclusion of parser generator sources:
      
          $ git ls-files -z -- \
              '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' |
            egrep -z -v '^Source/cmCommandArgumentLexer\.' |
            egrep -z -v '^Source/cmCommandArgumentParser\.' |
            egrep -z -v '^Source/cmDependsJavaLexer\.' |
            egrep -z -v '^Source/cmDependsJavaParser\.' |
            egrep -z -v '^Source/cmExprLexer\.' |
            egrep -z -v '^Source/cmExprParser\.' |
            egrep -z -v '^Source/cmFortranLexer\.' |
            egrep -z -v '^Source/cmFortranParser\.' |
            egrep -z -v '^Source/cmListFileLexer\.' |
            egrep -z -v '^Source/cm_sha2' |
            egrep -z -v '^Source/(kwsys|CursesDialog/form)/' |
            egrep -z -v '^Utilities/(KW|cm).*/' |
            egrep -z -v '^Tests/Module/GenerateExportHeader' |
            egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' |
            xargs -0 clang-format -i
      
      Also drop use of custom sorting for `sys/types.h`.
      54f71cd7
  21. 15 Apr, 2016 1 commit
    • Brad King's avatar
      Add call stack to unused/uninitialized variable warnings · 2faa8b36
      Brad King authored
      In commit v2.8.4~32^2~14 (Use cmake::IssueMessage for warnings,
      2010-12-07) these warnings became formatted.  It is more informative to
      give the full call stack with such warnings.  Also it is easier to
      implement warnings with a full call stack because we do not have to
      construct a custom backtrace with only the top.
      2faa8b36
  22. 06 Jun, 2015 1 commit
  23. 21 May, 2015 1 commit
  24. 18 May, 2015 1 commit
  25. 13 Apr, 2015 1 commit
  26. 07 Apr, 2015 2 commits
  27. 06 Apr, 2015 1 commit
  28. 11 Jan, 2015 1 commit
  29. 05 Jun, 2014 1 commit
  30. 11 Mar, 2014 2 commits
  31. 08 Mar, 2014 1 commit
  32. 07 Aug, 2013 1 commit
    • Brad King's avatar
      Include cmMakefile.h before cm*Lexer.h to get stdint.h first · ae6a5ea5
      Brad King authored
      Some generated cm*Lexer.h headers define preprocessor macros normally
      provided by <stdint.h>.  The latter is included indrectly by cmMakefile.h
      since commit 2268c41a (Optimize custom command full-path dependency
      lookup, 2013-08-06).  Adjust the order to avoid redefinition warnings.
      ae6a5ea5
  33. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored
      Our Git commit hooks disallow modification or addition of lines with
      trailing whitespace.  Wipe out all remnants of trailing whitespace
      everywhere except third-party code.
      
      Run the following shell code:
      
      git ls-files -z -- \
       bootstrap doxygen.config '*.readme' \
       '*.c' '*.cmake' '*.cpp' '*.cxx' \
       '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
       '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
      egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
      egrep -z -v '^(Modules/CPack\..*\.in)' |
      xargs -0 sed -i 's/ \+$//'
      7bbaa428
  34. 07 Dec, 2010 2 commits
  35. 23 Sep, 2010 1 commit
  36. 16 Sep, 2010 1 commit