Go

lp:~niemeyer/golang/disable-cpu-tests

Created by Gustavo Niemeyer and last modified
Get this branch:
bzr branch lp:~niemeyer/golang/disable-cpu-tests
Only Gustavo Niemeyer can upload to this branch. If you are Gustavo Niemeyer please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gustavo Niemeyer
Project:
Go
Status:
Development

Recent revisions

11721. By Gustavo Niemeyer

Disable CPU tests. They're too slow for arm builders.

11720. By Luuk van Dijk <email address hidden>

cmd/gc: fix codegen reordering for expressions involving && and ||

Fixes issue 2821.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5606061
HG=11720:58badc8d57f6

11719. By Gustavo Niemeyer

archive/zip: support full range of FileMode flags

Zip files may actually store symlinks, and that's represented
as a file with unix flag S_IFLNK and with its data containing
the symlink target name.

The other flags are being supported too. Now that the os package
has the full range of flags in a system agnostic manner, there's
no reason to discard that information.

R=golang-dev, adg, rogpeppe
CC=golang-dev
http://codereview.appspot.com/5624048
HG=11719:42021369841c

11718. By Luuk van Dijk <email address hidden>

gc: don't print implicit type on struct literal in export

As pointed out in the discussion around 2678.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5534077
HG=11718:886ac920d2b9

11717. By Patrick Mylund Nielsen

net/http: Don't set Content-Type header for HEAD requests by default
since the real type is not inferred.
Fixes issue 2885.

R=golang-dev, dsymonds, bradfitz
CC=golang-dev
http://codereview.appspot.com/5633045

Committer: David Symonds <email address hidden>
HG=11717:7c35ab6ef473

11716. By David Symonds <email address hidden>

A+C: Patrick Mylund Nielsen (individual CLA)

R=golang-dev
TBR=adg
CC=golang-dev, patrick
http://codereview.appspot.com/5616070
HG=11716:64db657b94da

11715. By Rob Pike <email address hidden>

bytes: API tweaks
- fix documentation for NewBuffer and NewBufferString
- document and implement behavior of Truncate on invalid lengths

Fixes issue 2837.

R=rsc, adg
CC=golang-dev
http://codereview.appspot.com/5637044
HG=11715:d4d22130f5b7

11714. By Rob Pike <email address hidden>

io: API tweaks
- eliminate local Error type (a historical artifact)
- fix documentation of CopyN
- fix documentation of WriteString
Fixes issue 2859.

R=rsc, bradfitz
CC=golang-dev
http://codereview.appspot.com/5636046
HG=11714:afa99ad294e7

11713. By Kyle Lemons <email address hidden>

cmd/go: build: print import errors when invoked on files

      This fix makes the goFilesPackage helper function print the errors from
      package imports and exit similar to how the packagesForBuild function does.

      Without this change, when invoking "go build *.go" with, for example,
      an old import path, the following stack trace is generated:

      panic: runtime error: invalid memory address or nil pointer dereference

      goroutine 1 [running]:
      go/build.(*Tree).PkgDir(...)
              /opt/go/src/pkg/go/build/path.go:52 +0xfb
      main.(*builder).action(...)
              /opt/go/src/cmd/go/build.go:327 +0xb8
      main.(*builder).action(...)
              /opt/go/src/cmd/go/build.go:335 +0x208
      main.runBuild(...)
              /opt/go/src/cmd/go/build.go:129 +0x386
      main.main()
              /opt/go/src/cmd/go/main.go:126 +0x2d8

Fixes issue 2865.

R=rsc, dvyukov, r
CC=golang-dev
http://codereview.appspot.com/5624052

Committer: Rob Pike <email address hidden>
HG=11713:56308de7f5e8

11712. By Rob Pike <email address hidden>

all: avoid bytes.NewBuffer(nil)
The practice encourages people to think this is the way to
create a bytes.Buffer when new(bytes.Buffer) or
just var buf bytes.Buffer work fine.
(html/token.go was missing the point altogether.)

R=golang-dev, bradfitz, r
CC=golang-dev
http://codereview.appspot.com/5637043
HG=11712:5900a93988af

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~push-gopher/golang/tip
This branch contains Public information 
Everyone can see this information.

Subscribers