- 12 Jan, 2012 6 commits
-
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5529080
-
Shenghou Ma authored
This breakage is mainly due to API changes in pkg. (e.g., package utf8 moved to unicode/utf8; remove of strconv.Atof64; change character type from int to rune.) Also correct the usage comment. This fixes issue 2646. PS: I don't change the goyacc.go, because I think token type should not be force to rune. R=golang-dev, adg, rogpeppe, r, r CC=golang-dev https://golang.org/cl/5502093
-
Rémy Oudompheng authored
The escape analysis code does not make a distinction between scalar and pointers fields in structs. Non-pointer fields that escape should not make the whole struct escape. R=lvd, rsc CC=golang-dev, remy https://golang.org/cl/5489128
-
Andrew Gerrand authored
Fixes #2621. R=rsc, rsc CC=golang-dev https://golang.org/cl/5498104
-
Russ Cox authored
It's hard enough to get right once. R=golang-dev, r CC=golang-dev https://golang.org/cl/5533073
-
Russ Cox authored
R=lvd CC=golang-dev https://golang.org/cl/5533078
-
- 11 Jan, 2012 27 commits
-
-
Mike Samuel authored
Tighter octal parsing broke some tests and were disabled in https://golang.org/cl/5530051 Those tests were broken. The CSS decoder was supposed to see CSS hex escape sequences of the form '\' <hex>+, but those escape sequences were instead being consumed by the template parser. This change properly escapes those escape sequences, and uses proper escaping for NULs. R=golang-dev, rsc, nigeltao CC=golang-dev https://golang.org/cl/5529073
-
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 7 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
-