1. 06 Dec, 2021 1 commit
  2. 12 Feb, 2020 2 commits
  3. 31 Jan, 2020 1 commit
  4. 27 Jan, 2020 3 commits
  5. 24 Jan, 2020 1 commit
  6. 16 Jan, 2020 1 commit
  7. 10 Jan, 2020 1 commit
  8. 09 Jan, 2020 2 commits
  9. 08 Jan, 2020 1 commit
  10. 07 Jan, 2020 1 commit
  11. 03 Jan, 2020 2 commits
    • Jason A. Donenfeld's avatar
      [release-branch.go1.12] runtime: do not use... · e42221dc
      Jason A. Donenfeld authored
      [release-branch.go1.12] runtime: do not use PowerRegisterSuspendResumeNotification on systems with "program time" timer
      
      Systems where PowerRegisterSuspendResumeNotification returns ERROR_
      FILE_NOT_FOUND are also systems where nanotime() is on "program time"
      rather than "real time".  The chain for this is:
      
      powrprof.dll!PowerRegisterSuspendResumeNotification ->
        umpdc.dll!PdcPortOpen ->
          ntdll.dll!ZwAlpcConnectPort("\\PdcPort") ->
            syscall -> ntoskrnl.exe!AlpcpConnectPort
      
      Opening \\.\PdcPort fails with STATUS_OBJECT_NAME_NOT_FOUND when pdc.sys
      hasn't been initialized. Pdc.sys also provides the various hooks for
      sleep resumption events, which means if it's not loaded, then our "real
      time" timer is actually on "program time". Finally STATUS_OBJECT_NAME_
      NOT_FOUND is passed through RtlNtStatusToDosError, which returns ERROR_
      FILE_NOT_FOUND. Therefore, in the case where the function returns ERROR_
      FILE_NOT_FOUND, we don't mind, since the timer we're using will
      correspond fine with the lack of sleep resumption notifications. This
      applies, for example, to Docker users.
      
      Updates #35447
      Updates #35482
      Fixes #36377
      
      Change-Id: I9e1ce5bbc54b9da55ff7a3918b5da28112647eee
      Reviewed-on: https://go-review.googlesource.com/c/go/+/208317Reviewed-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      Reviewed-by: default avatarAustin Clements <austin@google.com>
      Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-on: https://go-review.googlesource.com/c/go/+/213198
      e42221dc
    • Jason A. Donenfeld's avatar
      [release-branch.go1.12] runtime: monitor for suspend/resume to kick timeouts · 93f05994
      Jason A. Donenfeld authored
      Starting in Windows 8, the wait functions don't take into account
      suspend time, even though the monotonic counters do. This results in
      timer buckets stalling on resume. Therefore, this commit makes it so
      that on resume, we return from the wait functions and recalculate the
      amount of time left to wait.
      
      This is a cherry pick of CL 191957 and its cleanup, CL 198417.
      
      Updates #31528
      Fixes #36376
      
      Change-Id: I0db02cc72188cb620954e87a0180e0a3c83f4a56
      Reviewed-on: https://go-review.googlesource.com/c/go/+/193607
      Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarAustin Clements <austin@google.com>
      Reviewed-on: https://go-review.googlesource.com/c/go/+/213197
      93f05994
  12. 11 Dec, 2019 1 commit
  13. 09 Dec, 2019 1 commit
    • Dmitri Shuralyov's avatar
      [release-branch.go1.12] doc: add CherryPickApproved filter to Release History links · 741cb42f
      Dmitri Shuralyov authored
      Not all closed issues in a given minor milestone are included in that
      release, only the ones that have been labeled as CherryPickApproved are.
      
      Update the links to the GitHub issue tracker to include a filter on the
      CherryPickApproved label, so that the default view shows only the
      backports that were included in a given release. This should more useful
      to most people than seeing all backports (considered and approved).
      
      Do this only for Go 1.9.1 and newer releases, as that is when we started
      using the CherryPickCandidate and CherryPickApproved labels.
      
      Updates #35988
      Fixes #36002
      
      Change-Id: I51e07c1bc3ab9c4a5744e8f668c5470adf78bffe
      Reviewed-on: https://go-review.googlesource.com/c/go/+/210118
      Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
      Reviewed-by: default avatarAlexander Rakoczy <alex@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      741cb42f
  14. 04 Dec, 2019 4 commits
  15. 22 Nov, 2019 1 commit
  16. 21 Nov, 2019 1 commit
    • Andrew's avatar
      [release-branch.go1.12] all: base64-encode binaries that will cause Apple notarization to fail · a106f553
      Andrew authored
      Starting with macOS 10.15 (Catalina), Apple now requires all software
      distributed outside of the App Store to be notarized. Any binaries we
      distribute must abide by a strict set of requirements like code-signing
      and having a minimum target SDK of 10.9 (amongst others).
      
      Apple’s notarization service will recursively inspect archives looking to
      find notarization candidate binaries. If it finds a binary that does not
      meet the requirements or is unable to decompress an archive, it will
      reject the entire distribution. From cursory testing, it seems that the
      service uses content sniffing to determine file types, so changing
      the file extension will not work.
      
      There are some binaries and archives included in our distribution that
      are being detected by Apple’s service as potential candidates for
      notarization or decompression. As these are files used by tests and some
      are intentionally invalid, we don’t intend to ever make them compliant.
      
      As a workaround for this, we base64-encode any binaries or archives that
      Apple’s notarization service issues a warning for, as these warnings will
      become errors in January 2020.
      
      Updates #34986
      Updates #35747
      
      Change-Id: I106fbb6227b61eb221755568f047ee11103c1680
      Reviewed-on: https://go-review.googlesource.com/c/go/+/208118
      Run-TryBot: Andrew Bonventre <andybons@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      (cherry picked from commit 8bbfc51d)
      Reviewed-on: https://go-review.googlesource.com/c/go/+/208220Reviewed-by: default avatarAlexander Rakoczy <alex@golang.org>
      a106f553
  17. 31 Oct, 2019 2 commits
  18. 17 Oct, 2019 5 commits
  19. 16 Oct, 2019 1 commit
  20. 09 Oct, 2019 4 commits
  21. 08 Oct, 2019 1 commit
  22. 03 Oct, 2019 1 commit
  23. 26 Sep, 2019 1 commit
  24. 25 Sep, 2019 1 commit