| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
R=golang-dev, jsing, r
CC=golang-dev
https://codereview.appspot.com/14523056
|
|
|
|
|
|
|
|
| |
Fixes issue 6025.
R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/12387046
|
|
|
|
|
|
| |
R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/9953043
|
|
|
|
|
|
|
|
| |
Also rename the relevant examples and make sure the working one compiles.
R=golang-dev, bradfitz, adg, iant, rsc
CC=golang-dev
https://codereview.appspot.com/7597043
|
|
|
|
|
|
| |
R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/7304053
|
|
|
|
|
|
| |
R=golang-dev, minux.ma, bradfitz, adg
CC=golang-dev
https://codereview.appspot.com/7134056
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An error during the compilation can be more precise
than an error at link time.
For 'func init', the error happens always: you can't forward
declare an init func because the name gets mangled.
For other funcs, the error happens only with the special
(and never used by hand) -= flag, which tells 6g the
package is pure go.
The go command now passes -= for pure Go packages.
Fixes issue 3705.
R=ken2
CC=golang-dev
https://codereview.appspot.com/6996054
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable cgo on OpenBSD.
The OpenBSD ld.so(1) does not currently support PT_TLS sections. Work
around this by fixing up the TCB that has been provided by librthread
and reallocating a TCB with additional space for TLS. Also provide a
wrapper for pthread_create, allowing zeroed TLS to be allocated for
threads created externally to Go.
Joint work with Shenghou Ma (minux).
Requires change 6846064.
Fixes issue 3205.
R=golang-dev, minux.ma, iant, rsc, iant
CC=golang-dev
https://codereview.appspot.com/6853059
|
|
|
|
|
|
|
|
|
| |
Should have done this a long time ago.
Fixes issue 3811.
R=golang-dev, adg, rsc
CC=golang-dev
http://codereview.appspot.com/6488120
|
|
|
|
|
|
|
|
|
|
| |
cgo[1-4].go, go1.go couldn't be tested now
(cgo[1-4].go can only be tested when cgo is enabled, go1.go
contain a list of filenames in the current directory)
R=golang-dev, alex.brainman, rsc
CC=golang-dev
http://codereview.appspot.com/6218048
|
|
|
|
|
|
| |
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6261056
|
|
|
|
|
|
|
|
| |
RGBA.
R=adg, r, bsiegert
CC=golang-dev
http://codereview.appspot.com/6119054
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Orignally published on The Go Programming Language, September 21, 2011.
http://blog.golang.org/2011/09/go-image-package.html
Update issue 2547
R=adg, nigeltao
CC=golang-dev
http://codereview.appspot.com/5933049
Committer: Nigel Tao <nigeltao@golang.org>
|
|
|
|
|
|
|
|
|
| |
Also explain the situation with recursive String methods more accurately,
and clean up the code now that the fmt package is more careful.
R=golang-dev, minux.ma, bradfitz
CC=golang-dev
http://codereview.appspot.com/5907047
|
|
|
|
|
|
|
|
| |
It was showing the same snippet twice instead of the type definition and snippet.
R=golang-dev, iant
CC=golang-dev
http://codereview.appspot.com/5875045
|
|
|
|
|
|
|
|
|
| |
The old name, automatically generated, was ludicrously verbose.
Also clean up an example to use time.Second.
R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5876051
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
http://codereview.appspot.com/5846044
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
| |
R=golang-dev, gri, r
CC=golang-dev
http://codereview.appspot.com/5876047
Committer: Robert Griesemer <gri@golang.org>
|
|
|
|
|
|
| |
R=adg
CC=golang-dev
http://codereview.appspot.com/5841050
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, March 24, 2011.
http://blog.golang.org/2011/03/gobs-of-data.html
R=adg
CC=golang-dev
http://codereview.appspot.com/5834043
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, September 23, 2010.
http://blog.golang.org/2010/09/go-concurrency-patterns-timing-out-and.html
Update issue 2547.
R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/5815044
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, September 29, 2011.
http://blog.golang.org/2011/09/go-imagedraw-package.html
Update issue 2547.
R=golang-dev, adg, rsc
CC=golang-dev
http://codereview.appspot.com/5755057
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
| |
FreeBSD's srandom has a different signature to darwin/linux.
R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5795067
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, March 17, 2011.
http://blog.golang.org/2011/03/c-go-cgo.html
Update issue 2547.
R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/5777054
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
|
|
| |
Update issue 2547.
R=golang-dev, minux.ma, r, r, adg
CC=golang-dev
http://codereview.appspot.com/5755051
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to removal of go_tutorial, unused programs are removed.
makehtml is unnecessary (it also gives wrong messages when
the destination file doesn't exist)
progs/run now compiles all remaining programs under doc/progs.
Fixes issue 3076 (again)
R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/5755053
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
| |
Fixes issue 3076.
R=golang-dev, dsymonds, r
CC=golang-dev
http://codereview.appspot.com/5727056
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, September 6, 2011.
http://blog.golang.org/2011/09/laws-of-reflection.html
Update issue 2547
R=golang-dev, r, adg
CC=golang-dev
http://codereview.appspot.com/5689054
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
|
|
| |
Instead we'll point people at the Tour and beef up code.html.
Fixes issue 3107.
R=golang-dev, bradfitz, r, adg
CC=golang-dev
http://codereview.appspot.com/5697077
|
|
|
|
|
|
|
|
| |
R=golang-dev, r, r
CC=golang-dev
http://codereview.appspot.com/5674067
Committer: Rob Pike <r@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The set of errors forwarded by the os package varied with system and
was therefore non-portable.
Three helpers added for portable error checking: IsExist, IsNotExist, and IsPermission.
One or two more may need to come, but let's keep the set very small to discourage
thinking about errors that way.
R=mikioh.mikioh, gustavo, r, rsc
CC=golang-dev
http://codereview.appspot.com/5672047
|
|
|
|
|
|
|
|
| |
R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/5568043
Committer: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
| |
R=golang-dev, dsymonds, gri
CC=golang-dev
http://codereview.appspot.com/5557076
|
|
|
|
|
|
|
|
| |
Fixes issue 2688
R=golang-dev, gri, rsc
CC=golang-dev
http://codereview.appspot.com/5539050
|
|
|
|
|
|
|
|
| |
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5529080
Committer: Rob Pike <r@golang.org>
|
|
|
|
|
|
| |
R=golang-dev, r, r
CC=golang-dev
http://codereview.appspot.com/5530048
|
|
|
|
|
|
|
|
|
| |
Originally published on the Go blog on 5 Jan 2011:
http://blog.golang.org/2011/01/go-slices-usage-and-internals.html
R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/5516046
|
|
|
|
|
|
| |
R=golang-dev, iant
CC=golang-dev
http://codereview.appspot.com/5517044
|
|
|
|
|
|
| |
R=golang-dev, adg
CC=golang-dev
http://codereview.appspot.com/5502060
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
http://codereview.appspot.com/5477077
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, July 12, 2011.
http://blog.golang.org/2011/07/error-handling-and-go.html
Update issue 2547
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5475060
|
|
|
|
|
|
| |
R=golang-dev, fullung, dsymonds, r, adg
CC=golang-dev
http://codereview.appspot.com/5477056
|
|
|
|
|
|
| |
R=golang-dev, r, alex.brainman, r
CC=golang-dev
http://codereview.appspot.com/5479069
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally published on The Go Programming Language Blog, August 4 2010.
http://blog.golang.org/2010/08/defer-panic-and-recover.html
Update issue 2547
R=golang-dev, r, r
CC=golang-dev
http://codereview.appspot.com/5479053
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
http://codereview.appspot.com/5478047
|
|
|
|
|
|
| |
R=rsc, adg, r
CC=golang-dev
http://codereview.appspot.com/5477044
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is in part a proposal for how to write these sections:
- Brief discussion of change
- No attempt to analyze the thinking about it
- Old code
- New code, runnable if possible
- How to update old programs
R=golang-dev, remyoudompheng, gri, adg
CC=golang-dev
http://codereview.appspot.com/5454044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The special case in the spec is that you can take the
address of a composite literal using the & operator.
A composite literal is not, however, generally addressable,
and the slice operator requires an addressable argument,
so [3]int{1,2,3}[:] is invalid. This tutorial code and one bug
report are the only places in the tree where it appears.
R=r, gri
CC=golang-dev
http://codereview.appspot.com/5437120
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
http://codereview.appspot.com/5376089
|
|
|
|
|
|
|
|
|
|
|
| |
- syscall (not os) now defines the Errno type.
- the low-level assembly functions Syscall, Syscall6, and so on
return Errno, not uintptr
- syscall wrappers all return error, not uintptr.
R=golang-dev, mikioh.mikioh, r, alex.brainman
CC=golang-dev
http://codereview.appspot.com/5372080
|