- 19 Jan, 2012 13 commits
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/5556051
-
Brad Fitzpatrick authored
Fixes #2693 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5557057
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5554058
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5557059
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/5557058
-
Brad Fitzpatrick authored
Fixes #2534 R=golang-dev, dave, alex.brainman CC=golang-dev https://golang.org/cl/5554057
-
Brad Fitzpatrick authored
Fixes #2718 R=golang-dev, adg CC=golang-dev https://golang.org/cl/5532095
-
Sanjay Menakuru authored
R=rsc, adg CC=golang-dev https://golang.org/cl/5503089
-
Nigel Tao authored
image/draw benchmarks show <1% change for the fast paths. The slow paths got worse by 1-4%, but they're the slow paths. I don't care so much about them, and presumably compiler improvements could claw it back. IIUC 6g's inlining is enabled by default now. benchmark old ns/op new ns/op delta draw.BenchmarkFillOver 2988384 2999624 +0.38% draw.BenchmarkFillSrc 153141 153262 +0.08% draw.BenchmarkCopyOver 2155756 2170831 +0.70% draw.BenchmarkCopySrc 72591 72646 +0.08% draw.BenchmarkNRGBAOver 2487372 2491576 +0.17% draw.BenchmarkNRGBASrc 1361306 1409180 +3.52% draw.BenchmarkYCbCr 2540712 2562359 +0.85% draw.BenchmarkGlyphOver 1004879 1023308 +1.83% draw.BenchmarkRGBA 8746670 8844455 +1.12% draw.BenchmarkGenericOver 31860960 32512960 +2.05% draw.BenchmarkGenericMaskOver 16369060 16435720 +0.41% draw.BenchmarkGenericSrc 13128540 13127810 -0.01% draw.BenchmarkGenericMaskSrc 30059300 28883210 -3.91% R=r, gri CC=golang-dev, rsc https://golang.org/cl/5536059
-
Brad Fitzpatrick authored
It works with NewTicker too, but is potentially a bit less efficient, and reads wrong. This is what happens when you TBR Windows changes, I guess. R=golang-dev, gri, iant CC=golang-dev https://golang.org/cl/5536060
-
Andrew Gerrand authored
This allows HTML pages to specify arbitrary data in a header: <!--{ "Title": "The page title", ... }--> replacing the old style comments: <!-- title The page title --> R=gri, rsc, r, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/5532093
-
Brad Fitzpatrick authored
Previously, a timeout (in int64 nanoseconds) applied to a granularity even smaller than one operation: a 100 byte read with a 1 second timeout could take 100 seconds, if the bytes all arrived on the network 1 second apart. This was confusing. Rather than making the timeout granularity be per-Read/Write, this CL makes callers set an absolute deadline (in time.Time) after which operations will fail. This makes it possible to set deadlines at higher levels, without knowing exactly how many read/write operations will happen in e.g. reading an HTTP request. Fixes #2723 R=r, rsc, dave CC=golang-dev https://golang.org/cl/5555048
-
Ian Lance Taylor authored
This will permit gccgo to check test output. R=golang-dev, r CC=golang-dev https://golang.org/cl/5554056
-
- 18 Jan, 2012 20 commits
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/5554055
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/5557053
-
Benny Siegert authored
This matches the other color models. It seems that this was missed during the review of 5544073. R=nigeltao, david.crawshaw CC=golang-dev https://golang.org/cl/5536057
-
Ian Lance Taylor authored
This will make these tests more meaningful for gccgo, which runs tests in parallel and has no equivalent to golden.out. Remove ken/simpprint.go since it duplicates helloworld.go. R=golang-dev, r CC=golang-dev https://golang.org/cl/5536058
-
Robert Griesemer authored
Packages to test are kept in ./testdata together with the corresponding golden (packagename.out) file. To update the golden files, run: go test -update R=rsc CC=golang-dev https://golang.org/cl/5543054
-
Robert Griesemer authored
- Use a faster closure-based iterator rather than a channel-based one. - Otherwise: better code organization, but no other API changes. R=r, r CC=golang-dev https://golang.org/cl/5557051
-
Ian Lance Taylor authored
I'm planning to change these tests, but the gofmt changes are fairly extensive, so I'm separating the gofmt changes from the substantive changes. R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5557052
-
Sameer Ajmani authored
R=rsc, r CC=golang-dev https://golang.org/cl/5532088
-
Adam Langley authored
djm recommend that we do this because OpenSSL was only fixed in 2008: http://anoncvs.mindrot.org/index.cgi/openssh/sshd.c?revision=1.380&view=markup R=dave, jonathan.mark.pittman CC=golang-dev https://golang.org/cl/5555044
-
Shenghou Ma authored
Fixes #2721. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5532090
-
Olivier Duperray authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5553050
-
Olivier Duperray authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5532085
-
Luuk van Dijk authored
gc: fieldnames in structliterals in exported inlines should not be qualified if they're embedded builtin types. Trust me. Fixes #2687. R=rsc CC=golang-dev https://golang.org/cl/5545047
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5536053
-
Luit van Drongelen authored
First was, apart from adding tests, a single line of code (to add the constructor function). Adding SHA512-based hashing to crypto/hmac required minor rework of the package because of a previously hardcoded block-size in it's implementation. Instead of using a hash.Hash generator function the constructor function now uses a crypto.Hash type, which was extended to expose information about block size. The only standard library package impacted by the change is crypto/tls, for which the fix is included in this patch. It might be useful to extend gofix to include this API change too. R=agl, r, rsc, r CC=golang-dev https://golang.org/cl/5550043
-
Luuk van Dijk authored
Fixes #2714. R=rsc CC=golang-dev https://golang.org/cl/5540066
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5556044
-
Ian Lance Taylor authored
bug345.dir/main.go:25:18: error: argument 1 has incompatible type (need explicit conversion; missing method ‘Write’) bug345.dir/main.go:27:8: error: argument 1 has incompatible type R=golang-dev, gri CC=golang-dev https://golang.org/cl/5556043
-
Ian Lance Taylor authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5536044
-
David Symonds authored
Fixes #2643. R=rsc, d_smithson CC=golang-dev https://golang.org/cl/5543068
-
- 17 Jan, 2012 7 commits
-
-
Nigel Tao authored
Fixes #2724. R=r, dsymonds CC=golang-dev https://golang.org/cl/5555043
-
Rob Pike authored
We need to avoid allocating an extra word for the interface value passing the floating-point value as an interface{}. It's easy. Fixes #2722. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5553044
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5528115
-
Rob Pike authored
The package documentation did not mention them. They were described only in godoc for gotest, and that's going away. R=golang-dev, rsc, adg CC=golang-dev https://golang.org/cl/5539079
-
David Symonds authored
Follow-on from https://golang.org/cl/5543062. R=bradfitz, dvyukov CC=golang-dev https://golang.org/cl/5539071
-
Rob Pike authored
Fixes #2720. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5545072
-
Brad Fitzpatrick authored
Fixes 2450, probably. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5540074
-