1. 09 May, 2022 1 commit
  2. 06 May, 2022 1 commit
  3. 05 May, 2022 2 commits
  4. 04 May, 2022 3 commits
  5. 03 May, 2022 4 commits
  6. 02 May, 2022 2 commits
  7. 29 Apr, 2022 3 commits
  8. 28 Apr, 2022 3 commits
  9. 27 Apr, 2022 9 commits
  10. 26 Apr, 2022 3 commits
  11. 25 Apr, 2022 3 commits
  12. 22 Apr, 2022 3 commits
  13. 21 Apr, 2022 1 commit
  14. 19 Apr, 2022 2 commits
    • Bruce Dawson's avatar
      Don't check header guards in cpplint.py · 89ccf4a8
      Bruce Dawson authored
      Header guards are checked by CheckForIncludeGuards which has broader
      coverage than cpplint.py and should therefore be preferred.
      
      Having two include-guard checkers that cover different sets of files and
      use different tags to silence warnings is just confusing.
      
      Bug: 1309977
      Change-Id: Ic0d1ad610cf9c34d6777d852da2e2e22b8686552
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3587725Reviewed-by: 's avatarPeter Kasting <pkasting@chromium.org>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      89ccf4a8
    • Bruce Dawson's avatar
      Fix \r\r\n line endings in presubmit output · 00790d31
      Bruce Dawson authored
      When running "git cl presubmit --all" some of the presubmit messages
      were ending up double-spaced if the output is sent to a file and then
      loaded into notepad or Visual Studio. Visual Studio would complain
      about inconsistent line endings, and it turns out that this was all
      caused by some lines having \r\r\n line endings - notepad and Visual
      Studio interpret that as two line endings.
      
      The problem is that the stream that WinUnicodeOutput writes to does \n
      to \r\n translation. If the text being printed already has \r\n line
      endings then we get doubled-up \r characters. The fix is to replace all
      \r\n sequences with \n before calling write.
      
      This reduces the line count of the output by almost 2300 lines (more
      than 25% of the total) and makes it much more readable.
      
      Bug: 1309977
      Change-Id: Ie5475087badc3d3146e4f2ba41d30c9817dd375a
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3589498Reviewed-by: 's avatarAravind Vasudevan <aravindvasudev@google.com>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      00790d31