1. 08 Mar, 2011 5 commits
  2. 07 Mar, 2011 31 commits
  3. 06 Mar, 2011 4 commits
    • Brad Fitzpatrick's avatar
      6193e0ba
    • Gustavo Niemeyer's avatar
      cgo: fix dwarf type parsing · 99686ec7
      Gustavo Niemeyer authored
      The recursive algorithm used to parse types in cgo
      has a bug related to building the C type representation.
      
      As an example, when the recursion starts at a type *T,
      the C type representation won't be known until type T
      itself is parsed.  But then, it is possible that type T
      references the type **T internally.  The latter
      representation is built based on the one of *T, which
      started the recursion, so it won't attempt to parse it
      again, and will instead use the current representation
      value for *T, which is still empty at this point.
      
      This problem was fixed by introducing a simple TypeRepr
      type which builds the string representation lazily,
      analogous to how the Go type information is built within
      the same algorithm.  This way, even if a type
      representation is still unknown at some level in the
      recursion, representations dependant on it can still
      be created correctly.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4244052
      99686ec7
    • Gustavo Niemeyer's avatar
      path/filepath: new OS-specific path support · 04ca4f82
      Gustavo Niemeyer authored
      The path package now contains only functions which
      deal with slashed paths, sensible for any OS when dealing
      with network paths or URLs.  OS-specific functionality
      has been moved into the new path/filepath package.
      
      This also includes fixes for godoc, goinstall and other
      packages which were mixing slashed and OS-specific paths.
      
      R=rsc, gri, mattn, brainman
      CC=golang-dev
      https://golang.org/cl/4252044
      04ca4f82
    • Robert Hencke's avatar
      websocket: use httptest.Server for tests · ce65b725
      Robert Hencke authored
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4266044
      ce65b725