Skip to content
Snippets Groups Projects
  1. Nov 01, 2019
  2. Oct 29, 2019
    • Brad King's avatar
      RegularExpression: Initialize RegularExpressionMatch arrays fully · cdd52ce1
      Brad King authored
      The `RegularExpressionMatch` class added by commit cff58f07
      (RegularExpression: New RegularExpressionMatch class, 2017-12-04) has
      members with array-of-pointer types.  Use uniform initialization
      syntax to initialize all array elements on construction.
      
      This fixes a Clang scan-build 7 warning:
      
      ```
      RegularExpression.hxx:138:23: warning: The left operand of '==' is a garbage value
        if (this->startp[n] == nullptr) {
            ~~~~~~~~~~~~~~~ ^
      ```
      cdd52ce1
  3. Sep 17, 2019
  4. Jun 20, 2019
  5. 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
  6. May 09, 2018
  7. Jan 03, 2018
  8. Dec 04, 2017
    • Sebastian Holtermann's avatar
      RegularExpression: New RegularExpressionMatch class · cff58f07
      Sebastian Holtermann authored
      The new RegularExpressionMatch allows to keep multiple match
      results of a RegularExpression.
      
      The startp and endp pointers of RegularExpression are replaced
      by an instance of RegularExpressionMatch.
      
      There also is new thread safe version of RegularExpression::find()
      which allows multiple threads to concurrently use the same
      RegularExpression on different input strings with independent
      RegularExpressionMatch results.
      cff58f07
  9. 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
  10. 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
  11. Mar 22, 2016
  12. Aug 28, 2015
    • Brad King's avatar
      Remove support for pre-C++98 STL · 5f3fd465
      Brad King authored
      Drop "kwsys/stl/*" and "kwsys_stl::" and use the standard headers and
      namespace instead.  Drop the now-unused KWSYS_STL_HAVE_STD check.
      
      Change-Id: I6105fd32cd8f0e487e03f58927976e824a53f0d8
      5f3fd465
  13. May 07, 2014
    • Ben Boeckel's avatar
      RegularExpression: Add string overloads · e53596b7
      Ben Boeckel authored
      It's weird that find had one (non-inline) overload. Make overloads for
      the ctor and .compile() as well so that other code can drop unnecessary
      .c_str() calls.
      
      Change-Id: If0da9811728892bdfd1340f51ec9b33524776958
      e53596b7
  14. 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
  15. Sep 03, 2009
    • Brad King's avatar
      COMP: Silence useless Borland inlining warning · f3beae21
      Brad King authored
      KWSys tries not to force anything on source files that include its
      headers, but Borland warning 8027 leaves us no choice when we want to
      have inline function definitions.  This commit disables the warning for
      the RegularExpression header and any file that includes it.
      f3beae21
  16. Mar 19, 2009
  17. Mar 17, 2009
  18. May 16, 2008
  19. Aug 22, 2007
    • Alexander Neundorf's avatar
      · 201b1589
      Alexander Neundorf authored
      BUG: if there is no match, don't construct the stl string from a NULL
      pointer
      
      Alex
      201b1589
  20. May 03, 2005
  21. Dec 19, 2003
  22. Dec 15, 2003
  23. Jun 30, 2003
  24. Jun 23, 2003
  25. Jun 19, 2003
  26. May 08, 2003
  27. Apr 08, 2003
Loading