1. 08 Nov, 2019 1 commit
  2. 22 Aug, 2019 1 commit
    • Sebastian Holtermann's avatar
      Source sweep: Use cmStrCat for string concatenation · 9b334397
      Sebastian Holtermann authored
      This patch is generated by a python script that uses regular expressions to
      search for string concatenation patterns of the kind
      std::string str = <ARG0>;
      str += <ARG1>;
      str += <ARG2>;
      and replaces them with a single `cmStrCat` call
      std::string str = cmStrCat(<ARG0>, <ARG1>, <ARG2>, ...);
      If any `<ARGX>` is itself a concatenated string of the kind
      a + b + c + ...;
      then `<ARGX>` is split into multiple arguments for the `cmStrCat` call.
      If there's a sequence of literals in the `<ARGX>`, then all literals in the
      sequence are concatenated and merged into a single literal argument for
      the `cmStrCat` call.
      Single character strings are converted to single char arguments for
      the `cmStrCat` call.
      `std::to_string(...)` wrappings are removed from `cmStrCat` arguments,
      because it supports numeric types as well as string types.
      `arg.substr(x)` arguments to `cmStrCat` are replaced with
  3. 09 Jul, 2019 1 commit
    • Alex Turbov's avatar
      Refactor: Move CPack internal files to `Internal/CPack/` directory · 98617f1b
      Alex Turbov authored
      Some commits ago all CPack internal `*.cmake` files have been moved
      to `Internal/CPack/`. This commit also move some templates
      internally used by generators to the same location to make
      `Modules/` directory less noisy w/ files the end users don't
      need to use/see.
  4. 18 Feb, 2019 1 commit
  5. 07 Feb, 2019 1 commit
  6. 25 Jan, 2019 1 commit
    • wahikihiki's avatar
      clang-tidy: Use `= default` · 55671b41
      wahikihiki authored
      Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and
      `Source/cmUVHandlePtr.h` where a few older compilers require a
      user-defined default constructor (with `{}`).
  7. 28 Nov, 2018 1 commit
  8. 01 Jun, 2018 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · d7204e64
      Kitware Robot authored
      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.
  9. 01 Dec, 2017 1 commit
    • Alexander Wittig's avatar
      CPack: Fix macOS PKG component dependency information · f25d87db
      Alexander Wittig authored
      Refactoring in commit v3.7.0-rc1~523^2 (CPack/PackageMaker: port to
      cmXMLWriter, 2016-06-08) accidentally broke `distribution.dist`
      generation when there are dependencies between components and the pkg
      (or the derived productbuild) generator are used.  The resulting
      package cannot be installed and instead the Apple Installer app
      shows a "Javascript error" message.
      The problem is that a `std::ostringstream` is constructed with some
      content, but the stream pointer still points to the beginning of the
      stream, so subsequent writes overwrite the initial content instead of
  10. 28 Sep, 2017 1 commit
  11. 19 Sep, 2017 1 commit
  12. 22 Nov, 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 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.
  14. 04 Sep, 2016 1 commit
  15. 09 Jun, 2016 1 commit
  16. 07 Jun, 2016 1 commit
  17. 06 Jun, 2016 1 commit
  18. 03 Jun, 2016 1 commit
  19. 01 Jun, 2016 1 commit