1. 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 links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
  2. 01 Aug, 2016 1 commit
  3. 26 Jul, 2016 1 commit
  4. 10 May, 2016 1 commit
  5. 16 Mar, 2016 1 commit
    • Julian Schmidt's avatar
      cmake-mode.el: Fix help completion item lists with CMake >= 3.0 (#16019) · 9dc384f6
      Julian Schmidt authored
      We run `cmake --help-*-list` to get a list of items for completion.
      Since CMake < 3.0 always printed "cmake version ..." on the first line
      of the output we have previously ignored the first line.  However, CMake
      3.0 and above do not print the version line so we should not ignore the
      first line or we miss one item.
      Ideally we should filter the first line out if it is "cmake version ..."
      in order to support CMake < 3.0 cleanly, but at worst the version line
      will show up as a completion option so simply including the first line
      is good enough for now.
  6. 08 Oct, 2015 2 commits
  7. 14 Aug, 2015 1 commit
  8. 13 Aug, 2015 1 commit
  9. 27 Jul, 2015 5 commits
  10. 23 Jun, 2015 1 commit
    • Jostein Kjønigsen's avatar
      cmake-mode.el: Add support for prog-mode hooks (#15521) · b24b58bb
      Jostein Kjønigsen authored
      Since version 24, Emacs supports a generic mode called prog-mode.  Like
      all other modes it has its own mode-hook, prog-mode-hook.  For Emacs
      users it is common to provide all your generic programming-mode related
      customizations in this mode-hook.
      cmake-mode is definitely a programming-mode and should support calling
      this hook. There are two ways to make that happen:
      * Make your major-mode a derived-mode from prog-mode.
      * Manually calling the hook upon mode-activation.
      Implementing a derived mode may be the most proper thing to do, but that
      may require quite a few structural changes.  For now just call the hook
      explicitly if it exists.  This should cover much of what users need.
  11. 19 Jan, 2015 2 commits
    • Peter Vasil's avatar
      cmake-mode.el: Re-add explicit call to require thingatpt · 3a147e1b
      Peter Vasil authored
      Usually it is not needed to call '(require 'thingatpt')' explicitly
      because the function 'symbol-at-point' is in autoloaded but to be sure
      to have the function loaded in every case, require thingatpt.
    • Peter Vasil's avatar
      cmake-mode.el: Fix extracting keyword at point in cmake-help · ca80598e
      Peter Vasil authored
      Since commit v3.1.0-rc2~1^2~1 (cmake-mode.el: syntax of '_' should be
      treated as symbol, 2014-11-12) the 'word-at-point' function does not
      extract the whole keyword anymore if it contains an '_', because
      'forward-word' stops at '_'.  Use 'symbol-at-point' to extract a whole
      keyword even if there is an '_'.
  12. 12 Nov, 2014 1 commit
  13. 13 Feb, 2014 2 commits
  14. 29 Jan, 2014 2 commits
  15. 28 Jan, 2014 3 commits
  16. 02 Jan, 2014 2 commits
  17. 18 Nov, 2013 1 commit
  18. 15 Oct, 2013 1 commit
    • Brad King's avatar
      Rename Docs to Auxiliary · b601e235
      Brad King authored
      The directory contains auxiliary support files for integration with
      other tools, not documentation.
  19. 21 Sep, 2012 2 commits
  20. 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/ \+$//'
  21. 24 Feb, 2012 1 commit
  22. 23 Jan, 2012 1 commit
  23. 01 Oct, 2009 1 commit
  24. 30 Sep, 2009 1 commit
  25. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake 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 CMake copyright to
      cover the full development time range.
  26. 26 Feb, 2009 1 commit
  27. 11 Mar, 2008 1 commit
  28. 02 Jan, 2008 1 commit