- 13 Jun, 2012 40 commits
-
-
Sameer Ajmani authored
««« backport 700728feacc8 A+C: add Mats Lidell. He signed the agreement with the Sweden email address, but his changelist is under the Gmail address. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6248069 »»»
-
Jean-Marc Eurin authored
««« backport 6c2e9ed1f714 misc/emacs: Use patch output of gofmt instead of replacing the buffer. This uses the patch output of gofmt (-d option) and applies each chunk to the buffer, instead of replacing the whole buffer. The main advantage is that the undo history is kept across gofmt'ings, so it can really be used as a before-save-hook. R=sameer, sameer CC=golang-dev https://golang.org/cl/6198047 »»»
-
Rémy Oudompheng authored
««« backport 4a10c887bb3e runtime: do not unset the special bit after finalization. A block with finalizer might also be profiled. The special bit is needed to unregister the block from the profile. It will be unset only when the block is freed. Fixes #3668. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/6249066 »»»
-
Peter Kleiweg authored
««« backport 8888febbe757 Emacs go-mode: don't indent the inside of strings. Two fixes for indentation problems: 1. Properly recognize multi-line strings. These start with `, not ". 2. Don't indent a line if the beginning of the line is the end of a multi-line string. This happened for instance when inserting a closing bracket after a multi-line string. R=sameer CC=golang-dev https://golang.org/cl/6157044 »»»
-
Dmitriy Vyukov authored
««« backport 085b20e6e0aa time: fix deadlock in Sleep(0) See time/sleep_test.go for repro. R=golang-dev, r, rsc CC=golang-dev, patrick.allen.higgins https://golang.org/cl/6250072 »»»
-
Mikio Hara authored
««« backport 3dfcac5f8254 net: fix comment on FileListener R=rsc CC=golang-dev https://golang.org/cl/6242067 »»»
-
Peter Kleiweg authored
««« backport 798239220647 Emacs go-mode: fix Emacs freeze-up when copy/pasting from string or comment. Fixes #3509. Fixes #2767. R=golang-dev, sameer CC=golang-dev https://golang.org/cl/6139066 »»»
-
Sameer Ajmani authored
««« backport 771b60b029d4 A+C: Peter Kleiweg (individual CLA) R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6260049 »»»
-
Alexey Borzenkov authored
««« backport d0bc02d414c7 net/http: reuse http proxy connections for different http requests Comment on cache keys above connectMethod says "http to proxy, http anywhere after that", however in reality target address was always included, which prevented http requests to different target addresses to reuse the same http proxy connection. R=golang-dev, r, rsc, bradfitz CC=golang-dev https://golang.org/cl/5901064 »»»
-
Alex Brainman authored
««« backport ac7250065a04 syscall: simplify text returned by Errno.Error() when FormatMessage fails Fixes #3623. R=golang-dev, bsiegert, rsc CC=golang-dev https://golang.org/cl/6218072 »»»
-
Russ Cox authored
««« backport 2252777854d2 cmd/gc: fix parallel assignment in range for expr1, expr2 = range slice was assigning to expr1 and expr2 in sequence instead of in parallel. Now it assigns in parallel, as it should. This matters for things like for i, x[i] = range slice. Fixes #3464. R=ken2 CC=golang-dev https://golang.org/cl/6252048 »»»
-
Russ Cox authored
««« backport 98488e2e38ee runtime: handle and test large map values This is from CL 5451105 but was dropped from that CL. See also CL 6137051. The only change compared to 5451105 is to check for h != nil in reflect·mapiterinit; allowing use of nil maps must have happened after that original CL. Fixes #3573. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/6215078 »»»
-
Robert Griesemer authored
««« backport e2e4e44b1804 strconv: better documentation for FormatInt, FormatUint. Fixes #3580. R=golang-dev, r CC=golang-dev https://golang.org/cl/6252047 »»»
-
Bill Thiede authored
««« backport e995a1bfe589 net/mail: more liberal parsing of Date headers. Fixes #3639. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6243045 »»»
-
David Symonds authored
««« backport 2088c4af2ff8 C: Bill Thiede (Google CLA) R=golang-dev, r CC=golang-dev https://golang.org/cl/6257050 »»»
-
Rob Pike authored
««« backport 443c7a2dabe9 runtime: fix docs for Caller and Callers The previous attempt to explain this got it backwards (all the more reason to be sad we couldn't make the two functions behave the same). Fixes #3669. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6249051 »»»
-
Russ Cox authored
««« backport 967ae8baf398 cmd/gc: fix small integer bounds check bug R=ken2 CC=golang-dev https://golang.org/cl/6254046 »»»
-
Robert Griesemer authored
««« backport 1c4d1ba268ca spec: clarify evaluation order of "i, x[i] = range ..." Part of fix for issue 3464. R=golang-dev, rsc, mirtchovski, iant, r CC=golang-dev https://golang.org/cl/6246045 »»»
-
Shenghou Ma authored
««« backport aa2d2fa1e5a9 cmd/cc: fix uint right shift in constant evaluation Fixes #3664. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/6249048 »»»
-
David Symonds authored
««« backport 64a249c65d51 flag: include flag name in redefinition panic. R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/6250043 »»»
-
Brad Fitzpatrick authored
««« backport 258d7ab64d9a encoding/json: documentation fix Fixes #3650 R=golang-dev, adg CC=golang-dev https://golang.org/cl/6238046 »»»
-
Robert Griesemer authored
««« backport 0a76445053e5 go/parser: resolve all parameter types Fixes #3655. R=golang-dev, r CC=golang-dev https://golang.org/cl/6213065 »»»
-
Brad Fitzpatrick authored
««« backport 287685288ce1 cmd/api: add flag to specify contexts I needed this to explore per-GOOS/GOARCH differences in pkg syscall for a recent CL. Others may find it useful too. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6236046 »»»
-
Brad Fitzpatrick authored
««« backport fe8549b7050a net/http: clarify ErrBodyNotAllowed error message It's usually due to writing on HEAD requests. R=golang-dev, rsc, r, r CC=golang-dev https://golang.org/cl/6206106 »»»
-
Brad Fitzpatrick authored
««« backport 1098c239b9ad cmd/api: add api/next.txt This quiets all.bash noise for upcoming features we know about. The all.bash warnings will now only print for things not in next.txt (or in next.txt but not in the API). Once an API is frozen, we rename next.txt to a new frozen file (like go1.txt) Fixes #3651 R=golang-dev, r CC=golang-dev https://golang.org/cl/6218069 »»»
-
Ugorji Nwoke authored
««« backport 4c05c319570b text/template: exec should accept interface value as valid. Currently, if you pass some data to a template as an interface (e.g. interface{}) and extract that value that value as a parameter for a function, it fails, saying wrong type. This is because it is only looking at the interface type, not the interface content. This CL uses the underlying content as the parameter to the func. Fixes #3642. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/6218052 »»»
-
Shenghou Ma authored
««« backport 87ef5e0baaf5 runtime: support conditional execution in ARM softfloat Fixes #3638. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6213057 »»»
-
Russ Cox authored
««« backport 40104e4c312d unicode: fix comment about variable types In both the web and command line tool, the comment is shown after the declaration. But in the code the comment is obviously before. Make the text not refer to a specific order. R=r, dsymonds CC=golang-dev https://golang.org/cl/6206094 »»»
-
Robert Griesemer authored
««« backport 3446429f1ec4 go/ast: document CommentGroup.Text and add test case. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6206096 »»»
-
Robert Griesemer authored
««« backport afbf8db1baf4 go/parser: fix comment grouping (day 1 bug) Comment groups must end at the end of a line (or the next non-comment token) if the group started on a line with non-comment tokens. This is important for correct computation of "lead" and "line" comments (Doc and Comment fields in AST nodes). Without this fix, the "line" comment for F1 in the following example: type T struct { F1 int // comment1 // comment2 F2 int } is "// comment1// comment2" rather than just "// comment1". This bug was present from Day 1 but only visible when looking at export-filtered ASTs where only comments associated with AST nodes are printed, and only in rare cases (e.g, in the case above, if F2 where not exported, godoc would show "// comment2" anyway because it was considered part of the "line" comment for F1). The bug fix is very small (parser.go). The bulk of the changes are additional test cases (parser_test.go). The fix exposed a caching bug in go/printer via one of the existing tests, hence the changes to printer.go. As an aside, the fix removes the the need for empty lines before an "// Output" comment for some special cases of code examples (e.g.: src/pkg/strings/example_test.go, Count example). No impact on gofmt formatting of src, misc. Fixes #3139. R=rsc CC=golang-dev https://golang.org/cl/6209080 »»»
-
Alexey Borzenkov authored
««« backport 89a9ef95c8db net/url: better parsing of urls with @ symbol in authority Fixes #3439 R=r, rsc, dsymonds, n13m3y3r CC=golang-dev https://golang.org/cl/6206090 »»»
-
Adam Langley authored
««« backport 465e0f78dbfe crypto/ecdsa: fix case where p != 0 mod 8 and the hash length < p. I made a typo which breaks P-521. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6219057 »»»
-
Russ Cox authored
««« backport c6213d8a9118 crypto/rsa: add SHA-224 hash prefix http://www.rsa.com/rsalabs/node.asp?id=2125: NOTE: A new OID has been defined for the combination of the v1.5 signature scheme and the SHA-224 hash function: sha224WithRSAEncryption OBJECT IDENTIFIER ::= Like the other sha*WithRSAEncryption OIDs in PKCS #1 v2.1, this OID has NULL parameters. The DigestInfo encoding for SHA-224 (see Section 9.2, Note 1) is: (0x)30 2d 30 0d 06 09 60 86 48 01 65 03 04 02 04 05 00 04 1c || H R=golang-dev, agl CC=golang-dev https://golang.org/cl/6208076 »»»
-
Brad Fitzpatrick authored
««« backport aad801637707 net/http: fix duplicate status code in Response.Write Fixes #3636 R=golang-dev, adg CC=golang-dev https://golang.org/cl/6203094 »»»
-
Volker Dobler authored
««« backport 05fc2ee43b46 net/http: add cookies from jar to POST request. The main content of this CL is a test case checking the reported issue 3511 and a tiny fix for it. A subsequent CL will refactor the fix as proposed issue 3511. Fixes #3511. R=golang-dev, steven.hartland, bradfitz CC=golang-dev https://golang.org/cl/6013049 »»»
-
Brad Fitzpatrick authored
««« backport e7ed6a89a78e A+C: add James Gray (Individual CLA) R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6213055 »»»
-
Adam Langley authored
««« backport f0a9aa408d21 A+C: b@b3k.us R=golang-dev, r CC=golang-dev https://golang.org/cl/6220050 »»»
-
Maxim Pimenov authored
««« backport 85e153815747 go/build: fix some comments R=golang-dev, r CC=golang-dev https://golang.org/cl/6217044 »»»
-
Andrew Gerrand authored
««« backport d263b323e582 api: undo go1.txt additions made by 27d0a516b7eb We don't change go1.txt. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6206080 »»»
-
Russ Cox authored
««« backport 9942561a3fe2 cmd/go: fix typo Fixes #3619. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/6211055 »»»
-