1. 04 Jun, 2019 2 commits
  2. 03 Jun, 2019 6 commits
  3. 02 Jun, 2019 2 commits
  4. 31 May, 2019 9 commits
  5. 30 May, 2019 13 commits
  6. 29 May, 2019 6 commits
    • Matthew Dempsky's avatar
      cmd/compile: fix fmt_test.go after CL 170062 · cd24849e
      Matthew Dempsky authored
      Updates #22326.
      
      Change-Id: Ia9173b6eb29b2a4f90f4ba39bf53b6e9b7a6d6bf
      Reviewed-on: https://go-review.googlesource.com/c/go/+/179398
      Run-TryBot: Matthew Dempsky <mdempsky@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      cd24849e
    • Matthew Dempsky's avatar
      cmd/compile: sort OAS2* declarations · 913d2904
      Matthew Dempsky authored
      Change-Id: Idd3acf5f808705c608cd4e5877bc93e1626d9a58
      Reviewed-on: https://go-review.googlesource.com/c/go/+/179238
      Run-TryBot: Matthew Dempsky <mdempsky@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
      913d2904
    • Matthew Dempsky's avatar
      cmd/compile: fix package initialization ordering · 5d0d87ae
      Matthew Dempsky authored
      This CL rewrites cmd/compile's package-level initialization ordering
      algorithm to be compliant with the Go spec. See documentation in
      initorder.go for details.
      
      Incidentally, this CL also improves fidelity of initialization loop
      diagnostics by including referenced functions in the emitted output
      like go/types does.
      
      Fixes #22326.
      
      Change-Id: I7c9ac47ff563df4d4f700cf6195387a0f372cc7b
      Reviewed-on: https://go-review.googlesource.com/c/go/+/170062
      Run-TryBot: Matthew Dempsky <mdempsky@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
      5d0d87ae
    • Jason A. Donenfeld's avatar
      cmd/link: do not generate NT 4 compatibility binaries · e883d000
      Jason A. Donenfeld authored
      Incredibly, the subsystem version numbers in the PE header influence how
      win32k handles various syscalls. The first time a win32k syscall is
      invoked and the kernel upgrades the thread object to a tagTHREADINFO
      with all of the lovely undocumented UI members and such, it sets the
      dwExpWinVer member (offset 624 in Windows 10 build 1809) to the result
      of RtlGetExpWinVer(PsGetProcessSectionBaseAddress(proc)).
      RtlGetExpWinVer, also undocumented, then calls into the undocumented
      RtlImageNtHeader function, which returns a fortunately documented
      IMAGE_NT_HEADERS structure. It uses the subsystem members in there to
      set the dwExpWinVer member of our newly minted tagTHREADINFO object.
      Later, functions like SendInput consult this to vary their behaviors and
      return values. In fact, littered through out win32k are checks like `if
      (gsti->dwExpWinVer >= 0x501) { ... }`.
      
      I don't think Go ever supported NT 4.0. These days the minimum version
      is Windows 7, which is 6.1. So, let's set the version numbers in the PE
      header at that, which should give us the behavior that MSDN advertises
      for various functions, as opposed to bizarre archeological remnants.
      
      Interestingly, I suspect that most people never noticed the brokenness,
      because most people trying to do serious Win32 UI stuff wind up linking
      in cgo, if not for actually using C, then just to have a larger system
      stack so that the stack doesn't get corrupted by various UI functions.
      When MingW is used, the PE header gets a later version. But recently
      there's been a bug report of some people trying to do more modest UI
      manipulation using SendInput in a setting where this cgo hack probably
      isn't required, so they ran into the weird historical compatibility
      stuff.
      
      Fixes #31685
      
      Change-Id: I54461ce820f6e9df349e37be5ecc5a44c04a3e26
      Reviewed-on: https://go-review.googlesource.com/c/go/+/178977
      Run-TryBot: Jason Donenfeld <Jason@zx2c4.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarAlex Brainman <alex.brainman@gmail.com>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      e883d000
    • Russ Cox's avatar
      cmd/go: update docs for GOPROXY default · e12efecf
      Russ Cox authored
      The default is now "https://proxy.golang.org,direct" not just "https://proxy.golang.org"
      (as of CL 178720).
      
      Change-Id: I47e67602e994332b988ed1b75fa57319f3876cc6
      Reviewed-on: https://go-review.googlesource.com/c/go/+/178725
      Run-TryBot: Russ Cox <rsc@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
      e12efecf
    • Keith Randall's avatar
      cmd/compile: add GCNode to VarDef in tests · 200176ed
      Keith Randall authored
      Change-Id: I0f79d317ae7ac46c7e824bd382a4f51d53adaaa6
      Reviewed-on: https://go-review.googlesource.com/c/go/+/179257
      Run-TryBot: Keith Randall <khr@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarJosh Bleecher Snyder <josharian@gmail.com>
      200176ed
  7. 28 May, 2019 2 commits