1. 06 Dec, 2011 4 commits
    • Dave Cheney's avatar
      exp/ssh: simplify client channel open logic · bbbd41f4
      Dave Cheney authored
      This is part one of a small set of CL's that aim to resolve
      the outstanding TODOs relating to channel close and blocking
      behavior.
      
      Firstly, the hairy handling of assigning the peersId is now
      done in one place. The cost of this change is the slightly
      paradoxical construction of the partially created clientChan.
      
      Secondly, by creating clientChan.stdin/out/err when the channel
      is opened, the creation of consumers like tcpchan and Session
      is simplified; they just have to wire themselves up to the
      relevant readers/writers.
      
      R=agl, gustav.paul, rsc
      CC=golang-dev
      https://golang.org/cl/5448073
      bbbd41f4
    • Rob Pike's avatar
      various: we don't cast, we convert · 0a5508c6
      Rob Pike authored
      R=golang-dev, dsymonds
      CC=golang-dev
      https://golang.org/cl/5437142
      0a5508c6
    • Andrew Gerrand's avatar
      hash: rewrite comment on Hash.Sum method · ca7d86c4
      Andrew Gerrand authored
      Fixes #2530.
      
      R=golang-dev, agl
      CC=golang-dev
      https://golang.org/cl/5449101
      ca7d86c4
    • Rob Pike's avatar
      fmt: only use Stringer or Error for strings · 2ed57a8c
      Rob Pike authored
      This is a slight change to fmt's semantics, but means that if you use
      %d to print an integer with a Stringable value, it will print as an integer.
      This came up because Time.Month() couldn't cleanly print as an integer
      rather than a name. Using %d on Stringables is silly anyway, so there
      should be no effect outside the fmt tests.
      As a mild bonus, certain recursive failures of String methods
      will also be avoided this way.
      
      R=golang-dev, adg
      CC=golang-dev
      https://golang.org/cl/5453053
      2ed57a8c
  2. 05 Dec, 2011 13 commits
  3. 04 Dec, 2011 1 commit
  4. 02 Dec, 2011 22 commits