Skip to content
Snippets Groups Projects
  1. Feb 23, 2017
  2. Jan 23, 2017
  3. Nov 15, 2016
  4. Nov 09, 2016
  5. Sep 27, 2016
    • 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.
      86578ecc
  6. Sep 19, 2016
  7. Sep 15, 2016
  8. Aug 17, 2016
  9. Aug 05, 2016
    • Sylvain Joubert's avatar
      bash-completion: Fix cmake -E lookup · fe7f117a
      Sylvain Joubert authored and Brad King's avatar Brad King committed
      In case of long '<command> <args...>' the description text is wrapped
      and indented on the next line.
      Avoid taking these lines into account by explicitly requiring the third
      character to be a non-space.
      fe7f117a
  10. Aug 01, 2016
  11. Jul 26, 2016
  12. Jul 22, 2016
  13. Jul 21, 2016
  14. Jun 10, 2016
  15. May 10, 2016
  16. Mar 16, 2016
    • Julian Schmidt's avatar
      cmake-mode.el: Fix help completion item lists with CMake >= 3.0 (#16019) · 9dc384f6
      Julian Schmidt authored and Brad King's avatar Brad King committed
      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.
      9dc384f6
  17. Oct 08, 2015
  18. Sep 25, 2015
  19. Aug 14, 2015
  20. Aug 13, 2015
  21. Jul 27, 2015
  22. Jun 23, 2015
    • Jostein Kjønigsen's avatar
      cmake-mode.el: Add support for prog-mode hooks (#15521) · b24b58bb
      Jostein Kjønigsen authored and Brad King's avatar Brad King committed
      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.
      b24b58bb
  23. Apr 22, 2015
Loading