1. 15 May, 2013 1 commit
  2. 14 May, 2013 15 commits
  3. 13 May, 2013 3 commits
  4. 08 May, 2013 6 commits
  5. 07 May, 2013 3 commits
  6. 06 May, 2013 8 commits
    • Dmitriy Vyukov's avatar
      runtime: fix crash in badsignal() · f322c786
      Dmitriy Vyukov authored
      The linker can generate split stack prolog when a textflag 7 function
      makes an indirect function call.  If it happens, badsignal() crashes
      trying to dereference g.
      Fixes #5337.
      
      R=bradfitz, dave, adg, iant, r, minux.ma
      CC=adonovan, golang-dev
      https://golang.org/cl/9226043
      f322c786
    • Shenghou Ma's avatar
      runtime: reduce max arena size on windows/amd64 to 32 GiB · b3b1efd8
      Shenghou Ma authored
      Update #5236
      Update #5402
      This CL reduces gofmt's committed memory from 545864 KiB to 139568 KiB.
      Note: Go 1.0.3 uses about 70MiB.
      
      R=golang-dev, r, iant, nightlyone
      CC=golang-dev
      https://golang.org/cl/9245043
      b3b1efd8
    • Brad Fitzpatrick's avatar
      database/sql: remove an unused field from Rows · e85016f8
      Brad Fitzpatrick authored
      Found while debugging memory usage. Nobody accesses this field
      anymore.
      
      R=golang-dev, i.caught.air, adg, r
      CC=golang-dev
      https://golang.org/cl/9108043
      e85016f8
    • 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
  7. 04 May, 2013 1 commit
  8. 03 May, 2013 3 commits