Skip to content
Snippets Groups Projects
  1. Mar 03, 2020
    • Hans Johnson's avatar
      COMP: Prefer const pointer when value does not change · acc916ed
      Hans Johnson authored
      The check finds function parameters of a pointer type that could be changed to
      point to a constant type instead.
      
      When const is used properly, many mistakes can be avoided. Advantages when
      using const properly:
       - prevent unintentional modification of data;
       - get additional warnings such as using uninitialized data;
       - make it easier for developers to see possible side effects.
      
      This check is not strict about constness, it only warns when the constness will
      make the function interface safer.
      acc916ed
  2. May 31, 2018
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · 828b6837
      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 6.0.
      
      * 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.
      828b6837
  3. 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
  4. Nov 01, 2017
  5. May 15, 2017
  6. May 11, 2017
  7. 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
  8. Mar 09, 2016
  9. Jul 15, 2015
    • James Johnston's avatar
      Process: Added initial support for process groups. · ef517b19
      James Johnston authored and Brad King's avatar Brad King committed
      kwsysProcess_SetOption now allows you to specify a new
      kwsysProcess_Option_CreateProcessGroup option, which creates the
      process in a new process group (Windows/UNIX) and a new session
      (UNIX).  Child process groups receive signals separately from their
      parents.  This allowed for the introduction of the new
      kwsysProcess_Interrupt function, which allows one to safely request
      the child process in its own group to terminate.  The Ctrl+C handler
      also manually sends that signal to child process groups, since it's
      no longer automatic.
      
      Change-Id: Id0a420ad65f1b1c1d299ac0eb95fbb8b50a52409
      ef517b19
  10. May 05, 2015
    • Brad King's avatar
      Process: Add option to merge stdout/stderr · 34fceb50
      Brad King authored
      When enabled, ignore all stderr pipe configuration options and
      just give the child a copy of stdout as its stderr.
      
      Change-Id: I87a64657cc701b706da78f7bfc56ad0071383372
      34fceb50
  11. 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
  12. Apr 14, 2009
    • Brad King's avatar
      ENH: Skip KWSys name maros in case of identity · 0e3a5ecd
      Brad King authored
      All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at
      configuration time.  For ease of editing we write canonical names with
      the prefix 'kwsys' and use macros to map them to the configured prefix
      at preprocessing time.  In the case of standalone KWSys, the prefix is
      'kwsys', so the macros were previously defined to their own names.
      
      We now skip defining the macros in the identity case so that the final
      symbol names are never themselves macros.  This will allow the symbols
      to be further transformed behind the scenes to help linkers in special
      cases on some platforms.
      0e3a5ecd
  13. Apr 02, 2008
  14. Oct 03, 2006
  15. Jun 15, 2006
  16. Jul 26, 2005
  17. Jun 17, 2005
  18. Apr 13, 2005
  19. Jul 07, 2004
  20. May 10, 2004
  21. May 07, 2004
  22. May 06, 2004
  23. Jan 22, 2004
  24. Dec 30, 2003
  25. Dec 16, 2003
  26. Dec 15, 2003
  27. Dec 13, 2003
  28. Dec 07, 2003
  29. Dec 05, 2003
  30. Dec 03, 2003
  31. Nov 27, 2003
  32. Aug 05, 2003
  33. Jul 07, 2003
  34. Jul 01, 2003
  35. Jun 30, 2003
  36. Jun 18, 2003
Loading