- 22 Nov, 2011 3 commits
-
-
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 19 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
-
Lucio De Re authored
R=golang-dev CC=ality, golang-dev, rsc https://golang.org/cl/5364063
-
Russ Cox authored
Update version check from 1.4 to 1.9. Suggest 2.0. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5413046
-
John Beisley authored
R=dave, agl, taruti, rsc, r CC=golang-dev https://golang.org/cl/5342057
-
Adam Langley authored
R=r CC=golang-dev https://golang.org/cl/5413049
-
Dmitriy Vyukov authored
deps.bash does not understand current format, so make.bash fails (with MAKEFLAGS=-j20). R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5410046
-
Andrew Gerrand authored
Breaks with hg 1.6.4. Roll back until it's fixed. ««« original CL description codereview: cleanup + basic tests R=adg, bradfitz CC=golang-dev https://golang.org/cl/5395044 »»» R=golang-dev CC=golang-dev https://golang.org/cl/5410047
-
Rob Pike authored
Parse {{define}} blocks during template parsing rather than separately as a set-specific thing. This cleans up set parse significantly, and enables the next step, if we want, to unify the API for templates and sets. Other than an argument change to parse.Parse, which is in effect an internal function and unused by client code, there is no API change and no spec change yet. R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5393049
-
Russ Cox authored
R=adg, bradfitz CC=golang-dev https://golang.org/cl/5395044
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5415046
-
Gustavo Niemeyer authored
Also include exp/terminal in linux build so such failures are noticed. R=rsc CC=golang-dev https://golang.org/cl/5416044
-