| Age | Commit message (Collapse) | Author |
|
Orignally published on The Go Programming Language, September 21, 2011.
http://blog.golang.org/2011/09/go-image-package.html
Update #2547
R=adg, nigeltao
CC=golang-dev
https://golang.org/cl/5933049
|
|
R=golang-dev, r
CC=golang-dev, hcwfrichter
https://golang.org/cl/5934046
|
|
R=golang-dev, gri, rsc
CC=golang-dev
https://golang.org/cl/5921045
|
|
Not a complete fix for issue 3342, but fixes the trivial case.
There may still be a race in the instants before and after
a scavenger-induced garbage collection.
Intended to be "obviously safe": a call to runtime·gosched
before main.main is no different than a call to runtime.Gosched
at the beginning of main.main, and it is (or had better be)
safe to call runtime.Gosched at any point during main.
Update #3342.
R=iant
CC=golang-dev
https://golang.org/cl/5919052
|
|
Another attempt at https://golang.org/cl/5754088.
Before, we only consulted $GOBIN for source code
found in $GOROOT, but that's confusing to explain
and less useful. The new behavior lets users set
GOBIN=$HOME/bin and have all go-compiled binaries
installed there.
Tested a few cases in test.bash.
Ran all.bash with and without $GOBIN and it works.
Even so, I expect it to break the builders,
like it did last time, we can debug from there.
Fixes #3269 (again).
Fixes #3396.
Fixes #3397.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5927051
|
|
When we find a package in DIR/src/foo, we only let it
be known as foo if there is no other foo in an earlier
GOPATH directory or the GOROOT directory.
The GOROOT check was looking in GOROOT/src/foo
instead of GOROOT/src/pkg/foo, which meant that
the import paths "lib9", "libbio", "libmach", and so
on were unavailable, and the import paths "math",
"errors", and so on were available. Correct this.
Fixes #3390.
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/5927050
|
|
Issue 3207 was caused by setting GOPATH=GOROOT.
This is a common mistake, so diagnose it at command start
and also correct the bug that it caused in get (downloading
to GOROOT/src/foo instead of GOROOT/src/pkg/foo).
Issue 3268 was caused by recognizing 'packages' that
had installed binaries but no source. This behavior is not
documented and causes trouble, so remove it. We can
revisit the concept of binary-only packages after Go 1.
Fixes #3207.
Fixes #3268.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5930044
|
|
do its work
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5928043
|
|
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/5919048
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5924044
|
|
Fixes #3395.
R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/5905063
|
|
Breaks closure test when GOMAXPROCS=2 or more.
««« original CL description
runtime: restore deadlock detection in the simplest case.
Fixes #3342.
R=iant, r, dave, rsc
CC=golang-dev, remy
https://golang.org/cl/5844051
»»»
R=rsc
CC=golang-dev
https://golang.org/cl/5924045
|
|
hg cat -r 11846 src/cmd/goinstall/tag_test.go >tag_test.go
No changes.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5919047
|
|
Fixes #3342.
R=iant, r, dave, rsc
CC=golang-dev, remy
https://golang.org/cl/5844051
|
|
Fixes #3347.
R=golang-dev, aram, r, rsc
CC=golang-dev
https://golang.org/cl/5918043
|
|
For example, /ref and /doc/reference.html now both redirect to /ref/.
Fixes #3401.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5916044
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5902060
|
|
- Renamed ExportData -> FindGcExportData
and base it on an a bufio.Reader rather
than a filename so it can be used in
environments where object files are
stored elsewhere.
- Factor former GcImporter into GcImportData
and GcImport. Implementations with different
storage locations for object files can build
a customized GcImport using GcImportData.
This is pkg/exp only - no impact on Go 1.
R=golang-dev, lvd, rsc
CC=golang-dev
https://golang.org/cl/5574069
|
|
Summarize the desiderata for selecting versions of remote packages to get.
Fixes #3394.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5902058
|
|
Otherwise we won't fail if something goes wrong.
This shell programming stuff is tricky.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5905062
|
|
They could be tested but that requires more than seems wise right now.
Update #2648.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5908054
|
|
Otherwise we can't invoke go_bootstrap directly.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5900061
|
|
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5901051
|
|
R=golang-dev, minux.ma, bradfitz
CC=golang-dev
https://golang.org/cl/5874055
|
|
32 bytes is enough for all FileMode bits.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5853044
|
|
Fixes #3383.
R=iant, bradfitz
CC=golang-dev
https://golang.org/cl/5891045
|
|
The existing code that tried to prevent ECC ciphersuites from being
selected when there were no mutual curves still left |suite| set.
This lead to a panic on a nil pointer when there were no acceptable
ciphersuites at all.
Thanks to George Kadianakis for pointing it out.
R=golang-dev, r, bradfitz
CC=golang-dev
https://golang.org/cl/5857043
|
|
R=golang-dev, r
CC=golang-dev, mattn.jp
https://golang.org/cl/5885056
|
|
R=bradfitz, gri, lvd
CC=golang-dev
https://golang.org/cl/5874053
|
|
Fixes #3369.
R=golang-dev, gri, lvd, r
CC=golang-dev
https://golang.org/cl/5876044
|
|
Let's tell the world that Go's sort is O(n log n).
Surely this is a feature we intend to keep.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5867045
|
|
Originally published on The Go Programming Language Blog, January 25, 2011.
http://blog.golang.org/2011/01/json-and-go.html
R=adg
CC=golang-dev
https://golang.org/cl/5846044
|
|
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5867049
|
|
R=golang-dev, r, dsymonds
CC=golang-dev
https://golang.org/cl/5874045
|
|
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5864053
|
|
In a browser with many open tabs, the tab titles become short
and uninformative because they all start with the same prefix
("Package ", "Directory ", etc.).
Permit use of shorter tab titles that start with the relevant
information first.
Fixes #3365.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5865056
|
|
Fixes #3332.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5868047
|
|
To fix build on (overheated) Linux/ARM builder.
R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/5865051
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5866044
|
|
The current computation loops indefinitely if n > 1<<30 (for 32-bit ints).
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5848067
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5861044
|
|
They looked out of place in godoc.
Includes documenting sort stability.
Fixes #3356
R=golang-dev, gri, trolleriprofessorn
CC=golang-dev
https://golang.org/cl/5855044
|
|
Its functionality has been moved into cmd/dist.
R=golang-dev, r, iant
CC=golang-dev
https://golang.org/cl/5843062
|
|
This is because we disallow local import for non-local packages, if
GOROOT happens to be under one of GOPATH, then some tests will fail
to build.
Fixes #3337.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5852043
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5848066
|
|
to bring it in line with text/template's interface.
Fixes #3296.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5843066
|
|
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5843065
|
|
- use GO_GCFLAGS and GO_LDFLAGS if supplied
- build misc\dashboard\builder and misc\goplay
- run tests in test\bench\go1
- check api compatibility
R=golang-dev, r, kardianos, bradfitz
CC=golang-dev
https://golang.org/cl/5847063
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5847064
|
|
The two optimizations for small structs and arrays
were missing the implicit cast from ideal bool.
Fixes #3351.
R=rsc, lvd
CC=golang-dev
https://golang.org/cl/5848062
|