1. 14 Mar, 2011 2 commits
    • Russ Cox's avatar
      gc: include all dependencies in export metadata · e6f3aa6c
      Russ Cox authored
      This change records more metadata about what
      influenced the creation of the object file.
      Specifically, if a package imports, say, "fmt" but does not
      need to describe any fmt types in its own export data,
      that package's object file did not mention the dependency
      on "fmt" before.  Now it does.
      
      Listing the import is purely informational.
      It has no effect on which files are opened or consulted
      when importing a package.
      
      Import lines are marked indirect when they are needed
      to explain the API but were not imported directly.
      For example http imports crypto/tls and exports
      a struct with a field of type tls.ConnectionState,
      which contains an x509.Certificate.  Since http does
      not import x509 but needs to explain the x509.Certificate
      type in its export data, the import of x509 is marked
      as indirect.  These import lines were always present;
      marking them with the indirect comment makes clear
      which were imported directly and which are incidental.
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/4295048
      e6f3aa6c
    • Robert Hencke's avatar
      build: remove duplicate dependency in Make.cmd · 67077cc1
      Robert Hencke authored
      R=golang-dev, dfc, rsc1, rsc
      CC=golang-dev
      https://golang.org/cl/4274048
      67077cc1
  2. 13 Mar, 2011 2 commits
  3. 12 Mar, 2011 6 commits
  4. 11 Mar, 2011 14 commits
  5. 10 Mar, 2011 14 commits
  6. 09 Mar, 2011 2 commits
    • Ian Lance Taylor's avatar
      syslog: split Unix domain support from network support. · 8206cce1
      Ian Lance Taylor authored
      This is to make it easier to support Solaris syslog.  On
      Solaris syslog messages are sent via STREAMS using putmsg to
      /dev/conslog.  The putmsg call uses a a control buffer of type
      log_cdtl and a data buffer which is the message, and it is in
      general a big mess.  This CL just splits out the Unix domain
      support so that Solaris can use a different mechanism.  I do
      not propose to implement the Solaris support today.  This
      split will make it possible for gccgo to just call the libc
      function for now.
      
      R=r, rsc
      CC=golang-dev
      https://golang.org/cl/4261061
      8206cce1
    • Brad Fitzpatrick's avatar
      http: add Flusher type; remove Flush from ResponseWriter · ec5c4759
      Brad Fitzpatrick authored
      The Flush functionality wasn't removed, but now you have
      to test if your ResponseWriter is also a Flusher:
      
      func ServeHTTP(rw http.ResponseWriter, req *http.Request) {
         if f, ok := rw.(http.Flusher); ok {
             f.Flush()
         }
      }
      
      R=rsc, bradfitzwork
      CC=gburd, golang-dev
      https://golang.org/cl/4239077
      ec5c4759