| Age | Commit message (Collapse) | Author |
|
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6476066
|
|
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6298063
|
|
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
|
|
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
|
|
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
|
|
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
|
|
R=bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5991081
|
|
Adds new file api/go1.txt, locking down the current API.
Any changes to the API will need to update that file.
run.bash (but not make.bash, or Windows) will check for
accidental API changes.
R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/5820070
|
|
handle string and []byte conversions.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5754082
|
|
The generated syscall files for Windows are still breaking "go tool api"
(unknown function []byte); I'll look at fixing that separately.
Fixes #3285.
R=bradfitz
CC=golang-dev
https://golang.org/cl/5777062
|
|
This is an API change, but one I have been promising would
happen when it was clear what the go command needed.
This is basically a complete replacement of what used to be here.
build.Tree is gone.
build.DirInfo is expanded and now called build.Package.
build.FindTree is now build.Import(package, srcDir, build.FindOnly).
The returned *Package contains information that FindTree returned,
but applicable only to a single package.
build.ScanDir is now build.ImportDir.
build.FindTree+build.ScanDir is now build.Import.
The new Import API allows specifying the source directory,
in order to resolve local imports (import "./foo") and also allows
scanning of packages outside of $GOPATH. They will come back
with less information in the Package, but they will still work.
The old go/build API exposed both too much and too little.
This API is much closer to what the go command needs,
and it works well enough in the other places where it is
used. Path is gone, so it can no longer be misused. (Fixes issue 2749.)
This CL updates clients of go/build other than the go command.
The go command changes are in a separate CL, to be submitted
at the same time.
R=golang-dev, r, alex.brainman, adg
CC=golang-dev
https://golang.org/cl/5713043
|
|
Also cleanup the resolveName method.
Fixes failure on go/build declaration:
var ToolDir = filepath.Join(...)
R=golang-dev, bradfitz
CC=golang-dev, remy
https://golang.org/cl/5681043
|
|
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5674105
|
|
R=gri, r
CC=golang-dev
https://golang.org/cl/5659048
|
|
For gccgo. Also removes bunch of special cases.
Fixes #2906
R=golang-dev, remyoudompheng
CC=golang-dev
https://golang.org/cl/5644050
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5626045
|
|
Detected semi-automatically. There are probably more.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5620046
|
|
- enable AllMethods flag (default: not set)
- fix logic determining which methods to show
- added respective test case in testdata/e.go for AllMethods = false
- added test case set for AllMethods = true
The critical changes/files to look at are:
- testdata/e{0,1,2}.golden: T4.M should only show up as method of T5 in e2.golden
- reader.go: always include top-level methods, and negate former logic for embedded methods
(rewrote as a switch for better comprehensability)
Fixes #2791.
R=rsc, rsc
CC=golang-dev
https://golang.org/cl/5576057
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5552054
|