1. 06 May, 2013 5 commits
    • Andrew Gerrand's avatar
      doc: add FAQ entry about language changes · 61dbc340
      Andrew Gerrand authored
      R=golang-dev, dsymonds, r
      CC=golang-dev
      https://golang.org/cl/9244043
      61dbc340
    • Shenghou Ma's avatar
      syscall: fix prototype of Fchflags (API change) · 6de184b3
      Shenghou Ma authored
      API change, but the old API is obviously wrong.
      
      R=golang-dev, iant, r, rsc
      CC=golang-dev
      https://golang.org/cl/9157044
      6de184b3
    • Jeremiah Harmsen's avatar
      go/doc/example: Fix bug causing false negatives for Example playability. · a228e733
      Jeremiah Harmsen authored
      Allows Examples with KeyValue expressions to be playable in godoc.
      
      During the traversal of the abstract syntax tree any KeyValueExpr Key.Name was incorrectly being added as an unresolved identifier.
      Since this identifier could not be provided the Example was marked as unplayable.
      This updates the AST traversal to skip Keys (but continue traversing the Values).
      
      Example of problematic AST now fixed (see L99 where "UpperBound" was being added as a missing identifier):
      
       81  .  .  .  .  .  .  .  .  .  Values: []ast.Expr (len = 1) {
       82  .  .  .  .  .  .  .  .  .  .  0: *ast.UnaryExpr {
       83  .  .  .  .  .  .  .  .  .  .  .  OpPos: 12:19
       84  .  .  .  .  .  .  .  .  .  .  .  Op: &
       85  .  .  .  .  .  .  .  .  .  .  .  X: *ast.CompositeLit {
       86  .  .  .  .  .  .  .  .  .  .  .  .  Type: *ast.SelectorExpr {
       87  .  .  .  .  .  .  .  .  .  .  .  .  .  X: *ast.Ident {
       88  .  .  .  .  .  .  .  .  .  .  .  .  .  .  NamePos: 12:20
       89  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Name: "t_proto"
       90  .  .  .  .  .  .  .  .  .  .  .  .  .  }
       91  .  .  .  .  .  .  .  .  .  .  .  .  .  Sel: *ast.Ident {
       92  .  .  .  .  .  .  .  .  .  .  .  .  .  .  NamePos: 12:41
       93  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Name: "BConfig"
       94  .  .  .  .  .  .  .  .  .  .  .  .  .  }
       95  .  .  .  .  .  .  .  .  .  .  .  .  }
       96  .  .  .  .  .  .  .  .  .  .  .  .  Lbrace: 12:79
       97  .  .  .  .  .  .  .  .  .  .  .  .  Elts: []ast.Expr (len = 2) {
       98  .  .  .  .  .  .  .  .  .  .  .  .  .  0: *ast.KeyValueExpr {
       99  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Key: *ast.Ident {
      100  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  NamePos: 13:3
      101  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Name: "UpperBound"
      102  .  .  .  .  .  .  .  .  .  .  .  .  .  .  }
      103  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Colon: 13:13
      104  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Value: *ast.CallExpr {
      105  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Fun: *ast.SelectorExpr {
      106  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  X: *ast.Ident {
      107  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  NamePos: 13:15
      108  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Name: "proto"
      109  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  }
      110  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Sel: *ast.Ident {
      111  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  NamePos: 13:21
      112  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  Name: "Float32"
      113  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  }
      
      R=adg
      CC=gobot, golang-dev, gri
      https://golang.org/cl/8569045
      a228e733
    • Andrew Gerrand's avatar
      C: add Jeremiah Harmsen (Google CLA) · b13eac88
      Andrew Gerrand authored
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/9229043
      b13eac88
    • Brad Fitzpatrick's avatar
      image/png: fix error message to not return width twice · 1294f14f
      Brad Fitzpatrick authored
      Fixes #5413
      
      R=golang-dev, dave, adg
      CC=golang-dev
      https://golang.org/cl/9153045
      1294f14f
  2. 04 May, 2013 1 commit
  3. 03 May, 2013 5 commits
  4. 02 May, 2013 3 commits
  5. 01 May, 2013 6 commits
  6. 30 Apr, 2013 13 commits
  7. 29 Apr, 2013 4 commits
  8. 28 Apr, 2013 1 commit
  9. 27 Apr, 2013 1 commit
    • Dave Cheney's avatar
      runtime: tune appendCrossover for arm · d09f34cc
      Dave Cheney authored
      Turns out the optimal value is 8 on cortex-A9 systems (pandaboard)
      
      benchmark                     old ns/op    new ns/op    delta
      BenchmarkAppend                     907          908   +0.11%
      BenchmarkAppend1Byte                101          101   +0.00%
      BenchmarkAppend4Bytes               116          116   +0.00%
      BenchmarkAppend8Bytes               139          138   -0.72%
      BenchmarkAppend16Bytes              185          158  -14.59%
      BenchmarkAppend32Bytes              131          131   +0.00%
      BenchmarkAppendStr1Byte              72           72   +0.00%
      BenchmarkAppendStr4Bytes             93           93   -0.21%
      BenchmarkAppendStr8Bytes            116          116   +0.00%
      BenchmarkAppendStr16Bytes           161          125  -22.36%
      BenchmarkAppendStr32Bytes           102          102   +0.00%
      BenchmarkAppendSpecialCase          613          613   +0.00%
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/8863045
      d09f34cc
  10. 26 Apr, 2013 1 commit