1. 16 May, 2011 6 commits
  2. 15 May, 2011 4 commits
  3. 14 May, 2011 5 commits
  4. 13 May, 2011 22 commits
  5. 12 May, 2011 3 commits
    • Brad Fitzpatrick's avatar
      html: parse empty, unquoted, and single-quoted attribute values · f4e5f364
      Brad Fitzpatrick authored
      Fixes #1391
      
      R=nigeltao
      CC=golang-dev
      https://golang.org/cl/4453054
      f4e5f364
    • Robert Griesemer's avatar
      go spec: clarify semantics of range clause · 54731036
      Robert Griesemer authored
      This CL proposes some subtle language changes
      in an attempt to clarify the semantics of range
      clauses and simplify uses of maps.
      
      - nil maps behave like empty maps; but attempting
        to set a value in a nil map causes a run-time panic
      - nil channels are never ready for communication;
        sending or reading from a nil channel blocks forever
      - if there is only one index iteration variable in a
        range clause and len(range expression) would be a constant,
        the range expression is not evaluated.
        (was discrepancy with len/cap before)
      - the notion of what is a constant expression len(x)
        for (pointer to) arrays x has been generalized and
        simplified (can still be syntactically decided)
        (before: more restrictive syntactic rule that was not
        consistently implemented)
      
      Fixes #1713.
      
      R=r, rsc, iant, ken2, r2, bradfitz, rog
      CC=golang-dev
      https://golang.org/cl/4444050
      54731036
    • Robert Griesemer's avatar
      go/printer: more accurate comment for incomplete structs/interfaces · 82d1a9dc
      Robert Griesemer authored
      A struct or interface type node is marked incomplete if fields or
      methods have been removed through any kind of filtering, not just
      because entries are not exported.
      
      The current message was misleading in some cases (for instance:
      "godoc -src reflect Implements").
      
      This CL requires CL 4527050 .
      
      R=rsc, bradfitz
      CC=golang-dev
      https://golang.org/cl/4529054
      82d1a9dc