- 19 Jan, 2012 33 commits
-
-
Rob Pike authored
The previous version of all the node.String methods printed the parse tree and was useful for developing the parse tree code. Now that that's done, we might as well print the nodes using the standard template syntax. It's much easier to read and makes error reporting look more natural. Helps issue 2644. R=rsc, n13m3y3r CC=golang-dev https://golang.org/cl/5553066
-
Dave Cheney authored
SysUnused is a direct call to madvise MADV_FREE. R=sebastien.paolacci, rsc, minux.ma CC=golang-dev https://golang.org/cl/5531073
-
Andrew Gerrand authored
Redirect to the canonical path when the old path is accessed. R=gri CC=golang-dev https://golang.org/cl/5536061
-
Evan Shaw authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5539063
-
Shenghou Ma authored
So as to give out stack trace for panic in examples. This behavior also matches the tests'. Fixes #2691. R=golang-dev CC=golang-dev https://golang.org/cl/5554061
-
Olivier Duperray authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5554064
-
Brad Fitzpatrick authored
Prep for Issue 2699 R=rsc CC=golang-dev https://golang.org/cl/5536045
-
Robert Griesemer authored
Fixes #2737. R=bradfitz CC=golang-dev https://golang.org/cl/5553062
-
Christoph Hack authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5554063
-
Adam Langley authored
(Sending to r because of the API change.) Over time we might want to add support for other key types. While I was in the code, I also made the use of RawSubject the same between Subject and Issuer when creating certificates. R=r, rsc CC=golang-dev https://golang.org/cl/5554049
-
Adam Langley authored
(Sending to r because of the API change.) This change alters the API for crypto/elliptic to permit different implementations in the future. This will allow us to add faster, constant-time implementations of the standard curves without any more API changes. As a demonstration, it also adds a constant-time implementation of P224. Since it's only 32-bit, it's actually only about 40% the speed of the generic code on a 64-bit system. R=r, rsc CC=golang-dev https://golang.org/cl/5528088
-
Dmitriy Vyukov authored
TestNonStandardNormalValues runs 1.5s, the change reduces it to 0.2s in short mode. The problem is with slow machines, emulators and dynamic tools. R=golang-dev, r CC=golang-dev https://golang.org/cl/5540065
-
Andrew Gerrand authored
Also, disable server-side generation of TOC for commands as they would only ever show Overview. The JS does a better job (for now). Fixes #2732. R=gri, dsymonds CC=golang-dev https://golang.org/cl/5558046
-
Nigel Tao authored
elements. Pass tests10.dat, test 33: <!DOCTYPE html><svg><desc><svg><ul>a | <!DOCTYPE html> | <html> | <head> | <body> | <svg svg> | <svg desc> | <svg svg> | <ul> | "a" Also pass test 34: <!DOCTYPE html><p><svg><desc><p> R=andybalholm, dsymonds CC=golang-dev https://golang.org/cl/5536048
-
Mikio Hara authored
R=bradfitz CC=golang-dev https://golang.org/cl/5558047
-
Russ Cox authored
Fixes #2440. R=r, dsymonds CC=golang-dev https://golang.org/cl/5559043
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5532097
-
Andrew Gerrand authored
Its need will be addressed in another way by the redesign. Fixes #2719. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5536062
-
Stefan Nilsson authored
R=adg CC=golang-dev https://golang.org/cl/5545061
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5541064
-
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 7 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
-