| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
For example, fixes 'go vet syscall', which has source
files in package syscall_test.
Fixes issue 8511.
LGTM=r
R=golang-codereviews, r
CC=golang-codereviews, iant
https://codereview.appspot.com/152220044
|
|
|
|
|
|
| |
R=rsc, minux.ma, r
CC=golang-dev
https://codereview.appspot.com/10110043
|
|
|
|
|
|
|
|
| |
Fixes issue 5036.
R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7531045
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that vet does typechecking, it should use only pkg.gofiles, instead
of pkg.allgofiles. Ignored files should not be checked by vet, because
they wouldn't typecheck.
Fixes issue 4906.
R=rsc, r
CC=golang-dev
https://codereview.appspot.com/7401051
Committer: Rob Pike <r@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The IgnoredGoFiles are already listed in allgofiles,
so they were being run twice. Worse, the ones in
IgnoredGoFiles are not fully qualified paths, so they
weren't being found when executed outside the
package directory.
Fixes issue 4764.
R=golang-dev, minux.ma, franciscossouza
CC=golang-dev
https://codereview.appspot.com/7308049
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reject import paths of the form cmd/x/y.
* Reject 'go install' of command outside GOPATH
* Clearer error rejecting 'go install' of package outside GOPATH.
* Name temporary binary for first file in 'go run' list or for test.
* Provide a way to pass -ldflags arguments with spaces.
* Pass all Go files (even +build ignored ones) to go fix, go fmt, go vet.
* Reject 'go run foo_test.go'.
* Silence 'exit 1' prints from 'go tool' invocations.
* Make go test -xxxprofile leave binary behind for analysis.
* Reject ~ in GOPATH except on Windows.
* Get a little less confused by symlinks.
* Document that go test x y z runs three test binaries.
* Fix go test -timeout=0.
* Add -tags flag to 'go list'.
* Use pkg/gccgo_$GOOS_$GOARCH for gccgo output.
Fixes issue 3389.
Fixes issue 3500.
Fixes issue 3503.
Fixes issue 3760.
Fixes issue 3941.
Fixes issue 4007.
Fixes issue 4032.
Fixes issue 4074.
Fixes issue 4127.
Fixes issue 4140.
Fixes issue 4311.
Fixes issue 4568.
Fixes issue 4576.
Fixes issue 4702.
R=adg
CC=golang-dev
https://codereview.appspot.com/7225074
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also add -n -x flags to doc, fmt, vet.
Also shorten unknown command error.
Fixes issue 3612.
Fixes issue 3613.
R=golang-dev, bradfitz, r
CC=golang-dev
http://codereview.appspot.com/6211053
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Install tools into tool dir always
(Fixes issue 3049. Fixes issue 2868. Fixes issue 2925.)
* Make packages depend on compiler, linker (Fixes issue 3036.)
* Do not recompile packages across roots (Fixes issue 3149.)
* Allow use of binary-only packages (Fixes issue 2775.)
* Avoid duplicate cgo dependencies (Fixes issue 3001.)
* Show less in go get -x. (Fixes issue 2926.)
* Do not force repo root for existing checkout (Fixes issue 2969.)
* Show full syntax error list always (Fixes issue 2811.)
* Clean arguments before processing (Fixes issue 3034.)
* Add flags for compiler, linker arguments (Fixes issue 2996.)
* Pass flags in make.bash (Fixes issue 3091.)
* Unify build flags, defined in one place.
* Clean up error messages (Fixes issue 3075. Fixes issue 2923.)
* Support local import paths (Fixes issue 3118.)
* Allow top-level package outside $GOPATH (Fixes issue 3009.)
In addition to these fixes, all commands now take a list of
go files as a way to specify a single package, just as go build and
go run always have. This means you can:
go list -json x.go
go fix x.go
go vet x.go
go test x_test.go
Preliminary tests in test.bash.
Mainly testing things that the ordinary build does not.
I don't mind if the script doesn't run on Windows.
I expect that gccgo support is now broken, and I hope that
people will feel free to file issues and/or send CLs to fix it. :-)
R=golang-dev, dsymonds, r, rogpeppe
CC=golang-dev
http://codereview.appspot.com/5708054
|
|
|
|
|
|
|
|
|
| |
For instance, don't talk about gofix, talk about the
fix tool or "go tool fix".
R=golang-dev, rsc, r
CC=golang-dev
http://codereview.appspot.com/5608053
|
|
|
|
|
|
|
|
|
|
|
|
| |
Print build errors to stderr during 'go run'.
Stream test output during 'go test' (no args). Fixes issue 2731.
Add go test -i to install test dependencies. Fixes issue 2685.
Fix data race in exitStatus. Fixes issue 2709.
Fix tool paths. Fixes issue 2817.
R=golang-dev, bradfitz, n13m3y3r, r
CC=golang-dev
http://codereview.appspot.com/5591045
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix, vet
yacc is also fixed (it was wrong before)
All that's left is the commands used during compilation
This looks like a huge CL, but it's almost all file renames.
The action is in cmd/go/pkg.go, the Makefiles, and .../doc.go.
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5595044
|
|
|
|
|
|
|
|
| |
Fixes issue 2686.
R=golang-dev, bradfitz, r
CC=golang-dev
http://codereview.appspot.com/5528089
|
|
|
|
|
|
|
|
|
|
|
| |
By the time a Unix linker gets to the end of the
command line it has forgotten what you told it
at the beginning of the command line, so you
have to put library arguments (like -lm) at the end.
R=golang-dev, r, bradfitz
CC=golang-dev
http://codereview.appspot.com/5541043
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is concerned with the basic Package structure
and applies it to the (trivial) implementations of the
doc, fmt, fix, list, and vet commands.
The command as a whole is still very much a work in progress.
In particular, work making the error messages look nice
is deferred to a future CL.
R=golang-dev, adg, dsymonds, r
CC=golang-dev
http://codereview.appspot.com/5482048
|
|
R=golang-dev, bradfitz, r
CC=golang-dev
http://codereview.appspot.com/5141051
|