Skip to content
Snippets Groups Projects
  1. Dec 14, 2016
    • Brad King's avatar
      Tell Git not to export any `.sh` or `.bash` scripts · 4b7bf8e4
      Brad King authored
      Our new scripts `update-gitsetup.bash` and `update-third-party.bash`
      should not be exported by `git archive`.  Furthermore, they should be
      checked out with LF newlines.  Update `.gitattributes` accordingly.
      4b7bf8e4
  2. Dec 13, 2016
  3. Dec 02, 2016
  4. Dec 01, 2016
  5. Nov 28, 2016
  6. Nov 21, 2016
  7. Nov 18, 2016
  8. Nov 16, 2016
  9. Nov 10, 2016
  10. Nov 09, 2016
    • Matt Leotta's avatar
      SystemInformation: Skip loopback devices in search for FQDN · 6a642f72
      Matt Leotta authored and Brad King's avatar Brad King committed
      DNS lookup on loopback devices is not needed to find the FQDN and just
      slows down this function, especially when the DNS lookup times out.
      
      Change-Id: I3f8b565cf8786b92cfef23b693c3c4fab57a904e
      6a642f72
    • Brad King's avatar
      FStream: Include Configure.hxx before other headers · 18c65411
      Brad King authored
      In commit 15e90a3c (Sort includes to stabilize include order w.r.t.
      clang-format, 2016-11-04) we forgot to move `Configure.hxx` into its own
      block to ensure it remains first.  Restore the original include order
      and add separating blanks to make it stable w.r.t. clang-format.
      
      Change-Id: Ibca524065147192da916ad98d7db3c5d86b26a5a
      18c65411
  11. Nov 08, 2016
  12. 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
      Empty commit at end of history preceding clang-format style transition · 6604c4b6
      Brad King authored
      This is an empty commit that precedes an automatic application of
      clang-format to update the C++ style of our entire source tree.
      This may be helpful to rebase a topic branch that was originally
      based on a commit preceding the transition.  One may first rebase
      the topic on this commit.  Then use one of the following approaches.
      
      *   Rewrite the topic, including this commit, using `git filter-branch`
          `--tree-filter` with `clang-format.bash` to update the style in
          every commit.  Rebase the revised topic, excluding the rewrite of
          this commit, on the style transition commit.
      
      OR
      
      *   Add a `.git/info/grafts` entry to change the parent of the first
          commit in the topic from this commit to the style transition commit.
          Rewrite the topic using `git filter-branch --tree-filter` with
          `clang-format.bash` to update the style in every commit.  Then
          remove the graft, which was resolved by the filter.
      
      See `git help filter-branch` and `git help repository-layout` for
      details.
      
      Change-Id: Ieab41df4c10872a91c974330d27abd292e2da510
      6604c4b6
    • Brad King's avatar
      CONTRIBUTING: Add a section on coding style · aa94be0c
      Brad King authored
      Document that we now define our coding style with `clang-format`.
      
      Change-Id: I6dea8c3816f277b0e56e074ccd6c64a2cfeb094c
      aa94be0c
    • Brad King's avatar
      Add a script to run clang-format on the entire source tree · 547dacad
      Brad King authored
      List all sources in version control and filter out those that we should
      not format for various reasons.  Then run the clang-format tool to do an
      in-place update.
      
      Change-Id: If6d24b3b2e2de1b8e66f7fc2a713d2fd1d579f3d
      547dacad
    • Brad King's avatar
      Configure clang-format for KWSys source tree · 89b98af5
      Brad King authored
      Use the same format as CMake.  This is the Mozilla style with a few
      tweaks:
      
      * Do not align operator arguments.
      
      * Do not always break after a function return type.
      
      * Limit to 79 columns instead of 80 to fit edge cases
        better in 80-column terminals.
      
      * Format for C++98 instead of C++11 because KWSys is written
        in the former language.
      
      Change-Id: I755d3ca9cf2d883e85682fa86cab7127156da861
      89b98af5
    • Brad King's avatar
      kwsysPrivate: Protect KWSYS_HEADER macro from clang-format · 8649a886
      Brad King authored
      Do not let clang-format add spaces around the "/" in the macro
      definition.
      
      Change-Id: I51dd99b304300b4181c6e35628f3a3c324935b7a
      8649a886
    • Brad King's avatar
      SystemInformation: Remove stray comment · a4f5ef79
      Brad King authored
      References to `@KWSYS_NAMESPACE@` have no meaning in non-configured
      sources.
      
      Change-Id: I4ffa59918d69aefb4835b2d2e84e4c6bf73dd274
      a4f5ef79
Loading