- 14 May, 2013 12 commits
-
-
Keith Randall authored
Uses SSE instructions to process 16 bytes at a time. fixes #5354 R=bradfitz, google CC=golang-dev https://golang.org/cl/8853048
-
Brad Fitzpatrick authored
The *Encoder is almost always garbage. It doesn't need an encodeState inside of it (and its bytes.Buffer), since it's only needed locally inside of Encode. benchmark old ns/op new ns/op delta BenchmarkEncoderEncode 2562 2553 -0.35% benchmark old bytes new bytes delta BenchmarkEncoderEncode 283 102 -63.96% R=r CC=gobot, golang-dev https://golang.org/cl/9365044
-
Rob Pike authored
Need to use (or stub) exact.Value. R=gri CC=golang-dev https://golang.org/cl/9126043
-
Alberto García Hierro authored
The encoded string must include the : separating the username and the password, even when the latter is empty. See http://www.ietf.org/rfc/rfc2617.txt for more information. R=golang-dev, bradfitz, adg CC=golang-dev https://golang.org/cl/8475043
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/9419045
-
Shenghou Ma authored
Fixes #5290. R=golang-dev, dave, bradfitz, r CC=golang-dev https://golang.org/cl/8763044
-
Robin Eklind authored
R=golang-dev, iant, bradfitz, nigeltao CC=golang-dev https://golang.org/cl/9408044
-
Shenghou Ma authored
for this program: package A import testing old diagnostics: pkg.go:2: syntax error: unexpected semicolon or newline, expecting string literal now: pkg.go:2: syntax error: missing import path; require quoted string Fixes #5332. R=golang-dev, r CC=golang-dev https://golang.org/cl/9393043
-
Shenghou Ma authored
Fixes #5456. R=golang-dev, r CC=golang-dev https://golang.org/cl/9400044
-
Bill Thiede authored
cmp(1) on FreeBSD requires two file arguments. grep -P on Linux (at least Ubuntu 12.04) is described in the man page as "This is highly experimental" and doesn't seem to work. On FreeBSD the man page states "This option is not supported in FreeBSD." Needed this to work while debugging some funky behavior of 'Import' in my local vim setup. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7675043
-
Brad Fitzpatrick authored
It's just noise. They've already been acknowledged in except.txt. R=golang-dev, r CC=golang-dev https://golang.org/cl/9392047
-
Brad Fitzpatrick authored
Negative base now means "automatic". Fixes a higher level race. Fixes #5418 R=gri CC=golang-dev https://golang.org/cl/9269043
-
- 13 May, 2013 3 commits
-
-
Andrew Gerrand authored
-
Dmitriy Vyukov authored
Move the documentation from race.go to doc.go, because race.go uses +build race, so it's not normally parsed by go doc. Rephrase the documentation for end users, provide link to race detector manual. Fixes #5444. R=golang-dev, minux.ma, adg, r CC=golang-dev https://golang.org/cl/9144050
-
Nigel Tao authored
R=adg, r CC=golang-dev https://golang.org/cl/9344044
-
- 08 May, 2013 6 commits
-
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/9124045
-
Ian Lance Taylor authored
runtime.park() can access freed select descriptor due to a racing free in another thread. See the comment for details. Slightly modified version of dvyukov's CL 9259045. No test yet. Before this CL, the test described in issue 5422 would fail about every 40 times for me. With this CL, I ran the test 5900 times with no failures. Fixes #5422. R=golang-dev, r CC=golang-dev https://golang.org/cl/9311043
-
Robert Griesemer authored
Fixes #5430. R=golang-dev, r CC=golang-dev https://golang.org/cl/9305043
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/9288045
-
Ian Lance Taylor authored
This works around a bug in GCC 4.8.0. Fixes #5118. R=golang-dev, r, minux.ma CC=golang-dev https://golang.org/cl/9120045
-
Alex Brainman authored
Fixes #5349. R=golang-dev, lucio.dere, dsymonds, bradfitz, iant, adg, dave, r CC=golang-dev https://golang.org/cl/9159043
-
- 07 May, 2013 3 commits
-
-
Rob Pike authored
Fixes #5421. R=golang-dev, bradfitz, adg CC=golang-dev https://golang.org/cl/9274043
-
Andrew Gerrand authored
-
Brad Fitzpatrick authored
R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/9250043
-
- 06 May, 2013 8 commits
-
-
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
-
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
-
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
-
Andrew Gerrand authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/9244043
-
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
-
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
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9229043
-
Brad Fitzpatrick authored
Fixes #5413 R=golang-dev, dave, adg CC=golang-dev https://golang.org/cl/9153045
-
- 04 May, 2013 1 commit
-
-
Shenghou Ma authored
R=golang-dev, i.caught.air, alexb, r CC=golang-dev https://golang.org/cl/9064044
-
- 03 May, 2013 5 commits
-
-
Keith Randall authored
R=golang-dev, minux.ma, r CC=golang-dev https://golang.org/cl/9086043
-
Andrew Gerrand authored
Fixes #5403. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/9100046
-
Shenghou Ma authored
TBR=iant CC=golang-dev https://golang.org/cl/9048048
-
Shenghou Ma authored
Fixes #5392. R=iant, r CC=golang-dev https://golang.org/cl/9119043
-
Brad Fitzpatrick authored
This must have been from when "error" was a good variable name for an "os.Error". But we use "err" these days. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/9132045
-
- 02 May, 2013 2 commits
-
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/9103046
-
Alex Brainman authored
As advised by iant. Fixes windows build. R=golang-dev, r CC=golang-dev, iant https://golang.org/cl/9110044
-