1. 08 Aug, 2018 4 commits
    • Leigh McCulloch's avatar
      doc/contribute: add examples for finding issues on the issue tracker · 6b937ace
      Leigh McCulloch authored
      For contributors looking for new issues to contribute to it can be
      difficult to find issues that need a fix and don't already have a fix
      being considered. There are several labels that help guide the way
      already, like `NeedsFix`, `HelpWanted`. But many issues with this label
      will already have a CL. For new contributors this can be especially
      difficult.
      
      Fixes #26494
      
      Change-Id: Ifd38ea65e362b4c580207a06f959646e49ac594f
      GitHub-Last-Rev: 6d2b54447b2ee754a6d025f5de3ebd8326e035eb
      GitHub-Pull-Request: golang/go#26516
      Reviewed-on: https://go-review.googlesource.com/125355Reviewed-by: default avatarAndrew Bonventre <andybons@golang.org>
      Run-TryBot: Andrew Bonventre <andybons@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      6b937ace
    • Robert Griesemer's avatar
      go/types: if base type for an alias is known, use it when needed · e7bce084
      Robert Griesemer authored
      Because methods are type-checked before the receiver base type
      is "complete" (i.e., they are checked as part of the receiver
      base type), situations occur where aliases of those base types
      are used (in those methods) but the alias types are not known
      yet (even though their base types are known).
      
      This fix is a temporary work-around that looks syntactically
      for the base types of alias types and uses those base types
      when we refer to an "incomplete" alias type. The work-around
      is completely localized and guarded with a flag so it can be
      disabled at short notice.
      
      The correct fix (slated for 1.12) is to decouple type-checking
      of methods from their receiver base types. See issue #26854.
      
      Fixes #26390.
      
      Change-Id: I66cc9d834b220c254ac00e671a137cf8a3da59c1
      Reviewed-on: https://go-review.googlesource.com/128435Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      Reviewed-by: default avatarAlan Donovan <adonovan@google.com>
      e7bce084
    • Dmitri Shuralyov's avatar
      A+C: update Dmitri Shuralyov's emails · 884eea6f
      Dmitri Shuralyov authored
      Add my current personal email in both A+C, but keep old one too.
      Add my @golang.org email to CONTRIBUTORS.
      
      Change-Id: Idba258e465a8d657372dbeb6cb734744d493e5d4
      Reviewed-on: https://go-review.googlesource.com/128416Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      884eea6f
    • Daniel Martí's avatar
      net: reduce TestSplice/big's memory usage · bc471a52
      Daniel Martí authored
      The old code used splice on a 2GB []byte when not in short mode, meaning
      that running 'go test net' when one had 4GB or less free memory would
      easily result in "out of memory" runtime panics.
      
      Instead, use a much smaller size that is still big enough to not fit
      into a single splice(2) syscall. The new size is just 5MB, so the test
      uses a fraction of the memory it used to, and there's no longer a need
      for a different size on short mode.
      
      This also speeds up the test, which goes from ~1.23s to ~0.01s on my
      laptop.
      
      Fixes #26867.
      
      Change-Id: Iae1daa5c0995b549f41992f44339be32ca1ee5e4
      Reviewed-on: https://go-review.googlesource.com/128535
      Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
      Reviewed-by: default avatarAndrei Tudor Călin <mail@acln.ro>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      bc471a52
  2. 07 Aug, 2018 6 commits
  3. 06 Aug, 2018 3 commits
  4. 04 Aug, 2018 1 commit
  5. 03 Aug, 2018 14 commits
  6. 02 Aug, 2018 12 commits