commit c5c656aee37f8e6f53a574bacf42c944bd2630a2 [browse]
Author: Andrew Gerrand
Date: 2011-09-08 09:43:35 +10:00

weekly.2011-09-07

R=dsymonds, rsc, r
CC=golang-dev
https://golang.org/cl/4968070

commit 49bcc88f793050d128f0f0df447ff2e2783cc145 [browse]
Author: Robert Griesemer
Date: 2011-09-07 15:19:53 -07:00

undo CL 4964067 / 661cb84cc6f0

API change. Needs further reflection.

««« original CL description
path/filepath: Simplify Walk interface

The last argument of filepath.Walk was removed, and the Visitor
interface now contains an Error method that is called on errors.

Fixes #2237.

R=golang-dev, gri, r
CC=golang-dev
https://golang.org/cl/4964067

»»»

R=r
CC=golang-dev
https://golang.org/cl/4974065

commit e5c20dc270c3471bddee57f470bff6481ed12234 [browse]
Author: Gustavo Niemeyer
Date: 2011-09-07 14:49:48 -07:00

path/filepath: Simplify Walk interface

The last argument of filepath.Walk was removed, and the Visitor
interface now contains an Error method that is called on errors.

Fixes #2237.

R=golang-dev, gri, r
CC=golang-dev
https://golang.org/cl/4964067

commit 1e480cd1adde73b0f7549a2d0c79bcc666ebb74d [browse]
Author: Russ Cox
Date: 2011-09-07 15:50:21 -04:00

gc: add -p flag to catch import cycles earlier

The linker would catch them if gc succeeded,
but too often the cycle manifests as making the
current package and the imported copy of itself
appear as different packages, which result in
type signature mismatches that confuse users.

As a crutch, add the -p flag to say 'if you see an
import of this package, give up early'.  Results in
messages like (during gotest in sort):

export_test.go:7: import "sort" while compiling that package (import cycle)
export_test.go:7: import "container/heap": package depends on "sort" (import cycle)

Fixes #2042.

R=ken
CC=bradfitz, dsymonds, golang-dev
https://golang.org/cl/4972057

commit ef01ebf4035063442d93ab4aadd0b56dc8ef05b8 [browse]
Author: Russ Cox
Date: 2011-09-07 15:50:07 -04:00

net: sync CIDRMask code, doc

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4961069

clone the repository to get more history