- 23 Nov, 2011 3 commits
-
-
Adam Langley authored
I misinterpreted http://tools.ietf.org/html/rfc4880#section-5.5.3 and implemented the sum of 16-bit values, rather than the 16-bit sum of 8-bit values. Thanks to Szabolcs Nagy for pointing it out. R=bradfitz, r, rsc CC=golang-dev https://golang.org/cl/5372091
-
Dave Cheney authored
R=rsc, agl, n13m3y3r, bradfitz CC=golang-dev https://golang.org/cl/5385041
-
Dave Cheney authored
R=agl, rsc CC=golang-dev https://golang.org/cl/5436056
-
- 22 Nov, 2011 10 commits
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/5436052
-
Robert Griesemer authored
Buffer intermediate output via a bytes.Buffer and thus avoid calling through the entire Writer stack for every item printed. There is more opportunity for improvements along the same lines. Before (best of 3 runs): - printer.BenchmarkPrint 50 47959760 ns/op - time gofmt -l $GOROOT/src real 0m11.517s After (best of 3 runs): - printer.BenchmarkPrint 50 32056640 ns/op (= -33%) - time gofmt -l $GOROOT/src real 0m9.070s (= -21%) R=r CC=golang-dev https://golang.org/cl/5432054
-
Andrew Balholm authored
Pass tests2.dat, test 57: <!DOCTYPE html><!--x-- | <!DOCTYPE html> | <!-- x --> | <html> | <head> | <body> Also pass test 58: <!DOCTYPE html><table><tr><td></p></table> R=nigeltao CC=golang-dev https://golang.org/cl/5436048
-
Andrew Gerrand authored
R=rsc, r, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/5416056
-
Rob Pike authored
There's version skew with respect to the programs in doc/progs. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5433048
-
Russ Cox authored
Fixes #2484. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5417059
-
Russ Cox authored
The allowed conversions before and after are: type Tstring string type Tbyte []byte type Trune []rune string <-> string // ok string <-> []byte // ok string <-> []rune // ok string <-> Tstring // ok string <-> Tbyte // was illegal, now ok string <-> Trune // was illegal, now ok Tstring <-> string // ok Tstring <-> []byte // ok Tstring <-> []rune // ok Tstring <-> Tstring // ok Tstring <-> Tbyte // was illegal, now ok Tstring <-> Trune // was illegal, now ok Update spec, compiler, tests. Use in a few packages. We agreed on this a few months ago but never implemented it. Fixes #1707. R=golang-dev, gri, r CC=golang-dev https://golang.org/cl/5421057
-
Russ Cox authored
Fixes #2486. R=golang-dev, hanwen CC=golang-dev https://golang.org/cl/5417064
-
Dmitriy Vyukov authored
R=golang-dev, rsc CC=golang-dev, mpimenov https://golang.org/cl/5375042
-
Andrew Balholm authored
Pass tests2.dat, test 50: <!DOCTYPE html><html><body><html id=x> | <!DOCTYPE html> | <html> | id="x" | <head> | <body> Also pass tests through test 56: <!DOCTYPE html>X<p/x/y/z> R=nigeltao CC=golang-dev https://golang.org/cl/5432045
-
- 21 Nov, 2011 8 commits
-
-
Andrew Balholm authored
Pass tests2.dat, test 47: " \n " (That is, two spaces separated by a newline) | <html> | <head> | <body> Also pass tests through test 49: <!DOCTYPE html><script> </script> <title>x</title> </head> R=nigeltao CC=golang-dev https://golang.org/cl/5422043
-
Andrew Gerrand authored
goinstall: don't hit network unless a checkout or update is required R=rsc, rogpeppe CC=golang-dev https://golang.org/cl/5343042
-
Adam Langley authored
OpenSSL 1.0.0 has switched to generating PKCS#8 format private keys by default. This change allows http.ListenAndServeTLS to work with either types of keys. See http://groups.google.com/group/golang-nuts/browse_thread/thread/84715b5f0c9e3c30/63a8a27b53e102a6 R=bradfitz CC=golang-dev https://golang.org/cl/5416059
-
Benny Siegert authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5415062
-
Brad Fitzpatrick authored
Before json.BenchmarkCodeEncoder 10 181232100 ns/op 10.71 MB/s json.BenchmarkCodeMarshal 10 184578000 ns/op 10.51 MB/s After: json.BenchmarkCodeEncoder 10 146444000 ns/op 13.25 MB/s json.BenchmarkCodeMarshal 10 151428500 ns/op 12.81 MB/s R=rsc, r CC=golang-dev https://golang.org/cl/5416046
-
Charles L. Dorian authored
For amd64, from 127 to 105 ns/op; for 386, from 208 to 169 ns/op. R=rsc, golang-dev CC=golang-dev https://golang.org/cl/5412056
-
Lucio De Re authored
exec_plan9.go: . Adjusted return argument to match other changes. #mksyscall.pl: . Replaced "err = e1" with "err = NewError(e1)". * Change abandoned, Russ made a better suggestion involving syscall_plan9.go. syscall_plan9.go: . Removed redundant "err = nil" lines. . Adjusted //sys lines for mksyscall.pl. * Replaced "err string" with "err ErrorString" in return arguments. zsyscall_plan9_386.go: . This module ought to be generated, but as it exists in the repository, I rebuilt it and checked that it matched expectations. Anybody is welcome to remove this from the repository if they feel it should go, but remember that not all Plan 9 installations have a working Perl. R=rsc CC=ality, golang-dev https://golang.org/cl/5411046
-
Russ Cox authored
Also introduce a new insertion heuristic: insert new import next to existing import with the longest matching prefix. R=golang-dev, adg, gri CC=golang-dev https://golang.org/cl/5412053
-
- 20 Nov, 2011 4 commits
-
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5415055
-
Dave Cheney authored
This CL inverts the direction of the Stdin/out/err members of the Session struct so they reflect the API of the exec.Cmd. In doing so it borrows heavily from the exec package. Additionally Shell now returns immediately, wait for completion using Wait. Exec calls Wait internally and so blocks until the remote command is complete. Credit to Gustavo Niemeyer for the impetus for this CL. R=rsc, agl, n13m3y3r, huin, bradfitz CC=cw, golang-dev https://golang.org/cl/5322055
-
Andrew Balholm authored
My excuse for doing this is that test cases with newlines in them didn't work. But instead of just fixing that, I rearranged everything in parse_test.go to use fewer channels and pipes, and just call a straightforward function to read test cases from a file. R=nigeltao CC=golang-dev https://golang.org/cl/5410049
-
Nigel Tao authored
x-go-binding.googlecode.com. R=rsc, rogpeppe CC=golang-dev https://golang.org/cl/5406041
-
- 19 Nov, 2011 6 commits
-
-
Sébastien Paolacci authored
R=golang-dev, mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/5369092
-
Robert Griesemer authored
Slight slow-down for printer benchmark (-0.7%) before applying CL 5416049 (which will wash it out). Code is cleaner and simpler. R=rsc CC=golang-dev https://golang.org/cl/5417053
-
Mikio Hara authored
R=adg, golang-dev CC=golang-dev https://golang.org/cl/5417052
-
Lucio De Re authored
R=rsc CC=golang-dev https://golang.org/cl/5316059
-
Robert Griesemer authored
Cleanup and slight performance improvement (1.5%). Before (best of 3 runs): printer.BenchmarkPrint 50 47377420 ns/op After (best of 3 runs): printer.BenchmarkPrint 50 46707180 ns/op R=rsc CC=golang-dev https://golang.org/cl/5416049
-
Scott Lawrence authored
Fixes #2327. R=golang-dev, rsc, roberto, jdpoirier CC=golang-dev https://golang.org/cl/5375049
-
- 18 Nov, 2011 9 commits
-
-
Andrew Gerrand authored
See http://weekly.golang.org/pkg/html/template/ R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5413055
-
Lucio De Re authored
R=golang-dev CC=golang-dev, rsc https://golang.org/cl/5411048
-
Rémy Oudompheng authored
R=mpimenov, rsc CC=golang-dev, remy https://golang.org/cl/5376082
-
Rob Pike authored
Preamble to the simplification of the template API. Although the signature of Parse (nee Set) changes, it's really an internal function, used only by text/template. R=golang-dev, rsc, gri, r CC=golang-dev https://golang.org/cl/5415052
-
Adam Langley authored
Thanks to Jeff R. Allen for pointing them out. R=bradfitz, gri CC=golang-dev https://golang.org/cl/5412052
-
David Crawshaw authored
Gives other projects the benefit of the gofmt presubmit. Results in minor changes in the doc/ directory: find doc -name \*.go -exec gofmt -d {} \; R=rsc, gri CC=golang-dev https://golang.org/cl/5158042
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/5413052
-
Andrew Gerrand authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5416045
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5417049
-