]> Cypherpunks.ru repositories - gostls13.git/log
gostls13.git
12 years ago[release-branch.go1] syscall: fix windows build go1.0.2
Andrew Gerrand [Thu, 14 Jun 2012 02:50:42 +0000 (12:50 +1000)]
[release-branch.go1] syscall: fix windows build

««« CL 6303061 / 17432a753e50
syscall: fix windows build

TBR=bradfitz
CC=golang-dev
https://golang.org/cl/6303061
»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/6295080

12 years ago[release-branch.go1] syscall: fix GetCurrentProcessId symbol name on Windows
Russ Cox [Thu, 14 Jun 2012 02:06:57 +0000 (22:06 -0400)]
[release-branch.go1] syscall: fix GetCurrentProcessId symbol name on Windows

12 years ago[release-branch.go1] doc: document go1.0.2
Andrew Gerrand [Thu, 14 Jun 2012 01:50:00 +0000 (11:50 +1000)]
[release-branch.go1] doc: document go1.0.2

««« CL 6298079 / a19665fe6f33
doc: document go1.0.2

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6298079
»»»

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6302076

12 years ago[release-branch.go1] update VERSION to go1.0.2
Russ Cox [Wed, 13 Jun 2012 20:25:02 +0000 (16:25 -0400)]
[release-branch.go1] update VERSION to go1.0.2

12 years ago[release-branch.go1] syscall: unexport GetCurrentProcessId on Windows
Russ Cox [Wed, 13 Jun 2012 20:25:01 +0000 (16:25 -0400)]
[release-branch.go1] syscall: unexport GetCurrentProcessId on Windows

12 years ago[release-branch.go1] runtime: improved continuity in hash computation
Jan Ziak [Wed, 13 Jun 2012 20:25:00 +0000 (16:25 -0400)]
[release-branch.go1] runtime: improved continuity in hash computation

««« backport c8d163b7930e
runtime: improved continuity in hash computation

Fixes #3695.

R=r, dave, rsc
CC=golang-dev
https://golang.org/cl/6304062

»»»

12 years ago[release-branch.go1] misc/emacs: Fix a failure when /tmp/<file>.go exists.
Jean-Marc Eurin [Wed, 13 Jun 2012 20:25:00 +0000 (16:25 -0400)]
[release-branch.go1] misc/emacs: Fix a failure when /tmp/<file>.go exists.

««« backport 903a3cdd92cf
misc/emacs: Fix a failure when /tmp/<file>.go exists.

R=sameer
CC=golang-dev
https://golang.org/cl/6296060

»»»

12 years ago[release-branch.go1] misc/emacs: Fix the automatic gofmt when creating a new file.
Jean-Marc Eurin [Wed, 13 Jun 2012 20:24:59 +0000 (16:24 -0400)]
[release-branch.go1] misc/emacs: Fix the automatic gofmt when creating a new file.

««« backport 5b4920fe3605
misc/emacs: Fix the automatic gofmt when creating a new file.

Patching the buffer with the output from gofmt -d only works if
the file already exists. If it doesn't, replace the content with
the output of gofmt.

R=sameer
CC=golang-dev
https://golang.org/cl/6302063

»»»

12 years ago[release-branch.go1] encoding/gob: fix doc typo
Brad Fitzpatrick [Wed, 13 Jun 2012 20:24:58 +0000 (16:24 -0400)]
[release-branch.go1] encoding/gob: fix doc typo

««« backport d34766b79c5e
encoding/gob: fix doc typo

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6300078

»»»

12 years ago[release-branch.go1] syscall: revert API changes in Windows Win32finddata fix.
Russ Cox [Wed, 13 Jun 2012 20:24:57 +0000 (16:24 -0400)]
[release-branch.go1] syscall: revert API changes in Windows Win32finddata fix.

««« backport 7a7a91c3da32
syscall: revert API changes in Windows Win32finddata fix.

Preserve old API by using correct struct in system call
and then copying the results, as we did for SetsockoptLinger.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6307065

»»»

12 years ago[release-branch.go1] cmd/api: handle empty API file, ignore -next in release
Russ Cox [Wed, 13 Jun 2012 20:24:56 +0000 (16:24 -0400)]
[release-branch.go1] cmd/api: handle empty API file, ignore -next in release

««« backport 8e7ad2db0833
cmd/api: handle empty API file, ignore -next in release

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6298063

»»»

12 years ago[release-branch.go1] regexp/syntax: unexport ErrUnexpectedParen
Russ Cox [Wed, 13 Jun 2012 20:24:55 +0000 (16:24 -0400)]
[release-branch.go1] regexp/syntax: unexport ErrUnexpectedParen

««« backport b4cdcec897fb
regexp/syntax: unexport ErrUnexpectedParen

This new error is the only API change in the current draft of
Go 1.0.2 CLs. I'd like to include the CL that introduced it,
because it replaces a mysterious 'internal error' with a
useful error message, but I don't want any API changes,
so unexport the error constant for now. It can be
re-exported for Go 1.1.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6294055

»»»

12 years ago[release-branch.go1] cmd/5c, cmd/5g, cmd/5l: fix cross compilation failure on darwin
Dave Cheney [Wed, 13 Jun 2012 20:24:54 +0000 (16:24 -0400)]
[release-branch.go1] cmd/5c, cmd/5g, cmd/5l: fix cross compilation failure on darwin

««« backport 432f2b7f5458
cmd/5c, cmd/5g, cmd/5l: fix cross compilation failure on darwin

Fixes #3708.

The fix to allow 5{c,g,l} to compile under clang 3.1 broke cross
compilation on darwin using the Apple default compiler on 10.7.3.

This failure was introduced in 9b455eb64690.

This has been tested by cross compiling on darwin/amd64 to linux/arm using

* gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
* clang version 3.1 (branches/release_31)

As well as on linux/arm using

* gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
* Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
* Debian clang version 3.1-4 (branches/release_31) (based on LLVM 3.1)

R=consalus, rsc
CC=golang-dev
https://golang.org/cl/6307058

»»»

12 years ago[release-branch.go1] cmd/cgo: make Go code order deterministic
Russ Cox [Wed, 13 Jun 2012 20:24:54 +0000 (16:24 -0400)]
[release-branch.go1] cmd/cgo: make Go code order deterministic

««« backport 319a9f3330d0
cmd/cgo: make Go code order deterministic

The type declarations were being generated using
a range over a map, which meant that successive
runs produced different orders. This will make sure
successive runs produce the same files.

Fixes #3707.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6300062

»»»

12 years ago[release-branch.go1] cmd/gc: limit data disassembly to -SS
Russ Cox [Wed, 13 Jun 2012 20:24:53 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: limit data disassembly to -SS

««« backport 14ce24bcd818
cmd/gc: limit data disassembly to -SS

This makes -S useful again.

R=ken2
CC=golang-dev
https://golang.org/cl/6302054

»»»

12 years ago[release-branch.go1] cmd/gc: fix LEAQ $0, SI bug
Russ Cox [Wed, 13 Jun 2012 20:24:52 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: fix LEAQ $0, SI bug

««« backport c4a344d25b87
cmd/gc: fix LEAQ $0, SI bug

Cannot take effective address of constant.

Fixes #3670.

R=ken2
CC=golang-dev
https://golang.org/cl/6299055

»»»

12 years ago[release-branch.go1] cmd/gc: fix type checking loop
Russ Cox [Wed, 13 Jun 2012 20:24:51 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: fix type checking loop

««« backport e69400ace361
cmd/gc: fix type checking loop

CL 4313064 fixed its test case but did not address a
general enough problem:

type T1 struct { F *T2 }
type T2 T1
type T3 T2

could still end up copying the definition of T1 for T2
before T1 was done being evaluated, or T3 before T2
was done.

In order to propagate the updates correctly,
record a copy of an incomplete type for re-execution
once the type is completed. Roll back CL 4313064.

Fixes #3709.

R=ken2
CC=golang-dev, lstoakes
https://golang.org/cl/6301059

»»»

12 years ago[release-branch.go1] cmd/gc: delete dead code
Russ Cox [Wed, 13 Jun 2012 20:24:50 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: delete dead code

««« backport 721d528a4e91
cmd/gc: delete dead code

R=ken2
CC=golang-dev
https://golang.org/cl/6307050

»»»

12 years ago[release-branch.go1] cmd/gc: do not crash on struct with _ field
Russ Cox [Wed, 13 Jun 2012 20:24:49 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: do not crash on struct with _ field

««« backport af07f1cd12dc
cmd/gc: do not crash on struct with _ field

Fixes #3607.

R=ken2
CC=golang-dev
https://golang.org/cl/6296052

»»»

12 years ago[release-branch.go1] cmd/gc: preserve side effects during inlining of function with...
Russ Cox [Wed, 13 Jun 2012 20:24:49 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: preserve side effects during inlining of function with _ argument

««« backport 0ba8e27c7b87
cmd/gc: preserve side effects during inlining of function with _ argument

Fixes #3593.

R=ken2
CC=golang-dev, lvd
https://golang.org/cl/6305061

»»»

12 years ago[release-branch.go1] encoding/json: fix panic unmarshaling into non-nil interface...
Russ Cox [Wed, 13 Jun 2012 20:24:48 +0000 (16:24 -0400)]
[release-branch.go1] encoding/json: fix panic unmarshaling into non-nil interface value

««« backport bee83c1509a3
encoding/json: fix panic unmarshaling into non-nil interface value

Fixes #3614.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/6306051

»»»

12 years ago[release-branch.go1] cmd/gc: mark output of typename as type-checked
Russ Cox [Wed, 13 Jun 2012 20:24:47 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: mark output of typename as type-checked

««« backport d39a44280dd3
cmd/gc: mark output of typename as type-checked

R=ken2
CC=golang-dev
https://golang.org/cl/6302051

»»»

12 years ago[release-branch.go1] fmt: fix doc typo
Daniel Morsing [Wed, 13 Jun 2012 20:24:46 +0000 (16:24 -0400)]
[release-branch.go1] fmt: fix doc typo

««« backport 76f136192aac
fmt: fix doc typo

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6308046

»»»

12 years ago[release-branch.go1] A+C: Daniel Morsing (individual CLA)
Russ Cox [Wed, 13 Jun 2012 20:24:45 +0000 (16:24 -0400)]
[release-branch.go1] A+C: Daniel Morsing (individual CLA)

««« backport a47632179cb7
A+C: Daniel Morsing (individual CLA)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6307048

»»»

12 years ago[release-branch.go1] A+C: Markus Sonderegger (individual CLA)
Russ Cox [Wed, 13 Jun 2012 20:24:44 +0000 (16:24 -0400)]
[release-branch.go1] A+C: Markus Sonderegger (individual CLA)

««« backport a6e2b17a16d7
A+C: Markus Sonderegger (individual CLA)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6303047

»»»

12 years ago[release-branch.go1] build: restore PATH before "dist banner"
Shenghou Ma [Wed, 13 Jun 2012 20:24:44 +0000 (16:24 -0400)]
[release-branch.go1] build: restore PATH before "dist banner"

««« backport 2787cca7ac8f
build: restore PATH before "dist banner"
        Fixes #3699.

R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/6272048

»»»

12 years ago[release-branch.go1] cmd/5c, cmd/5g, cmd/5l: fix array indexing warning under Clang 3.1
Dave Cheney [Wed, 13 Jun 2012 20:24:43 +0000 (16:24 -0400)]
[release-branch.go1] cmd/5c, cmd/5g, cmd/5l: fix array indexing warning under Clang 3.1

««« backport 9b455eb64690
cmd/5c, cmd/5g, cmd/5l: fix array indexing warning under Clang 3.1

This should be the last of them.

R=golang-dev, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/6297043

»»»

12 years ago[release-branch.go1] cmd/[568]g: correct freeing of allocated Regs.
Rémy Oudompheng [Wed, 13 Jun 2012 20:24:42 +0000 (16:24 -0400)]
[release-branch.go1] cmd/[568]g: correct freeing of allocated Regs.

««« backport f1028a23b059
cmd/[568]g: correct freeing of allocated Regs.

R=golang-dev, rsc
CC=golang-dev, remy
https://golang.org/cl/6281050

»»»

12 years ago[release-branch.go1] go spec: clarify promotion rules for methods/fields of anonymous...
Robert Griesemer [Wed, 13 Jun 2012 20:24:41 +0000 (16:24 -0400)]
[release-branch.go1] go spec: clarify promotion rules for methods/fields of anonymous fields

««« backport ae0301294b9b
go spec: clarify promotion rules for methods/fields of anonymous fields

Fixes #3635.

R=rsc, r, iant, kevlar, iant
CC=golang-dev
https://golang.org/cl/6217045

»»»

12 years ago[release-branch.go1] doc/install: we don't print 'The compiler is 6g' anymore
Russ Cox [Wed, 13 Jun 2012 20:24:40 +0000 (16:24 -0400)]
[release-branch.go1] doc/install: we don't print 'The compiler is 6g' anymore

««« backport 008b163fb38a
doc/install: we don't print 'The compiler is 6g' anymore

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6273050

»»»

12 years ago[release-branch.go1] misc/emacs: make compilation-mode's next-error understand test...
Ryan Barrett [Wed, 13 Jun 2012 20:24:40 +0000 (16:24 -0400)]
[release-branch.go1] misc/emacs: make compilation-mode's next-error understand test failure output.

««« backport f469c9d212c4
misc/emacs: make compilation-mode's next-error understand test failure output.

specifically, adds a go-test element to compilation-error-regexp-alist[-alist].
Fixes #3629.

R=golang-dev, rsc, sameer
CC=golang-dev, jba
https://golang.org/cl/6197091

»»»

12 years ago[release-branch.go1] api: add Linux/ARM to go1 API
Shenghou Ma [Wed, 13 Jun 2012 20:24:39 +0000 (16:24 -0400)]
[release-branch.go1] api: add Linux/ARM to go1 API

««« backport 5538444d6f32
api: add Linux/ARM to go1 API
It's very unfortunate that the type of Data field of struct
RawSockaddr is [14]uint8 on Linux/ARM instead of [14]int8
on all the others.
btw, it should be [14]int8 according to my header files.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6275050

»»»

12 years ago[release-branch.go1] path/filepath: fix test
Mikio Hara [Wed, 13 Jun 2012 20:24:38 +0000 (16:24 -0400)]
[release-branch.go1] path/filepath: fix test

««« backport 912fdfb20cc6
path/filepath: fix test

Make it possible to run test over symlinked GOROOT.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6268046

»»»

12 years ago[release-branch.go1] syscall: correct Win32finddata definition
Alex Brainman [Wed, 13 Jun 2012 20:24:37 +0000 (16:24 -0400)]
[release-branch.go1] syscall: correct Win32finddata definition

««« backport 45d1063d8520
syscall: correct Win32finddata definition

Fixes #3685.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6261053

»»»

12 years ago[release-branch.go1] syscall: fix 32-bit uid calls
Shenghou Ma [Wed, 13 Jun 2012 20:24:36 +0000 (16:24 -0400)]
[release-branch.go1] syscall: fix 32-bit uid calls

««« backport 31e36672e3df
syscall: fix 32-bit uid calls
        16-bit uid calls are not always supported in newer kernels.

R=dave, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/6279047

»»»

12 years ago[release-branch.go1] path/filepath: implement documented SkipDir behavior
Jan Mercl [Wed, 13 Jun 2012 20:24:35 +0000 (16:24 -0400)]
[release-branch.go1] path/filepath: implement documented SkipDir behavior

««« backport 4ef88bab4b0d
path/filepath: implement documented SkipDir behavior

Currently walk() doesn't check for err == SkipDir when iterating
a directory list, but such promise is made in the docs for WalkFunc.

Fixes #3486.

R=rsc, r
CC=golang-dev
https://golang.org/cl/6257059

»»»

12 years ago[release-branch.go1] api: add FreeBSD to go1 API
Brad Fitzpatrick [Wed, 13 Jun 2012 20:24:34 +0000 (16:24 -0400)]
[release-branch.go1] api: add FreeBSD to go1 API

««« backport d8e47164f8dd
api: add FreeBSD to go1 API

Now that gri has made go/parser 15% faster, I offer this
change to slow back down cmd/api ~proportionately, adding
FreeBSD to the go1-checked set of platforms.

Really we should have done this earlier. This will prevent us
from breaking FreeBSD compatibility accidentally in the
future.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6279044

»»»

12 years ago[release-branch.go1] misc/emacs: stop go-mode from spuriously marking the buffer...
Ryan Barrett [Wed, 13 Jun 2012 20:24:34 +0000 (16:24 -0400)]
[release-branch.go1] misc/emacs: stop go-mode from spuriously marking the buffer modified when it loads

««« backport f0fc2ba71361
misc/emacs: stop go-mode from spuriously marking the buffer modified when it loads

R=golang-dev, sameer, bradfitz
CC=golang-dev, jba
https://golang.org/cl/6213056

»»»

12 years ago[release-branch.go1] CONTRIBUTORS: Add Ryan Barrett (Google CLA)
Sameer Ajmani [Wed, 13 Jun 2012 20:24:33 +0000 (16:24 -0400)]
[release-branch.go1] CONTRIBUTORS: Add Ryan Barrett (Google CLA)

««« backport d7030ef36339
CONTRIBUTORS: Add Ryan Barrett (Google CLA)

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6244071

»»»

12 years ago[release-branch.go1] regexp: fix a couple of bugs in the documentation
Rob Pike [Wed, 13 Jun 2012 20:24:32 +0000 (16:24 -0400)]
[release-branch.go1] regexp: fix a couple of bugs in the documentation

««« backport 97295af6ee9b
regexp: fix a couple of bugs in the documentation
Byte slices are not strings.

Fixes #3687.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6257074

»»»

12 years ago[release-branch.go1] compress/flate: fix overflow on 2GB input. Reset hashOffset...
Ivan Krasin [Wed, 13 Jun 2012 20:24:31 +0000 (16:24 -0400)]
[release-branch.go1] compress/flate: fix overflow on 2GB input. Reset hashOffset every 16 MB.

««« backport 00a1ca1ea3bd
compress/flate: fix overflow on 2GB input. Reset hashOffset every 16 MB.

This bug has been introduced in the following revision:

changeset:   11404:26dceba5c610
user:        Ivan Krasin <krasin@golang.org>
date:        Mon Jan 23 09:19:39 2012 -0500
summary:     compress/flate: reduce memory pressure at cost of additional arithmetic operation.

This is the review page for that CL: https://golang.org/cl/5555070/

R=rsc, imkrasin
CC=golang-dev
https://golang.org/cl/6249067

»»»

12 years ago[release-branch.go1] go-mode: Works for both GNU-Emacs and XEmacs-21.5
Mats Lidell [Wed, 13 Jun 2012 20:24:30 +0000 (16:24 -0400)]
[release-branch.go1] go-mode: Works for both GNU-Emacs and XEmacs-21.5

««« backport 83f7ee1fa792
go-mode: Works for both GNU-Emacs and XEmacs-21.5

Fixes some portability issues between the Emacsen.

R=golang-dev, sameer, bradfitz, ryanb
CC=golang-dev
https://golang.org/cl/6206043

»»»

12 years ago[release-branch.go1] A+C: add Mats Lidell. He signed the agreement with the Sweden...
Sameer Ajmani [Wed, 13 Jun 2012 20:24:30 +0000 (16:24 -0400)]
[release-branch.go1] A+C: add Mats Lidell.  He signed the agreement with the Sweden email

««« 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

»»»

12 years ago[release-branch.go1] misc/emacs: Use patch output of gofmt instead of replacing the...
Jean-Marc Eurin [Wed, 13 Jun 2012 20:24:29 +0000 (16:24 -0400)]
[release-branch.go1] misc/emacs: Use patch output of gofmt instead of replacing the buffer.

««« 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

»»»

12 years ago[release-branch.go1] runtime: do not unset the special bit after finalization.
Rémy Oudompheng [Wed, 13 Jun 2012 20:24:28 +0000 (16:24 -0400)]
[release-branch.go1] runtime: do not unset the special bit after finalization.

««« 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

»»»

12 years ago[release-branch.go1] Emacs go-mode: don't indent the inside of strings.
Peter Kleiweg [Wed, 13 Jun 2012 20:24:27 +0000 (16:24 -0400)]
[release-branch.go1] Emacs go-mode: don't indent the inside of strings.

««« 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

»»»

12 years ago[release-branch.go1] time: fix deadlock in Sleep(0)
Dmitriy Vyukov [Wed, 13 Jun 2012 20:24:26 +0000 (16:24 -0400)]
[release-branch.go1] time: fix deadlock in Sleep(0)

««« 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

»»»

12 years ago[release-branch.go1] net: fix comment on FileListener
Mikio Hara [Wed, 13 Jun 2012 20:24:26 +0000 (16:24 -0400)]
[release-branch.go1] net: fix comment on FileListener

««« backport 3dfcac5f8254
net: fix comment on FileListener

R=rsc
CC=golang-dev
https://golang.org/cl/6242067

»»»

12 years ago[release-branch.go1] Emacs go-mode: fix Emacs freeze-up when copy/pasting from string...
Peter Kleiweg [Wed, 13 Jun 2012 20:24:25 +0000 (16:24 -0400)]
[release-branch.go1] Emacs go-mode: fix Emacs freeze-up when copy/pasting from string or comment.

««« 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

»»»

12 years ago[release-branch.go1] A+C: Peter Kleiweg (individual CLA)
Sameer Ajmani [Wed, 13 Jun 2012 20:24:24 +0000 (16:24 -0400)]
[release-branch.go1] A+C: Peter Kleiweg (individual CLA)

««« backport 771b60b029d4
A+C: Peter Kleiweg (individual CLA)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6260049

»»»

12 years ago[release-branch.go1] net/http: reuse http proxy connections for different http requests
Alexey Borzenkov [Wed, 13 Jun 2012 20:24:23 +0000 (16:24 -0400)]
[release-branch.go1] net/http: reuse http proxy connections for different http requests

««« 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

»»»

12 years ago[release-branch.go1] syscall: simplify text returned by Errno.Error() when FormatMess...
Alex Brainman [Wed, 13 Jun 2012 20:24:22 +0000 (16:24 -0400)]
[release-branch.go1] syscall: simplify text returned by Errno.Error() when FormatMessage fails

««« 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

»»»

12 years ago[release-branch.go1] cmd/gc: fix parallel assignment in range
Russ Cox [Wed, 13 Jun 2012 20:24:21 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: fix parallel assignment in range

««« 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

»»»

12 years ago[release-branch.go1] runtime: handle and test large map values
Russ Cox [Wed, 13 Jun 2012 20:24:21 +0000 (16:24 -0400)]
[release-branch.go1] runtime: handle and test large map values

««« 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

»»»

12 years ago[release-branch.go1] strconv: better documentation for FormatInt, FormatUint.
Robert Griesemer [Wed, 13 Jun 2012 20:24:20 +0000 (16:24 -0400)]
[release-branch.go1] strconv: better documentation for FormatInt, FormatUint.

««« backport e2e4e44b1804
strconv: better documentation for FormatInt, FormatUint.

Fixes #3580.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6252047

»»»

12 years ago[release-branch.go1] net/mail: more liberal parsing of Date headers.
Bill Thiede [Wed, 13 Jun 2012 20:24:19 +0000 (16:24 -0400)]
[release-branch.go1] net/mail: more liberal parsing of Date headers.

««« backport e995a1bfe589
net/mail: more liberal parsing of Date headers.
Fixes #3639.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6243045

»»»

12 years ago[release-branch.go1] C: Bill Thiede (Google CLA)
David Symonds [Wed, 13 Jun 2012 20:24:18 +0000 (16:24 -0400)]
[release-branch.go1] C: Bill Thiede (Google CLA)

««« backport 2088c4af2ff8
C: Bill Thiede (Google CLA)

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6257050

»»»

12 years ago[release-branch.go1] runtime: fix docs for Caller and Callers
Rob Pike [Wed, 13 Jun 2012 20:24:17 +0000 (16:24 -0400)]
[release-branch.go1] runtime: fix docs for Caller and Callers

««« 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

»»»

12 years ago[release-branch.go1] cmd/gc: fix small integer bounds check bug
Russ Cox [Wed, 13 Jun 2012 20:24:17 +0000 (16:24 -0400)]
[release-branch.go1] cmd/gc: fix small integer bounds check bug

««« backport 967ae8baf398
cmd/gc: fix small integer bounds check bug

R=ken2
CC=golang-dev
https://golang.org/cl/6254046

»»»

12 years ago[release-branch.go1] spec: clarify evaluation order of "i, x[i] = range ..."
Robert Griesemer [Wed, 13 Jun 2012 20:24:16 +0000 (16:24 -0400)]
[release-branch.go1] spec: clarify evaluation order of "i, x[i] = range ..."

««« 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

»»»

12 years ago[release-branch.go1] cmd/cc: fix uint right shift in constant evaluation
Shenghou Ma [Wed, 13 Jun 2012 20:24:15 +0000 (16:24 -0400)]
[release-branch.go1] cmd/cc: fix uint right shift in constant evaluation

««« 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

»»»

12 years ago[release-branch.go1] flag: include flag name in redefinition panic.
David Symonds [Wed, 13 Jun 2012 20:24:14 +0000 (16:24 -0400)]
[release-branch.go1] flag: include flag name in redefinition panic.

««« backport 64a249c65d51
flag: include flag name in redefinition panic.

R=golang-dev, rsc, r
CC=golang-dev
https://golang.org/cl/6250043

»»»

12 years ago[release-branch.go1] encoding/json: documentation fix
Brad Fitzpatrick [Wed, 13 Jun 2012 20:24:13 +0000 (16:24 -0400)]
[release-branch.go1] encoding/json: documentation fix

««« backport 258d7ab64d9a
encoding/json: documentation fix

Fixes #3650

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/6238046

»»»

12 years ago[release-branch.go1] go/parser: resolve all parameter types
Robert Griesemer [Wed, 13 Jun 2012 20:24:12 +0000 (16:24 -0400)]
[release-branch.go1] go/parser: resolve all parameter types

««« backport 0a76445053e5
go/parser: resolve all parameter types

Fixes #3655.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6213065

»»»

12 years ago[release-branch.go1] cmd/api: add flag to specify contexts
Brad Fitzpatrick [Wed, 13 Jun 2012 20:24:12 +0000 (16:24 -0400)]
[release-branch.go1] cmd/api: add flag to specify contexts

««« 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

»»»

12 years ago[release-branch.go1] net/http: clarify ErrBodyNotAllowed error message
Brad Fitzpatrick [Wed, 13 Jun 2012 20:24:11 +0000 (16:24 -0400)]
[release-branch.go1] net/http: clarify ErrBodyNotAllowed error message

««« 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

»»»

12 years ago[release-branch.go1] cmd/api: add api/next.txt
Brad Fitzpatrick [Wed, 13 Jun 2012 20:24:10 +0000 (16:24 -0400)]
[release-branch.go1] cmd/api: add api/next.txt

««« 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

»»»

12 years ago[release-branch.go1] text/template: exec should accept interface value as valid.
Ugorji Nwoke [Wed, 13 Jun 2012 20:24:09 +0000 (16:24 -0400)]
[release-branch.go1] text/template: exec should accept interface value as valid.

««« 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

»»»

12 years ago[release-branch.go1] runtime: support conditional execution in ARM softfloat
Shenghou Ma [Wed, 13 Jun 2012 20:24:08 +0000 (16:24 -0400)]
[release-branch.go1] runtime: support conditional execution in ARM softfloat

««« backport 87ef5e0baaf5
runtime: support conditional execution in ARM softfloat
        Fixes #3638.

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6213057

»»»

12 years ago[release-branch.go1] unicode: fix comment about variable types
Russ Cox [Wed, 13 Jun 2012 20:24:08 +0000 (16:24 -0400)]
[release-branch.go1] unicode: fix comment about variable types

««« 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

»»»

12 years ago[release-branch.go1] go/ast: document CommentGroup.Text and add test case.
Robert Griesemer [Wed, 13 Jun 2012 20:24:07 +0000 (16:24 -0400)]
[release-branch.go1] go/ast: document CommentGroup.Text and add test case.

««« backport 3446429f1ec4
go/ast: document CommentGroup.Text and add test case.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6206096

»»»

12 years ago[release-branch.go1] go/parser: fix comment grouping (day 1 bug)
Robert Griesemer [Wed, 13 Jun 2012 20:24:06 +0000 (16:24 -0400)]
[release-branch.go1] go/parser: fix comment grouping (day 1 bug)

««« 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

»»»

12 years ago[release-branch.go1] net/url: better parsing of urls with @ symbol in authority
Alexey Borzenkov [Wed, 13 Jun 2012 20:24:05 +0000 (16:24 -0400)]
[release-branch.go1] net/url: better parsing of urls with @ symbol in authority

««« 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

»»»

12 years ago[release-branch.go1] crypto/ecdsa: fix case where p != 0 mod 8 and the hash length...
Adam Langley [Wed, 13 Jun 2012 20:24:04 +0000 (16:24 -0400)]
[release-branch.go1] crypto/ecdsa: fix case where p != 0 mod 8 and the hash length < p.

««« 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

»»»

12 years ago[release-branch.go1] crypto/rsa: add SHA-224 hash prefix
Russ Cox [Wed, 13 Jun 2012 20:24:03 +0000 (16:24 -0400)]
[release-branch.go1] crypto/rsa: add SHA-224 hash prefix

««« 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

»»»

12 years ago[release-branch.go1] net/http: fix duplicate status code in Response.Write
Brad Fitzpatrick [Wed, 13 Jun 2012 20:24:03 +0000 (16:24 -0400)]
[release-branch.go1] net/http: fix duplicate status code in Response.Write

««« 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

»»»

12 years ago[release-branch.go1] net/http: add cookies from jar to POST request.
Volker Dobler [Wed, 13 Jun 2012 20:24:02 +0000 (16:24 -0400)]
[release-branch.go1] net/http: add cookies from jar to POST request.

««« 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

»»»

12 years ago[release-branch.go1] A+C: add James Gray (Individual CLA)
Brad Fitzpatrick [Wed, 13 Jun 2012 20:24:01 +0000 (16:24 -0400)]
[release-branch.go1] A+C: add James Gray (Individual CLA)

««« backport e7ed6a89a78e
A+C: add James Gray (Individual CLA)

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6213055

»»»

12 years ago[release-branch.go1] A+C: b@b3k.us
Adam Langley [Wed, 13 Jun 2012 20:24:00 +0000 (16:24 -0400)]
[release-branch.go1] A+C: b@b3k.us

««« backport f0a9aa408d21
A+C: b@b3k.us

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6220050

»»»

12 years ago[release-branch.go1] go/build: fix some comments
Maxim Pimenov [Wed, 13 Jun 2012 20:23:59 +0000 (16:23 -0400)]
[release-branch.go1] go/build: fix some comments

««« backport 85e153815747
go/build: fix some comments

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6217044

»»»

12 years ago[release-branch.go1] api: undo go1.txt additions made by 27d0a516b7eb
Andrew Gerrand [Wed, 13 Jun 2012 20:23:58 +0000 (16:23 -0400)]
[release-branch.go1] api: undo go1.txt additions made by 27d0a516b7eb

««« 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

»»»

12 years ago[release-branch.go1] cmd/go: fix typo
Russ Cox [Wed, 13 Jun 2012 20:23:58 +0000 (16:23 -0400)]
[release-branch.go1] cmd/go: fix typo

««« backport 9942561a3fe2
cmd/go: fix typo

Fixes #3619.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/6211055

»»»

12 years ago[release-branch.go1] log: fix typo in comment
Benny Siegert [Wed, 13 Jun 2012 20:23:56 +0000 (16:23 -0400)]
[release-branch.go1] log: fix typo in comment

««« backport 847b8d48b873
log: fix typo in comment

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6195096

»»»

12 years ago[release-branch.go1] doc/install: document minimum system requirements
Shenghou Ma [Wed, 13 Jun 2012 20:23:56 +0000 (16:23 -0400)]
[release-branch.go1] doc/install: document minimum system requirements

««« backport 46a117d22ce2
doc/install: document minimum system requirements
        Partly copied from CL 5685076.

R=golang-dev, adg, r
CC=golang-dev
https://golang.org/cl/6112064

»»»

12 years ago[release-branch.go1] cmd/go: invoke godoc with import path when possible
Russ Cox [Wed, 13 Jun 2012 20:23:54 +0000 (16:23 -0400)]
[release-branch.go1] cmd/go: invoke godoc with import path when possible

««« backport 5b1e024a5e89
cmd/go: invoke godoc with import path when possible
Also add -n -x flags to doc, fmt, vet.
Also shorten unknown command error.

Fixes #3612.
Fixes #3613.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/6211053

»»»

12 years ago[release-branch.go1] cmd/gc: make append(nil, x) error more precise
Russ Cox [Wed, 13 Jun 2012 20:23:54 +0000 (16:23 -0400)]
[release-branch.go1] cmd/gc: make append(nil, x) error more precise

««« backport 4732bf6f874f
cmd/gc: make append(nil, x) error more precise

Before:
./x.go:6: first argument to append must be slice; have nil

After:
./x.go:6: first argument to append must be typed slice; have untyped nil

Fixes #3616.

R=ken2
CC=golang-dev
https://golang.org/cl/6209067

»»»

12 years ago[release-branch.go1] runtime: fix counting of free objects
Jan Ziak [Wed, 13 Jun 2012 20:23:53 +0000 (16:23 -0400)]
[release-branch.go1] runtime: fix counting of free objects

««« backport 393bec50494e
runtime: fix counting of free objects

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6206056

»»»

12 years ago[release-branch.go1] mime/multipart: fix handling of empty parts without CRLF before...
Brad Fitzpatrick [Wed, 13 Jun 2012 20:23:52 +0000 (16:23 -0400)]
[release-branch.go1] mime/multipart: fix handling of empty parts without CRLF before next part

««« backport 32a8b0e41031
mime/multipart: fix handling of empty parts without CRLF before next part

Empty parts can be either of the form:

a) "--separator\r\n", header (w/ trailing 2xCRLF), \r\n "--separator"...
or
b) "--separator\r\n", header (w/ trailing 2xCRLF), "--separator"...

We never handled case b).  In fact the RFC seems kinda vague about
it, but browsers seem to do a), and App Engine's synthetic POST
bodies after blob uploads is of form b).

So handle them both, and add a bunch of tests.

(I can't promise these are the last fixes to multipart, especially
considering its history, but I'm growing increasingly confident at
least, and I've never submitted a multipart CL with known bugs
outstanding, including this time.)

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/6212046

»»»

12 years ago[release-branch.go1] regexp/syntax: replace internal error on unexpected ) w/ ErrUnex...
Jan Mercl [Wed, 13 Jun 2012 20:23:51 +0000 (16:23 -0400)]
[release-branch.go1] regexp/syntax: replace internal error on unexpected ) w/ ErrUnexpectedParen

««« backport 27d0a516b7eb
regexp/syntax: replace internal error on unexpected ) w/ ErrUnexpectedParen

Unbalanced extra right parenthesis produced an internal error instead of
a more descriptive one.

Fixes #3406.

R=r, rsc
CC=golang-dev
https://golang.org/cl/6201063

»»»

12 years ago[release-branch.go1] crypto/tls: fix decoding of certLen in certificateMsg.unmarshal
Michael Gehring [Wed, 13 Jun 2012 20:23:50 +0000 (16:23 -0400)]
[release-branch.go1] crypto/tls: fix decoding of certLen in certificateMsg.unmarshal

««« backport bcfa9fc88361
crypto/tls: fix decoding of certLen in certificateMsg.unmarshal

certLen was decoded incorrectly if length > 2^16-1.

R=golang-dev, agl
CC=golang-dev
https://golang.org/cl/6197077

»»»

12 years ago[release-branch.go1] A+C: add Michael Gehring (individual CLA)
Adam Langley [Wed, 13 Jun 2012 20:23:49 +0000 (16:23 -0400)]
[release-branch.go1] A+C: add Michael Gehring (individual CLA)

««« backport 086b6525aea6
A+C: add Michael Gehring (individual CLA)

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6188076

»»»

12 years ago[release-branch.go1] A+C: Jan Ziak (individual CLA)
David Symonds [Wed, 13 Jun 2012 20:23:48 +0000 (16:23 -0400)]
[release-branch.go1] A+C: Jan Ziak (individual CLA)

««« backport c6edd5218579
A+C: Jan Ziak (individual CLA)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6120047

»»»

12 years ago[release-branch.go1] cmd/go: fix remote help reference to "go help packages"
Francisco Souza [Wed, 13 Jun 2012 20:23:48 +0000 (16:23 -0400)]
[release-branch.go1] cmd/go: fix remote help reference to "go help packages"

««« backport adc987ffdd99
cmd/go: fix remote help reference to "go help packages"

go help remote used to reference "go help importpath", which has
changed to "go help packages".

Fixes #3598.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6201065

»»»

12 years ago[release-branch.go1] go: fix the import path "./..." not matching ".".
Nigel Tao [Wed, 13 Jun 2012 20:23:47 +0000 (16:23 -0400)]
[release-branch.go1] go: fix the import path "./..." not matching ".".

««« backport cdd1fa20bb08
go: fix the import path "./..." not matching ".".

Tested manually.

Fixes #3554.

Before:
$ cd $GOROOT/src/pkg
$ go list io
io
$ go list io/...
io
io/ioutil
$ cd $GOROOT/src/pkg/io
$ go list .
io
$ go list ./...
io/ioutil

After:
$ cd $GOROOT/src/pkg
$ go list io
io
$ go list io/...
io
io/ioutil
$ cd $GOROOT/src/pkg/io
$ go list .
io
$ go list ./...
io
io/ioutil
$ go list ././...
io
io/ioutil
$ go list ././.././io/...
io
io/ioutil
$ go list ../image
image
$ go list ../image/...
image
image/color
image/draw
image/gif
image/jpeg
image/png
$ go list ../.../template
html/template
text/template
$ cd $GOROOT/src/pkg
$ go list ./io
io
$ go list ./io/...
io
io/ioutil
$ go list ./.../pprof
net/http/pprof
runtime/pprof
$ go list ./compress
can't load package: package compress: no Go source files in /home/nigeltao/go/src/pkg/compress
$ go list ./compress/...
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
$ cd $GOROOT/src/pkg/code.google.com
$ go list ./p/leveldb-go/...
code.google.com/p/leveldb-go/leveldb
code.google.com/p/leveldb-go/leveldb/crc
code.google.com/p/leveldb-go/leveldb/db
code.google.com/p/leveldb-go/leveldb/memdb
code.google.com/p/leveldb-go/leveldb/memfs
code.google.com/p/leveldb-go/leveldb/record
code.google.com/p/leveldb-go/leveldb/table
code.google.com/p/leveldb-go/manualtest/filelock
$ go list ./p/.../truetype
code.google.com/p/freetype-go/example/truetype
code.google.com/p/freetype-go/freetype/truetype
$ go list ./p/.../example
warning: "./p/.../example" matched no packages
$ go list ./p/.../example/...
code.google.com/p/freetype-go/example/freetype
code.google.com/p/freetype-go/example/gamma
code.google.com/p/freetype-go/example/raster
code.google.com/p/freetype-go/example/round
code.google.com/p/freetype-go/example/truetype
code.google.com/p/x-go-binding/example/imgview
code.google.com/p/x-go-binding/example/xgb

R=rsc
CC=golang-dev
https://golang.org/cl/6194056

»»»

12 years ago[release-branch.go1] crypto/aes: fix comment
Russ Cox [Wed, 13 Jun 2012 20:23:46 +0000 (16:23 -0400)]
[release-branch.go1] crypto/aes: fix comment

««« backport d4f7f7438d1f
crypto/aes: fix comment

Fixes #3589.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/6190044

»»»

12 years ago[release-branch.go1] misc/emacs: Restore the window position after a successful gofmt.
Jean-Marc Eurin [Wed, 13 Jun 2012 20:23:45 +0000 (16:23 -0400)]
[release-branch.go1] misc/emacs: Restore the window position after a successful gofmt.

««« backport 9d6693456f93
misc/emacs: Restore the window position after a successful gofmt.

This adds restoring the window position so that the buffer doesn't jump around after the erase/copy.

R=sameer
CC=golang-dev
https://golang.org/cl/5981055

»»»

12 years ago[release-branch.go1] C: correct entry: jmeurin, not jme.
Sameer Ajmani [Wed, 13 Jun 2012 20:23:44 +0000 (16:23 -0400)]
[release-branch.go1] C: correct entry: jmeurin, not jme.

««« backport 726c57a92c5d
C: correct entry: jmeurin, not jme.

R=golang-dev, rsc
CC=golang-dev, jme, jmeurin
https://golang.org/cl/6192057

»»»

12 years ago[release-branch.go1] C: Jeremy Ellington (Google CLA)
Sameer Ajmani [Wed, 13 Jun 2012 20:23:43 +0000 (16:23 -0400)]
[release-branch.go1] C: Jeremy Ellington (Google CLA)

««« backport 448f98d1af28
C: Jeremy Ellington (Google CLA)

R=golang-dev, rsc
CC=golang-dev, jme
https://golang.org/cl/6197058

»»»

12 years ago[release-branch.go1] runtime: fix c compiler warning
Shenghou Ma [Wed, 13 Jun 2012 20:23:43 +0000 (16:23 -0400)]
[release-branch.go1] runtime: fix c compiler warning

««« backport e388ce51be75
runtime: fix c compiler warning

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6185047

»»»

12 years ago[release-branch.go1] math/big: fix superpolynomial complexity in Karatsuba algorithm.
Rémy Oudompheng [Wed, 13 Jun 2012 20:23:42 +0000 (16:23 -0400)]
[release-branch.go1] math/big: fix superpolynomial complexity in Karatsuba algorithm.

««« backport 7873186d5774
math/big: fix superpolynomial complexity in Karatsuba algorithm.

benchmark                     old ns/op    new ns/op    delta
BenchmarkExp3Power0x10              732          734   +0.27%
BenchmarkExp3Power0x40              834          836   +0.24%
BenchmarkExp3Power0x100            1600         1579   -1.31%
BenchmarkExp3Power0x400            3478         3417   -1.75%
BenchmarkExp3Power0x1000          19388        19229   -0.82%
BenchmarkExp3Power0x4000         160274       156881   -2.12%
BenchmarkExp3Power0x10000       1552050      1372058  -11.60%
BenchmarkExp3Power0x40000      27328710     15216920  -44.32%
BenchmarkExp3Power0x100000    612349000    131407100  -78.54%
BenchmarkExp3Power0x400000  44073524000   1122195000  -97.45%

R=golang-dev, mtj, gri, rsc
CC=golang-dev, remy
https://golang.org/cl/6176043

»»»