1. 07 Mar, 2011 14 commits
  2. 06 Mar, 2011 12 commits
  3. 05 Mar, 2011 10 commits
  4. 04 Mar, 2011 4 commits
    • Rob Pike's avatar
      gob: enable the GobEncoder and GobDecoder interfaces. · 9442e951
      Rob Pike authored
      These allow data items to control their own representation.
      
      For now, the implementation requires that the value passed
      to Encode and Decode must be exactly the type of the
      methods' receiver; it cannot be, for instance, T if the receiver
      is of type *T.  This will be fixed in a later CL.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4235051
      9442e951
    • Brad Fitzpatrick's avatar
      http/cgi: skip tests on Windows · 99f17aa0
      Brad Fitzpatrick authored
      The tests require Perl, not commonly installed on Windows.
      
      R=rsc, brainman
      CC=golang-dev
      https://golang.org/cl/4239057
      99f17aa0
    • Russ Cox's avatar
      runtime: make printf work on misaligned stack · e339d27d
      Russ Cox authored
      (Shouldn't happen, but if it does, it's useful to be
      able to use printf to debug it.)
      
      R=r
      CC=golang-dev
      https://golang.org/cl/4250057
      e339d27d
    • Rob Pike's avatar
      gob: beginning of support for GobEncoder/GobDecoder interfaces. · c91daefb
      Rob Pike authored
      This allows a data item that can marshal itself to be transmitted by its
      own encoding, enabling some types to be handled that cannot be
      normally, plus providing a way to use gobs on data with unexported
      fields.
      
      In this CL, the necessary methods are protected by leading _, so only
      package gob can use the facilities (in its tests, of course); this
      code is not ready for real use yet.  I could be talked into enabling
      it for experimentation, though.  The main drawback is that the
      methods must be implemented by the actual type passed through,
      not by an indirection from it.  For instance, if *T implements
      GobEncoder, you must send a *T, not a T.  This will be addressed
      in due course.
      
      Also there is improved commentary and a couple of unrelated
      minor bug fixes.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4243056
      c91daefb