1. 09 Nov, 2014 2 commits
    • Andrew Gerrand's avatar
      cmd/api: use golang.org/x/... import paths · 68e2dbe8
      Andrew Gerrand authored
      LGTM=bradfitz, rsc
      R=rsc, bradfitz
      CC=golang-codereviews
      https://golang.org/cl/169000043
      68e2dbe8
    • Adam Langley's avatar
      lib/codereview: fix with more recent hg revisions. · 03c008bc
      Adam Langley authored
      I've Mercurial version 3.2 and hg submit fails with:
      
        File "/home/agl/devel/go/lib/codereview/codereview.py", line 3567, in get_hg_status
          ret = hg_commands.status(fui, self.repo, *[], **{'rev': [rev], 'copies': True})
        File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 5714, in status
          fm = ui.formatter('status', opts)
        File "/home/agl/devel/go/lib/codereview/codereview.py", line 3464, in formatter
          return plainformatter(self, topic, opts)
        File "/usr/lib/python2.7/site-packages/mercurial/formatter.py", line 57, in __init__
          if ui.debugflag:
        AttributeError: 'FakeMercurialUI' object has no attribute 'debugflag'
      
      This change dumbly adds a boolean debugflag and that seems to work.
      
      LGTM=minux
      R=rsc, minux
      CC=golang-codereviews
      https://golang.org/cl/167410043
      03c008bc
  2. 08 Nov, 2014 1 commit
  3. 07 Nov, 2014 3 commits
  4. 06 Nov, 2014 11 commits
  5. 05 Nov, 2014 2 commits
  6. 04 Nov, 2014 2 commits
    • Ian Lance Taylor's avatar
      test: comment out failing cases from sinit.go · c6e53fea
      Ian Lance Taylor authored
      One failing case this removes is:
      
      var bytes = []byte("hello, world")
      var copy_bytes = bytes
      
      We could handle this in the compiler, but it requires special
      case for a variable that is initialized to the value of a
      variable that is initialized to a string literal converted to
      []byte.  This seems an unlikely case--it never occurs in the
      standrd library--and it seems unnecessary to write the code to
      handle it.
      
      If we do want to support this case, one approach is
      https://golang.org/cl/171840043.
      
      The other failing cases are of the form
      
      var bx bool
      var copy_bx = bx
      
      The compiler used to initialize copy_bx to false.  However,
      that led to issue 7665, since bx may be initialized in non-Go
      code.  The compiler no longer assumes that bx must be false,
      so copy_bx can not be statically initialized.
      
      We can fix these with https://golang.org/cl/169040043
      if we also pass -complete to the compiler as part of this
      test.  This is OK but it's too late in the release cycle.
      
      Fixes #8746.
      
      LGTM=rsc
      R=rsc
      CC=golang-codereviews
      https://golang.org/cl/165400043
      c6e53fea
    • Austin Clements's avatar
      gc: abort if given an unknown debug (-d) flag · 516d9ef5
      Austin Clements authored
      The check for unknown command line debug flags in gc was
      incorrect: the loop over debugtab terminates when it reaches a
      nil entry, but it was only reporting an error if the parser
      had passed the last entry of debugtab (which it never did).
      Fix this by reporting the usage error if the loop reaches a
      nil entry.
      
      LGTM=rsc
      R=rsc
      CC=golang-codereviews
      https://golang.org/cl/166110043
      516d9ef5
  7. 03 Nov, 2014 3 commits
  8. 01 Nov, 2014 2 commits
  9. 31 Oct, 2014 5 commits
  10. 30 Oct, 2014 9 commits