1. 28 Oct, 2010 1 commit
  2. 27 Oct, 2010 8 commits
  3. 26 Oct, 2010 14 commits
  4. 25 Oct, 2010 11 commits
  5. 24 Oct, 2010 1 commit
  6. 22 Oct, 2010 5 commits
    • Rob Pike's avatar
      gob: error cleanup 2 · c28fa513
      Rob Pike authored
      Simplify error handling during the compilation phase.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2652042
      c28fa513
    • Rob Pike's avatar
      gobs: error cleanup part 1. · f593b37f
      Rob Pike authored
      Remove err from the encoderState and decoderState types, so we're
      not always copying to and from various copies of the error, and then
      use panic/recover to eliminate lots of error checking.
      
      another pass might take a crack at the same thing for the compilation phase.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2660042
      f593b37f
    • Russ Cox's avatar
      runtime: print unknown types in panic · 1dd0319b
      Russ Cox authored
      R=r
      CC=golang-dev
      https://golang.org/cl/2683041
      1dd0319b
    • Russ Cox's avatar
      5l, 6l, 8l: introduce sub-symbols · e5e92110
      Russ Cox authored
      Sub-symbols are laid out inside a larger symbol
      but can be addressed directly.
      
      Use to make Mach-O pointer array not a special case.
      
      Will use later to describe ELF sections.
      
      Glimpses of the beginning of ELF loading.
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/2623043
      e5e92110
    • Rob Pike's avatar
      gob: allow exchange of interface values · 5d906469
      Rob Pike authored
      The implemetation describes each value as a string identifying the
      concrete type of the value, followed by the usual encoding of that
      value.  All types to be exchanged as contents of interface values
      must be registered ahead of time with the new Register function.
      Although this would not seem strictly necessary, the linker garbage
      collects unused types so without some mechanism to guarantee
      the type exists in the binary, there could be unpleasant surprises.
      Moreover, the receiver needs a reflect.Type of the value to be
      written in order to be able to save the data. A Register function
      seems necessary.
      
      The implementation may require defining types in the middle of
      of sending a value.  The old code never did this. Therefore there
      has been some refactoring to make the encoder and decoder
      work recursively.
      
      This change changes the internal type IDs. Existing gob archives
      will break with this change.  Apologies for that. If this is a deal
      breaker it should be possible to create a conversion tool.
      
      Error handling is too complicated in this code. A subsequent
      change should clean it up.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/2618042
      5d906469