- 11 Jan, 2012 26 commits
-
-
Russ Cox authored
R=lvd CC=golang-dev https://golang.org/cl/5532077
-
Robert Griesemer authored
- Changed the Scan API semantics slightly: The token literal string is only returned if the token is a literal, comment, semicolon, or illegal character. In all other cases, the token literal value is determined by the token value. Clients that care about the token literal value when not present can always use the following piece of code: pos, tok, lit := scanner.Scan() if lit == "" { lit = tok.String() } - Changed token.Lookup API to use a string instead of a []byte argument. - Both these changes were long-standing TODOs. - Added BenchmarkScan. This change permits a faster implementation of Scan with much fewer string creations: benchmark old ns/op new ns/op delta scanner.BenchmarkScan 74404 61457 -17.40% R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5532076
-
Andrew Gerrand authored
R=golang-dev, r, kevlar, rsc CC=golang-dev https://golang.org/cl/5534045
-
Olivier Duperray authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5534074
-
Russ Cox authored
Fixes #2682. R=lvd CC=golang-dev https://golang.org/cl/5538043
-
Russ Cox authored
1 minute is not enough for the slower builders. R=adg CC=golang-dev https://golang.org/cl/5533068
-
Luuk van Dijk authored
Fixes #2678 R=rsc CC=golang-dev https://golang.org/cl/5529066
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/5533070
-
Robert Griesemer authored
This is a relic from the times when we switched to automatic semicolon insertion. It's still use- ful to have a non-exported switch for testing. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5528077
-
Dmitriy Vyukov authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5529067
-
Robert Griesemer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5535048
-
Adam Langley authored
R=golang-dev CC=golang-dev https://golang.org/cl/5530078
-
Adam Langley authored
1) Include Szabolcs Nagy's patch which adds serialisation for more signature subpackets. 2) Include Szabolcs Nagy's patch which adds functions for making DSA keys. 3) Make the random io.Reader an argument to the low-level signature functions rather than having them use crypto/rand. 4) Rename crypto/openpgp/error to crypto/openpgp/errors so that it doesn't clash with the new error type. R=bradfitz, r CC=golang-dev https://golang.org/cl/5528044
-
Russ Cox authored
Will have to do better but this is enough to stop the builders from hanging, I hope. R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/5533066
-
Shenghou Ma authored
pkg/runtime/sys_darwin_amd64.s: fixes syscall select nr pkg/runtime/sys_linux_arm.s: uses newselect instead of the now unimplemented (old) select, also fixes the wrong div/mod statements in runtime.usleep. Fixes #2633 R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/5504096
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5530076
-
Russ Cox authored
TBR=lvd CC=golang-dev https://golang.org/cl/5534070
-
Russ Cox authored
R=adg, dsymonds CC=golang-dev https://golang.org/cl/5532066
-
Russ Cox authored
R=lvd, r CC=golang-dev https://golang.org/cl/5531058
-
Alex Brainman authored
R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/5533065
-
Russ Cox authored
Suggested by Sanjay Ghemawat. 5-20% faster depending on the benchmark. Add tree2 garbage benchmark. Update other garbage benchmarks to build again. R=golang-dev, r, adg CC=golang-dev https://golang.org/cl/5530074
-
Robert Griesemer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5528070
-
Robert Griesemer authored
Makes it possible to easily detect if an Object was predeclared (as opposed to unresolved). R=rsc CC=golang-dev https://golang.org/cl/5530072
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5533063
-
Nigel Tao authored
What package image currently provides is a larger image consisting of many copies of a smaller image. More generally, a tiled image could be a quilt consisting of different smaller images (like Google Maps), or a technique to view a portion of enormous images without requiring the whole thing in memory. This richer construct might not ever belong in the standard library (and is definitely out of scope for Go 1), but I would like the option for image.Tiled to be its name. R=r, rsc CC=golang-dev https://golang.org/cl/5530062
-
Mikio Hara authored
Also reorganize socket options stuff but there are no API behavioral changes. R=rsc, fullung CC=golang-dev https://golang.org/cl/5494067
-
- 10 Jan, 2012 14 commits
-
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5534066
-
Nigel Tao authored
Pass tests10.dat, test 31: <div><svg><path><foreignObject><p></div>a | <html> | <head> | <body> | <div> | <svg svg> | <svg path> | <svg foreignObject> | <p> | "a" Also pass test 32: <!DOCTYPE html><svg><desc><div><svg><ul>a R=andybalholm CC=golang-dev https://golang.org/cl/5527064
-
Maxim Pimenov authored
R=golang-dev CC=golang-dev https://golang.org/cl/5529059
-
Brad Fitzpatrick authored
Fixes #2624 R=rsc CC=golang-dev https://golang.org/cl/5530068
-
Luuk van Dijk authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5529060
-
Luuk van Dijk authored
flag -l means: inlining on, -ll inline with early typecheck -l lazily typechecks imports on use and re-export, nicer for debugging -lm produces output suitable for errchk tests, repeated -mm... increases inl.c's verbosity export processed constants, instead of originals outparams get ->inlvar too, and initialized to zero fix shared rlist bug, that lead to typecheck messing up the patched tree properly handle non-method calls to methods T.meth(t, a...) removed embryonic code to handle closures in inlined bodies also inline calls inside closures (todo: move from phase 6b to 4) Fixes #2579. R=rsc CC=golang-dev https://golang.org/cl/5489106
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5531062
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5528065
-
Dave Cheney authored
Regenerated under Lion 10.7.2 amd64. Also tested on Snow Leopart 10.6.8 386. R=golang-dev, dsymonds, minux.ma CC=golang-dev https://golang.org/cl/5533058
-
Maxim Pimenov authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5531060
-
Luuk van Dijk authored
This fixes issue 2444. A big cleanup of all 31/32bit size boundaries i'll leave for another cl though. (see also issue 1700). R=rsc CC=golang-dev https://golang.org/cl/5484058
-
Luuk van Dijk authored
Fixes #2231. Declaring main.i in package main in the same way already triggers syntax errors. R=rsc CC=golang-dev https://golang.org/cl/5483078
-
Luuk van Dijk authored
Fixes #2639. R=rsc CC=bradfitz, golang-dev https://golang.org/cl/5489140
-
Luuk van Dijk authored
Fixes #1894. test/closure.go's test for newfunc already covers this. R=rsc, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/5516051
-