- 20 Dec, 2011 35 commits
-
-
Brad Fitzpatrick authored
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5502051
-
Nigel Tao authored
R=r, rsc CC=golang-dev https://golang.org/cl/5493084
-
Nigel Tao authored
Also recognize that, in the latest version of the HTML5 spec, foreign content is not an insertion mode, but a separate concern. Pass tests10.dat, test 13: <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g><p>baz</table><p>quux | <!DOCTYPE html> | <html> | <head> | <body> | <table> | <caption> | <svg svg> | <svg g> | "foo" | <svg g> | "bar" | <p> | "baz" | <p> | "quux" Also pass tests through test 15: <!DOCTYPE html><body><table><colgroup><svg><g>foo</g><g>bar</g><p>baz</table><p>quux R=andybalholm CC=golang-dev https://golang.org/cl/5494078
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5498055
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/5503052
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5505048
-
Rob Pike authored
Fixes #2455. Fixes #2013. R=rsc, r, gri CC=golang-dev https://golang.org/cl/5498053
-
Russ Cox authored
On other systems the temporary directory name will have a .XXXXXX in the middle of it. Oh well. R=bradfitz CC=golang-dev https://golang.org/cl/5504049
-
Russ Cox authored
Missing file during last CL. TBR=r CC=golang-dev https://golang.org/cl/5505047
-
Russ Cox authored
If something goes wrong, it should suffice to set USE_GO_TOOL=false in env.bash to fall back to the makefiles. I will delete the makefiles in January. R=golang-dev, r CC=golang-dev https://golang.org/cl/5502047
-
Russ Cox authored
The commands in the standard tree are now named by the pseudo-import paths cmd/gofmt etc. This avoids ambiguity between cmd/go's directory and go/token's parent directory. R=golang-dev, r CC=golang-dev https://golang.org/cl/5503050
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5489097
-
Russ Cox authored
The functions we generate to implement == on structs or arrays may need to refer to unsafe.Pointer even in safe mode, in order to handle unexported fields contained in other packages' structs. R=ken2 CC=golang-dev https://golang.org/cl/5505046
-
Brad Fitzpatrick authored
Fixes #240 R=adg, dsymonds, rsc, r, mikioh.mikioh CC=golang-dev https://golang.org/cl/5491062
-
Rob Pike authored
New("x").ParseFiles("y") can result in an empty "x" template. Make the message clearer that this is the problem. The error returns from both template packages in this case were confusing. I considered making the method use "x" instead of "y" in this case, but that just made other situations confusing and harder to explain. Fixes #2594. R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5498048
-
Christopher Wedgwood authored
R=rsc CC=golang-dev https://golang.org/cl/5491077
-
Russ Cox authored
Two forgotten renames from last CL. TBR=r CC=golang-dev https://golang.org/cl/5502046
-
Russ Cox authored
Also rename -v to -x in the build and install commands, to match the flag in go test (which we can't change because -v is taken). Matches sh -x anyway. R=r, iant, ality CC=golang-dev https://golang.org/cl/5504045
-
Rob Pike authored
Lots of panics go away. Also fix a name error in html/template. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5498045
-
Robert Griesemer authored
The ast.Object's Decl field pointed back to the corresponding declaration for all but short variable declarations. Now remember corresponding assignment statement in the Decl field. Also: simplified some code for parsing select statements. R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/5492072
-
Rob Pike authored
Refactors the benchmarks and test code. Now benchmarks can call Errorf, Fail, etc., and the runner will act accordingly. Because functionality has been folded into an embedded type, a number of methods' docs no longer appear in godoc output. A fix is underway; if it doesn't happen fast enough, I'll add wrapper methods to restore the documentation. R=bradfitz, adg, rsc CC=golang-dev https://golang.org/cl/5492060
-
Maxim Pimenov authored
This change doesn't pay attention to structs so they still cannot be exported, see Issue 2552. Fixes #2462. R=dvyukov, rsc, iant CC=golang-dev https://golang.org/cl/5487058
-
Roger Peppe authored
Also add a byte count to the varint benchmarks - this isn't accurate, of course, but it allows a rough comparison to the other benchmarks. R=golang-dev, r CC=golang-dev https://golang.org/cl/5496070
-
Robert Hencke authored
R=golang-dev, dsymonds, hectorchu, r, r CC=golang-dev https://golang.org/cl/5496064
-
Russ Cox authored
R=golang-dev, r, adg CC=golang-dev https://golang.org/cl/5495068
-
Ian Lance Taylor authored
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5495098
-
Ian Lance Taylor authored
R=r, rsc CC=golang-dev https://golang.org/cl/5490078
-
Ian Lance Taylor authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5495097
-
Andrew Gerrand authored
Permits us to implement other Kinds of todo instruction in the future. R=rsc CC=golang-dev https://golang.org/cl/5495087
-
Andrew Gerrand authored
R=golang-dev, r, adg CC=golang-dev https://golang.org/cl/5495095
-
Joel Sing authored
R=m4dh4tt3r, jsing, rsc CC=golang-dev https://golang.org/cl/5493068
-
Alex Brainman authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5496067
-
Alex Brainman authored
R=golang-dev, bsiegert, rsc CC=golang-dev https://golang.org/cl/5493078
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5491073
-
Andrew Gerrand authored
Includes some boring whitespace tweaks. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5492067
-
- 19 Dec, 2011 5 commits
-
-
Andrew Balholm authored
Pass tests6.dat, test 36: <caption><col><colgroup><tbody><tfoot><thead><tr> | <tr> Pass tests through test 44: <body></body></html> R=nigeltao CC=golang-dev https://golang.org/cl/5494055
-
Brad Fitzpatrick authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5492073
-
Mikio Hara authored
R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/5496062
-
Ian Lance Taylor authored
TBR=bradfitz CC=golang-dev https://golang.org/cl/5494075
-
Rémy Oudompheng authored
The algorithm is the same as in the double-conversion library which also implements Florian Loitsch's fast printing algorithm. It uses extended floats with a 64-bit mantissa, but cannot give an answer for all cases. old ns/op new ns/op speedup BenchmarkAtof64Decimal 332 322 1.0x BenchmarkAtof64Float 385 373 1.0x BenchmarkAtof64FloatExp 9777 419 23.3x BenchmarkAtof64Big 3934 691 5.7x BenchmarkAtof64RandomBits 34060 899 37.9x BenchmarkAtof64RandomFloats 1329 680 2.0x See F. Loitsch, ``Printing Floating-Point Numbers Quickly and Accurately with Integers'', Proceedings of the ACM, 2010. R=ality, rsc CC=golang-dev, remy https://golang.org/cl/5494068
-